Commit Graph

28 Commits

Author SHA1 Message Date
GitHub Actions
9adf2735dd feat(history-rewrite): Enhance history rewrite process with detailed backup and validation steps
- Added a comprehensive plan for history rewrites in `docs/plans/history_rewrite.md`, including backup requirements and a checklist for destructive operations.
- Created a QA report for history-rewrite scripts in `docs/reports/qa_report.md`, summarizing tests, findings, and recommendations.
- Introduced `check_refs.sh` script to list branches and tags, saving a tarball of tag references.
- Updated `clean_history.sh` to include non-interactive mode and improved error handling for backup branch pushes.
- Enhanced `preview_removals.sh` to support JSON output format and added shallow clone detection.
- Added Bats tests for `clean_history.sh` and `validate_after_rewrite.sh` to ensure functionality and error handling.
- Implemented pre-commit hook to block commits to `data/backups/` directory.
- Improved validation script to check for backup branch existence and run pre-commit checks.
- Created temporary test scripts for validating `clean_history.sh` and `validate_after_rewrite.sh` functionality.
2025-12-09 14:07:17 +00:00
GitHub Actions
5e9e585ab5 fix: resolve CI failures by unignoring frontend data files 2025-12-09 12:11:38 +00:00
GitHub Actions
b20a38e980 feat(pr-checklist): make checklist validation conditional for history-rewrite related PRs 2025-12-09 02:42:37 +00:00
GitHub Actions
1adbd0aba4 feat(ci): implement CI dry-run workflow and PR checklist for history rewrite process 2025-12-09 02:36:10 +00:00
GitHub Actions
6acd94672e chore(history-rewrite): add scripts/docs for history rewrite plan 2025-12-09 02:06:33 +00:00
GitHub Actions
e3442c5d83 docs(plans): add history-rewrite plan and next steps for repo cleanliness 2025-12-09 01:59:43 +00:00
GitHub Actions
2f0f858805 docs(plans): record removal of codeql-db dirs, hook added, health check passed 2025-12-09 01:59:02 +00:00
GitHub Actions
5a105debf3 docs(plans): record short-term repo health fixes implemented 2025-12-09 01:40:46 +00:00
GitHub Actions
5d364baae5 chore(ci): add repo health check workflow, LFS enforcement, and gitattributes 2025-12-09 01:25:57 +00:00
GitHub Actions
a3237fe32c feat: add integration tests for CrowdSec preset pull and apply
- Introduced `crowdsec_integration_test.go` to validate the integration of the CrowdSec preset pull and apply functionality.
- Updated `RealCommandExecutor` to return combined output for command execution.
- Enhanced `CrowdsecHandler` to map errors to appropriate HTTP status codes, including handling timeouts.
- Added tests for timeout scenarios in `crowdsec_presets_handler_test.go`.
- Improved `HubService` to support configurable pull and apply timeouts via environment variables.
- Implemented fallback logic for fetching hub index from a default URL if the primary fails.
- Updated documentation to reflect changes in preset handling and cscli availability.
- Refactored frontend tests to utilize a new test query client for better state management.
- Added a new integration script `crowdsec_integration.sh` for automated testing of the CrowdSec integration.
2025-12-09 00:29:40 +00:00
GitHub Actions
be2900bc5d feat: add HUB_BASE_URL configuration and enhance CrowdSec hub sync functionality with error handling and tests 2025-12-08 22:57:32 +00:00
GitHub Actions
3eadb2bee3 feat: enhance CrowdSec configuration tests and add new import/export functionality
- Added comprehensive tests for CrowdSec configuration, including preset application and validation error handling.
- Introduced new test cases for importing CrowdSec configurations, ensuring backup creation and successful import.
- Updated existing tests to reflect changes in UI elements and functionality, including toggling CrowdSec mode and exporting configurations.
- Created utility functions for building export filenames and handling downloads, improving code organization and reusability.
- Refactored existing tests to use new test IDs and ensure accurate assertions for UI elements and API calls.
2025-12-08 21:01:24 +00:00
GitHub Actions
e1ae606fc6 refactor: update documentation for Cerberus rebranding and CrowdSec UX simplification plan 2025-12-08 16:14:30 +00:00
GitHub Actions
856903b21d refactor: remove Cerberus toggle from Security page and move feature flags to System Settings
- Removed the Cerberus toggle functionality from the Security page.
- Introduced a new feature flags section in the System Settings page to manage Cerberus and Uptime Monitoring features.
- Updated tests to reflect the changes in the Security and System Settings components.
- Added loading overlays for feature toggling actions.
2025-12-08 15:41:18 +00:00
GitHub Actions
6a17dc6387 feat: Add VS Code settings, tasks, and troubleshooting documentation for Go development 2025-12-08 05:55:16 +00:00
GitHub Actions
8f7b4b9aaa refactor: Update QA report to reflect Optional Features implementation
docs: Modify security documentation to indicate Cerberus is enabled by default

