Commit Graph

361 Commits

Author SHA1 Message Date
Wikid82
34a33c3a2e feat: enhance Layout tests with QueryClient integration and async version check 2025-11-20 11:38:05 -05:00
Wikid82
46b67d2414 feat: implement Backups, Security, and SettingsLayout pages with API integration and state management 2025-11-20 11:37:58 -05:00
Wikid82
79befed67a feat: add route for Logs page in the application 2025-11-20 10:28:35 -05:00
Wikid82
be5c6b92b0 feat: add Logs page with log viewing and backup management functionality 2025-11-20 10:28:28 -05:00
Wikid82
4d1077f030 feat: add 'Logs' navigation item to the layout 2025-11-20 10:28:19 -05:00
Wikid82
1a506a0b46 feat: add backups and logs API with corresponding interfaces and functions 2025-11-20 10:28:10 -05: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
f166007e3f fix: update RequireAuth component to accept ReactNode as children type 2025-11-20 01:22:48 -05:00
Wikid82
24711cbf28 fix: handle ForwardPort parsing error and update navigation expectation in Setup tests 2025-11-20 01:12:49 -05:00
renovate[bot]
0f510dff43 fix(deps): update dependency react-router-dom to v7 2025-11-20 06:06:48 +00:00
Jeremy
6452a8bbc2 Merge pull request #161 from Wikid82/renovate/major-19-react-monorepo
chore(deps): update react monorepo to v19 (major)
2025-11-20 01:06:01 -05:00
Wikid82
8420bcaad9 feat: update Dockerfile and docker-compose files for improved debugging and consistency; refactor Login and Setup components for setup status handling 2025-11-20 00:58:35 -05:00
renovate[bot]
475998335c chore(deps): update react monorepo to v19 2025-11-20 05:02:06 +00:00
Wikid82
39de0a67ef feat: add Tailwind CSS support and refactor Layout component structure 2025-11-20 00:01:26 -05:00
Wikid82
ddc3d8ac1f refactor: remove unnecessary peer dependencies and update package versions in package-lock.json 2025-11-19 23:56:03 -05:00
Jeremy
64802da4aa Merge branch 'development' into renovate/npm-minorpatch 2025-11-19 23:50:32 -05:00
Jeremy
9060fe2ea6 Merge branch 'development' into renovate/major-19-react-monorepo 2025-11-19 23:49:41 -05:00
Jeremy
cbd1632947 Merge pull request #158 from Wikid82/renovate/major-7-react-router-monorepo
fix(deps): update dependency react-router-dom to v7
2025-11-19 23:49:09 -05:00
renovate[bot]
b895476a08 fix(deps): update npm minor/patch 2025-11-20 04:45:43 +00:00
Jeremy
4de7ab2a99 Merge pull request #148 from Wikid82/renovate/major-4-tailwindcss-monorepo
chore(deps): update dependency tailwindcss to v4
2025-11-19 23:44:47 -05:00
renovate[bot]
c60beec504 fix(deps): update react monorepo to v19 2025-11-20 04:43:20 +00:00
renovate[bot]
2c8b8a2745 fix(deps): update dependency react-router-dom to v7 2025-11-20 04:43:13 +00:00
renovate[bot]
f9b9a7ff64 chore(deps): update dependency tailwindcss to v4 2025-11-20 04:42:22 +00:00
renovate[bot]
113ff3db4d chore(deps): update dependency eslint-plugin-react-hooks to v7 2025-11-20 04:42:14 +00:00
Jeremy
787fcf2ddc Merge pull request #135 from Wikid82/renovate/vite-7.x
chore(deps): update dependency vite to v7
2025-11-19 23:30:08 -05:00
Wikid82
7706b01edb feat: implement logout functionality in Layout component and enhance AuthContext with auto-logout feature 2025-11-19 23:26:08 -05: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
11aab568da fix: update script and stylesheet references in index.html; modify conflicts prop in ImportReviewTable to use keys 2025-11-19 22:17:59 -05:00
renovate[bot]
942fa9b196 chore(deps): update dependency vite to v7 2025-11-20 03:16:00 +00:00
Jeremy
9b8915353c Merge pull request #128 from Wikid82/renovate/major-6-react-monorepo
chore(deps): update dependency eslint-plugin-react-hooks to v6
2025-11-19 21:53:00 -05:00
renovate[bot]
35c6d16f80 chore(deps): update dependency eslint-plugin-react-hooks to v6 2025-11-20 02:48:29 +00:00
renovate[bot]
9a0796109c chore(deps): update dependency @vitejs/plugin-react to v5 2025-11-20 02:48:22 +00: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
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
Wikid82
70a28e53ee feat: Add Change Password functionality 2025-11-19 19:57:38 -05: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
Wikid82
c0c0c29f9f refactor(frontend): consolidate architecture, migrate to React Query, and remove legacy files 2025-11-19 17:46:11 -05:00
Wikid82
90ba956d97 feat: add custom locations management to ProxyHostForm
- Updated ProxyHostForm to include functionality for managing custom locations.
- Introduced add, remove, and update operations for locations in the form.
- Modified the ProxyHost interface to include an array of locations.
- Removed the advanced configuration textarea in favor of a more structured location input.
- Updated the frontend assets in index.html to reflect the latest build.
2025-11-19 11:46:26 -05:00
Wikid82
d559a24c45 feat(frontend): implement basic UI foundation (Issue #6) 2025-11-19 10:53:55 -05:00