177 Commits

Author SHA1 Message Date
slawk0
f7dc369b64 added docker but not working yet 2024-11-16 18:01:16 +01:00
slawk0
6f4867c7e8 added daisyUI 😊 2024-11-15 23:13:27 +01:00
slawk0
18a3876153 removed prelineui 🤮 2024-11-15 22:58:33 +01:00
slawk0
c1cd395a5e code refactor 2024-11-15 22:56:45 +01:00
slawk0
88307104a2 changed from input to textbox to keep text formatting, added daisyUI, refactored dropdown menu 2024-11-15 22:44:02 +01:00
slawk0
5ba57cefac displays no more messages found message from server 2024-11-14 22:17:14 +01:00
slawk0
ef8df113e4 code refactor 2024-11-14 21:18:32 +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
3fd2ee1282 added spinning wheel on signup and login button 2024-11-12 16:26:23 +01:00
slawk0
133b583cfb fixed infinite loop when token cannot be validated 2024-11-11 22:59:16 +01:00
slawk0
ab4569f312 added SpinningWheel.tsx, infinite scrolling is fully working 2024-11-11 22:40:54 +01:00
slawk0
d54d28de9e added .env 2024-11-10 19:51:48 +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
39a4242176 historical messages are now fetched from api 2024-11-02 23:13:40 +01:00
slawk0
96f87c2fe8 restored important part 2024-11-02 21:38:28 +01:00
slawk0
c6ed8951ca deleteContact function 2024-11-02 21:19:14 +01:00
slawk0
710420a5a8 improved changing contact status sending api 2024-11-02 18:25:22 +01:00
slawk0
f4796a2134 moved contacts api requests to contactsApi.tsx 2024-11-02 18:02:32 +01:00
slawk0
34d3f1c75b huh 2024-11-01 19:24:00 +01:00
slawk0
27d7456998 fuck git 2024-11-01 19:19:24 +01:00
slawk0
973ef54393 authorizeUser middleware 2024-11-01 18:24:48 +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
7953a4ee2c sorting contact to display unreaded firtst 2024-10-31 00:25:02 +01:00
slawk0
efe7559265 added working status indicator 2024-10-31 00:11:12 +01:00
slawk0
69abbcb7b8 removing contact is working 2024-10-29 17:21: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
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
73dfeb6e3e added InitializeContact function 2024-10-27 20:01:29 +01:00
slawk0
e92f07433d added InitializeContact function 2024-10-27 11:57:20 +01:00
slawk0
80412296aa added sendContactsList function, fixed socket not working socket after login 2024-10-27 11:25:22 +01:00
slawk0
cb99f174d2 added authorized context 2024-10-26 23:06:32 +02: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
dfd065adee dropdown menu on user profile 2024-10-19 17:53:34 +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
53421bc7ca clearing messages on new contact 2024-10-19 13:35:54 +02:00
slawk0
d20f38e454 added autoscroll 2024-10-19 13:03:56 +02:00
slawk0
ba4c07ea30 added filter to prevent display same message multiple times, fixed ui 2024-10-19 12:17:23 +02:00
slawk0
dff81dc1ef added overflow to messages 2024-10-18 16:32:56 +02:00