Commit Graph

117 Commits

Author SHA1 Message Date
LukeGus
ab07b2ba97 Remove releases folder from git and force Desktop UI. 2025-09-04 13:24:03 -05:00
ZacharyZcR
d0b58acb1c Complete Electron desktop application implementation
- Add backend auto-start functionality in main process
- Fix authentication token storage for Electron environment
- Implement localStorage-based token management in Electron
- Add proper Electron environment detection via preload script
- Fix WebSocket connections for terminal functionality
- Resolve font file loading issues in packaged application
- Update API endpoints to work with backend auto-start
- Streamline build scripts with unified electron:package command
- Fix better-sqlite3 native module compatibility issues
- Ensure all services start automatically in production mode

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-04 21:37:33 +08:00
ZacharyZcR
591309530d Convert web app to Electron desktop application
- Add Electron main process with developer tools support
- Create preload script for secure context bridge
- Configure electron-builder for packaging
- Update Vite config for Electron compatibility (base: './')
- Add environment variable support for API host configuration
- Fix i18n to use relative paths for Electron file protocol
- Restore multi-port backend architecture (8081-8085)
- Add enhanced backend startup script with port checking
- Update package.json with Electron dependencies and build scripts

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-04 17:57:12 +08:00
LukeGus
983cf7383e Mobile terminal 2025-09-04 00:26:36 -05:00
LukeGus
c4e888dfce Add conditional desktop/mobile rendering 2025-09-03 21:11:27 -05:00
LukeGus
4852b0f884 Update file naming and structure for mobile support 2025-09-03 19:14:57 -05:00
starry
25e5b61b3e Add documentation in Chinese language (#160) 2025-09-03 12:58:38 -05:00
Karmaa
61db35daad Dev 1.5.0 (#159)
* Add comprehensive Chinese internationalization support

- Implemented i18n framework with react-i18next for multi-language support
- Added Chinese (zh) and English (en) translation files with comprehensive coverage
- Localized Admin interface, authentication flows, and error messages
- Translated FileManager operations and UI elements
- Updated HomepageAuth component with localized authentication messages
- Localized LeftSidebar navigation and host management
- Added language switcher component (shown after login only)
- Configured default language as English with Chinese as secondary option
- Localized TOTPSetup two-factor authentication interface
- Updated Docker build to include translation files
- Achieved 95%+ UI localization coverage across core components

Co-Authored-By: Claude <noreply@anthropic.com>

* Extend Chinese localization coverage to Host Manager components

- Added comprehensive translations for HostManagerHostViewer component
- Localized all host management UI text including import/export features
- Translated error messages and confirmation dialogs for host operations
- Added translations for HostManagerHostEditor validation messages
- Localized connection details, organization settings, and form labels
- Fixed syntax error in FileManagerOperations component
- Achieved near-complete localization of SSH host management interface
- Updated placeholders and tooltips for better user guidance

Co-Authored-By: Claude <noreply@anthropic.com>

* Complete comprehensive Chinese localization for Termix

- Added full localization support for Tunnel components (connected/disconnected states, retry messages)
- Localized all tunnel status messages and connection errors
- Added translations for port forwarding UI elements
- Verified Server, TopNavbar, and Tab components already have complete i18n support
- Achieved 99%+ localization coverage across entire application
- All core UI components now fully support Chinese and English languages

This completes the comprehensive internationalization effort for the Termix SSH management platform.

Co-Authored-By: Claude <noreply@anthropic.com>

* Localize additional Host Manager components and authentication settings

- Added translations for all authentication options (Password, Key, SSH Private Key)
- Localized form labels in HostManagerHostEditor (Pin Connection, Enable Terminal/Tunnel/FileManager)
- Translated Upload/Update Key button states
- Localized Host Viewer and Add/Edit Host tab labels
- Added Chinese translations for all host management settings
- Fixed duplicate translation keys in JSON files

Co-Authored-By: Claude <noreply@anthropic.com>

* Extend localization coverage to UI components and common strings

- Added comprehensive common translations (online/offline, success/error, etc.)
- Localized status indicator component with all status states
- Updated FileManagerLeftSidebar toast messages for rename/delete operations
- Added translations for UI elements (close, toggle sidebar, etc.)
- Expanded placeholder translations for form inputs
- Added Chinese translations for all new common strings
- Improved consistency across component status messages

Co-Authored-By: Claude <noreply@anthropic.com>

* Complete Chinese localization for remaining UI components

- Add comprehensive Chinese translations for Host Manager component
  - Translate all form labels, buttons, and descriptions
  - Add translations for SSH configuration warnings and instructions
  - Localize tunnel connection settings and port forwarding options

- Localize SSH Tools panel
  - Translate key recording functionality
  - Add translations for settings and configuration options

- Translate homepage welcome messages and navigation elements
  - Add Chinese translations for login success messages
  - Localize "Updates & Releases" section title
  - Translate sidebar "Host Manager" button

- Fix translation key display issues
  - Remove duplicate translation keys in both language files
  - Ensure all components properly reference translation keys
  - Fix hosts.tunnelConnections key mapping

This completes the full Chinese localization of the Termix application,
achieving near 100% UI translation coverage while maintaining English
as the default language.

* Complete final Chinese localization for Host Manager tunnel configuration

- Add Chinese translations for authentication UI elements
  - Translate "Authentication", "Password", and "Key" tab labels
  - Localize SSH private key and key password fields
  - Add translations for key type selector

- Localize tunnel connection configuration descriptions
  - Translate retry attempts and retry interval descriptions
  - Add dynamic tunnel forwarding description with port parameters
  - Localize endpoint SSH configuration labels

- Fix missing translation keys
  - Add "upload" translation for file upload button
  - Ensure all FormLabel and FormDescription elements use translation keys

This completes the comprehensive Chinese localization of the entire
Termix application, achieving 100% UI translation coverage.

* Fix OIDC errors for "Failed to get user information"

* Fix OIDC errors for "Failed to get user information"

* Fix spelling error

* Fix PR feedback: Improve Profile section translations and UX

- Fixed password reset translations in Profile section
- Moved language selector from TopNavbar to Profile page
- Added profile.selectPreferredLanguage translation key
- Improved user experience for language preferences

* Migrate everything to alert system, update user.ts for OIDC updates.

* Update env

* Fix OIDC errors for "Failed to get user information"

* Fix OIDC errors for "Failed to get user information"

* Fix spelling error

* Migrate everything to alert system, update user.ts for OIDC updates.

* Translation update

* Translation update

* Translation update

* Translate tunnels

* Comment update

* Update build workflow naming

* Add more translations, fix user delete failing

* Fix config editor erorrs causing user delete failure

---------

Co-authored-by: ZacharyZcR <PayasoNorahC@protonmail.com>
Co-authored-by: Claude <noreply@anthropic.com>
release-1.5.0-tag
2025-09-03 00:14:49 -05:00
Karmaa
26c1cacc9d Merge pull request #138 from LukeGus/dev-1.4.0
Dev 1.4.0
release-1.4.0-tag
2025-09-01 00:11:26 -05:00
LukeGus
8dddbaa86d Read me update 2025-09-01 00:00:26 -05:00
LukeGus
d46fafb421 Update status refreshing to have a better interval and updated sidebar UI 2025-08-31 23:58:00 -05:00
LukeGus
25178928a0 Update status refreshing to have a better interval 2025-08-31 23:41:05 -05:00
LukeGus
2fe9c0f854 Update version 2025-08-31 20:27:17 -05:00
LukeGus
2f68dc018e Add SSH password reset, fix TOTP errors, and update json-import guide. 2025-08-31 20:18:08 -05:00
LukeGus
8b8e77214c Rename apps folder 2025-08-31 19:26:38 -05:00
LukeGus
89589dcf9f Update repo info and grammer 2025-08-31 19:25:44 -05:00
LukeGus
250ad975d4 Fix contributing md 2025-08-31 00:47:16 -05:00
LukeGus
b649e73c80 Fix contributing md 2025-08-31 00:43:23 -05:00
LukeGus
839e36adb9 Update TOTP Pr, begin password reset, add openapi.json for clarity. 2025-08-31 00:42:50 -05:00
Karmaa
f02c0c3163 Merge pull request #122 from rodrigopolo/main
SSH connection timeout and TOTP integration
2025-08-29 23:24:27 -05:00
Rodrigo Polo
83c41751ea Implementation of TOTP (Time-based One-Time Password) authentication 2025-08-29 20:29:33 -06:00
Rodrigo Polo
8058ffd217 Timeout issue 2025-08-29 01:47:08 -06:00
LukeGus
a3db62b0f8 Merge remote-tracking branch 'origin/main' 2025-08-28 01:25:31 -05:00
LukeGus
dc43bf1329 Update update log to include full release description 2025-08-28 01:25:23 -05:00
Karmaa
0a7b1b2bd0 Merge pull request #114 from LukeGus/dev-1.3.1
Dev 1.3.1
release-1.3.1-tag
2025-08-28 01:00:47 -05:00
LukeGus
94e6617638 Update Terminal to use new isDev var 2025-08-28 00:59:20 -05:00
LukeGus
76995dbc1b Fix nginx error 2025-08-28 00:18:03 -05:00
LukeGus
be6cda7d8a Improve SSH stability and reconnection 2025-08-28 00:05:27 -05:00
LukeGus
9130eb68a8 Improve server stats and tunnel stability 2025-08-27 22:58:08 -05:00
LukeGus
200428498f Fix build error 2025-08-27 22:24:49 -05:00
LukeGus
f60c9c72aa Improve File Manger UI scaling 2025-08-27 22:20:39 -05:00
LukeGus
487919cedc Improve File Manger UI scaling, fix file manager disconnect, disable more than one file manager at a time. 2025-08-27 22:17:28 -05:00
LukeGus
b046aedcee Improve auth page 2025-08-27 16:07:11 -05:00
LukeGus
0c5216933a Update env 2025-08-27 15:34:12 -05:00
LukeGus
191dc8ba24 Hide password 2025-08-27 15:23:42 -05:00
LukeGus
d88c890ba7 Reduce automatic pinging 2025-08-27 11:34:38 -05:00
LukeGus
a34c60947d Finish migration into main-axios 2025-08-27 11:24:17 -05:00
LukeGus
56fddb6fcb Merge remote-tracking branch 'origin/dev-1.3.1' into dev-1.3.1 2025-08-25 18:00:51 -05:00
LukeGus
b9bd00f86e Migrate everytihng into the main-axios and update the routing to fix localhost issues. 2025-08-25 18:00:34 -05:00
Karmaa
d1ae7f659d Merge pull request #89 from LukeGus/dependabot/npm_and_yarn/dev-minor-updates-e674c81da0
Bump the dev-minor-updates group with 6 updates
2025-08-24 16:26:20 -05:00
Karmaa
b127c5ff4f Merge pull request #90 from LukeGus/dependabot/npm_and_yarn/prod-patch-updates-dc9bb06971
Bump the prod-patch-updates group with 19 updates
2025-08-24 16:26:00 -05:00
LukeGus
75a87400eb Merge remote-tracking branch 'origin/dev-1.3.1' into dependabot/npm_and_yarn/prod-patch-updates-dc9bb06971
# Conflicts:
#	package-lock.json
#	package.json
2025-08-24 16:25:13 -05:00
Karmaa
d4dccdb574 Merge pull request #88 from LukeGus/dependabot/npm_and_yarn/dev-patch-updates-7ca590a96b
Bump tw-animate-css from 1.3.5 to 1.3.7 in the dev-patch-updates group
2025-08-24 16:19:14 -05:00
Karmaa
a34421f5b2 Merge pull request #87 from LukeGus/dependabot/docker/docker/node-24-alpine
Bump node from 22-alpine to 24-alpine in /docker
2025-08-24 16:18:51 -05:00
Karmaa
7a5cf94d45 Merge pull request #86 from LukeGus/dependabot/github_actions/actions/cache-4
Bump actions/cache from 3 to 4
2025-08-24 16:18:33 -05:00
Karmaa
134f58b38b Merge pull request #85 from LukeGus/dependabot/github_actions/actions/checkout-5
Bump actions/checkout from 4 to 5
2025-08-24 16:18:15 -05:00
Karmaa
84dcda9363 Merge pull request #84 from LukeGus/dependabot/github_actions/docker/build-push-action-6
Bump docker/build-push-action from 5 to 6
2025-08-24 16:17:55 -05:00
Karmaa
d81cf20f5e Bump the prod-minor-updates group with 10 updates (#91)
Bumps the prod-minor-updates group with 10 updates:

| Package | From | To |
| --- | --- | --- |
| [@hookform/resolvers](https://github.com/react-hook-form/resolvers) | `5.1.1` | `5.2.1` |
| [@uiw/codemirror-extensions-hyper-link](https://github.com/uiwjs/react-codemirror) | `4.24.1` | `4.25.1` |
| [@uiw/codemirror-extensions-langs](https://github.com/uiwjs/react-codemirror) | `4.24.1` | `4.25.1` |
| [@uiw/codemirror-themes](https://github.com/uiwjs/react-codemirror) | `4.24.1` | `4.25.1` |
| [@uiw/react-codemirror](https://github.com/uiwjs/react-codemirror) | `4.24.1` | `4.25.1` |
| [axios](https://github.com/axios/axios) | `1.10.0` | `1.11.0` |
| [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react) | `0.525.0` | `0.541.0` |
| [react-hook-form](https://github.com/react-hook-form/react-hook-form) | `7.60.0` | `7.62.0` |
| [ssh2](https://github.com/mscdex/ssh2) | `1.16.0` | `1.17.0` |
| [zod](https://github.com/colinhacks/zod) | `4.0.5` | `4.1.1` |


Updates `@hookform/resolvers` from 5.1.1 to 5.2.1
- [Release notes](https://github.com/react-hook-form/resolvers/releases)
- [Commits](https://github.com/react-hook-form/resolvers/compare/v5.1.1...v5.2.1)

Updates `@uiw/codemirror-extensions-hyper-link` from 4.24.1 to 4.25.1
- [Release notes](https://github.com/uiwjs/react-codemirror/releases)
- [Commits](https://github.com/uiwjs/react-codemirror/compare/v4.24.1...v4.25.1)

Updates `@uiw/codemirror-extensions-langs` from 4.24.1 to 4.25.1
- [Release notes](https://github.com/uiwjs/react-codemirror/releases)
- [Commits](https://github.com/uiwjs/react-codemirror/compare/v4.24.1...v4.25.1)

Updates `@uiw/codemirror-themes` from 4.24.1 to 4.25.1
- [Release notes](https://github.com/uiwjs/react-codemirror/releases)
- [Commits](https://github.com/uiwjs/react-codemirror/compare/v4.24.1...v4.25.1)

Updates `@uiw/react-codemirror` from 4.24.1 to 4.25.1
- [Release notes](https://github.com/uiwjs/react-codemirror/releases)
- [Commits](https://github.com/uiwjs/react-codemirror/compare/v4.24.1...v4.25.1)

Updates `axios` from 1.10.0 to 1.11.0
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.10.0...v1.11.0)

Updates `lucide-react` from 0.525.0 to 0.541.0
- [Release notes](https://github.com/lucide-icons/lucide/releases)
- [Commits](https://github.com/lucide-icons/lucide/commits/0.541.0/packages/lucide-react)

Updates `react-hook-form` from 7.60.0 to 7.62.0
- [Release notes](https://github.com/react-hook-form/react-hook-form/releases)
- [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-hook-form/react-hook-form/compare/v7.60.0...v7.62.0)

Updates `ssh2` from 1.16.0 to 1.17.0
- [Commits](https://github.com/mscdex/ssh2/compare/v1.16.0...v1.17.0)

Updates `zod` from 4.0.5 to 4.1.1
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Commits](https://github.com/colinhacks/zod/compare/v4.0.5...v4.1.1)

---
updated-dependencies:
- dependency-name: "@hookform/resolvers"
  dependency-version: 5.2.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-minor-updates
- dependency-name: "@uiw/codemirror-extensions-hyper-link"
  dependency-version: 4.25.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-minor-updates
- dependency-name: "@uiw/codemirror-extensions-langs"
  dependency-version: 4.25.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-minor-updates
- dependency-name: "@uiw/codemirror-themes"
  dependency-version: 4.25.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-minor-updates
- dependency-name: "@uiw/react-codemirror"
  dependency-version: 4.25.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-minor-updates
- dependency-name: axios
  dependency-version: 1.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-minor-updates
- dependency-name: lucide-react
  dependency-version: 0.541.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-minor-updates
- dependency-name: react-hook-form
  dependency-version: 7.62.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-minor-updates
- dependency-name: ssh2
  dependency-version: 1.17.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-minor-updates
- dependency-name: zod
  dependency-version: 4.1.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: prod-minor-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-24 16:16:41 -05:00
Karmaa
86fd8574f1 Bump @vitejs/plugin-react-swc from 3.10.2 to 4.0.1 (#92)
* Update README.md

* Bump @vitejs/plugin-react-swc from 3.10.2 to 4.0.1

Bumps [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react-swc) from 3.10.2 to 4.0.1.
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@4.0.1/packages/plugin-react-swc)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react-swc"
  dependency-version: 4.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Karmaa <88517757+LukeGus@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-24 16:16:20 -05:00
dependabot[bot]
6e175e2b36 Bump @vitejs/plugin-react-swc from 3.10.2 to 4.0.1
Bumps [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react-swc) from 3.10.2 to 4.0.1.
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@4.0.1/packages/plugin-react-swc)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react-swc"
  dependency-version: 4.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-24 21:14:55 +00:00