Commit Graph

16 Commits

Author SHA1 Message Date
whaffman
f172987e63 feat(AConfig, URI): add getCGIPath method and implement CGI check in URI 2025-10-14 22:11:34 +02:00
whaffman
4614a2d382 moved sites to htdocs and ran format script 2025-10-09 22:57:31 +02:00
whaffman
f222cce4ff refactor: has and owns 2025-10-08 17:21:04 +02:00
whaffman
7b6ce8fd67 refactor: optimize compiler options and clean up unused directives 2025-10-07 22:38:00 +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
abb832a380 refactor(directive value): simplify value retrieval with try_get method 2025-10-06 11:28:15 +02:00
whaffman
bcd33dacd7 feat: serve static pages 2025-10-01 17:50:10 +02:00
Quinten
4d6ad6b1d5 todo 2025-09-30 13:58:17 +02:00
whaffman
d360728b18 feat: enhance logging by changing info logs to debug level for detailed tracing 2025-09-30 11:26:05 +02:00
whaffman
a3e9699eb9 feat: reorder include statements to ensure corresponding headers are placed first 2025-09-30 11:17:43 +02:00
whaffman
ab2db513c0 iwyu 2025-09-30 10:54:50 +02:00
whaffman
949c788259 feat: preliminary error handling with custom error pages and response generation 2025-09-29 17:39:53 +02:00
whaffman
e5ad795917 fix: apply IWYU suggestions and format 2025-09-26 18:08:52 +02:00
whaffman
143498315b fix: apply IWYU suggestions 2025-09-26 18:08:32 +02:00
whaffman
c841142e79 Refactor configuration handling and directive parsing
- Introduced AConfig class to handle common configuration functionalities.
- Added GlobalConfig class to manage multiple ServerConfig instances.
- Updated ServerConfig to utilize the new AConfig base class.
- Refactored directive parsing logic to improve clarity and maintainability.
- Enhanced utility functions for removing comments and empty lines from configuration blocks.
- Updated directive classes to use consistent naming for value retrieval methods.
- Improved logging for better traceability during configuration parsing.
- Removed unused includes and cleaned up code for better readability.
2025-09-26 18:06:37 +02:00