release: v1.0.2
Publish Docker image / build-and-push (push) Canceled after 0s
GitHub Release / release (push) Canceled after 0s
ci / ci (22, ubuntu-latest) (push) Canceled after 0s

Add i18n (zh-CN/en), mobile navigation menus, stats and upload UI
improvements, and Docker reset-password CLI for emergency recovery.
This commit is contained in:
O96u committed 2026-08-23 17:43:42 +08:00
1 parent 074e4502c2
commit 22cb2ca8bc
46 files changed
+3724 -587

No files matched your search

+2 -2
View File
@@ -7,7 +7,7 @@ export interface PasswordCriteria {
hasSpecial: boolean
}
export type PasswordStrengthLabel = '弱' | '中' | '强'
export type PasswordStrengthLabel = 'weak' | 'medium' | 'strong'
export function analyzePassword(password: string): {
criteria: PasswordCriteria
@@ -24,7 +24,7 @@ export function analyzePassword(password: string): {
const score = Object.values(criteria).filter(Boolean).length
const label: PasswordStrengthLabel
= score <= 1 ? '弱' : score <= 3 ? '中' : '强'
= score <= 1 ? 'weak' : score <= 3 ? 'medium' : 'strong'
return {
criteria,