Commit Graph

218 Commits

Author SHA1 Message Date
GitHub Actions
8ef1e7cda0 feat: enhance type safety in security API and related tests 2025-12-06 02:57: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
0973852640 feat: add validation for CrowdSec configuration status and improve file selection handling 2025-12-05 22:42:06 +00:00
GitHub Actions
09320a74ed feat: implement bulk ACL application feature for efficient access list management across multiple proxy hosts
feat: add modular Security Dashboard implementation plan with environment-driven security service activation
fix: update go.mod and go.sum for dependency version upgrades and optimizations
feat: enable gzip compression for API responses to reduce payload size
fix: optimize SQLite connection settings for better performance and concurrency
refactor: enhance RequireAuth component with consistent loading overlay
feat: configure global query client with optimized defaults for performance in main.tsx
refactor: replace health check useEffect with React Query for improved caching and auto-refresh
build: add code splitting in vite.config.ts for better caching and parallel loading
2025-12-05 18:45:18 +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
Jeremy
1f4d03c268 Merge branch 'development' into feature/beta-release 2025-12-05 00:57:10 -05:00
GitHub Actions
c06c2829a6 feat: add SMTP settings page and user management features
- Added a new SMTP settings page with functionality to configure SMTP settings, test connections, and send test emails.
- Implemented user management page to list users, invite new users, and manage user permissions.
- Created modals for inviting users and editing user permissions.
- Added tests for the new SMTP settings and user management functionalities.
- Updated navigation to include links to the new SMTP settings and user management pages.
2025-12-05 00:47:57 +00:00
renovate[bot]
a74174b009 fix(deps): update dependency react-router-dom to ^7.10.1 (#311)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-04 21:51:58 +00:00
GitHub Actions
5fe18398f8 feat: add Rate Limiting configuration page and tests; integrate with security settings 2025-12-04 20:07:24 +00:00
GitHub Actions
3bce098375 feat: add zero-day exploit protection details and comprehensive security audit tests 2025-12-04 18:58:14 +00:00
GitHub Actions
a89a2bcc90 feat: enhance security dashboard with layered protection summaries and order validation in tests 2025-12-04 18:20:56 +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
renovate[bot]
d2c59370aa fix(deps): update dependency @tanstack/react-query to ^5.90.12 2025-12-04 12:59:38 +00:00
renovate[bot]
8f12071577 fix(deps): update dependency react-hook-form to ^7.68.0 2025-12-03 23:09:41 +00:00
renovate[bot]
b6d353c5af fix(deps): update npm minor/patch to ^19.2.1 2025-12-03 19:39:24 +00:00
Jeremy
377c331ff9 Merge branch 'feature/beta-release' into development 2025-12-03 09:20:34 -05: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
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
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
renovate[bot]
e97c46a4b9 fix(deps): update npm minor/patch 2025-12-02 18:39:07 +00:00
renovate[bot]
a714a35056 chore(deps): update npm minor/patch to ^8.48.1 (#287)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-02 14:28:02 +00:00
GitHub Actions
a4e65ff0fa refactor(coverage): remove module-specific frontend coverage checks 2025-12-02 05:23:36 +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
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
44c4d955f5 feat(security): add WAF configuration page with rule set management and tests 2025-12-02 01:53:28 +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
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
d341879ff4 ci(docker): use step outputs for REGISTRY_PASSWORD in docker-publish workflow 2025-12-01 16:22:21 +00:00
GitHub Actions
17c1751e9c feat: enhance Security page functionality and update tests for CrowdSec integration 2025-12-01 16:22:21 +00:00
GitHub Actions
5dfa3da753 feat: add nested routes under Security for improved navigation 2025-12-01 16:22:21 +00:00
GitHub Actions
90d85def7c feat: enhance Security menu with sub-items for better navigation 2025-12-01 16:22:21 +00:00
GitHub Actions
7391da62bc fix: update link to access lists in AccessListSelector component 2025-12-01 16:22:21 +00:00
GitHub Actions
b2bcbe86bb feat: display CrowdSec status on Security page and add tests for start/stop functionality 2025-12-01 16:22:21 +00:00
GitHub Actions
2300925901 feat: integrate CrowdSec start/stop functionality and fetch status in Security page 2025-12-01 16:22:21 +00:00
GitHub Actions
41f68bdbdb refactor: remove CrowdSec control from SystemSettings page; move to Security page 2025-12-01 16:22:21 +00:00
GitHub Actions
d789ee85e5 feat: Add CrowdSec configuration management and export functionality
- Implemented CrowdSec configuration page with import/export capabilities.
- Added API endpoints for exporting, importing, listing, reading, and writing CrowdSec configuration files.
- Enhanced security handler to support runtime overrides for CrowdSec mode and API URL.
- Updated frontend components to include CrowdSec settings in the UI.
- Added tests for CrowdSec configuration management and security handler behavior.
- Improved user experience with toast notifications for successful operations and error handling.
2025-12-01 16:22:21 +00:00
GitHub Actions
1244041bd7 feat: update routing for ImportCaddy and enhance navigation type safety; add test for Uptime pause button 2025-12-01 16:22:21 +00:00
GitHub Actions
215c2fe478 feat: add ImportCrowdSec page and integrate with backup functionality; refactor navigation structure 2025-12-01 16:22:21 +00:00
GitHub Actions
92697ec5ec test: add unit tests for Uptime page and setup API 2025-12-01 16:22:21 +00:00
GitHub Actions
224a53975d feat(tests): add comprehensive tests for ProxyHosts and Uptime components
- Introduced isolated coverage tests for ProxyHosts with various scenarios including rendering, bulk apply, and link behavior.
- Enhanced existing ProxyHosts coverage tests to include additional assertions and error handling.
- Added tests for Uptime component to verify rendering and monitoring toggling functionality.
- Created utility functions for setting labels and help texts related to proxy host settings.
- Implemented bulk settings application logic with progress tracking and error handling.
- Added toast utility tests to ensure callback functionality and ID incrementing.
- Improved type safety in test files by using appropriate TypeScript types.
2025-12-01 16:22:21 +00:00
GitHub Actions
83afbbf1fc feat: Add CrowdSec management endpoints and feature flags handler
- Implemented CrowdSec process management with start, stop, and status endpoints.
- Added import functionality for CrowdSec configuration files with backup support.
- Introduced a new FeatureFlagsHandler to manage feature flags with database and environment variable fallback.
- Created tests for CrowdSec handler and feature flags handler.
- Updated routes to include new feature flags and CrowdSec management endpoints.
- Enhanced import handler with better error logging and diagnostics.
- Added frontend API calls for CrowdSec management and feature flags.
- Updated SystemSettings page to manage feature flags and CrowdSec controls.
- Refactored logs and other components for improved functionality and UI consistency.
2025-12-01 16:19:05 +00:00
GitHub Actions
fa3ed5a135 fix(frontend): correct Logs.tsx component definition and imports (fix TS1005) 2025-12-01 16:19:05 +00:00
GitHub Actions
dc0c8c42ac fix(frontend): remove unused default React imports and use typed FC/FormEvent where needed 2025-12-01 16:19:05 +00:00
GitHub Actions
5ee1feed64 fix(import): remove unused React default import in ImportSitesModal 2025-12-01 16:19:05 +00:00
GitHub Actions
2014ff9fce feat(import): add multi-site import modal and upload-multi API 2025-12-01 16:19:05 +00:00