diff --git a/.claude/settings.local.json b/.claude/settings.local.json new file mode 100644 index 00000000..5c9cb19c --- /dev/null +++ b/.claude/settings.local.json @@ -0,0 +1,25 @@ +{ + "permissions": { + "allow": [ + "Read(/C:\\Users\\29037\\WebstormProjects\\Termix\\docker/**)", + "Bash(git fetch:*)", + "Bash(git pull:*)", + "Bash(git checkout:*)", + "Bash(git add:*)", + "Bash(grep:*)", + "Bash(git push:*)", + "Bash(git branch:*)", + "Bash(npm run build:*)", + "Bash(npm install)", + "Bash(npm run electron:build:*)", + "Bash(npm uninstall:*)", + "Bash(git remote set-url:*)", + "Bash(npm run dev:backend:*)", + "Bash(taskkill:*)", + "Bash(node:*)", + "WebFetch(domain:ui.shadcn.com)" + ], + "deny": [], + "ask": [] + } +} \ No newline at end of file diff --git a/.env b/.env index c1e19f61..0e92ae62 100644 --- a/.env +++ b/.env @@ -1 +1,3 @@ -VERSION=1.5.0 \ No newline at end of file +VERSION=1.6.0 +VITE_API_HOST=localhost +CREDENTIAL_ENCRYPTION_KEY=98fbfabe84b125db7cbbb5168eb584aaecc2f3779a2aaa955c57bdd305071a84 diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 00000000..aa45c083 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,31 @@ +--- +name: Bug report +about: Create a report to help Termix improve +title: "[BUG]" +labels: bug +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots/Logs** +If applicable, add screenshots or console/Docker logs to help explain your problem. + +**Environment (please complete the following information):** + - Browser [e.g. chrome, safari] + - Version [e.g. 1.6.0] + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 00000000..6051e2ef --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Suggest an idea for Termix +title: "[FEATURE]" +labels: enhancement +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. diff --git a/.gitignore b/.gitignore index d0adddb5..d643c797 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ dist-ssr *.sln *.sw? /db/ +/release/ diff --git a/README-CN.md b/README-CN.md new file mode 100644 index 00000000..54611470 --- /dev/null +++ b/README-CN.md @@ -0,0 +1,100 @@ +# Repo Stats + +
+ English |
+
中文
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+ +# License +根据 Apache 2.0 许可证发布。更多信息请参见 LICENSE。 + diff --git a/README.md b/README.md index 64fcca64..e14e5f0c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,10 @@ # Repo Stats +
+ English |
+
中文
+
+ {value}
+
+ ) : (
+ {t('credentials.noHostsUsingCredential')}
+{t('credentials.loadingCredentials')}
+{error}
+ ++ {t('credentials.noCredentialsMessage')} +
++ {t('credentials.credentialsCount', { count: filteredAndSortedCredentials.length })} +
++ {credential.username} +
++ {credential.authType === 'password' ? t('credentials.password') : t('credentials.sshKey')} +
+Loading folders...
+{error}
+ ++ Create some hosts with folders to manage them here +
++ {filteredFolders.length} folder(s) found +
++ Hosts using this folder: +
+- {t('hosts.noHostsMessage')} -
++ {t('hosts.hostsCount', { count: 0 })} +
+{t('hosts.importJsonTitle')}
++ {t('hosts.importJsonDesc')} +
++ {t('hosts.noHostsMessage')} +
++ {t('hosts.getStartedMessage', { defaultValue: 'Use the Import JSON button above to add hosts from a JSON file.' })} +
++ {versionInfo?.version || t('common.loading')} +
+{t('profile.selectPreferredLanguage')}
+ {host.name || host.ip} +
+{tag}
+{t('auth.enterCode')}
++ {t('auth.backupCode')} +
+{t('auth.loginWithExternalDesc')}
+{t('auth.resetCodeDesc')}
+{t('auth.enterResetCode')} {localUsername}
+{t('auth.enterNewPassword')} {localUsername}
+{t('common.loading')}
++ {t('mobile.limitedSupportMessage')} +
++ {host.name || host.ip} +
+{tag}
+