Commit Graph

33 Commits

Author SHA1 Message Date
2ad4f5b52d Poll error is not longer breaking everything 2024-08-25 21:37:04 +03:00
785cbff2a7 now redirections use 303, small refactoring, added skeleton for response logic, API responses up to getMessageInfo 2024-08-25 21:20:01 +03:00
90f8289bcd Hot fix: now bad cookies do not ruin everything 2024-08-25 15:27:48 +03:00
799e156f88 Fiexs bugs caused by misuse if sqlite3, fixed very old memory leak, added separate .cpp files for each request type, added raw login page, did some refactoring, added functions for http redirection (307), /internalapi/pollEvents is done, /internalapi/getChatList is done 2024-08-25 13:06:26 +03:00
a6f4bd6c88 Fixed some Cookie bugs, rewrote everything to nytl, added session system, added ugly login page 2024-08-24 01:43:07 +03:00
3632ade86d Hot fix: added templater for future login page, fixed some critical bugs with binding socket to unix domain address 2024-08-23 18:29:21 +03:00
5314ffef1f Merged with anton_branch 2024-08-23 16:54:52 +03:00
69d054ed04 Added base64 encoding/decoding, added cookie creation and parsing, divided main service into library (entry = actions.h, module: iu9cawechat::) and small executable 2024-08-23 15:37:29 +03:00
925c072039 Initialization of chat service (all tables), admin command to update root password without erasing the whole database. Each een9 worker now has it's own sqlite3 connectin handler 2024-08-21 14:29:53 +03:00
6be78c1510 fixed some bugs, made an utility to send admin commands to server, added both http listeners and admin-cmd listeners. Command "8" to shutdown the server. And the most important: IU9 CA Web Chat can now talk like a mentally ill teenager (command "hello" (gonna delete this later)) 2024-08-20 00:07:17 +03:00
4d18d13a93 Added server support for 'admin-control' protocol, added parsing of IP4/6/unix addresses, fixed some bugs, moved to C++17, config["server"] now actually does something 2024-08-19 19:25:21 +03:00
38d3a2ea78 Printing bad requests to log/req 2024-08-17 15:49:28 +03:00
06d5a33495 Moved from pkg-config 2024-08-16 22:10:04 +03:00
ef4a6dec24 Daily update, added .cpp files for two commands: initialize.cpp and run.cpp 2024-08-16 00:06:35 +03:00
ef3af2ec45 UF CHANGED README UUUUFH UH UH AAAAAAAAA I- I am COOOOMMITTING YEEEAAH! YEAH ANOTHER README CHANGE THIS IS THE UF- UH -AH I'M DOING SO MUCH JOB 2024-08-15 13:39:42 +03:00
7a1bfd81f3 nytl: quick fix 2024-08-15 11:53:44 +03:00
0f84548f78 nytl: hot fix 2024-08-15 09:50:14 +03:00
da2cb4261c nytl: bug fix 2024-08-14 22:32:30 +03:00
ea7d50a183 nytl: merged files rendering.cpp and execute_expression.cpp 2024-08-14 21:24:27 +03:00
dd806a5633 New York Transit Line is finally usable at least a little. Integrated it with frontend 2024-08-14 21:18:00 +03:00
393703b0b2 Fixed one of those "Cs convenient ways to show error" (sigsegv caused by ivalid pointer). It were 2 hours of pure frustration 2024-08-14 21:18:00 +03:00
e03794410b FIXED SOME TABULATION BUGS, DO NOT LOOK AT MY PREVIOUS SYSTEM 2024-08-14 21:18:00 +03:00
076a941a6e Mhm, I wrote something, for some reason nothing works 2024-08-14 21:18:00 +03:00
83c17c22e6 Daily update 2024-08-14 21:18:00 +03:00
01176052d7 Лмао, Адель, харе carriage return ставить в конце каждой строки((( 2024-08-14 21:18:00 +03:00
91aaf51410 I hate my life so much 2024-08-14 21:18:00 +03:00
be37e4f5ab Very raw version of nytl, no parsing yet 2024-08-14 21:18:00 +03:00
5fab1131ca Daily update 2024-08-14 21:18:00 +03:00
c264e3802b Daily saving of progress 2024-08-14 21:18:00 +03:00
b9445e6796 Connected fron t to back 2024-08-06 12:33:20 +03:00
49a4414bc8 Added query splitting 2024-08-06 12:14:34 +03:00
8de3335296 Rewrote test server to use libregexis024 to parse http requests (now it roughly conforms to RFC9112) 2024-08-05 00:44:42 +00:00
048365e385 Initial test version 2024-07-27 14:27:52 +03:00