Commit graph

36 commits

Author SHA1 Message Date
e4856689e9
Change makefile for new folders 2024-09-24 13:54:28 +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
c0fe9b6edc
Ignore data and signature if packet is info or error 2024-09-21 14:37:26 +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
da31b57980
Minor edit on variable names 2024-09-20 17:16:59 +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
e50093283f
Add closed connection status, remove print_packet routine and revamp how send_packet and recv_packet works 2024-09-20 17:06:03 +01:00
2801fad655
Change structure of keypair_t 2024-09-20 17:04:16 +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
9c1479bb73
Clarify "data" and "message" 2024-09-18 08:38:44 +01:00
18bda0a245
Ignore EEXIST 2024-09-18 08:38:18 +01:00
e5894fdf69
Change notificiation to include author 2024-09-18 08:38:04 +01:00
7e982c0dae
Move defines from config.h to other header files 2024-09-18 08:37:34 +01:00
fa729a8a45
UI drawing and input, and move encryption to ui.c 2024-09-18 08:37:02 +01:00
0be02f3954
Makefile compile for specific username 2024-09-18 08:33:51 +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
2897e18d47
Add License 2024-04-30 17:19:25 +01:00
297f55bc60
Initial commit 2024-04-30 17:17:17 +01:00