|
532e22ef1d
|
moved config files to config dir
|
2024-02-20 20:49:33 +01:00 |
|
|
f0730dd4fd
|
fixed smol allocation size
|
2024-02-20 17:06:40 +01:00 |
|
|
0525c43b6f
|
reverted "removed pointless strlen from for loops"
This reverts commit 49b53ec5b1ffd1931e51c7d7c17a64a99e2bd54e.
|
2024-02-20 14:45:35 +01:00 |
|
|
3355d6ceea
|
unfuck reverts
This reverts commit 577c84c997c3b970ea9407d6727af5adc613487e.
|
2024-02-20 14:44:46 +01:00 |
|
|
577c84c997
|
reverted "removed unused read_socket_from_raw fn"
reverting commit f3eb26ed59cd09f066a266b9e72bfd94982e46cb.
|
2024-02-20 14:41:23 +01:00 |
|
|
49b53ec5b1
|
removed pointless strlen from for loops
|
2024-02-20 13:45:47 +01:00 |
|
|
f3eb26ed59
|
removed unused read_socket_from_raw fn
|
2024-02-20 13:32:16 +01:00 |
|
|
54aed2330b
|
fixed bad socket read in some cases
idk just reading it by bytes now and it seems to work
|
2024-02-20 13:31:54 +01:00 |
|
|
8f62b45d1d
|
protecting from invalid json syntax crashes
|
2024-02-20 13:24:31 +01:00 |
|
|
5d5f9be9ab
|
reverting "allocating sizeof(char*) in chat-misc"
reverts commit d6a0cc40fb20379bae02ace13a3569577c8b75b6.
|
2024-02-19 13:09:47 +01:00 |
|
|
f8ac3a5b1a
|
made code a bit safer
|
2024-02-19 12:48:26 +01:00 |
|
|
857a3afe95
|
removed gotos from why2_communicate_thread msg loop
|
2024-02-19 12:41:57 +01:00 |
|
|
1e6c297b57
|
added client accents todo
|
2024-02-19 12:29:40 +01:00 |
|
|
e77937e69e
|
removed goto from why2_listen_server loop
hopefully it won't cause even more errors
|
2024-02-19 12:14:11 +01:00 |
|
|
8da0383c82
|
fixed username formatting & iters
|
2024-02-19 11:06:07 +01:00 |
|
|
642092ebd4
|
removed unused includes
|
2024-02-18 20:39:39 +01:00 |
|
|
b960f7a5c6
|
removing non-ascii characters from messages
|
2024-02-18 20:14:32 +01:00 |
|
|
68140fe7c8
|
made formatting so fucking pretty
|
2024-02-18 19:31:07 +01:00 |
|
|
82df5f5b1c
|
fixed invalid_username formatting
|
2024-02-18 14:55:02 +01:00 |
|
|
5873d55d98
|
moved WHY2_CHAT_CODE_PICK_USERNAME code sending from loop
|
2024-02-18 14:27:10 +01:00 |
|
|
b1c104247c
|
added null check to chat-misc
|
2024-02-18 14:26:37 +01:00 |
|
|
d6a0cc40fb
|
allocating sizeof(char*) in chat-misc
possibly allocating too much but idk
|
2024-02-02 11:00:36 +01:00 |
|
|
0e9b5df58c
|
made send_to_all not run in a thread
|
2024-02-02 10:59:22 +01:00 |
|
|
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 |
|