133 Commits

Author SHA1 Message Date
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
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
c853256dfe fixed undefined user_id after signup 2024-10-23 22:40:00 +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
f20b020549 code refactor, fixed undefined username from response on /auth/validate api, displays user actual username on UserProfile.tsx 2024-10-19 17:02:08 +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
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
bd89f0762f password validation on server 2024-10-11 15:32:07 +02:00
slawk0
05211fba10 protectedRoutes works? 2024-10-11 14:02:00 +02:00
slawk0
e074823704 creating ProtectedRoutes.tsx 2024-10-10 22:28:45 +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
826116e23c added hashing password, creating user uuid and password mismatch check 2024-10-05 13:00:37 +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
slawk0
24ab80244f added form validation, server.js 2024-09-26 17:59:51 +02:00