Commit Graph

163 Commits

Author SHA1 Message Date
Wikid82
67e7721a9d feat: Add guideline for updating ignore files when creating new types or artifacts 2025-11-19 21:35:31 -05:00
Wikid82
304561303a feat: Implement certificate management handler and routes
- Added CertificateHandler for listing certificates.
- Created health check handler for service metadata.
- Introduced ImportHandler for handling Caddyfile imports.
- Developed ProxyHostHandler for CRUD operations on proxy hosts.
- Added RemoteServerHandler for managing remote servers.
- Implemented UserHandler for initial setup and user management.
- Created authentication middleware for secure API access.
- Registered all handlers and routes in the main API router.
- Added tests for proxy host and remote server handlers.
2025-11-19 21:35:20 -05:00
Wikid82
5e8f79b8dd feat: implement main application logic for backend server 2025-11-19 21:34:52 -05:00
Wikid82
512e6f858f refactor: remove unused Caddy configuration and validation code
- Deleted Caddy configuration types and validation logic from the backend.
- Removed associated test files for validation.
- Cleaned up related service and model files that are no longer needed.
- Removed unnecessary environment configuration and database connection code.
- Eliminated unused models related to access control, SSL certificates, and user management.
- Cleaned up node modules by removing unnecessary binaries.
2025-11-19 21:32:24 -05:00
Wikid82
240e883578 chore: Remove Black and Ruff pre-commit hooks from configuration 2025-11-19 21:31:41 -05:00
Wikid82
4a63eaaec8 feat: Add symlinks for various CLI tools in node_modules/.bin 2025-11-19 21:17:50 -05:00
Wikid82
906d15fc9b test: Add CRUD tests for RemoteServer and ProxyHost handlers 2025-11-19 21:17:39 -05:00
Wikid82
1f83bc1e3e docs: Add testing requirement for new code to include unit tests 2025-11-19 21:15:35 -05:00
Wikid82
4ad526f185 fix: Update getImportStatus and commitImport mocks to handle session state correctly 2025-11-19 20:50:23 -05:00
Wikid82
24d5cf3954 refactor: Update mutation functions in useImport, useProxyHosts, and useRemoteServers hooks for improved type handling 2025-11-19 20:47:55 -05:00
Wikid82
e13223592c feat: Add testRemoteServerConnection functionality to useRemoteServers hook and update related tests 2025-11-19 20:33:06 -05:00
Wikid82
6f289d3fc7 fix: Update API mock path for useProxyHosts tests to ensure correct functionality 2025-11-19 20:23:21 -05:00
Wikid82
21eb2d2608 refactor: remove old test files for useProxyHosts and useRemoteServers; add new tests for useImport and update existing tests for useProxyHosts and useRemoteServers 2025-11-19 20:22:01 -05:00
Wikid82
2f0058083e fix: Rename cancel button text to 'Back' in ImportReviewTable test 2025-11-19 20:10:41 -05:00
Wikid82
a79fcee928 fix: Update error message in ImportReviewTable test for clarity 2025-11-19 20:10:41 -05:00
Wikid82
e6fb423d6b fix: Correct render function call in ProxyHostForm test 2025-11-19 20:10:40 -05:00
Wikid82
3c5bdf0a0b feat: Update ImportReviewTable and RemoteServerForm components for improved conflict handling and connection testing 2025-11-19 20:10:40 -05:00
Jeremy
04f94d47ff Merge pull request #124 from Wikid82/renovate/actions-setup-node-5.x
chore(deps): update actions/setup-node action to v5
2025-11-19 20:05:09 -05:00
Jeremy
c70b749826 Merge pull request #123 from Wikid82/renovate/actions-setup-go-6.x
chore(deps): update actions/setup-go action to v6
2025-11-19 20:04:52 -05:00
Jeremy
dd467f7bf1 Merge pull request #122 from Wikid82/renovate/actions-github-script-8.x
chore(deps): update actions/github-script action to v8
2025-11-19 20:04:30 -05:00
Jeremy
8877acf44c Merge pull request #121 from Wikid82/renovate/golang.org-x-crypto-0.x
fix(deps): update module golang.org/x/crypto to v0.45.0
2025-11-19 20:04:11 -05:00
renovate[bot]
d7af175151 chore(deps): update actions/setup-node action to v5 2025-11-20 01:00:54 +00:00
renovate[bot]
fe22be1571 chore(deps): update actions/setup-go action to v6 2025-11-20 01:00:50 +00:00
renovate[bot]
6a075bf7ff chore(deps): update actions/github-script action to v8 2025-11-20 01:00:45 +00:00
renovate[bot]
b95c353c97 fix(deps): update module golang.org/x/crypto to v0.45.0 2025-11-20 01:00:40 +00:00
Wikid82
00981be8dc fix: CI workflow shell injection vulnerability
- Use environment variables for GitHub context in shell scripts to prevent injection attacks and syntax errors when commit messages contain special characters (e.g. single quotes, ampersands).
- Fixes failure when merging branches with special characters in their names.
2025-11-19 19:59:45 -05:00
Wikid82
8f35d08dfa Merge branch 'feature/Automatic-HTTPS-&-Certificate-Management' into development 2025-11-19 19:57:46 -05:00
Wikid82
70a28e53ee feat: Add Change Password functionality 2025-11-19 19:57:38 -05:00
Jeremy
656b32985e Merge pull request #119 from Wikid82/renovate/actions-checkout-5.x
chore(deps): update actions/checkout action to v5
2025-11-19 19:56:23 -05:00
Jeremy
3ba330a0c7 Merge pull request #118 from Wikid82/renovate/actions-add-to-project-1.x
chore(deps): update actions/add-to-project action to v1
2025-11-19 19:56:04 -05:00
Jeremy
abe44d56d9 Merge pull request #117 from Wikid82/renovate/gorm.io-gorm-1.x
fix(deps): update module gorm.io/gorm to v1.31.1
2025-11-19 19:55:43 -05:00
renovate[bot]
dbc3df904b fix(deps): update module gorm.io/gorm to v1.31.1 2025-11-20 00:49:24 +00:00
Jeremy
e529fcbb83 Merge pull request #116 from Wikid82/renovate/gorm.io-driver-sqlite-1.x
fix(deps): update module gorm.io/driver/sqlite to v1.6.0
2025-11-19 19:48:02 -05:00
Jeremy
84b4fc2e6f Merge pull request #120 from Wikid82/feature/Automatic-HTTPS-&-Certificate-Management
feat: Implement User Authentication & Fix Frontend Startup
2025-11-19 19:47:13 -05:00
renovate[bot]
17672c2b53 chore(deps): update actions/checkout action to v5 2025-11-20 00:45:05 +00:00
renovate[bot]
053760c0f1 chore(deps): update actions/add-to-project action to v1 2025-11-20 00:44:58 +00:00
renovate[bot]
7120678910 fix(deps): update module gorm.io/driver/sqlite to v1.6.0 2025-11-20 00:44:44 +00:00
Wikid82
945b18ab3e feat: Implement User Authentication and Fix Frontend Startup
- Implemented Issue #9: User Authentication & Authorization
  - Added User model fields (FailedLoginAttempts, LockedUntil, LastLogin)
  - Created AuthService with JWT support, bcrypt hashing, and account lockout
  - Added AuthMiddleware and AuthHandler
  - Registered auth routes in backend
  - Created AuthContext and RequireAuth component in frontend
  - Implemented Login page and integrated with backend
