1415 Commits

Author SHA1 Message Date
bc14effeee
responding to LIST code from client
oh dear satan, this is possibly the worst code I have ever written. Please, if anyone has any idea how to handle strings in C in better ways, let me know.
2024-04-28 11:50:59 +02:00
cd80a640af
created LIST code but from s->c 2024-04-28 11:49:51 +02:00
c37538aa75
defined why2_list_get_size
not sure if this is correct lol

EDIT: It didn't work. I fixed it now lmao
2024-04-27 12:26:56 +02:00
c4ddb6888a
declared why2_list_get_size fn 2024-04-27 12:18:07 +02:00
97ba473143
removed INVALID_COMMAND code
it was unused atp
2024-04-27 12:01:49 +02:00
cfa9f7bcca
implemented WHY2_CHAT_COMMAND_PREFIX on server-side 2024-04-27 11:58:01 +02:00
4134f9d1b3
implemented LIST command in client
not in server yet haha
2024-04-27 11:49:00 +02:00
1b4401f944
created WHY2_CHAT_COMMAND_LIST macro 2024-04-27 11:47:04 +02:00
37b1a3a82d
changed code_998 to CODE_LIST 2024-04-27 11:43:53 +02:00
0150414d1b
optimized client command checking 2024-04-27 11:42:15 +02:00
26c5b4d831
implemented the command handler 2024-04-27 11:33:00 +02:00
e9b439884f
created command handler in client 2024-04-27 11:32:52 +02:00
f325b928eb
trimming client input text 2024-04-25 21:15:59 +02:00
f07a5fe40f
moved trim_string to header file 2024-04-25 20:52:09 +02:00
e6c570c2c7
prepared trim_string for non-why2-allocated strings 2024-04-20 11:32:18 +02:00
65135ac961
created why2_allocated fn
checks for why2-mem allocation
2024-04-20 11:22:09 +02:00
19ccc45e0a
created pm code 2024-04-19 20:09:23 +02:00
07a4eecd4e
removed the stupid exit command sending
using codes instead
2024-04-19 20:03:20 +02:00
d451030ad0
handling sigint signal
i'm really trying alex, i am

wicked game
2024-04-19 16:32:44 +02:00
e023207261
added help command 2024-04-19 16:08:54 +02:00
1fc78a2a30
sending server exit_cmd with the initial welcome message 2024-04-17 18:04:45 +02:00
c98184f1f5
created exit_cmd getter & setter 2024-04-17 18:03:40 +02:00
b2c945fe6d
implemented the exit_cmd macro 2024-04-17 17:45:21 +02:00
b2ca56e927
created WHY2_CHAT_COMMAND_EXIT macro
also the prefix
2024-04-17 17:43:25 +02:00
99c76285a2
added ID to connection node 2024-04-17 17:25:55 +02:00
f1fd7c07ea
fixed linked list linkage problems
First of all, is linkage even a word? :D Second thing, I am so fucking stupid...
2024-04-17 17:22:44 +02:00
586df77ff4
revert "added configure script source todo"
reverts commit abd8645ab06374a345f1698c313e3c6bfc363ed7.

turns out it breaks workflows
2024-04-13 17:19:07 +02:00
22e03ca06e
fixed base bug in exp_mod fn 2024-04-13 14:20:52 +02:00
6227b8eb0a
changed WHY2_CHAT_RSA_EXPONENT base to 62
so now it isn't 65537 but H33
2024-04-13 14:20:26 +02:00
d9483f02ca
fixed rsa crypto input strings & output base 2024-04-13 13:45:40 +02:00
9cf062565a
created why2_chat_rsa_pri_decrypt 2024-04-13 13:40:26 +02:00
2a9df2a4b9
moved why2_chat_rsa_pub_encrypt body into exp_mod
so in next commit, which will be decryption, I won't kms
2024-04-13 13:38:14 +02:00
b74995bbab
changed WHY2_CHAT_RSA_EXPONENT datatype to string 2024-04-13 13:37:06 +02:00
6487ea8b85
defined why2_chat_rsa_pub_encrypt
pog
2024-04-13 13:30:52 +02:00
ee3f319dd7
implemented why2_chat_deallocate_keys in client 2024-04-13 13:17:03 +02:00
62d2f10e65
declared why2_chat_rsa_pub_encrypt 2024-04-13 13:15:26 +02:00
5bd948c8a0
switched fopen for why2_fopen in crypto
whoopsie
2024-04-13 13:09:54 +02:00
60b437d4e8
implemented why2 crypto getters
bit fucked the file
2024-04-13 13:08:44 +02:00
8f3af8c7d1
defined why2_get_chat* rsa stuff fns 2024-04-13 12:32:43 +02:00
bb8436badd
added body for why2_chat_deallocate_keys 2024-04-13 12:32:19 +02:00
2755472534
declared why2_get_chat* rsa stuff fns 2024-04-13 12:28:50 +02:00
2f4c73ce09
created why2_chat_deallocate_keys fn 2024-04-13 12:26:47 +02:00
ef1f9bbf38
renamed why2_chat_generate_keys to why2_chat_init_keys
I think the name is much more self-explanatory now
2024-04-13 12:24:19 +02:00
abd8645ab0
added configure script source todo 2024-04-13 12:19:32 +02:00
274a3e1772
revert "sending ssqc on every message loop end"
this reverts commit b14c8de7105a9f570a227ce7f8608103b205eca9

it seems that I created the check for some reason
2024-02-26 15:19:41 +01:00
850ab11272
using latest toml version in rust module 2024-02-25 20:54:17 +01:00
4d6b29e4c6
implemented max_message_length in message loop 2024-02-25 20:34:18 +01:00
13d4e2f480
created max_message_length in server cfg 2024-02-25 20:25:38 +01:00
b14c8de710
sending ssqc on every message loop end 2024-02-25 14:23:53 +01:00
22282623af
implemented trim_string in message loop 2024-02-25 13:16:12 +01:00