Commit Graph

31 Commits

Author SHA1 Message Date
slawk0
7a3c17eff3 implementing uploading attachments 2024-11-21 17:12:11 +01:00
slawk0
1b4ef5e34d better username validator, server improvements, 2024-11-18 22:35:17 +01:00
slawk0
635bfd7e5d residues nextCursor removed 2024-11-14 21:11:52 +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
b80e193bbd chunking messages is working :) 2024-11-10 15:25:56 +01:00
slawk0
8907650fc0 prepared backend for pagination, redirect to /chat if logged in, fixed messages from contact not appearing in real time, 2024-11-09 16:51:41 +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
45ca5a2243 getContactsList api,
contacts are now fetching from api
2024-10-31 21:17:50 +01:00
slawk0
7f2a6d24eb sorting contacts by last active time 2024-10-31 15:36:46 +01:00
slawk0
efe7559265 added working status indicator 2024-10-31 00:11:12 +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
cc13bc0f32 contactsList props 2024-10-27 22:14:35 +01:00
slawk0
73dfeb6e3e added InitializeContact function 2024-10-27 20:01:29 +01: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
1b24bca201 code refactor added missing async 2024-10-18 15:22:07 +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
slawk0
8131cc6fb1 added getContact query 2024-10-12 21:20:45 +02:00
slawk0
8414919ae6 added contact db 2024-10-12 00:45:53 +02:00
slawk0
387437c71e restricted access to pages 2024-10-05 22:31:30 +02:00
slawk0
75d95e827d getPassword() function, refactor from .send to .json 2024-10-05 14:25:33 +02:00
slawk0
cb90cb3498 added try catches and jwt 2024-10-04 22:13:17 +02:00
slawk0
03892f0371 added changePassword, checkUserExist, insertUser & message functions 2024-10-04 17:37:26 +02:00
slawk0
965623a3d6 code refactor of creating tables 2024-10-01 21:37:51 +02:00
slawk0
71e828b493 added creating tables and many other 2024-10-01 21:02:51 +02:00