Commit Graph

1798 Commits

Author SHA1 Message Date
renovate[bot]
33efc29d9b chore(deps): update github/codeql-action digest to 1b168cd 2025-12-12 15:37:21 +00:00
GitHub Actions
7dd0d94169 feat: Implement rate limiting feature with persistence and UI updates 2025-12-12 04:13:55 +00:00
Jeremy
474207bdce Merge pull request #354 from Wikid82/renovate/npm-minorpatch
fix(deps): update npm minor/patch to ^19.2.3
2025-12-11 23:08:50 -05:00
renovate[bot]
bfa9367505 fix(deps): update npm minor/patch to ^19.2.3 2025-12-12 04:08:09 +00:00
Jeremy
a731d2f665 Merge pull request #353 from Wikid82/renovate/docker-base-updates
chore(deps): update node.js to v24.12.0
2025-12-11 23:07:40 -05:00
Jeremy
d9571e421e Merge pull request #352 from Wikid82/renovate/npm-minorpatch
fix(deps): update npm minor/patch to ^19.2.2
2025-12-11 23:07:26 -05:00
GitHub Actions
effed44ce8 feat: Rename WAF to Coraza in UI and update related tests
- Updated UI components to reflect the renaming of "WAF (Coraza)" to "Coraza".
- Removed WAF controls from the Security page and adjusted related tests.
- Verified that all frontend tests pass after updating assertions to match the new UI.
- Added a test script to package.json for running tests with Vitest.
- Adjusted imports for jest-dom to be compatible with Vitest.
- Updated TypeScript configuration to include Vitest types for testing.
2025-12-12 03:19:27 +00:00
GitHub Actions
8e09efe548 fix: update SSL card logic to correctly detect pending certificates by domain matching 2025-12-12 01:41:29 +00:00
GitHub Actions
1beac7b87e fix: read archive before backup in CrowdSec preset apply and add Markdownlint integration 2025-12-12 01:06:32 +00:00
GitHub Actions
67f2f27cf8 feat: Add Import Success Modal and Certificate Status Card features
- Implemented ImportSuccessModal to replace alert with a modal displaying import results and guidance.
- Updated ImportCaddy to show the new modal with import summary and navigation options.
- Created CertificateStatusCard to display certificate provisioning status on the dashboard.
- Enhanced API types and hooks to support new features.
- Added unit tests for ImportSuccessModal and CertificateStatusCard components.
- Updated QA report to reflect the status of the new features and tests.
2025-12-12 00:42:27 +00:00
GitHub Actions
7ca5a11572 Add ImportSuccessModal tests, enhance AuthContext for token management, and improve useImport hook
- Implement tests for ImportSuccessModal to verify rendering and functionality.
- Update AuthContext to store authentication token in localStorage and manage token state.
- Modify useImport hook to capture and expose commit results, preventing unnecessary refetches.
- Enhance useCertificates hook to support optional refetch intervals.
- Update Dashboard to conditionally poll certificates based on pending status.
- Integrate ImportSuccessModal into ImportCaddy for user feedback on import completion.
- Adjust Login component to utilize returned token for authentication.
- Refactor CrowdSecConfig tests for improved readability and reliability.
- Add debug_db.py script for inspecting the SQLite database.
- Update integration and test scripts for better configuration and error handling.
- Introduce Trivy scan script for vulnerability assessment of Docker images.
2025-12-12 00:05:15 +00:00
renovate[bot]
a753211528 chore(deps): update node.js to v24.12.0 2025-12-11 22:45:47 +00:00
renovate[bot]
7a0fb23a46 fix(deps): update npm minor/patch to ^19.2.2 2025-12-11 22:45:42 +00:00
GitHub Actions
03dadf6dcd fix(docs): add security scanning steps for CodeQL and Trivy in QA phase 2025-12-11 18:55:36 +00:00
GitHub Actions
5d81e44ba1 fix(docs): update definition of done to include CodeQL and Trivy for security compliance 2025-12-11 18:46:43 +00:00
Jeremy
8cdd29b047 Merge pull request #351 from Wikid82/renovate/npm-minorpatch
chore(deps): update npm minor/patch to ^4.1.18
2025-12-11 13:37:16 -05:00
Jeremy
644f3fa564 Merge branch 'development' into renovate/npm-minorpatch 2025-12-11 13:37:07 -05:00
Jeremy
77fe3cdf02 Merge pull request #350 from Wikid82/renovate/node-24.x
chore(deps): update dependency node to v24.12.0
2025-12-11 13:36:51 -05:00
renovate[bot]
79eeaebdd8 chore(deps): update npm minor/patch to ^4.1.18 2025-12-11 18:28:15 +00:00
renovate[bot]
956d0d44c3 chore(deps): update dependency node to v24.12.0 2025-12-11 18:28:00 +00:00
GitHub Actions
8294d6ee49 Add QA test outputs, build scripts, and Dockerfile validation
- Created `qa-test-output-after-fix.txt` and `qa-test-output.txt` to log results of certificate page authentication tests.
- Added `build.sh` for deterministic backend builds in CI, utilizing `go list` for efficiency.
- Introduced `codeql_scan.sh` for CodeQL database creation and analysis for Go and JavaScript/TypeScript.
- Implemented `dockerfile_check.sh` to validate Dockerfiles for base image and package manager mismatches.
- Added `sourcery_precommit_wrapper.sh` to facilitate Sourcery CLI usage in pre-commit hooks.
2025-12-11 18:26:24 +00:00
GitHub Actions
65d837a13f chore: clean cache 2025-12-11 18:17:21 +00:00
GitHub Actions
b4dd1efe3c fix(console): remove unsupported --tenant flag from CrowdSec console enrollment command 2025-12-11 15:37:46 +00:00
Jeremy
462e40629a Merge pull request #349 from Wikid82/renovate/npm-minorpatch
fix(deps): update npm minor/patch
2025-12-11 09:44:23 -05:00
renovate[bot]
34a8fbd97a fix(deps): update npm minor/patch 2025-12-11 08:53:58 +00:00
GitHub Actions
8687a05ec0 chore: remove generated hub index files from repo 2025-12-11 05:27:11 +00:00
GitHub Actions
97c2ef9b71 feat(tests): add CrowdSec Console Enrollment feature flag tests in SystemSettings and CrowdSecConfig 2025-12-11 05:09:03 +00:00
GitHub Actions
28ad90d962 feat(tests): enhance integration tests for CrowdSec and Coraza, improve error handling and logging
- Updated `coraza_integration_test.go` and `crowdsec_integration_test.go` for better logging and error handling.
- Added `ttlRemainingSeconds` to `CrowdsecHandler` to provide remaining TTL in responses.
- Improved error messages in `ApplyPreset` and `GetCachedPreset` methods for better user guidance.
- Enhanced test coverage for applying presets, including scenarios for cache misses and expired caches.
- Introduced new tests for cache refresh logic and ensured proper rollback behavior during failures.
- Updated QA report with recent testing outcomes and observations.
2025-12-11 00:59:53 +00:00
GitHub Actions
cf912f15eb feat(cache): implement resilience for cache misses in HubService.Apply() and enhance logging for better diagnostics 2025-12-11 00:43:21 +00:00
GitHub Actions
e299aa6b52 feat(tests): enhance test coverage and error handling across various components
- Added a test case in CrowdSecConfig to show improved error message when preset is not cached.
- Introduced a new test suite for the Dashboard component, verifying counts and health status.
- Updated SMTPSettings tests to utilize a shared render function and added tests for backend validation errors.
- Modified Security.audit tests to improve input handling and removed redundant export failure test.
- Refactored Security tests to remove export functionality and ensure correct rendering of components.
- Enhanced UsersPage tests with new scenarios for updating user permissions and manual invite link flow.
- Created a new utility for rendering components with a QueryClient and MemoryRouter for better test isolation.
- Updated go-test-coverage script to improve error handling and coverage reporting.
2025-12-11 00:26:07 +00:00
Jeremy
f92e85804f Merge pull request #348 from Wikid82/renovate/npm-minorpatch
chore(deps): update dependency knip to ^5.73.0
2025-12-10 00:13:19 -05:00
Jeremy
85ccec65b4 Merge branch 'development' into renovate/npm-minorpatch 2025-12-10 00:13:12 -05:00
Jeremy
580ea96228 Merge pull request #347 from Wikid82/renovate/codecov-codecov-action-digest
chore(deps): update codecov/codecov-action digest to 671740a
2025-12-10 00:12:47 -05:00
renovate[bot]
f84b77a2a7 chore(deps): update dependency knip to ^5.73.0 2025-12-10 02:58:25 +00:00
renovate[bot]
5d49bac2b0 chore(deps): update codecov/codecov-action digest to 671740a 2025-12-10 02:58:12 +00:00
Jeremy
ca4cfc4e65 Merge pull request #346 from Wikid82/development
Propagate changes from development into feature/beta-release
2025-12-09 11:11:54 -05:00
Jeremy
f04750f16c Merge pull request #345 from Wikid82/development
chore(history-rewrite): Propagate history-rewrite from development to main (draft)
v0.3.1
2025-12-09 11:07:19 -05:00
Jeremy
1e35da0614 Merge pull request #344 from Wikid82/feature/beta-release
chore(history-rewrite): Propagate history-rewrite from feature/beta-release to development (draft)
2025-12-09 11:06:44 -05:00
Jeremy
e06e3bd6b3 Merge pull request #343 from Wikid82/development
Propagate changes from development into feature/beta-release
2025-12-09 11:04:27 -05:00
Jeremy
8c09b2c514 Merge branch 'feature/beta-release' into development 2025-12-09 11:04:24 -05:00
Jeremy
8729b44bb0 Merge pull request #341 from Wikid82/renovate/major-5-github-artifact-actions
chore(deps): update actions/upload-artifact action to v5
2025-12-09 11:02:22 -05:00
Jeremy
84d41edc0e Merge branch 'development' into renovate/major-5-github-artifact-actions 2025-12-09 11:02:13 -05:00
Jeremy
a9e2705a81 Merge pull request #340 from Wikid82/renovate/actions-github-script-8.x
chore(deps): update actions/github-script action to v8
2025-12-09 11:01:59 -05:00
Jeremy
28559f2d2e Merge branch 'development' into renovate/actions-github-script-8.x 2025-12-09 11:01:51 -05:00
Jeremy
4f531bf442 Merge pull request #339 from Wikid82/renovate/actions-checkout-6.x
chore(deps): update actions/checkout action to v6
2025-12-09 11:01:34 -05:00
renovate[bot]
f92648f3ab chore(deps): update actions/upload-artifact action to v5 2025-12-09 16:01:28 +00:00
renovate[bot]
73dbf075aa chore(deps): update actions/github-script action to v8 2025-12-09 16:01:22 +00:00
renovate[bot]
ec746540e2 chore(deps): update actions/checkout action to v6 2025-12-09 16:01:17 +00:00
Jeremy
626ebdb318 Merge pull request #342 from Wikid82/development
Propagate changes from development into feature/beta-release
2025-12-09 11:01:03 -05:00
Jeremy
e6c992d7b9 Merge pull request #338 from Wikid82/renovate/pin-dependencies
chore(deps): pin dependencies
2025-12-09 11:00:07 -05:00