- Fixed 'Blank Page' issue in local Docker environment
  - Added QueryClientProvider to main.tsx
  - Installed missing lucide-react dependency
  - Fixed TypeScript linting errors in SetupGuard.tsx
- Updated docker-entrypoint.sh to use 127.0.0.1 for reliable Caddy checks
- Verified with local Docker build
2025-11-19 19:44:22 -05:00
Wikid82
f92827db67 feat(tests): add ThemeProvider to Layout component tests 2025-11-19 18:33:11 -05:00
Jeremy
e8de9b1a2c Merge pull request #106 from Wikid82/renovate/aquasecurity-trivy-action-0.x
chore(deps): update aquasecurity/trivy-action action to v0.33.1
2025-11-19 18:20:54 -05:00
Jeremy
90f3342763 Merge pull request #108 from Wikid82/renovate/node-18.x
chore(deps): update dependency node to v18.20.8
2025-11-19 18:20:16 -05:00
Jeremy
9037ea6f86 Merge pull request #110 from Wikid82/renovate/docker-build-push-action-5.x
chore(deps): update docker/build-push-action action to v5.4.0
2025-11-19 18:20:01 -05:00
Jeremy
a5bf51b62c Merge pull request #111 from Wikid82/renovate/docker-login-action-3.x
chore(deps): update docker/login-action action to v3.6.0
2025-11-19 18:18:40 -05:00
Jeremy
9c680584c6 Merge pull request #112 from Wikid82/renovate/docker-setup-buildx-action-3.x
chore(deps): update docker/setup-buildx-action action to v3.11.1
2025-11-19 18:18:19 -05:00
Jeremy
fc8be94198 Merge pull request #113 from Wikid82/renovate/docker-setup-qemu-action-3.x
chore(deps): update docker/setup-qemu-action action to v3.7.0
2025-11-19 18:17:59 -05:00
Jeremy
26f0a66681 Merge pull request #114 from Wikid82/renovate/renovatebot-github-action-40.x
chore(deps): update renovatebot/github-action action to v40.3.6
2025-11-19 18:17:37 -05:00
Jeremy
04c40a4cc4 Merge pull request #105 from Wikid82/renovate/actions-setup-node-4.x
chore(deps): update actions/setup-node action to v4.4.0
2025-11-19 18:17:22 -05:00
Jeremy
c38a027046 Merge pull request #102 from Wikid82/renovate/golangci-golangci-lint-action-4.x
chore(deps): update golangci/golangci-lint-action action to v4.0.1
2025-11-19 18:16:15 -05:00
renovate[bot]
7f14ff0735 chore(deps): update renovatebot/github-action action to v40.3.6 2025-11-19 23:16:01 +00:00
renovate[bot]
c1f84162ad chore(deps): update docker/setup-qemu-action action to v3.7.0 2025-11-19 23:15:57 +00:00