Commit Graph

16 Commits

Author SHA1 Message Date
mlogclub f827a7471c refactor: remove LocaleSwitcher component and update locale handling
- Removed LocaleSwitcher from NavUser, SiteHeader, and WorkbenchHeader components.
- Updated tests to reflect the removal of LocaleSwitcher.
- Changed default locale from "en-US" to "zh-CN" in i18n configuration.
- Refactored locale resolution logic to read configured locale without relying on browser language detection.
- Updated AgentDesk SDK to support language configuration from public API.
- Cleaned up unused auth options fetching in the auth API.
2026-06-26 14:46:01 +08:00
mlogclub 3c42124eaa feat: enhance LoginForm with error handling and loading states for auth options 2026-06-13 10:25:53 +08:00
mlogclub 6b3cda9874 fix: handle null authOptions in LoginForm and update state initialization 2026-06-13 10:19:28 +08:00
mlogclub 2d1704854f fix: update accessibility labels in LoginForm component for better screen reader support 2026-05-30 20:39:36 +08:00
mlogclub c2b6d595aa feat: add legal pages for Terms of Service and Privacy Policy with localization support 2026-05-30 20:38:14 +08:00
mlogclub b44bb666c9 fix: comment out FieldDescription in LoginForm component 2026-05-30 20:23:19 +08:00
mlogclub ea6fc84c18 Refactor code structure for improved readability and maintainability 2026-05-30 20:21:29 +08:00
mlogclub c246b85a9e feat: add support for request ID tracking across services
- Implemented request ID handling in various services and handlers to improve traceability of requests.
- Added new AuthOptions endpoint to expose WxWork and OIDC configuration options.
- Updated message and event logging to include request ID for better debugging.
- Enhanced login form to dynamically show available authentication options based on server configuration.
- Introduced utility functions for normalizing and ensuring valid request IDs.
- Updated tests to verify request ID functionality in message sending and event logging.
2026-05-27 22:18:43 +08:00
mlogclub 988f55c80d refactor: support i18n 2026-05-25 12:06:15 +08:00
mlogclub eac039bba4 feat: add OIDC login support
- Introduced OIDC configuration options in config.example.yaml.
- Added OIDC client initialization and routes for OIDC login, callback, and exchange.
- Implemented OIDC login service to handle user authentication via OIDC.
- Created frontend components for OIDC login and callback handling.
- Updated user creation logic to support OIDC users and their identities.
- Enhanced error handling for OIDC login processes.
2026-05-24 20:49:10 +08:00
mlogclub 253cca0de7 fix: update login form placeholders to Chinese 2026-05-10 09:50:42 +08:00
mlogclub 8dff6450b2 update wxwork.svg path 2026-04-26 20:13:16 +08:00
mlogclub a3cd67f80f update 2026-04-26 20:04:54 +08:00
mlogclub a9275c2d4a 调整目录 2026-04-24 12:01:30 +08:00
mlogclub c07e588030 update web to dashboard 2026-04-15 17:20:57 +08:00
mlogclub efe801b8bf Init 2026-04-09 10:01:23 +08:00