Commit Graph

1039 Commits

Author SHA1 Message Date
GitHub Actions
fed1fce041 test(history-rewrite): add non-interactive test for clean_history script 2025-12-09 15:13:39 +00:00
GitHub Actions
e024ff882e fix(history-rewrite): remove dead positional args check 2025-12-09 15:10:11 +00:00
GitHub Actions
8bc1c4d410 fix(history-rewrite): avoid duplicate logging by tee in loops 2025-12-09 15:07:33 +00:00
GitHub Actions
84e692f04e fix(history-rewrite): remove redundant || true from push warning echo 2025-12-09 15:05:21 +00:00
GitHub Actions
9c8d6b65ef fix(repo-health): use NUL-separated find and read -r -d for file lists 2025-12-09 15:01:35 +00:00
GitHub Actions
498820ed99 fix(script): update shebang to bash and enable pipefail for improved error handling 2025-12-09 14:59:02 +00:00
GitHub Actions
4c2b6e0686 fix(shebang): use bash and enable pipefail 2025-12-09 14:51:12 +00:00
GitHub Actions
733875d1d9 ci(docker): normalize IMAGE_NAME reliably to avoid invalid tags 2025-12-09 14:48:27 +00:00
GitHub Actions
cf747cc5f5 feat(ci): add Docker build, publish, and test workflow for feature/beta-release branch 2025-12-09 14:46:42 +00:00
Jeremy
8c9e04d458 ci: add minimal docker-build workflow (placeholder) to satisfy code scanning config discovery for feature/beta-release 2025-12-09 09:39:32 -05:00
Jeremy
7fb26ca800 ci: trigger re-run of PR checks (automation) 2025-12-09 09:32:21 -05:00
GitHub Actions
dfe681dba8 refactor(tests): update script paths to use dynamic repository root for better portability 2025-12-09 14:27:26 +00:00
GitHub Actions
320028a64a fix(pr-checklist): improve checklist validation with regex patterns for robustness 2025-12-09 14:23:32 +00:00
GitHub Actions
7f2e81335b test: add bats test for dry_run script to ignore tag-only objects 2025-12-09 14:22:24 +00:00
GitHub Actions
3ec6eba23a feat(history-rewrite): enhance object checks in history rewrite scripts to focus on blob types and improve logging 2025-12-09 14:20:37 +00:00
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
e686a7139c feat: Add comprehensive development guidelines, architectural rules, and workflow instructions for the Charon project. 2025-12-09 12:33:44 +00:00
GitHub Actions
1b11b187a2 fix: address golangci-lint errors in crowdsec hub_sync 2025-12-09 12:24:30 +00:00
GitHub Actions
5e9e585ab5 fix: resolve CI failures by unignoring frontend data files 2025-12-09 12:11:38 +00:00
GitHub Actions
01bf6a9e43 feat(quality-checks): enhance frontend checks and install conditions in CI workflow 2025-12-09 02:52:19 +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
fe75c58861 chore(history-rewrite): mark scripts executable 2025-12-09 02:08:39 +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
df8bfc33fc chore(ci): prevent committing CodeQL DB artifacts via pre-commit hook 2025-12-09 01:58:35 +00:00
GitHub Actions
5a105debf3 docs(plans): record short-term repo health fixes implemented 2025-12-09 01:40:46 +00:00
GitHub Actions
79ac891f60 ci: run repo health check in quality checks workflow 2025-12-09 01:40:21 +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
Jeremy
0acb46bc86 Merge pull request #335 from Wikid82/development
Propagate changes from development into feature/beta-release
2025-12-08 19:29:22 -05:00
Jeremy
6c9af498b2 Merge pull request #334 from Wikid82/renovate/golang.org-x-crypto-0.x
fix(deps): update module golang.org/x/crypto to v0.46.0
2025-12-08 19:26:27 -05:00
Jeremy
b36975b527 Merge branch 'development' into renovate/golang.org-x-crypto-0.x 2025-12-08 19:26:20 -05:00
Jeremy
32ed8bc8c9 Merge pull request #332 from Wikid82/development
Propagate changes from development into feature/beta-release
2025-12-08 19:26:07 -05:00
Jeremy
8f48e03d59 Merge branch 'feature/beta-release' into development 2025-12-08 19:25:59 -05:00
GitHub Actions
571a61aaea feat: install CrowdSec CLI (cscli) in Docker runtime stage
- Add cscli installation from official CrowdSec releases
- Update to CrowdSec v1.7.4 (from v1.6.0)
- Extract both crowdsec and cscli binaries from release tarball
- Install cscli to /usr/local/bin for PATH availability
- Add build-time validation with cscli version check
- Maintain minimal image size (293MB)
- Keep existing multi-stage build structure intact
2025-12-08 23:19:38 +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
renovate[bot]
4c21e977f3 chore(deps): update npm minor/patch to ^8.49.0 (#333)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-08 21:51:49 +00:00
renovate[bot]
a6d8f2df3a fix(deps): update module golang.org/x/crypto to v0.46.0 2025-12-08 21:51:42 +00:00
GitHub Actions
9e846bc1dd fix: update definition of done to include frontend coverage tests in completion criteria 2025-12-08 21:03:35 +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
35ff409fee fix: update definition of done to enforce pre-commit and security scan requirements 2025-12-08 17:16:11 +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
83e6cbb848 fix: Add task specifics for direct audits and tests in Management agent documentation 2025-12-08 15:24:01 +00:00
GitHub Actions
bd520be64e fix: spelling error in Agent name 2025-12-08 15:08:01 +00:00
Jeremy
3547f866e8 Merge pull request #331 from Wikid82/renovate/npm-minorpatch
chore(deps): update dependency jsdom to ^27.3.0
2025-12-08 10:06:38 -05:00
GitHub Actions
9c6912fc85 fix: Clarify delegation process in Management agent documentation to ensure user approval before code changes 2025-12-08 14:38:14 +00:00
GitHub Actions
31936906bf fix: Enhance delegation prompt in Management agent documentation for improved planning and file review 2025-12-08 14:35:28 +00:00