Commit Graph

820 Commits

Author SHA1 Message Date
GitHub Actions
24369727a8 feat: Add remaining contract tasks documentation for backend and frontend development 2025-12-03 05:08:33 +00:00
GitHub Actions
336000ca5b feat: Add validation and error handling for notification templates and uptime handlers
- Implement tests for invalid JSON input in notification template creation, update, and preview endpoints.
- Enhance uptime handler tests to cover sync success and error scenarios for delete and list operations.
- Update routes to include backup service in certificate handler initialization.
- Introduce certificate usage check before deletion in the certificate service, preventing deletion of certificates in use.
- Update certificate service tests to validate new behavior regarding certificate deletion.
- Add new tests for security service to verify break glass token generation and validation.
- Enhance frontend certificate list component to prevent deletion of certificates in use and ensure proper backup creation.
- Create unit tests for the CertificateList component to validate deletion logic and error handling.
2025-12-03 04:55:29 +00:00
GitHub Actions
a2c0b8fcf5 feat: Clarify coverage requirements in Backend and Frontend agent workflows 2025-12-03 04:07:52 +00:00
GitHub Actions
8ea50e37e0 feat: Remove deprecated security handler test file to streamline test suite 2025-12-03 02:23:22 +00:00
GitHub Actions
13a85ff5fa feat: Revise TDD workflow steps for Backend and Frontend agents to enhance clarity and structure 2025-12-03 01:47:16 +00:00
GitHub Actions
9dcfd9fe74 feat: Improve type safety in security API calls and update test cases for SSL badge rendering 2025-12-03 00:55:32 +00:00
GitHub Actions
6ea50011da feat: Refine verification process with quality gates for static analysis, logic, and coverage 2025-12-02 23:13:12 +00:00
GitHub Actions
4f18e46f94 feat: Add 'changes' tool to Docs_Writer agent for efficient large file editing 2025-12-02 22:59:48 +00:00
GitHub Actions
488fa6c7b0 feat: Add 'write_file' and 'list_dir' tools to QA_Security agent for enhanced auditing capabilities 2025-12-02 22:57:20 +00:00
GitHub Actions
af39a975fd feat: Enhance Planning agent with additional tools and refined workflow instructions 2025-12-02 22:55:23 +00:00
GitHub Actions
32528f0709 feat: Add 'list_dir' tool for path verification in Backend_Dev agent workflow 2025-12-02 22:35:07 +00:00
GitHub Actions
2dbf4513a7 feat: Add 'list_dir' tool for path verification and update testing command for CI 2025-12-02 22:31:46 +00:00
GitHub Actions
cd900e2495 feat: Add path verification instructions and constraints to agent workflows 2025-12-02 22:30:05 +00:00
GitHub Actions
078b5803e6 feat: Add CheckMonitor functionality to trigger immediate health checks for uptime monitors 2025-12-02 22:08:58 +00:00
GitHub Actions
355992e665 refactor: update verification and testing commands for clarity and consistency 2025-12-02 22:08:51 +00:00
GitHub Actions
a1b4f006aa fix: update SSL certificate selection options and descriptions for clarity 2025-12-02 21:19:28 +00:00
GitHub Actions
bb7b6a7f9e feat: Implement partial update for ProxyHostHandler
- Added a new test case to ensure that partial updates do not wipe existing fields in the ProxyHost model.
- Modified the Update method in ProxyHostHandler to handle partial updates by only mutating fields present in the JSON payload.
- Enhanced the handling of nullable foreign keys and locations during updates.
- Removed the requirement for 100% coverage checks for critical backend modules in the CI pipeline.
2025-12-02 21:06:15 +00:00
GitHub Actions
5193d2c24b refactor(quality-checks): remove module-specific coverage checks for backend and frontend 2025-12-02 05:27:35 +00:00
GitHub Actions
a4e65ff0fa refactor(coverage): remove module-specific frontend coverage checks 2025-12-02 05:23:36 +00:00
GitHub Actions
47d60536d2 fix(docs): update mandatory test coverage command in Frontend_Dev agent 2025-12-02 04:58:24 +00:00
GitHub Actions
bd85148b8e fix(docs): update mandatory test coverage command in Frontend_Dev agent 2025-12-02 04:51:27 +00:00
GitHub Actions
f621cb29ae fix(docs): update path for frontend test coverage script in Frontend_Dev agent 2025-12-02 04:49:17 +00:00
GitHub Actions
62ae91d0c3 fix(tests): add Notification model migrations to all handler tests using NotificationService 2025-12-02 04:34:37 +00:00
GitHub Actions
d285014358 fix(tests): add missing Notification models to handler test migrations 2025-12-02 04:19:25 +00:00
GitHub Actions
d89dd8fc0c fix(tests): exclude e2e directory from Vitest to prevent Playwright conflicts 2025-12-02 04:16:52 +00:00
GitHub Actions
bd5f0c3459 feat(tests): add cleanup step to remove integration test proxy host from database 2025-12-02 04:08:52 +00:00
GitHub Actions
33dc664425 feat(waf): update WAF middleware to evaluate and log suspicious payloads without blocking in monitor mode 2025-12-02 03:53:12 +00:00
GitHub Actions
9859a40294 feat(agent): update mandatory test coverage command to use script 2025-12-02 03:52:04 +00:00
GitHub Actions
8d26a631d4 feat(tests): add integration test for WAF middleware behavior and metrics exposure 2025-12-02 03:36:58 +00:00
GitHub Actions
d1731f81dd feat(docs): enhance documentation for Cerberus security suite, WAF configuration, and API endpoints 2025-12-02 03:05:57 +00:00
GitHub Actions
34347b1ff5 Refactor uptime service and tests; add WAF configuration UI and e2e tests
- Refactored `SyncMonitors` method in `uptime_service.go` for better readability.
- Updated unit tests for `UptimeService` to ensure proper functionality.
- Introduced Playwright configuration for end-to-end testing.
- Added e2e tests for WAF blocking and monitoring functionality.
- Enhanced the Security page to include WAF mode and rule set selection.
- Implemented tests for WAF configuration changes and validation.
- Created a `.last-run.json` file to store test results.
2025-12-02 02:51:50 +00:00
GitHub Actions
47a4966676 feat(workflow): add context acquisition steps for handoff contract in agent workflows 2025-12-02 02:21:59 +00:00
GitHub Actions
2f801e8152 feat(workflow): update verification steps to include mandatory frontend test coverage script 2025-12-02 02:14:42 +00:00
GitHub Actions
b78d79516e feat(workflow): add WAF integration testing workflow with Docker setup and reporting 2025-12-02 02:10:35 +00:00
GitHub Actions
44c4d955f5 feat(security): add WAF configuration page with rule set management and tests 2025-12-02 01:53:28 +00:00
GitHub Actions
8c015bceba fix(workflow): update verification steps to include frontend test coverage script and type check 2025-12-02 01:53:18 +00:00
GitHub Actions
a08edf1895 Refactor WAF handler configuration to use 'include' array instead of 'rules_file'
- Updated the GenerateConfig function to replace 'rules_file' with 'include' for WAF handlers, aligning with the coraza-caddy plugin requirements.
- Modified related tests to check for the presence of 'include' instead of 'rules_file'.
- Enhanced the ApplyConfig method to prepend necessary Coraza directives to ruleset files if not already present.
- Added tests to verify that the SecRuleEngine directives are correctly prepended and that existing directives are not duplicated.
- Implemented debug logging for generated config size and content.
2025-12-02 01:32:47 +00:00
GitHub Actions
202e457d2c fix(workflow): update verification steps to include Frontend Test Coverage and Type Check tasks 2025-12-02 01:32:34 +00:00
GitHub Actions
fa01664eb7 fix(workflow): update pre-commit requirements to ensure coverage goals are met 2025-12-02 01:25:49 +00:00
GitHub Actions
4e975421de feat(integration): add integration test for Coraza WAF script execution 2025-12-02 00:32:40 +00:00
GitHub Actions
14859adf87 Enhance GenerateConfig function to accept ruleset paths and update related tests
- Modified the GenerateConfig function to include an additional parameter for ruleset paths.
- Updated multiple test cases across various files to accommodate the new parameter.
- Enhanced the manager's ApplyConfig method to handle ruleset file creation and error handling.
- Added integration tests for Coraza WAF to validate runtime behavior and ruleset application.
- Updated documentation to include instructions for testing Coraza WAF integration locally.
2025-12-01 21:11:17 +00:00
GitHub Actions
76ab163e69 feat(security): integrate Caddy Manager into SecurityHandler and update related tests 2025-12-01 20:16:08 +00:00
GitHub Actions
fabdbc42cb feat(docs): add documentation agents for technical writing, planning, and QA security 2025-12-01 20:13:51 +00:00
GitHub Actions
f5fb460cc6 feat(security): add DeleteRuleSet endpoint and implement related service logic 2025-12-01 19:56:15 +00:00
GitHub Actions
b0a4d75a2a Refactor security configuration: Remove external CrowdSec mode support
- Updated SecurityConfig model to only support 'local' or 'disabled' modes for CrowdSec.
- Modified related logic in the manager and services to reject external mode.
- Adjusted tests to validate the new restrictions on CrowdSec modes.
- Updated frontend components to remove references to external mode and provide appropriate user feedback.
- Enhanced documentation to reflect the removal of external CrowdSec mode support.
2025-12-01 19:43:45 +00:00
GitHub Actions
08f9c8f87d fix(docs): correct typos and improve clarity in copilot instructions 2025-12-01 18:44:11 +00:00
GitHub Actions
570d904019 feat(security): implement decision and ruleset management with logging and retrieval 2025-12-01 18:23:15 +00:00
GitHub Actions
53765afd35 feat(security): implement self-lockout protection and admin whitelist
- Added SecurityConfig model to manage Cerberus settings including admin whitelist and break-glass token.
- Introduced SecurityService for handling security configurations and token generation.
- Updated Manager to check for admin whitelist before applying configurations to prevent accidental lockouts.
- Enhanced frontend with hooks and API calls for managing security settings and generating break-glass tokens.
- Updated documentation to include self-lockout protection measures and best practices for using Cerberus.
2025-12-01 18:10:58 +00:00
GitHub Actions
26c4acffb0 feat: update big picture section in copilot instructions for clarity on Charon's purpose and user focus 2025-12-01 16:52:43 +00:00
GitHub Actions
c83928f628 Refactor Caddy configuration management to include security settings
- Updated `GenerateConfig` function calls in tests to include additional security parameters.
- Enhanced `Manager` struct to hold a `SecurityConfig` instance for managing security-related settings.
- Implemented `computeEffectiveFlags` method to determine the effective state of security features based on both static configuration and runtime database settings.
- Added comprehensive tests for the new security configuration handling, ensuring correct behavior for various scenarios including ACL and CrowdSec settings.
- Adjusted existing tests to accommodate the new structure and ensure compatibility with the updated configuration management.
2025-12-01 16:22:21 +00:00