Commit Graph

178 Commits

Author SHA1 Message Date
slawk0
9295b2f049 code refactor, created ChatProvider.tsx, use context instead of tons of props 2025-01-02 14:04:54 +01:00
slawk0
6db8d2d574 code refactor, created separate file for types 2025-01-02 00:33:29 +01:00
slawk0
81aeb5a926 code refactor, added time indicator from last message 2025-01-02 00:25:31 +01:00
slawk0
867e465a23 added displaying last message under contact, UI improvement 2025-01-01 22:09:19 +01:00
slawk0
8558b9ac90 whoops 2024-12-30 21:34:16 +01:00
slawk0
802cd5e97b UI improvements 2024-12-30 21:24:57 +01:00
slawk0
0507697d8b improved AuthProvider 2024-12-30 19:18:54 +01:00
slawk0
a7866a3f3a UI improvements 2024-12-28 23:00:22 +01:00
slawk0
7c171d7215 this is useless 2024-12-23 00:11:32 +01:00
slawk0
fd1595c3c3 fixed invalid .env 2024-12-23 00:08:52 +01:00
slawk0
fb3501e21f code refactor, added animated message deletion, remove message button is not displayed only where you can actually use it 2024-12-22 23:58:11 +01:00
slawk0
0b06201ade idiota 2024-12-21 19:16:17 +01:00
slawk0
49a0cbad61 whoops2 2024-12-21 18:39:16 +01:00
slawk0
5db3354f9b whoops 2024-12-21 18:12:05 +01:00
slawk0
f33c208d0d sorting participants list and fixed context menu 2024-12-21 17:09:48 +01:00
slawk0
cab65b558b added ability to remove and add administrators 2024-12-21 13:23:24 +01:00
slawk0
9c98a88027 fixed some socket not working on production 2024-12-17 22:36:24 +01:00
slawk0
894c6d8f3a merged from serial id to uuid for accounts and conversations ids 2024-12-17 22:12:15 +01:00
slawk0
3226cf5a2d adjusted getConversationsForUser function to return only group conversations 2024-12-16 23:44:12 +01:00
slawk0
097102554a idiota 2024-12-15 19:55:39 +01:00
slawk0
6d15b9afb7 initialize contact again when added to group or left 2024-12-15 17:24:44 +01:00
slawk0
8cad73d01d verifying if user is admin when adding member 2024-12-14 23:20:41 +01:00
slawk0
9a0f8c6de6 verifying if user is member of conversation before joining 2024-12-14 22:37:29 +01:00
slawk0
3efd536db6 fixed group not insta displaying after creation 2024-12-14 19:35:49 +01:00
slawk0
f268c0c7f7 implemented group admins 2024-12-14 17:23:34 +01:00
slawk0
4be4afb41b stupid webstorm 2024-12-13 20:05:05 +01:00
slawk0
76c49c3709 code refactor 2024-12-13 19:54:19 +01:00
slawk0
c5aac7ad2f added video preview 2024-12-13 18:23:35 +01:00
slawk0
c2379ff44e checking membership on insertingMessages, improved error messages for client 2024-12-13 17:31:50 +01:00
slawk0
374e64044c contact deletion is now handled by socket, added left group socket to delete user from participants bar 2024-12-11 22:45:32 +01:00
slawk0
8a1a487fed added delete message socket, message deletion is now done by socket not api 2024-12-10 22:45:28 +01:00
slawk0
cf9cf4b695 getContacts function now can return contact with owner id 2024-12-10 21:19:37 +01:00
slawk0
771e8764ac fixed contacts status 2024-12-10 17:22:04 +01:00
slawk0
eedae59646 fixed contacts list sorting 2024-12-08 16:07:28 +01:00
slawk0
17ee9d1fcf nie wiem co zrobilem ale zmienilem tajmstamp zeby byl utc domyslnie, naprawilem statusy kontaktow a i w sumie najwazniejsze zmienilem contact_user_id na conversation_id poprostu w bazie kontaktow 2024-12-08 00:29:18 +01:00
slawk0
15a3215a7e removed temp message 2024-12-07 19:29:22 +01:00
slawk0
e2e34f9776 added alert dialog on leave group, new add member to group button icon, adjusted delete contact api to also requre conversation_id to leave group, refactored insertContact 2024-12-07 12:59:27 +01:00
slawk0
c5b6bb34ac code refactor 2024-12-06 21:58:32 +01:00
slawk0
1388132a71 added shadcn ui, ParticipantsBar.tsx, get conversation members api 2024-12-06 21:56:40 +01:00
slawk0
7bb7dcd669 added username suggestion to AddGroupMember.tsx 2024-12-05 22:37:31 +01:00
slawk0
b9b925d612 join room on initialize contact 2024-12-04 23:03:33 +01:00
slawk0
722e1cfde9 fixed images flickering and infinite loop on fetching previous messages 2024-12-04 13:52:35 +01:00
slawk0
fb08f6e171 fixed auto scroll again 🙂 2024-12-04 12:29:30 +01:00
slawk0
063891d291 added loading wheel on images, and fixed auto scroll 2024-12-03 22:31:31 +01:00
slawk0
e712cef761 login api improvements 2024-12-03 20:02:28 +01:00
slawk0
8496b92f77 send notification to refresh contacts list on adding member to group 2024-12-03 19:27:46 +01:00
slawk0
083ad49137 improved attachments preview 2024-12-03 16:56:04 +01:00
slawk0
e3aaf4675e added file preview 2024-12-01 20:03:39 +01:00
slawk0
47f145216d added option to delete message 2024-12-01 19:41:02 +01:00
slawk0
6dc77982df added return conversation_id on inserting contact 2024-12-01 15:46:26 +01:00