Commit graph

29 commits

Author SHA1 Message Date
2680bc40d6
Make shared key store in database 2024-09-25 03:53:00 +01:00
74952aae1c
create key pair if it is not found in database 2024-09-24 19:14:15 +01:00
294662e2ae
Make write_log print new line by default 2024-09-24 19:10:56 +01:00
b84a664669
Remove icons from UI's user, move protocol specific constant to packet.h, reconstruct private key, rename some variables 2024-09-24 19:05:49 +01:00
f998960f1c
Rename folders 2024-09-24 13:54:10 +01:00
ceacd1306f
Rename folders 2024-09-24 13:53:53 +01:00
4d3bb95e78
Move lib to src/lib and change secret key strcuture 2024-09-24 13:52:19 +01:00
74597b6361
Make color render more robust 2024-09-21 22:49:29 +01:00
380a8deb31
Add TODOs 2024-09-21 15:41:36 +01:00
c67915a41c
Create threadpool before accept connection 2024-09-21 15:38:06 +01:00
6b43464637
Move client and thread struct to header file and use debug flag instead of debug in config.h 2024-09-20 18:53:00 +01:00
c57ba8d2ec
Make server ignore if client closed connection 2024-09-20 18:24:01 +01:00
68f5fd5f7c
Fix data dir and its files creation 2024-09-20 18:23:34 +01:00
eb3a859e97
Deinit ncurses before fatal crash 2024-09-20 18:09:56 +01:00
87b3f984c1
Fix file paths within CLIENT_DATA_DIR 2024-09-20 17:54:32 +01:00
a927c5c36c
Remove database name config option, instead name can't be changed
Add create_data_dir function in util.c
2024-09-20 17:50:24 +01:00
79defadf12
Detect if server closed connection on client and only use one packet for authenticating client on server 2024-09-20 17:38:00 +01:00
88602a64b5
Remove use of sizeof(char) and sizeof(uint8_t) 2024-09-20 17:22:08 +01:00
90f971133b
Only use one packet variable on authenticating on client.c 2024-09-20 17:18:21 +01:00
d22dfa1561
Rename key_pair to keypair_t, avoid using excess memory on client.c, removing using sizeof(uint8_t) 2024-09-20 17:16:17 +01:00
47e50fcf8e
Parse markdown-like messages to italic, underline, block and color
Print date only if current message is newer than previous message by a day

Make keybinding configurable for clear input
2024-09-20 15:51:07 +01:00
5845540b70
Remove draw borders option 2024-09-19 01:18:32 +01:00
7da8b49164
Make textbox look better and fix content need to be redrawn after border changing color 2024-09-18 21:26:32 +01:00
6dd7fae14f
Fix UI in DB by not adding themselves to UI 2024-09-18 08:41:54 +01:00
062028e4e1
Improve relaying message in server 2024-09-18 08:40:05 +01:00
fa729a8a45
UI drawing and input, and move encryption to ui.c 2024-09-18 08:37:02 +01:00
47fd0968cb
Change encrypted structure 2024-09-16 13:19:02 +01:00
82ee7785f7
Slightly working prototype, able to relay messages 2024-09-16 13:11:01 +01:00
297f55bc60
Initial commit 2024-04-30 17:17:17 +01:00