Commit Graph

68 Commits

Author SHA1 Message Date
Wikid82
8c36a8dee4 feat: add support for additional emails in user management and update related configurations 2025-11-25 18:30:16 +00:00
Wikid82
07be2155be Refactor Security Management: Split Security page into Users, Providers, and Policies components; remove deprecated Security component; implement CRUD functionality for users, providers, and policies; enhance Uptime page with monitor editing capabilities. 2025-11-25 14:53:06 +00:00
Wikid82
7a1f577771 feat: add forward authentication configuration and UI
- Introduced ForwardAuthConfig model to store global forward authentication settings.
- Updated Manager to fetch and apply forward authentication configuration.
- Added ForwardAuthHandler to create a reverse proxy handler for authentication.
- Enhanced ProxyHost model to include forward authentication options.
- Created Security page and ForwardAuthSettings component for managing authentication settings.
- Implemented API endpoints for fetching and updating forward authentication configuration.
- Added tests for new functionality including validation and error handling.
- Updated frontend components to support forward authentication settings.
2025-11-25 13:25:05 +00:00
Wikid82
78b782974e feat: add custom name handling for proxy hosts and enhance import functionality 2025-11-25 03:50:23 +00:00
Wikid82
017ee4f8bd feat: clean up invalid Let's Encrypt certificate associations and update UI to reflect custom certificate usage 2025-11-25 01:18:11 +00:00
Wikid82
0415f5da77 feat: enhance import handling with overwrite support and detailed conflict resolution
feat: add subroute handler extraction for improved Caddyfile parsing
test: add tests for subroute handler extraction functionality
fix: update UI to display staging certificate status and improve dashboard metrics
docs: clarify staging certificate deletion process in ACME documentation
2025-11-25 00:35:42 +00:00
Wikid82
897959a621 feat: enhance import handling with detailed conflict resolution and UI updates 2025-11-24 23:48:25 +00:00
Wikid82
e4b737710c feat: implement ACME staging support for Let's Encrypt to avoid rate limits during development and testing 2025-11-24 23:10:07 +00:00
Wikid82
931e35b5f3 Refactor code structure for improved readability and maintainability 2025-11-24 20:33:01 +00:00
Wikid82
ad98d9fea2 feat: add multi-file upload and import detection endpoints to ImportHandler 2025-11-24 18:55:53 +00:00
Wikid82
5de6f9b714 feat: add Docker management tasks and update import handler for transient preview 2025-11-24 18:40:38 +00:00
Wikid82
6feff3e8ce chore: remove cashed 2025-11-24 18:22:01 +00:00
Wikid82
9c842e7eab chore: remove cached 2025-11-24 18:21:11 +00:00
Wikid82
af5a0b4ef8 feat: add transient import preview and commit functionality with tests 2025-11-24 18:14:59 +00:00
Wikid82
8babd2f430 feat: Enhance import handler to support mounted Caddyfile and improve conflict reporting 2025-11-24 17:32:56 +00:00
Wikid82
9f54438955 Add tests for error handling in backup, notification, and proxy host handlers; enhance certificate service with persistence tests; refactor backup service for scheduled backups; improve frontend form handling and add API tests for certificates, domains, and proxy hosts; implement frontend test coverage script. 2025-11-24 03:52:37 +00:00
Wikid82
b0f5466967 feat: Enhance CertificateService to scan Caddy data directory for auto-generated certificates 2025-11-24 03:20:09 +00:00
Wikid82
71cb2bea92 feat: Update certificate service path to use configurable Caddy data directory 2025-11-24 02:41:42 +00:00
Wikid82
f39a1b7e95 feat: Implement initial Caddy config synchronization with readiness check 2025-11-24 00:38:14 +00:00
Wikid82
527c54582f feat: Add notification test button and fix Discord webhook URL support
- Frontend: Add Test button to Notification Provider form with visual feedback
- Backend: Normalize Discord HTTPS webhook URLs to Shoutrrr format (discord://)
- Backend: Create system notification on test failure for better visibility
2025-11-23 22:58:07 +00:00
Wikid82
1b12dbaf8b feat: Update frontend deps, improve backend coverage, add notification/uptime features
- Upgrade frontend to Node v20
- Fix frontend tests
- Improve backend test coverage to >80%
- Add Notification Provider and Uptime monitoring features
- Fix SQLite locking issues in tests
2025-11-23 20:42:18 +00:00
Wikid82
d790eb88f6 chore: update certificate routes to use standard Caddy data directory 2025-11-23 16:36:06 +00:00
Wikid82
ce89c63afc feat: implement certificate upload and deletion functionality, enhance certificate management in the API and frontend 2025-11-22 23:05:23 -05:00
Wikid82
3730ce3152 fix: normalize domains to lowercase in caddy config, improve error logging 2025-11-22 21:47:40 -05:00
Wikid82
efc1103af4 feat: add test connection button to remote server form 2025-11-22 20:09:53 -05:00
Wikid82
09b51a933b fix: rollback proxy host on config failure and add TZ support 2025-11-22 19:43:01 -05:00
Wikid82
c6771be7a8 feat: add default 404 page for unknown hosts 2025-11-22 19:26:38 -05:00
Wikid82
ef82386b22 feat: enhance import logging and improve host parsing in importer 2025-11-22 16:53:05 -05:00
Wikid82
933ec88c83 feat: implement temporary file creation for log downloads to prevent Content-Length mismatches 2025-11-22 16:35:04 -05:00
Wikid82
0b46bb740c fix: correct formatting of resolutions map in TestImportHandler_Commit_Errors 2025-11-22 14:29:42 -05:00
Wikid82
fea86a6c76 feat: enhance import functionality with Caddyfile content preview and optional mounting in Docker 2025-11-22 14:29:21 -05:00
Wikid82
9b4cdea963 perf: update release workflow and improve test setup; add lazy loading for better performance 2025-11-22 13:21:34 -05:00
Wikid82
3256cc845b feat: add log level filtering and enhance logging configuration; update UI for improved navigation and settings structure 2025-11-21 21:32:43 -05:00
Wikid82
cdc6630a79 feat: add Content-Disposition header for file downloads in backup and logs handlers 2025-11-21 20:57:41 -05:00
Wikid82
94592c8515 feat: integrate Caddy manager into proxy host handler and enhance authorization middleware; update frontend components for improved UI and functionality 2025-11-21 20:42:52 -05:00
Wikid82
870af044f8 feat: add test connection functionality for proxy hosts and enhance UI for testing connections 2025-11-21 18:06:48 -05:00
Wikid82
a5fd7b02f3 fix: reorder import statements in domain_handler.go for consistency 2025-11-21 16:16:18 -05:00
Wikid82
cf23ddb666 feat: add domain management functionality with CRUD operations and integrate into UI 2025-11-21 16:15:39 -05:00
Wikid82
50e4932148 feat: add current password verification for email updates and implement tasks layout with navigation 2025-11-21 13:37:19 -05:00
Wikid82
a00dea5419 feat: normalize email addresses to lowercase in user registration and profile updates
- Updated user registration and profile update handlers to convert email addresses to lowercase before saving to the database.
- Added integration tests to verify login functionality after email changes, ensuring case insensitivity.
- Introduced a new Account page to replace the Security page, consolidating user account management features.
- Removed the old Security page and updated routing in the Settings layout.
- Enhanced the SystemStatus component to provide user feedback on update availability.
- Added password change functionality in the Account page, allowing users to update their passwords securely.
2025-11-21 13:04:49 -05:00
Wikid82
8a0d7952a9 feat: add profile update functionality and integrate it into the Security page 2025-11-21 11:25:58 -05:00
Wikid82
4217279770 fix: enhance import session response structure and update preview query conditions 2025-11-21 09:41:58 -05:00
Wikid82
29e1523364 Add build and CodeQL scan scripts
- Created a build script to compile the Go backend.
- Added a CodeQL scan script to automate the creation and analysis of CodeQL databases for Go and JavaScript/TypeScript, including necessary checks for dependencies.
2025-11-20 23:59:56 -05:00
Wikid82
96cb7c8ef4 test: improve backend coverage for caddy, backup and import services 2025-11-20 22:56:11 -05:00
Wikid82
9f62a4a2df feat: add Docker container management functionality
- Implement DockerHandler to handle API requests for listing Docker containers.
- Create DockerService to interact with Docker API and retrieve container information.
- Add routes for Docker container management in the API.
- Introduce frontend API integration for Docker container listing.
- Enhance ProxyHostForm to allow quick selection of Docker containers.
- Update Docker-related tests to ensure functionality and error handling.
- Modify Docker Compose files to enable Docker socket access for local and remote environments.
- Add TypeScript configurations for improved build processes.
2025-11-20 21:27:02 -05:00
Wikid82
2eab570d54 Add comprehensive tests for services and middleware
- Implement tests for AuthMiddleware to handle cookie and token authentication.
- Create tests for the Importer and Manager in the Caddy package.
- Enhance AuthService tests with password change and token validation scenarios.
- Introduce tests for CertificateService to validate certificate listing and expiry.
- Expand LogService tests to cover log querying and pagination.
- Add NotificationService tests for creating, listing, and marking notifications as read.
- Implement ProxyHostService tests for CRUD operations and unique domain validation.
- Create RemoteServerService tests for CRUD operations.
- Add UpdateService tests to mock GitHub API responses for version checking.
- Introduce UptimeService tests to check host availability and notifications for down hosts.
2025-11-20 20:14:35 -05:00
Wikid82
234427a195 feat: add fake_caddy.sh script for testing purposes 2025-11-20 20:06:57 -05:00
Wikid82
77e530ac20 feat: Implement backend support for advanced access logging 2025-11-20 13:19:09 -05:00
Wikid82
56ab9486a4 feat: implement settings refactor, system status, notifications, and pre-commit hooks 2025-11-20 11:37:10 -05:00
Wikid82
c63fa70414 feat: add backup and log routes with corresponding handlers 2025-11-20 10:27:37 -05:00