test: Adjust frontend feature flag tests to align with new Cerberus flag

feat: Integrate feature flags into Layout component for conditional rendering

test: Enhance Layout component tests for feature flag visibility

feat: Implement Optional Features section in System Settings page

test: Add tests for Optional Features toggles in System Settings

fix: Remove unused Cerberus state from System Settings component
2025-12-07 03:35:28 +00:00
GitHub Actions
7624f6fad8 Add QA testing reports for certificate page authentication fixes
- Created detailed QA testing report documenting the authentication issues with certificate endpoints, including test results and root cause analysis.
- Added final QA report confirming successful resolution of the authentication issue, with all tests passing and security verifications completed.
- Included test output logs before and after the fix to illustrate the changes in endpoint behavior.
- Documented the necessary code changes made to the route registration in `routes.go` to ensure proper application of authentication middleware.
2025-12-06 19:34:51 +00:00
GitHub Actions
8e2ba14ae5 feat: add certificate management security and cleanup dialog
- Documented certificate management security features in security.md, including backup and recovery processes.
- Implemented CertificateCleanupDialog component for confirming deletion of orphaned certificates when deleting proxy hosts.
- Enhanced ProxyHosts page to check for orphaned certificates and prompt users accordingly during deletion.
- Added tests for certificate cleanup prompts and behaviors in ProxyHosts, ensuring correct handling of unique, shared, and production certificates.
2025-12-06 01:43:46 +00:00
GitHub Actions
72ff6313de Implement CrowdSec integration with API endpoints for managing IP bans and decisions
- Added unit tests for CrowdSec handler, including listing, banning, and unbanning IPs.
- Implemented mock command executor for testing command execution.
- Created tests for various scenarios including successful operations, error handling, and invalid inputs.
- Developed CrowdSec configuration tests to ensure proper handler setup and JSON output.
- Documented security features and identified gaps in CrowdSec, WAF, and Rate Limiting implementations.
- Established acceptance criteria for feature completeness and outlined implementation phases for future work.
2025-12-05 17:23:26 +00:00
GitHub Actions
11357a1a15 feat: implement uptime monitor synchronization for proxy host updates and enhance related tests 2025-12-05 16:29:51 +00:00
GitHub Actions
e5809236b0 feat: add detailed plan for UI/UX and backend bug fixes addressing multiple issues 2025-12-05 16:02:44 +00:00
GitHub Actions
220cfb585a fix: standardize agent names and add Management agent for orchestration 2025-12-05 15:48:19 +00:00
GitHub Actions
d3c5196631 feat: update security hardening plan to include user gateway and identity features
- Expand plan to cover Identity Provider (IdP) functionality
- Introduce user onboarding via email invites
- Implement user-centric permissions management
- Enhance SMTP configuration details
- Outline phases for backend and frontend implementation
2025-12-04 22:00:08 +00:00
GitHub Actions
3b74da3b06 feat: remove outdated security fixes plan document 2025-12-04 21:03:49 +00:00
GitHub Actions
4b056c1133 feat: implement runtime overrides for security settings and add comprehensive tests 2025-12-04 19:52:57 +00:00
GitHub Actions
58e9bbd716 Remove the "Remaining Contract Tasks" document for the Charon project, which outlined high-priority and medium-priority backend tasks, frontend tasks, CI & linting requirements, documentation updates, and acceptance criteria. This document is no longer needed as the tasks have been completed or are being tracked elsewhere. 2025-12-04 17:26:14 +00:00
GitHub Actions
3e4323155f feat: add loading overlays and animations across various pages
- Implemented new CSS animations for UI elements including bobbing, pulsing, rotating, and spinning effects.
- Integrated loading overlays in CrowdSecConfig, Login, ProxyHosts, Security, and WafConfig pages to enhance user experience during asynchronous operations.
- Added contextual messages for loading states to inform users about ongoing processes.
- Created tests for Login and Security pages to ensure overlays function correctly during login attempts and security operations.
2025-12-04 15:10:02 +00:00
GitHub Actions
2adf094f1c feat: Implement comprehensive tests and fixes for Coraza WAF integration
- Add unit tests for WAF ruleset selection priority and handler validation in config_waf_test.go.
- Enhance manager.go to sanitize ruleset names, preventing path traversal vulnerabilities.
- Introduce debug logging for WAF configuration state in manager.go to aid troubleshooting.
- Create integration tests to verify WAF handler presence and ruleset sanitization in manager_additional_test.go.
- Update coraza_integration.sh to include verification steps for WAF configuration and improved error handling.
- Document the Coraza WAF integration fix plan, detailing root cause analysis and implementation tasks.
2025-12-04 04:04:37 +00:00