Commit Graph

16 Commits

Author SHA1 Message Date
whaffman
95753eea34 feat(validation): implement configuration validation framework with rules for required directives and allowed values 2025-10-06 14:48:15 +02:00
Quinten
927b9549c2 feat: implement router request handling and error management 2025-09-30 20:03: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
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
Quinten Mennen
36961fc468 fix: add utils namespace to functions 2025-09-24 13:01:27 +02:00
whaffman
ba831957d4 clang-format 2025-09-24 12:04:43 +02:00
whaffman
901f766599 ran iwyu 2025-09-24 12:03:40 +02:00
whaffman
3eb46dba13 Enhance code formatting and organization:
- Add tasks for code formatting and checking in VSCode
- Update .clang-format for consistent style
- Clean up includes and formatting in various files
2025-09-22 22:59:29 +02:00
whaffman
358b48e407 Refactor logging: replace LOG macros with Log class methods for improved clarity and consistency 2025-09-22 12:00:53 +02:00
whaffman
4f47c0c1ee Refactor variable naming for consistency: update member variables in Client, ConfigManager, LocationConfig, ServerConfig, and Socket classes to use a consistent naming convention with trailing underscores. 2025-09-21 00:12:05 +02:00
whaffman
df97596321 Enhance code style and organization: update .clang-format for include sorting, enable parallel compilation in CMake, and clean up includes across multiple files for improved readability and consistency. 2025-09-20 23:21:23 +02:00
whaffman
6262cda801 Refactor logging: replace std::cout with LOG macros across multiple files for consistent logging and improved readability 2025-09-20 16:23:43 +02:00
whaffman
3ee0a607a1 Enhance configuration management: add getter methods for server configuration details, improve location handling, and update main to display server information 2025-09-14 22:55:20 +02:00
whaffman
0ae78577e7 Refactor ConfigManager and LocationConfig: comment out unused methods, improve parsing logic, and clean up includes 2025-09-14 21:19:22 +02:00
whaffman
cb88b9dc13 first config parse try 2025-09-14 21:15:32 +02:00
whaffman
48953b1c62 create ConfigManager source files 2025-09-12 11:58:56 +02:00