Commit Graph

86 Commits

Author SHA1 Message Date
Wikid82
8a60325464 feat: enhance import session handling by adding session UUID to commitImport function 2025-11-22 15:58:12 -05:00
Wikid82
185121d9f0 feat: add comments to clarify trusted proxies configuration in NewRouter 2025-11-22 15:13:49 -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
5fe1791f50 chore: bump version to 0.2.0-beta.1 2025-11-22 00:15:05 -05:00
Jeremy
7859337319 Merge pull request #187 from Wikid82/development
Propagate changes from development into feature/alpha-completion
2025-11-21 22:45:54 -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
renovate[bot]
be4fe1a19b chore(deps): update npm minor/patch to ^4.0.13 (#186)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-22 01:55:56 +00: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
aefead1805 feat: improve error handling in ImportCaddy and Dashboard components 2025-11-21 14:07:30 -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
39f6cf9155 fix: enhance path sanitization in backup and log services to prevent directory traversal 2025-11-20 23:07:48 -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
Jeremy
41234a52bf Merge branch 'feature/alpha-completion' into development 2025-11-20 20:32:10 -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
6098df2d68 feat: add cron and lumberjack dependencies for scheduling and log rotation 2025-11-20 10:28:03 -05:00
Wikid82
12e74d1c84 feat: implement backup and log services with backup creation and log reading functionality 2025-11-20 10:27:55 -05:00
Wikid82
cf368f107c feat: implement logging configuration with access log setup 2025-11-20 10:27:45 -05:00
Wikid82
c63fa70414 feat: add backup and log routes with corresponding handlers 2025-11-20 10:27:37 -05:00
Wikid82
166b493629 feat: add backup and logs handlers with corresponding tests 2025-11-20 10:27:31 -05:00
Wikid82
556426841f feat: implement logging setup with rotation and fallback directory 2025-11-20 10:27:08 -05:00
renovate[bot]
0322605f45 fix(deps): update module github.com/gin-gonic/gin to v1.11.0 2025-11-20 14:56:05 +00:00
Wikid82
9d39241c61 feat: update health check API response and integrate versioning in Layout component 2025-11-20 09:54:55 -05:00
renovate[bot]
299f2a1631 chore(deps): update npm minor/patch 2025-11-20 13:41:09 +00:00
Wikid82
24711cbf28 fix: handle ForwardPort parsing error and update navigation expectation in Setup tests 2025-11-20 01:12:49 -05:00
Jeremy
e6826a440b Merge pull request #143 from Wikid82/renovate/github.com-gin-gonic-gin-1.x
fix(deps): update module github.com/gin-gonic/gin to v1.11.0
2025-11-19 23:42:26 -05:00
renovate[bot]
e44359f5ed fix(deps): update module github.com/gin-gonic/gin to v1.11.0 2025-11-20 04:41:50 +00:00
renovate[bot]
7fab85d5a1 chore(deps): update dependency go to v1.25.4 2025-11-20 04:41:32 +00:00
Wikid82
c97c16a752 feat: add Settings and Setup pages for user management
- Implemented Settings page for changing user passwords with validation and feedback.
- Created Setup page for initial admin account setup with form handling and navigation.
- Added API service layer for handling requests related to proxy hosts, remote servers, and import functionality.
- Introduced mock data for testing purposes and set up testing framework with vitest.
- Configured Tailwind CSS for styling and Vite for development and build processes.
- Added scripts for Dockerfile validation, Python syntax checking, and Sourcery integration.
- Implemented release and coverage scripts for better CI/CD practices.
2025-11-19 22:54:35 -05:00
Wikid82
1e2d87755d Remove Settings and Setup pages along with their tests and related API services
- Deleted Settings.tsx and Setup.tsx pages, which included functionality for changing passwords and setting up an admin account.
- Removed associated test files for Setup page.
- Eliminated API service definitions related to proxy hosts, remote servers, import functionality, and health checks.
- Cleaned up mock data and test setup files.
- Removed configuration files for TypeScript, Vite, and Tailwind CSS.
- Deleted scripts for testing coverage, release management, Dockerfile validation, and Python compilation checks.
- Removed Sourcery pre-commit wrapper script.
2025-11-19 22:53:32 -05:00
Wikid82
d10911bfbc docs: update required Go version to 1.24 across docs 2025-11-19 22:01:43 -05:00
Wikid82
4f17dad816 fix: downgrade Go version to 1.24.0 and update toolchain 2025-11-19 21:50:30 -05:00
Wikid82
d6bfb0c3c9 chore: update gitignore and restore backend files
- Add backend/node_modules to .gitignore
- Untrack backend/node_modules from git
- Restore backend source files (go.mod, main.go, etc.) that were missing in HEAD
- Include frontend test updates
2025-11-19 21:45:21 -05:00
Wikid82
f7ce1df847 feat: add TypeScript definitions for Babel parser 2025-11-19 21:40:24 -05:00
Wikid82
9c7ef43851 feat: add LICENSE, README, and package.json for @babel/helper-validator-identifier 2025-11-19 21:39:18 -05:00
Wikid82
0af08ee627 feat: add babel-parser script for parsing files and generating AST 2025-11-19 21:38:58 -05:00
Wikid82
685a6c810a feat: add helper functions for identifier and keyword validation
- Introduced `index.js` and `index.js.map` to export functions for checking identifier characters and names.
- Added `keyword.js` and `keyword.js.map` to implement functions for validating keywords and reserved words in JavaScript.
- Implemented various checks for strict and non-strict reserved words, including binding-specific checks.
2025-11-19 21:38:33 -05:00