b41d5703f4
checking decoded_buffer for NULL
2024-01-30 21:01:07 +01:00
f6d005551a
possibly fixed client crash
...
possibly means I have no fucking idea
2024-01-30 20:30:47 +01:00
c27b7d6a68
checking for duplicate usernames
2024-01-28 21:34:06 +01:00
9b95117a7c
minimal username length fix
2024-01-28 13:47:18 +01:00
b9e85da4dc
fixed max user ask count
2024-01-28 13:46:00 +01:00
cce133e56c
printing username in server
2024-01-28 13:39:03 +01:00
a6f50c2ddd
using client's username
2024-01-28 13:17:04 +01:00
79ddef2514
added get_username todo
2024-01-27 22:25:53 +01:00
d58efbd035
moved tries check to top of username loop
2024-01-27 22:22:36 +01:00
73d0f64fc9
implemented WHY2_MIN_USERNAME_LENGTH
2024-01-27 22:20:07 +01:00
b21d39a35e
removed goto from username loop & implemented WHY2_MAX_USERNAME_TRIES
2024-01-27 22:13:20 +01:00
952658b281
added null terminating char to add_brackets
2024-01-27 22:10:32 +01:00
2121ec6786
checking for anon & server username
...
blocking them also
2024-01-27 18:40:12 +01:00
6970a65841
fixed client formatting again
2024-01-27 18:21:50 +01:00
135c3bd088
added username to connection_list node
2024-01-27 18:07:48 +01:00
27facd5abd
fixed client formatting after username input
2024-01-27 17:55:20 +01:00
483ffa178d
server asking client for username
2024-01-27 17:47:05 +01:00
7042e3c971
catching WHY2_CHAT_CODE_INVALID_USERNAME and WHY2_CHAT_CODE_PICK_USERNAME as client
2024-01-27 17:46:45 +01:00
de449bd88a
created check_username function
...
this checks for characters that are not a-Z or 0-9
2024-01-27 17:44:39 +01:00
905c2004db
simplified server listening loop exit
2024-01-27 17:43:59 +01:00
d43882b38f
removed old useless testing code
2024-01-27 16:09:33 +01:00
8f9aaaba36
removed unused code
2024-01-27 15:55:41 +01:00
885aba79ab
fixed formatting on invalid command
2024-01-27 15:36:09 +01:00
7e35adfbb5
moved reading stuff from why2_communicate_thread to read_user function
...
chances this will break already working code is like 98.3% so yeah... Not 100% tho
2024-01-27 14:57:19 +01:00
7fd51adbfa
format fix
2024-01-25 21:51:11 +01:00
57eba2caf6
implemented auto_connect in client
2024-01-25 21:46:54 +01:00
abe76d79f0
added return value check to client & server getline
2024-01-25 11:23:54 +01:00
7d37daa32d
preventing server from crashing on client crash
2024-01-24 18:29:02 +01:00
db1b1f8b22
removed fixed todo
2024-01-24 13:28:09 +01:00
492563ee40
renamed why2_config_read to why2_toml_read
...
idk why i didnt do this at first
2024-01-24 12:18:12 +01:00
8f3a45f3ef
implemented why2_config_read in chat-misc
2024-01-24 12:16:15 +01:00
c8bfaedd9d
removed parses files
2024-01-24 12:10:16 +01:00
0736a0d442
created rust module for reading toml config files
...
Yes. Rust module in a LW C project. Yes. Am I stupid? Yes. Is somebody pointing at my head with a gun and forcing me to do this? Yes. Do I hate myself? Yes. love ya
2024-01-23 21:14:08 +01:00
78244e7e3e
removed tables from config files
2024-01-23 19:52:11 +01:00
74f9764e4b
changed config file types from yml to toml
2024-01-23 19:19:52 +01:00
ddbe899071
added message thread cleanup for server
...
also swaped the function names cause I am so smart
2024-01-21 13:44:31 +01:00
5fdd267907
fixed why2_clean_threads segfault client
2024-01-20 20:13:58 +01:00
72fcc4c3e5
running garbage collector at the end of client & server run
2024-01-20 16:01:19 +01:00
7ffb9b1d9c
fixed client segfault on ssqc
2024-01-20 15:48:34 +01:00
f71d3954f0
checked getline return value in client main
...
i hope these comints are sort of intelligent cause im drunk as hell :dd
2023-11-18 20:22:04 +01:00
7c9e2211a5
implemented yml config in chat-misc
2023-08-27 12:19:46 +02:00
2682ef294e
added missing header include in parser
2023-08-27 11:59:15 +02:00
088ff17b1d
implemented WHY2_CHAT_SERVER_USERNAME macro
2023-08-27 11:56:23 +02:00
96babf734c
defined why2_yml_read
...
this definitely isn't code from chatgpt combined with my dumb-ass and some random stuff from stackoverflow, nah :))
2023-08-27 11:50:11 +02:00
9fb66c42bf
created parser files
2023-08-27 11:35:37 +02:00
15bc846db8
fixed .config directory path
2023-08-27 11:05:11 +02:00
c0f7461eab
added .config directory existence check
2023-08-26 19:14:11 +02:00
b11f092bda
replaced local macros with flags
2023-08-26 18:57:53 +02:00
902872d25c
implemented why2_chat_init_client_config
...
meow
2023-08-26 18:43:08 +02:00
bc77ccd04f
defined why2_chat_init_client_config
2023-08-26 18:41:43 +02:00