Commit graph

21 commits

Author SHA1 Message Date
c37e48007e
Make structs to be anonymous 2024-09-27 23:53:03 +01:00
312f0b8727
Change layout to have status bar instead of textbox, remove defines to enums
Add more colors for status bar

Add modes

Make slash commands to chat to user
2024-09-26 11:36:37 +01:00
afe816bd30
Move imports 2024-09-25 22:31:10 +01:00
396201512d
remove estrdup and move notification to client side 2024-09-25 21:21:57 +01:00
46e8b3c8e8
Distinguish ED25519 for signing and X25519 for key exchange and encryption 2024-09-25 09:55:05 +01:00
2680bc40d6
Make shared key store in database 2024-09-25 03:53:00 +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
4d3bb95e78
Move lib to src/lib and change secret key strcuture 2024-09-24 13:52:19 +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
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
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
da31b57980
Minor edit on variable names 2024-09-20 17:16:59 +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
7da8b49164
Make textbox look better and fix content need to be redrawn after border changing color 2024-09-18 21:26:32 +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
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