Commit Graph

26 Commits

Author SHA1 Message Date
Quinten
1b123d84e3 feat: (better) http validation 2025-10-30 17:20:59 +01:00
Quinten
a68e7fd33c fix: format header doesn't compile on codam 2025-10-29 13:09:48 +01:00
whaffman
9e773e43fd feat: implement redirect handling and update configuration 2025-10-28 22:02:11 +01:00
Quinten
12106441f1 format 2025-10-27 09:32:15 +01:00
Quinten
9358370044 extend validation logic 2025-10-27 09:25:26 +01:00
Quinten
4cf3eac4d1 feat: request validation 2025-10-26 19:18:11 +01:00
whaffman
d98fb98c52 iwyu 2025-10-26 13:43:42 +01:00
whaffman
7951478edf minimal fix for segfault 2025-10-21 15:11:39 +02:00
whaffman
b8e3e16f3d refactoring ahndler, and cgihandler start 2025-10-16 17:10:32 +02:00
whaffman
67ab96f9da refactor: add noexcept annotations to getters and observers 2025-10-16 00:54:29 +02:00
Quinten
0887acd81a feat(config): add new server configuration for site-3 and implement CGI support
feat(site-3): create index.php for site-3 with a greeting message
refactor(client): change setCgiSocket to accept unique_ptr for better memory management
fix(AConfig): adjust getCGIPath to correctly prepend dot to extension
refactor(CgiProcess): update CGI process handling to use unique_ptr for CgiSocket
refactor(URI): enhance logging for CGI checks and improve condition checks
refactor(Router): clean up commented code and add debug logging for CGI process
fix(Server): improve error logging for epoll_ctl failures
2025-10-15 17:03:49 +02:00
Quinten
7134e26f6f refactor: make response async 2025-10-15 15:28:09 +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
Quinten
35d17d8fa9 feat: replace URIParser with URI class for improved URI handling 2025-10-09 18:02:21 +02:00
Quinten
c3e5117fcb refactor: uri parser now does parsing 2025-10-09 16:26:31 +02:00
whaffman
7b6ce8fd67 refactor: optimize compiler options and clean up unused directives 2025-10-07 22:38:00 +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
whaffman
010ee3e8b6 moving some files and fixing includes 2025-10-06 15:16:53 +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
927b9549c2 feat: implement router request handling and error management 2025-09-30 20:03:05 +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
66e57fef59 Add header and implementation files for CgiHandler, ErrorHandler, FileHandler, HttpRequest, HttpResponse, and Router classes 2025-09-21 00:38:23 +02:00