Commit Graph

  • bfe5ad34e4 feat: add custom 404 error page for improved user experience Quinten 2025-09-30 20:03:11 +0200
  • 927b9549c2 feat: implement router request handling and error management Quinten 2025-09-30 20:03:05 +0200
  • e1acf5b515 refactor: replace fdToConfig_ with listener_fds_ for improved socket management Quinten 2025-09-30 18:15:08 +0200
  • 9320d83378 feat: add custom 400 error page and update configuration for error handling Quinten 2025-09-30 18:02:13 +0200
  • 1c634ddc02 remove client when it disconnects Quinten 2025-09-30 17:18:09 +0200
  • bd01a172c5 feat: refactor HttpResponse and ErrorHandler for improved response handling and error management Quinten 2025-09-30 16:05:08 +0200
  • be8c5a80b4 feat(http): implement http response class Quinten 2025-09-30 15:35:20 +0200
  • 4d6ad6b1d5 todo Quinten 2025-09-30 13:58:17 +0200
  • 610cc69fc1 feat: add missing unordered_map include for improved functionality whaffman 2025-09-30 12:32:16 +0200
  • d360728b18 feat: enhance logging by changing info logs to debug level for detailed tracing whaffman 2025-09-30 11:26:05 +0200
  • a3e9699eb9 feat: reorder include statements to ensure corresponding headers are placed first whaffman 2025-09-30 11:17:43 +0200
  • 4ff7a03597 feat: add script to reorder includes in .cpp files and ensure corresponding header is at the top whaffman 2025-09-30 11:08:53 +0200
  • 7322360650 feat: update IWYU fix script to default to aggressive mode and clean up option prompts and add to format script whaffman 2025-09-30 10:57:53 +0200
  • ab2db513c0 iwyu whaffman 2025-09-30 10:44:40 +0200
  • b7f8947440 feat: add custom 400 error page and update configuration for error handling whaffman 2025-09-30 10:41:53 +0200
  • 949c788259 feat: preliminary error handling with custom error pages and response generation whaffman 2025-09-29 17:39:53 +0200
  • 787432ff0c refactor: simplify Client and HttpRequest constructors, add status code management whaffman 2025-09-29 16:09:40 +0200
  • ae1b10c60b feat: implement comprehensive unit testing framework with Google Test integration whaffman 2025-09-29 16:09:22 +0200
  • 124c831800 refactor: improve location path extraction and add getValueAs template method whaffman 2025-09-26 18:50:40 +0200
  • 6abe64f9b7 includes <> whaffman 2025-09-26 18:10:41 +0200
  • e5ad795917 fix: apply IWYU suggestions and format whaffman 2025-09-26 18:08:52 +0200
  • 143498315b fix: apply IWYU suggestions whaffman 2025-09-26 18:08:32 +0200
  • c841142e79 Refactor configuration handling and directive parsing whaffman 2025-09-26 18:06:37 +0200
  • d3d1445264 refactor(DirectiveValue): simplify toString implementation using visitor overload pattern whaffman 2025-09-26 08:12:16 +0200
  • 17b69afd2c feat(directives): implement DirectiveValue class and IntStringDirective for enhanced directive handling and use std::variant instead of any whaffman 2025-09-25 21:57:02 +0200
  • 1e80839864 refactor(ServerConfig): update directive parsing and improve server socket binding Quinten 2025-09-25 17:51:37 +0200
  • c9e74ca508 feat(directives): implement directive parsing and factory pattern for configuration Quinten 2025-09-25 17:33:14 +0200
  • a54cdaa841 feat(validation): just an outline Quinten 2025-09-25 11:26:55 +0200
  • 571625bbbf refactor(HttpHeaders): add logging for header operations and clean up includes whaffman 2025-09-24 22:37:44 +0200
  • feeadb0a21 refactor: streamline build directory detection and update Makefile for environment handling whaffman 2025-09-24 22:34:20 +0200
  • b145a6eef2 refactor: update includes to use cstdint and cstddef for consistency whaffman 2025-09-24 22:34:12 +0200
  • 93079cd8bd Merge remote-tracking branch 'origin/willem' Quinten Mennen 2025-09-24 15:54:57 +0200
  • 33c82490f0 fix(HttpRequest): simplify debug log message for waiting data in request line Quinten Mennen 2025-09-24 15:54:48 +0200
  • 89e8dcd34d refactor(iwyu): remove deprecated IWYU scripts for improved maintenance whaffman 2025-09-24 13:26:12 +0000
  • 15d749eae9 refactor(devcontainer): streamline Dockerfile and update VS Code settings for Clang 12 whaffman 2025-09-24 13:15:24 +0000
  • 64f5c39fb3 feat(request): catch parse errors Quinten Mennen 2025-09-24 13:34:07 +0200
  • 878fe4790a feat(docker): update Dockerfile to install Clang 12 and set it as default whaffman 2025-09-24 11:12:50 +0000
  • 36961fc468 fix: add utils namespace to functions Quinten Mennen 2025-09-24 13:01:27 +0200
  • f611ace342 fix(server config): remove server_fd Quinten Mennen 2025-09-24 13:01:05 +0200
  • 5214ed3af1 feat(utils): utils namespace and custom stoul Quinten Mennen 2025-09-24 13:00:45 +0200
  • 04e8292009 fix(headers): better content-length evaluation Quinten Mennen 2025-09-24 13:00:02 +0200
  • 94085917ab feat(format): add script for formatting and checking header files whaffman 2025-09-24 12:55:40 +0200
  • ba831957d4 clang-format whaffman 2025-09-24 12:04:43 +0200
  • 901f766599 ran iwyu whaffman 2025-09-24 12:03:40 +0200
  • 7270ee1812 feat(request): add parse error state Quinten Mennen 2025-09-24 11:52:31 +0200
  • e32b963689 fix(headers): remove unused log include Quinten Mennen 2025-09-24 11:22:41 +0200
  • e43bf72cd6 feat(headers): getContentType and getHost Quinten Mennen 2025-09-24 11:22:21 +0200
  • e921290d8f format(request) Quinten Mennen 2025-09-24 11:20:26 +0200
  • 21b19b248c fix(headers): retrieval also case-insensitive Quinten Mennen 2025-09-24 11:20:15 +0200
  • 5485a5a839 fix(request): check header size Quinten Mennen 2025-09-24 11:12:03 +0200
  • ff5221c2d5 fix(headers): make headers case-insensitive Quinten Mennen 2025-09-24 11:11:49 +0200
  • 20b49e4e45 feat(iwyu): enhance IWYU mappings and add automatic fix scripts whaffman 2025-09-24 11:01:50 +0200
  • b7dc3dd38d feat(iwyu): add scripts for Include What You Use analysis and results review whaffman 2025-09-24 09:57:48 +0200
  • 169bcf96c4 feat(setup): add setup script for development environment and build directory management whaffman 2025-09-23 20:35:04 +0000
  • a279e92408 reactor(config): change some of the logs Quinten Mennen 2025-09-23 21:01:16 +0200
  • 595ba9e8a6 fix(channel): add extra indents for level-1 nested objects Quinten Mennen 2025-09-23 21:01:07 +0200
  • d7a074cbba format(client): extra logging Quinten Mennen 2025-09-23 21:00:44 +0200
  • 221cc710a8 feat(http): add headers class and allow for chunked data Quinten Mennen 2025-09-23 21:00:26 +0200
  • dfc4bc7dd0 feat(devcontainer): add Dockerfile and devcontainer.json for C++ development setup whaffman 2025-09-23 16:09:53 +0000
  • c255878b2f feat(log): add printContext method for improved context logging Quinten Mennen 2025-09-23 16:15:07 +0200
  • f119d98c70 fix(log): get rid of source_location Quinten Mennen 2025-09-23 15:37:32 +0200
  • c9855fd7e5 Refactor include directives: replace quotes with angle brackets for consistency whaffman 2025-09-22 23:04:51 +0200
  • 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 whaffman 2025-09-22 22:59:29 +0200
  • 31014705b1 Refactor HttpRequest: replace hardcoded strings with constants for header parsing whaffman 2025-09-22 22:45:00 +0200
  • e200731306 HttpConstants header file with HTTP methods, versions, status codes, headers, MIME types, and protocol constants whaffman 2025-09-22 22:44:52 +0200
  • 7c0ff82b08 Add HttpConstants header file with HTTP methods, versions, status codes, headers, MIME types, and protocol constants whaffman 2025-09-22 22:33:37 +0200
  • 2924440e0d Refactor HttpRequest::parseBuffer: extract parsing logic into separate methods for request line, headers, and body whaffman 2025-09-22 22:33:27 +0200
  • 799cf250b7 Refactor Client class: replace std::cout with logging calls for read errors and client disconnections, and remove unused header parsing methods whaffman 2025-09-22 22:33:17 +0200
  • 90e70f2e82 Added some appropiate nodiscard atributes whaffman 2025-09-22 22:32:54 +0200
  • 5264139d49 Set stdout log level to Trace for improved logging detail whaffman 2025-09-22 21:49:47 +0200
  • 3dc12fab9d Implemented the recieving part of HttpRequest and changed client to use HttpRequest whaffman 2025-09-22 21:49:38 +0200
  • 6766bd8744 Fix formatting in Log class: adjust pointer declaration style for RESET_COLOR whaffman 2025-09-22 13:13:36 +0200
  • 6b85be65b8 Refactor logging system: enhance Channel and FileChannel classes to use getter/setter for log level, improve log context formatting in StdoutChannel, and update main to test logging context whaffman 2025-09-22 13:13:29 +0200
  • 6803524989 Refactor logging system: replace LogLevel with Log::Level across multiple files for improved consistency and clarity whaffman 2025-09-22 12:33:18 +0200
  • 358b48e407 Refactor logging: replace LOG macros with Log class methods for improved clarity and consistency whaffman 2025-09-22 12:00:53 +0200
  • 72a39b4da8 plan of action on log whaffman 2025-09-21 22:48:17 +0200
  • c509666199 Enhance FileChannel constructor and logging setup: add openmode parameter to FileChannel and update setFileChannel method to support it whaffman 2025-09-21 21:54:03 +0200
  • 58edbe86be Refactor logging levels: change LOG_INFO to LOG_DEBUG in Client destructor and LOG_INFO to LOG_TRACE in ServerConfig for improved log granularity whaffman 2025-09-21 21:25:46 +0200
  • ebe67abf03 Add Todo to loglevel whaffman 2025-09-21 21:25:37 +0200
  • bac66d2a0b Implement logging level support in Channel and its derived classes whaffman 2025-09-21 20:49:25 +0200
  • 66e57fef59 Add header and implementation files for CgiHandler, ErrorHandler, FileHandler, HttpRequest, HttpResponse, and Router classes whaffman 2025-09-21 00:38:23 +0200
  • b7b10249dd Fix parameter type in bind method: remove redundant 'const' from port parameter for consistency whaffman 2025-09-21 00:38:12 +0200
  • 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. whaffman 2025-09-21 00:12:05 +0200
  • 6e9725bb53 Enable parallel build for release target in Makefile for improved build performance whaffman 2025-09-21 00:11:56 +0200
  • f066f46021 Add TODO comment for refactoring LOG_LEVEL_MAP to a separate namespace or log class whaffman 2025-09-21 00:00:42 +0200
  • 8e0ae154b6 Refactor LogLevel handling: replace switch statements with constexpr mapping for improved maintainability and readability whaffman 2025-09-20 23:46:35 +0200
  • 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. whaffman 2025-09-20 23:21:23 +0200
  • 94cd396ac1 Implement file logging functionality with FileChannel class and update Log class to support file output whaffman 2025-09-20 22:55:14 +0200
  • 6262cda801 Refactor logging: replace std::cout with LOG macros across multiple files for consistent logging and improved readability whaffman 2025-09-20 16:23:43 +0200
  • a2a2e56678 Fix include directive for Channel.hpp in Log.hpp whaffman 2025-09-20 15:19:55 +0200
  • c8b2217406 Add HttpRequest, HttpResponse, Router, CgiHandler, ConfigValidator, Logger, and MimeTypeHandler classes to class diagram whaffman 2025-09-20 15:19:47 +0200
  • 0dcc584827 macrootje er over heen voor functie naame en lijn nummer.. whaffman 2025-09-18 21:19:27 +0200
  • 0d3fd346ba Implement logging framework with Channel and StdoutChannel classes Quinten Mennen 2025-09-18 19:08:57 +0200
  • 792cda4b52 client: add NOLINT comments for array usage and buffer handling server: mark handleRequest as const and add NOLINT for array index Quinten Mennen 2025-09-18 17:45:42 +0200
  • ce815d18c6 Remove unused server configuration output and clean up event loop placeholder Quinten Mennen 2025-09-18 17:41:55 +0200
  • 8bc624a080 Update class diagram: refine Server, Client, and ServerConfig classes, and add LocationConfig details Quinten Mennen 2025-09-18 17:33:33 +0200
  • 3f90d8b7ed server: switch from edge trigger to level trigger Quinten Mennen 2025-09-18 17:33:29 +0200
  • c246bde4be client: allow buffer to be read in multiple epoll events Quinten Mennen 2025-09-18 17:33:06 +0200
  • afc936a696 Update .clang-tidy configuration: add readability-identifier-length check and fix formatting Quinten Mennen 2025-09-18 15:07:23 +0200
  • db8b078c27 Refactor Client and Server classes to use unique_ptr for socket management, enhance request handling, and improve connection lifecycle management Quinten Mennen 2025-09-18 15:07:19 +0200