Commit Graph

331 Commits

Author SHA1 Message Date
Quinten
f3bdf28eed refactor: implement socket structure and server refactor 2025-10-14 18:38:57 +02:00
Quinten
970ab847fc refactor(server): refactor event loop 2025-10-14 15:25:04 +02:00
whaffman
b64a41d84f feat: implement CGISocket class for handling CGI communication with non-blocking I/O 2025-10-10 11:03:20 +02:00
whaffman
f8a273ec84 moving docs, log files and iwyu map 2025-10-10 07:56:49 +02:00
whaffman
b43901de1a moved scripts to script folder 2025-10-09 23:13:48 +02:00
whaffman
4614a2d382 moved sites to htdocs and ran format script 2025-10-09 22:57:31 +02:00
whaffman
fc1340ac7f fix: tests update StdoutChannel and logging methods to remove unnecessary parameters 2025-10-09 22:28:08 +02:00
whaffman
9c343d872e remove header, correct filename 2025-10-09 22:22:47 +02:00
whaffman
9faa5a1406 feat: enhance C++ development settings in VSCode configuration 2025-10-09 22:22:07 +02:00
whaffman
cc2ed7af56 fix errors from pedantic 2025-10-09 21:16:42 +02:00
whaffman
5215edbb45 add -Wpedantic and some friends 2025-10-09 21:16:30 +02:00
whaffman
5d3821beaa build all targets parallel 2025-10-09 21:16:11 +02:00
Quinten
20ae0e03dd feat: add getCGIEnvironment method to retrieve CGI environment variables 2025-10-09 18:06:05 +02:00
Quinten
35d17d8fa9 feat: replace URIParser with URI class for improved URI handling 2025-10-09 18:02:21 +02:00
Quinten
0f9fa38d8b feat: add initial TODO list for project tasks 2025-10-09 18:01:02 +02:00
Quinten
c3e5117fcb refactor: uri parser now does parsing 2025-10-09 16:26:31 +02:00
Quinten
6b9ce1dda4 fix: add missing newline and ensure binary operators are placed at the beginning of the line 2025-10-09 16:26:00 +02:00
whaffman
fb84cd09fa feat: implement RequiredDirectivesRule for config validation 2025-10-08 17:23:12 +02:00
whaffman
a0b85774b1 fix: return path 2025-10-08 17:22:03 +02:00
whaffman
c401b5fbbd refactor(log): reduce function calls 2025-10-08 17:21:48 +02:00
whaffman
f222cce4ff refactor: has and owns 2025-10-08 17:21:04 +02:00
whaffman
9aaa085098 refactor: remove RequiredDirectiveRule class and its implementation 2025-10-08 17:20:21 +02:00
whaffman
8b37af4632 feat: add implode 2025-10-08 17:20:08 +02:00
whaffman
7b6ce8fd67 refactor: optimize compiler options and clean up unused directives 2025-10-07 22:38:00 +02:00
whaffman
60dda17042 test coverage 2025-10-07 18:22:36 +02:00
whaffman
6bbd39178a claude added more tests. tnx claud 2025-10-07 18:11:09 +02:00
Quinten
91879d2638 format 2025-10-07 17:11:17 +02:00
Quinten
e0efb0192c feat: implement method support check in Router for HTTP requests 2025-10-07 17:03:57 +02:00
Quinten
ec683f1690 fix: correct directive type for cgi_enabled in DirectiveFactory 2025-10-07 16:41:16 +02:00
Quinten
8fa1c44f78 fix: add fatal log for bind failure with host and port details 2025-10-07 16:41:10 +02:00
Quinten
f598fbc185 feat: add split function to utils for string splitting by delimiter 2025-10-07 16:41:02 +02:00
Quinten
1994de27af feat: add validation rules for CGI extensions, folder existence, and host validation 2025-10-07 16:40:50 +02:00
Quinten
c74bebd75b fix: update server configuration 2025-10-07 16:40:32 +02:00
Quinten
a2c08739aa fix: add debug log in createDirective 2025-10-07 16:40:13 +02:00
whaffman
b0136ceedf fixed some testws 2025-10-06 16:30:44 +02:00
whaffman
2891deb47d style: format code for consistency and readability in validation rules 2025-10-06 16:01:33 +02:00
whaffman
dbc318cdfa feat : add structural validation rules to ConfigValidator 2025-10-06 16:00:38 +02:00
whaffman
4f89a2918c feat(structural rules) 2025-10-06 16:00:36 +02:00
whaffman
010ee3e8b6 moving some files and fixing includes 2025-10-06 15:16:53 +02:00
whaffman
95753eea34 feat(validation): implement configuration validation framework with rules for required directives and allowed values 2025-10-06 14:48:15 +02:00
whaffman
ceab8d7aab fix(client): cast buffer to const char* for receiveData method 2025-10-06 11:32:40 +02:00
whaffman
fad0f6f5b4 feat(validation): add IValidationRule interface and implementations for port validation 2025-10-06 11:28:29 +02:00
whaffman
abb832a380 refactor(directive value): simplify value retrieval with try_get method 2025-10-06 11:28:15 +02:00
Quinten
a8b71747bb refactor(main): clean up 2025-10-01 20:51:50 +02:00
Quinten
72e3f962e4 refactor(file handle): attempt to decouple a bit 2025-10-01 20:47:18 +02:00
Quinten
16841dd520 feat(file utils): move read functions to file utils 2025-10-01 20:46:42 +02:00
Quinten
a89150102c refactor(router): clean up unused functions
refactor(router): make handleRequest static
2025-10-01 20:46:11 +02:00
whaffman
ab83c02fd2 claude made a website 2025-10-01 18:03:00 +02:00
whaffman
bcd33dacd7 feat: serve static pages 2025-10-01 17:50:10 +02:00
Quinten
c5f7b82997 fix: correct path for 404 error page in default configuration 2025-09-30 20:03:17 +02:00