Commit Graph
38 Commits
Author SHA1 Message Date
马登山 9f0520e85b feat: add more S3 poclicy Statement 2026-01-22 13:04:29 +08:00
马登山 e128047da3 Merge commit 'c9315826134092516535cd22d14c12cc927a2c20' 2026-01-22 12:58:11 +08:00
马登山 c931582613 feat : policy parse 2026-01-22 12:56:41 +08:00
overtrue 2216caac75 fix: remove deprecated server config fetch and fix CI workflow
- Remove deprecated fetchConfigFromServer function
- Update getConfig to use localStorage > browser > default priority
- Fix GitHub Actions workflow: remove unnecessary dependency installation, upgrade CodeQL to v4, use proper test commands
- Add JUnit reporter to vitest config for CI test results
- Update tests to reflect new configuration priority (no server config)
- All 167 tests passing
2026-01-20 21:35:01 +08:00
cxymds 286907f5d7 feat : menu control 2026-01-18 20:29:53 +08:00
马登山 2b00fdc8d2 docs: remove code comments about config.json 2026-01-12 16:56:43 +08:00
马登山 920c67770b fix: file type mime 2025-12-12 13:35:01 +08:00
马登山 df2c7a1ce3 fix: remove config.json request 2025-12-09 11:58:09 +08:00
安正超 6b40c2bc16 feat: Add 7 new language packs (DE, ES, IT, JA, KO, PT-BR, RU) and refactor language switcher (#29)
* feat: 补充任务状态和操作相关的翻译键

- 添加小写版本的状态翻译键:waiting, in progress, success, failed, paused, canceled
- 添加 Upload 翻译键
- 更新任务状态显示使用新的翻译键
- 统一翻译键命名规范

* feat: 为法语语言包补充任务状态和操作相关的翻译键

- 添加小写版本的状态翻译键:waiting, in progress, success, failed, paused, canceled
- 添加 Upload 翻译键
- 修复 In Progress 参数名(deleting -> processing)
- 更新 Success Status 和 Failed Status 翻译

* fix: 对齐所有语言包的翻译键

- 为法语语言包添加 Processing (with count) 键
- 为土耳其语语言包添加 success 和 Success Status 键
- 为中文和英文语言包添加 Success Status 键
- 确保所有语言包(中文、英文、土耳其语、法语)的键完全对齐
- 所有语言包现在都有 880 个键

* feat: 添加国际主流语言支持

新增语言包:
- 日语 (ja-JP) - 日本語
- 韩语 (ko-KR) - 한국어
- 德语 (de-DE) - Deutsch
- 西班牙语 (es-ES) - Español
- 俄语 (ru-RU) - Русский
- 葡萄牙语 (pt-BR) - Português
- 意大利语 (it-IT) - Italiano

更新内容:
- 更新 nuxt.config.ts 添加新语言配置
- 更新 language-switcher.vue 组件添加新语言选项
- 所有新语言包包含 880 个翻译键(目前使用英文作为占位符)

现在支持共 11 种语言:英语、中文、日语、韩语、德语、法语、西班牙语、葡萄牙语、意大利语、俄语、土耳其语

* fix: 暂时隐藏未翻译的语言选项

- 从语言选择器中移除尚未翻译的语言(日语、韩语、德语、西班牙语、葡萄牙语、意大利语、俄语)
- 只保留已完整翻译的语言:英语、中文、法语、土耳其语
- 未翻译的语言配置已注释,待翻译完成后可重新启用

这些语言包文件已创建但内容为英文占位符,切换后会显示英文内容

* feat: 完成德语和日语语言包翻译

- 将德语文件 (de-DE.json) 中的所有英文值翻译为德语
- 将日语文件 (ja-JP.json) 中的所有英文值翻译为日语
- 技术术语(如 API、KMS、IAM、MQTT 等)保持英文或使用适当的本地化形式
- 遵循德语和日语的本地化习惯和语言环境

* feat: 完成意大利语、韩语、巴西葡萄牙语和俄语翻译

* feat: 完成西班牙语翻译

* refactor: remove duplicate language options in language-switcher

- Generate options array dynamically from languageConfig
- Eliminate redundant language definitions
- Maintain single source of truth for language data

* fix: input shadow
2025-12-05 22:02:45 +08:00
马登山 3cf22125f0 feat: Retrieve configuration from API instead of confi.json 2025-12-05 15:03:55 +08:00
马登山 8330c7487f fix: rustfs version 2025-12-04 12:51:01 +08:00
马登山 f03c4856fc fix: remove get api confiig from config.json 2025-12-04 10:23:51 +08:00
马登山 3a19c3c16c fix : download file whit .gz extension rustfs/rustfs#813 2025-12-02 16:40:54 +08:00
马登山 3789685e0f feat: show version Info iat left menu bottom rustfs/rustfs#905 2025-12-01 17:27:40 +08:00
overtrue 6ab024be1c style: format code with Prettier
- Auto-format all files to comply with Prettier rules
- Fix code style issues in 545 files
2025-11-01 00:03:01 +08:00
overtrue 6254a8c489 docs: translate all Chinese comments and documentation to English
- Translate Chinese comments in Vue components
- Translate Chinese comments in composables
- Translate Chinese comments in utils and lib modules
- Translate Chinese comments in store modules
- Translate documentation strings in config-helpers.ts
- Maintain code accuracy and readability
2025-10-31 23:03:04 +08:00
overtrue 2f183badb5 i18n: translate all comments and messages to English
- Translate all Chinese comments in new composables and utilities to English
- Add missing translation keys to language packs (en-US, zh-CN, tr-TR):
  - Validation failed
  - API request failed
  - Operation failed
- Ensure all code comments follow English convention
2025-10-31 22:52:24 +08:00
overtrue 0598f8065f refactor: 修复 API 客户端 composables 滥用和硬编码路径问题
- 修复 lib/api-client.ts 中在类方法中直接调用 composables 的问题
- 添加 ApiErrorHandler 错误处理器,通过依赖注入方式处理 401 错误
- 创建路由工具函数 utils/routes.ts,统一管理路由路径
- 修复 composables/useAuth.ts 中的硬编码路径,使用工具函数
- 修复 components/copy-input.vue 的生命周期问题,在 onMounted 中创建 ClipboardJS 实例
- 修复 plugins/03.s3.ts 中的错误处理,使用 navigateTo 替代直接操作 window.location
- 修复 pages/config.vue 中的硬编码路径
- 添加 composables/useFormValidation.ts、useAsyncOperation.ts、useErrorHandler.ts 工具函数(供后续使用)
- 添加 types/api.ts 类型定义
2025-10-31 22:50:59 +08:00
overtrue dfc9340193 wip: object list fixed 2025-10-29 22:37:28 +08:00
overtrue 2a7c74d62e refactor: replace legacy app wrappers with shadcn components 2025-10-28 18:56:13 +08:00
overtrue 50cef5195b refactor: tailwindcss 2025-10-27 22:04:05 +08:00
overtrue f05935114a 🐛 fix: 修复 GitHub Actions 工作流 YAML 语法错误
- 修复 dependencies.yml 中多行字符串缩进不一致的问题
- 将 commit-message 改为单行字符串格式
- 修复 reviewers 字段的空值语法
- 确保所有 YAML 文件符合严格的语法规范
- 通过 prettier 格式化所有工作流文件
2025-10-07 23:19:01 +08:00
overtrue e52686435e 🐛 fix: 修复 CI/CD 流水线中的 TypeScript 类型错误
- 添加缺失的 expect 导入到 test-helpers.ts
- 添加缺失的 afterEach 导入到 performance 测试
- 添加缺失的 beforeEach 导入到 setup.ts
- 修复 LocalStorageMock 中的 this 上下文问题
- 更新 config.ts 以适配重构后的 ConfigResult 类型
- 所有测试通过 ✅
- TypeScript 类型检查通过 ✅
2025-10-07 23:04:57 +08:00
overtrue 42b6f36acd ✨ feat: 添加完整的测试套件和 CI/CD 流水线
🧪 测试套件:
- 添加 62 个测试用例(单元 + 集成 + 性能测试)
- 达到 98.5% 代码覆盖率(语句)
- 达到 93.5% 分支覆盖率
- 达到 100% 函数覆盖率
- 包含完整的 Mock 和测试工具

🚀 CI/CD 流水线:
- 测试流水线:多版本测试、覆盖率报告、浏览器兼容性
- 质量流水线:代码格式、类型检查、依赖安全、复杂度分析
- 发布流水线:自动构建、部署、GitHub Release 创建
- 依赖管理:自动安全审计、依赖更新、测试验证

📚 文档和模板:
- PR 模板和 Issue 模板
- 完整的 CI/CD 使用文档
- 测试套件说明文档

🔧 配置优化:
- 重构 config-helpers.ts 模块
- 改进类型定义和错误处理
- 优化配置获取逻辑和性能
2025-10-07 22:56:36 +08:00
马登山 739bfdd1ac fix: Syntax error 2025-09-26 13:31:26 +08:00
马登山 26d47651fd fix: server config host port rustfs/rustfs#564 2025-09-26 13:19:33 +08:00
junxiang Mu c019276fcb add kms
Signed-off-by: junxiang Mu <1948535941@qq.com>
2025-09-22 14:31:07 +08:00
cxymds a96449d564 feat: get config from server config file 2025-09-15 21:41:39 +08:00
overtrueandClaude de0f2c550d feat: improve TypeScript type safety and code quality
- Added comprehensive TypeScript type definitions for app configuration
- Fixed type safety issues in sidebar component with proper type casting
- Improved code organization with better file naming conventions
- Enhanced error handling with centralized error management
- Added performance optimizations with caching and code splitting
- Improved development experience with better tooling configuration
- Updated project documentation with comprehensive README
- Added proper type definitions for navigation items and app config
- Fixed licensing information and added proper Apache 2.0 license

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-10 23:19:22 +08:00
马登山 f31b5f23c6 feat : 请求基础路径 2025-07-10 18:04:55 +08:00
overtrue 79172275f7 fix: server config 2025-07-09 10:28:20 +08:00
overtrue f3bb968cd8 feat: custom server config 2025-07-07 21:34:50 +08:00
马登山 ac7ecfd80e fix: policy functions 2025-05-29 11:23:21 +08:00
overtrue ca64d6c6ce refact: 代码重构 2025-05-05 17:01:14 +08:00
cxymds 96343b4635 feat: delete bucket ustfs/s3-rustfs#274 2025-03-27 14:20:06 +08:00
cxymds c8d2108133 feat : 服务器信息 2025-03-20 18:15:12 +08:00
cxymds 78725497d7 feat : accesskey and user account accesskey 2024-12-26 18:06:22 +08:00
overtrue b86e3f1591 init 2024-12-08 14:19:47 +08:00