53 Commits

Author SHA1 Message Date
slawek
e9763084f4 nie wiem co, cos zepsulem z nieprzeczytanymi wiadomosci i nie wiem jak naprawic 2025-01-11 00:02:06 +01:00
slawk0
a7866a3f3a UI improvements 2024-12-28 23:00:22 +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
cab65b558b added ability to remove and add administrators 2024-12-21 13:23:24 +01:00
slawk0
3226cf5a2d adjusted getConversationsForUser function to return only group conversations 2024-12-16 23:44:12 +01:00
slawk0
6d15b9afb7 initialize contact again when added to group or left 2024-12-15 17:24:44 +01:00
slawk0
9a0f8c6de6 verifying if user is member of conversation before joining 2024-12-14 22:37:29 +01:00
slawk0
f268c0c7f7 implemented group admins 2024-12-14 17:23:34 +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
771e8764ac fixed contacts status 2024-12-10 17:22:04 +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
b9b925d612 join room on initialize contact 2024-12-04 23:03:33 +01:00
slawk0
063891d291 added loading wheel on images, and fixed auto scroll 2024-12-03 22:31:31 +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
0e26a68f1c fixed duplicated messages 2024-11-30 23:13:14 +01:00
slawk0
2f48c7423b adjusted code to handle getMessage function and other by conversation_id (groups partially are working 😲) 2024-11-30 22:29:25 +01:00
slawk0
2c51fbd90b groups are creating 2024-11-27 21:33:11 +01:00
slawk0
5d8c404654 fixed messages pagination 2024-11-27 20:51:37 +01:00
slawk0
eeecdbaec8 implementing groups chat - client site 2024-11-22 22:05:36 +01:00
slawk0
1c37c11035 uploading attachments is working and images are displayed 2024-11-21 19:15:24 +01:00
slawk0
23b6f6793d pending messages are displayed on the gray 2024-11-19 22:49:55 +01:00
slawk0
1b4ef5e34d better username validator, server improvements, 2024-11-18 22:35:17 +01:00
slawk0
ec99fcd1be fixed previous messages not loading 2024-11-17 22:08:38 +01:00
slawk0
b7b6053120 next cursor is now extracted on client site, timestamp is now generated by postgres, LoadingWheel on fetching previous messages, 2024-11-13 19:13:05 +01:00
slawk0
b99e148841 added filter to ContactForm.tsx to avoid duplicated contacts, messages index, scroll to top event 2024-11-03 21:02:06 +01:00
slawk0
f4796a2134 moved contacts api requests to contactsApi.tsx 2024-11-02 18:02:32 +01:00
slawk0
fdf9b64349 added deleteContact api 2024-10-28 23:03:47 +01:00
slawk0
dfd93eee51 added filter for invalid characters, initializing contact on click selected contact 2024-10-28 20:17:23 +01:00
slawk0
4d5106dd24 instant adding new contact to list 2024-10-28 15:27:15 +01:00
slawk0
cc13bc0f32 contactsList props 2024-10-27 22:14:35 +01:00
slawk0
80412296aa added sendContactsList function, fixed socket not working socket after login 2024-10-27 11:25:22 +01:00
slawk0
21c93d2c18 improved authorization 2024-10-25 23:34:20 +02:00
slawk0
3423994846 added missing files to git, refactor authorization 2024-10-24 21:17:51 +02:00
slawk0
85c086c496 contacts appear on page load 2024-10-22 22:58:18 +02:00
slawk0
c2af7f744e authorization code refactor, added insertContact function 2024-10-22 17:50:32 +02:00
slawk0
7b13996154 added trims to backend 2024-10-21 21:22:16 +02:00
slawk0
6c06d34e5b fixed dropdown menu 2024-10-20 14:39:23 +02:00
slawk0
dff81dc1ef added overflow to messages 2024-10-18 16:32:56 +02:00
slawk0
1b24bca201 code refactor added missing async 2024-10-18 15:22:07 +02:00
slawk0
5875162626 removed initializeSocket function, added returns to response 2024-10-17 20:53:15 +02:00
slawk0
8034fdfffb added server site socket authorization, initializeSocket function 2024-10-15 22:01:40 +02:00
slawk0
ea3287a268 timestamp is now generated on client site 2024-10-14 15:55:55 +02:00
slawk0
cfc6ee02c8 Refactor chat message functionality and improve UI components
Removed ChatArea component and added MessagesArea component for handling chat messages. Updated message handling in the server to emit message IDs and adjusted the database query to return these IDs. Renamed ContactInput to ContactForm for better semantic clarity.
2024-10-14 15:41:26 +02:00
slawk0
e6f4c58d13 added message and contact input autofocus, getUserId db query, user_id to jwt 2024-10-13 14:12:15 +02:00
slawk0
bd78e7c817 minor changes 2024-10-13 00:12:50 +02:00
slawk0
0b0c162bff sending contact and message 2024-10-12 22:37:25 +02:00