Commit Graph

  • 9358370044 extend validation logic Quinten 2025-10-27 09:25:26 +0100
  • d8a89c3814 i think this is nicer, wby? Quinten 2025-10-26 19:18:26 +0100
  • 4cf3eac4d1 feat: request validation Quinten 2025-10-26 19:18:11 +0100
  • d98fb98c52 iwyu whaffman 2025-10-26 13:43:42 +0100
  • 5e9243b064 feat(SIGTERM) is this not to global for you sir? whaffman 2025-10-26 12:10:17 +0100
  • be39dfa4c4 no extensions cmake Quinten 2025-10-22 16:52:16 +0200
  • ce67805e1b feat: auto close fds on exec Quinten 2025-10-22 16:51:58 +0200
  • c712cbf6db refactor(log): remove mode and clear channels function Quinten 2025-10-22 16:51:32 +0200
  • c49b259862 refactor: no cancel timer Quinten 2025-10-22 15:37:13 +0200
  • 728638b1e4 feat(config): add direcive for timeout Quinten 2025-10-22 15:37:00 +0200
  • 11687b1782 fix(file utils): allow empty addition Quinten 2025-10-22 15:36:42 +0200
  • 176864f35c fix(client): remove sockets on client destruct Quinten 2025-10-22 15:36:26 +0200
  • 656abd24e7 feat(CgiHandler, TimerSocket): enhance error handling and add read/write methods whaffman 2025-10-22 15:18:15 +0200
  • cd33bb1ce6 refactor(CgiProcess): update TODO comment for pipe handling to improve clarity whaffman 2025-10-21 23:47:21 +0200
  • e7e913a32d timeout, but please refactor yes thankyou Quinten 2025-10-21 22:17:17 +0200
  • c148636b1e fix(CgiHandler, CgiProcess): improve socket management by adding stderr socket handling whaffman 2025-10-21 19:03:40 +0200
  • 7eba0b38a2 Merge remote-tracking branch 'origin/feature/socket-refactor' into willem2 whaffman 2025-10-21 19:03:32 +0200
  • 053c167574 feat(dev container): add php cgi to build requirements Quinten 2025-10-21 16:55:28 +0200
  • cfb88745bb refactor(Client, Server, ASocket): update socket handling and state management Quinten 2025-10-21 16:55:11 +0200
  • bf36dd74d8 Cgi stderr whaffman 2025-10-21 15:37:45 +0200
  • 7951478edf minimal fix for segfault whaffman 2025-10-21 15:11:39 +0200
  • 6028e0c1fe remove compile flags whaffman 2025-10-21 13:24:22 +0200
  • eedb5382ea fix(URI): trim URI before extracting substring for improved path handling whaffman 2025-10-20 17:56:56 +0200
  • 8dc20a5715 fix(HttpRequest): add TODO for potential segfault when server does not exist whaffman 2025-10-20 17:56:18 +0200
  • 6cf0f73ee4 cookies whaffman 2025-10-20 16:15:07 +0200
  • d1b392d2a2 match index in URI whaffman 2025-10-20 15:33:55 +0200
  • ed04838f0d feat(Cgi Environment) fix(No function used in process can log or print is will print to the std o that is captured) whaffman 2025-10-20 15:27:08 +0200
  • 0d57ce4f27 trying to setup tester weird stufffff whaffman 2025-10-19 14:22:00 +0200
  • 0c081bbb2c feat: cgi headers: enhance CGI handling with output parsing and buffer management whaffman 2025-10-19 13:54:19 +0200
  • 60405f03d5 feat: implement CGI process management with wait and kill functionality whaffman 2025-10-17 16:28:04 +0200
  • b8e3e16f3d refactoring ahndler, and cgihandler start whaffman 2025-10-16 17:10:32 +0200
  • a8dd8a77a5 error response whaffman 2025-10-16 14:52:25 +0200
  • 3370c53d3e style: format function parameters for better readability whaffman 2025-10-16 01:15:38 +0200
  • 377ff71e1e fix: improve error handling for size directive and chunked body parsing whaffman 2025-10-16 01:14:54 +0200
  • 67ab96f9da refactor: add noexcept annotations to getters and observers whaffman 2025-10-16 00:54:29 +0200
  • 5efc48ff74 probably useless chore: update clang-tidy checks to include noexcept-related rules whaffman 2025-10-16 00:39:16 +0200
  • 259d7f1371 more no except and const whaffman 2025-10-16 00:38:55 +0200
  • 7432cd154c fix: handle epollhup properly Quinten 2025-10-15 20:06:57 +0200
  • 2d6543fb5a refactor(Server): remove unnecessary sleep in run loop Quinten 2025-10-15 18:42:01 +0200
  • d562c5bcbf feat: CGI Quinten 2025-10-15 18:34:42 +0200
  • e1be8d8aa8 feat(socket): implement callbacks for asynchronous handling of requests and responses Quinten 2025-10-15 17:29:22 +0200
  • 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 Quinten 2025-10-15 17:03:49 +0200
  • 7134e26f6f refactor: make response async Quinten 2025-10-15 15:28:09 +0200
  • 35432729dc refactor(ADirective, HttpHeaders, HttpRequest, Server, Socket): improve code structure and readability whaffman 2025-10-14 22:43:02 +0200
  • 9bacc4f8a4 fix(main): correct error logging to standard error output for usage message whaffman 2025-10-14 22:20:55 +0200
  • f172987e63 feat(AConfig, URI): add getCGIPath method and implement CGI check in URI whaffman 2025-10-14 22:11:34 +0200
  • 42daf68ee2 refactor(DirectiveValue): add TODO comment for constructor whaffman 2025-10-14 22:11:12 +0200
  • 9b7f50cc04 refactor(Client): improve error handling in request method and clean up includes Quinten 2025-10-14 19:10:27 +0200
  • 68ea191460 refactor: remove unused Router references from Client and Server classes Quinten 2025-10-14 19:02:49 +0200
  • 3a95041815 formating whaffman 2025-10-14 18:47:09 +0200
  • f3bdf28eed refactor: implement socket structure and server refactor Quinten 2025-10-14 18:38:57 +0200
  • 970ab847fc refactor(server): refactor event loop Quinten 2025-10-14 15:25:04 +0200
  • b64a41d84f feat: implement CGISocket class for handling CGI communication with non-blocking I/O whaffman 2025-10-10 11:03:20 +0200
  • f8a273ec84 moving docs, log files and iwyu map whaffman 2025-10-10 07:56:49 +0200
  • b43901de1a moved scripts to script folder whaffman 2025-10-09 23:13:48 +0200
  • 4614a2d382 moved sites to htdocs and ran format script whaffman 2025-10-09 22:57:31 +0200
  • fc1340ac7f fix: tests update StdoutChannel and logging methods to remove unnecessary parameters whaffman 2025-10-09 22:28:08 +0200
  • 9c343d872e remove header, correct filename whaffman 2025-10-09 22:22:47 +0200
  • 9faa5a1406 feat: enhance C++ development settings in VSCode configuration whaffman 2025-10-09 22:22:07 +0200
  • cc2ed7af56 fix errors from pedantic whaffman 2025-10-09 21:16:42 +0200
  • 5215edbb45 add -Wpedantic and some friends whaffman 2025-10-09 21:16:30 +0200
  • 5d3821beaa build all targets parallel whaffman 2025-10-09 21:16:11 +0200
  • 20ae0e03dd feat: add getCGIEnvironment method to retrieve CGI environment variables Quinten 2025-10-09 18:06:05 +0200
  • 35d17d8fa9 feat: replace URIParser with URI class for improved URI handling Quinten 2025-10-09 18:02:21 +0200
  • 0f9fa38d8b feat: add initial TODO list for project tasks Quinten 2025-10-09 18:01:02 +0200
  • c3e5117fcb refactor: uri parser now does parsing Quinten 2025-10-09 16:26:31 +0200
  • 6b9ce1dda4 fix: add missing newline and ensure binary operators are placed at the beginning of the line Quinten 2025-10-09 16:26:00 +0200
  • fb84cd09fa feat: implement RequiredDirectivesRule for config validation whaffman 2025-10-08 17:23:12 +0200
  • a0b85774b1 fix: return path whaffman 2025-10-08 17:22:03 +0200
  • c401b5fbbd refactor(log): reduce function calls whaffman 2025-10-08 17:21:48 +0200
  • f222cce4ff refactor: has and owns whaffman 2025-10-08 17:20:40 +0200
  • 9aaa085098 refactor: remove RequiredDirectiveRule class and its implementation whaffman 2025-10-08 17:20:21 +0200
  • 8b37af4632 feat: add implode whaffman 2025-10-08 17:20:08 +0200
  • 7b6ce8fd67 refactor: optimize compiler options and clean up unused directives whaffman 2025-10-07 22:38:00 +0200
  • 60dda17042 test coverage whaffman 2025-10-07 18:22:36 +0200
  • 6bbd39178a claude added more tests. tnx claud whaffman 2025-10-07 18:11:09 +0200
  • 91879d2638 format Quinten 2025-10-07 17:11:17 +0200
  • e0efb0192c feat: implement method support check in Router for HTTP requests Quinten 2025-10-07 17:03:57 +0200
  • ec683f1690 fix: correct directive type for cgi_enabled in DirectiveFactory Quinten 2025-10-07 16:41:16 +0200
  • 8fa1c44f78 fix: add fatal log for bind failure with host and port details Quinten 2025-10-07 16:41:10 +0200
  • f598fbc185 feat: add split function to utils for string splitting by delimiter Quinten 2025-10-07 16:41:02 +0200
  • 1994de27af feat: add validation rules for CGI extensions, folder existence, and host validation Quinten 2025-10-07 16:40:50 +0200
  • c74bebd75b fix: update server configuration Quinten 2025-10-07 16:40:32 +0200
  • a2c08739aa fix: add debug log in createDirective Quinten 2025-10-07 16:40:13 +0200
  • b0136ceedf fixed some testws whaffman 2025-10-06 16:30:44 +0200
  • 2891deb47d style: format code for consistency and readability in validation rules whaffman 2025-10-06 16:01:33 +0200
  • dbc318cdfa feat : add structural validation rules to ConfigValidator whaffman 2025-10-06 16:00:38 +0200
  • 4f89a2918c feat(structural rules) whaffman 2025-10-06 16:00:36 +0200
  • 010ee3e8b6 moving some files and fixing includes whaffman 2025-10-06 15:16:53 +0200
  • 95753eea34 feat(validation): implement configuration validation framework with rules for required directives and allowed values whaffman 2025-10-06 14:48:15 +0200
  • ceab8d7aab fix(client): cast buffer to const char* for receiveData method whaffman 2025-10-06 11:32:40 +0200
  • fad0f6f5b4 feat(validation): add IValidationRule interface and implementations for port validation whaffman 2025-10-06 11:28:29 +0200
  • abb832a380 refactor(directive value): simplify value retrieval with try_get method whaffman 2025-10-06 11:28:15 +0200
  • a8b71747bb refactor(main): clean up Quinten 2025-10-01 20:51:50 +0200
  • 72e3f962e4 refactor(file handle): attempt to decouple a bit Quinten 2025-10-01 20:47:18 +0200
  • 16841dd520 feat(file utils): move read functions to file utils Quinten 2025-10-01 20:46:42 +0200
  • a89150102c refactor(router): clean up unused functions refactor(router): make handleRequest static Quinten 2025-10-01 20:46:11 +0200
  • ab83c02fd2 claude made a website whaffman 2025-10-01 18:03:00 +0200
  • bcd33dacd7 feat: serve static pages whaffman 2025-10-01 17:50:10 +0200
  • c5f7b82997 fix: correct path for 404 error page in default configuration Quinten 2025-09-30 20:03:17 +0200