118 Commits

Author SHA1 Message Date
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
c8bfaedd9d
removed parses files 2024-01-24 12:10:16 +01:00
758c9c1431
revert "added table parameter to why2_config_read"
This reverts commit f0376a73c28bb7d3caec0a8a761eb76ea1b1bb98.
2024-01-23 19:53:51 +01:00
f0376a73c2
added table parameter to why2_config_read 2024-01-23 19:45:12 +01:00
7d76a12708
changed yml to toml in config 2024-01-23 19:20:26 +01:00
dfb7b54fbf
declared config_read stuff
you will facepalm few commits later, trust me :)))
2024-01-23 18:46:06 +01:00
c31ea476a6
added c++ support to headers 2024-01-23 18:27:24 +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
7ffb9b1d9c
fixed client segfault on ssqc 2024-01-20 15:48:34 +01:00
9b238b6d70
created WHY2_CHAT_CODE_ACCEPT_MESSAGES macro 2023-08-27 15:32:55 +02:00
b1062ad8df
moved config-related macros to config header 2023-08-27 12:01:26 +02:00
21a89400af
created WHY2_CHAT_SERVER_USERNAME macro 2023-08-27 11:56:14 +02:00
4016478492
declared why2_yml_read 2023-08-27 11:48:32 +02:00
9fb66c42bf
created parser files 2023-08-27 11:35:37 +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
821170764f
removed server.yml from WHY2_CHAT_CONFIG_URL 2023-08-26 18:31:40 +02:00
ed950e3abf
declared why2_chat_init_client_config 2023-08-26 18:22:42 +02:00
b1d368f375
added chat-flags config TODO 2023-08-26 18:22:18 +02:00
89e69df3cd
renamed why2_chat_init_config to why2_chat_init_server_config 2023-08-26 18:15:53 +02:00
6df35b0f95
preparing for client-side config 2023-08-26 17:59:28 +02:00
d25ca16f4e
created WHY2_CHAT_CODE_PICK_USERNAME macro
these will be sent on some events etc.
2023-05-02 18:54:55 +02:00
9bcbe4c2d2
replaced json extension with yml in WHY2_CHAT_CONFIG
whoops
2023-04-20 21:36:20 +02:00
137f74bc3c
added user 'variable' into WHY2_CHAT_CONFIG_URL 2023-04-20 21:32:24 +02:00
ab2bd02318
created WHY2_CHAT_CONFIG_URL macro
I will download the templates using cURL, I guess
2023-04-20 21:20:18 +02:00
a66e18be5a
created WHY2_CHAT_CONFIG macro 2023-04-20 10:21:44 +02:00
729a43d564
declared why2_chat_init_config function 2023-04-20 10:03:10 +02:00
6b691f1df8
created chat-config files 2023-04-20 09:54:48 +02:00
460239b8bc
removed WHY2_CONNECT_MESSAGE macro 2023-04-20 09:09:53 +02:00
876c24e3fb
created WHY2_CONNECT_MESSAGE macro 2023-04-20 08:56:48 +02:00
87bf911ba2
created WHY2_INVALID_POINTER macro
it is really bik number
2023-04-05 10:15:41 +02:00
ed8b328673
created WHY2_COMMUNICATION_TIME macro 2023-04-01 12:56:14 +02:00
8f6a376a62
removed why2_connection_t
it was useless as hell
2023-04-01 12:43:49 +02:00
1087e40cfc
sending json format in send_to_all 2023-03-25 17:39:52 +01:00
cd5d290a13
added WHY2-prefix at the beginning of chat-flags macros 2023-03-12 15:01:04 +01:00
b8b7b7cdff
renamed header common to flags 2023-03-12 14:59:53 +01:00
edbe07615c
removed includes from common.h 2023-03-12 14:59:07 +01:00
eedea02701
implemented CLEAR_AND_GO_UP in chat stuff 2023-03-12 14:45:58 +01:00
0618de9584
declared why2_listen_server 2023-02-22 12:10:06 +01:00
49978a8a53
changed why2_connection::thread type to UL 2023-02-22 10:33:42 +01:00
2b790a21fe
declared why2_clean_threads 2023-02-22 10:11:36 +01:00
493724626c
created why2_connection_t struct
contains connection and pthread_t
2023-02-22 10:03:49 +01:00
736cd82240
removed why2_register_connection function 2023-02-22 10:01:03 +01:00
97e2d1d097
moved accept-loop to why2_accept_thread 2023-02-21 19:34:40 +01:00
89885de21e
added common todo 2023-02-21 19:29:08 +01:00
f31216f387
added "why2_" at the beginning of chat-misc functions' identificators
i forgor again
2023-02-21 12:33:53 +01:00
36b5ac7cfc
added license to common's top 2023-02-21 12:29:04 +01:00
ea15a24ed3
declared register_connection function 2023-02-21 12:26:27 +01:00
9f2ddb13dd
removed unused includes 2023-02-21 10:56:46 +01:00
22ff5a3e7d
moved server functions into why2-misc 2023-02-21 10:53:09 +01:00