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
bd3eb8ed4a
removed duplicate tkch version
...
so yeah v1 and v2 were the same
2024-01-24 21:07:45 +01:00
7d37daa32d
preventing server from crashing on client crash
2024-01-24 18:29:02 +01:00
42f406f6b6
implemented tkch_version in why2_input_flags
2024-01-24 15:11:22 +01:00
bd92cd312d
tkch gen fix
2024-01-24 15:10:47 +01:00
d540c1ea88
removed tkch_version from tkch_gen parameters, using flags instead
2024-01-24 15:08:37 +01:00
12e4b7afe5
implemented tkch_versions in tkch_gen
2024-01-24 15:01:31 +01:00
7e33714f53
added WHY2_TEXT_KEY_CHAIN_VERSIONS enum as gen_tkch parameter
2024-01-24 14:54:30 +01:00
54da223e23
moved the historic tkch functions into enum versions
2024-01-24 14:47:48 +01:00
6e51e51a38
removed "old" prefix from gen_tkch_number functions
2024-01-24 14:38:12 +01:00
5a0766871d
created fourth old_gen_tkch function
...
this is the latest one which is being used to this day
2024-01-24 14:37:17 +01:00
5a88fbf045
created third old_gen_tkch function
2024-01-24 14:27:58 +01:00
abe720214c
created second old_gen_tkch function
...
this is gonna be a long day lol
2024-01-24 14:27:18 +01:00
a5298a8cbc
created first old_gen_tkch function
...
first version of tkch ever. I used this to send her my feelings. I couldn't do it normally cause I am loser, yk, so I used this fucking encryption. We're only friends now. But at least we talk to eachother. When she started ghosting me, I nearly hang myself. Thanks, Alex. Thanks that you are for me. I would have unalived myself if you haven't reposponded that time. Thanks so much. I still do love you.
2024-01-24 14:04:19 +01:00
bb0c07ef64
changed callback functions for tkch type to int
2024-01-24 13:55:42 +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
c9e1567ae9
added missing license to memory related files
2024-01-23 18:29:33 +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
a0aabc547a
updated performance in why2_deallocate
...
now if you attempt to deallocate NULL, get_node doesn't go trough the whole list
2023-08-27 12:18:51 +02:00
2682ef294e
added missing header include in parser
2023-08-27 11:59:15 +02:00