WeKnora/frontend
MidoriKurage dcc89d4b2d
feat(system): add admin UI for creating users (#3034)
* i18n(system): add createUser strings for SystemAdmin dialog

* ui(system): add Create user dialog to the Access settings tab

Wire the unused createSystemUser API to a third row in the SystemAdmin
Access section. The dialog (CreateUserDialog.vue) has two views:

- Form: username, email, and an auto-generate toggle that reveals
  new/confirm password fields when off.
- Reveal: one-time generated password the admin must acknowledge;
  overlay click, Esc, and the close button are disabled until then.

Also:
- The idempotent 200 OK path (no generated_password) closes with its
  own success toast.
- The teleported dialog shell is shared via systemAdminDialog.less.
- Password policy comes from upstream's @/utils/passwordPolicy
  (complex-password aware) rather than a local shared module.

* i18n(audit): register system.user_created for the SystemAuditLog
2026-09-06 00:10:04 +08:00
..
packages chore: Update Dockerfile and package-lock.json for xlsx package management 2025-11-17 13:15:10 +08:00
public fix(skills): raise skill zip cap and keep uninstall progress stable 2026-09-02 15:08:05 +08:00
src feat(system): add admin UI for creating users (#3034) 2026-09-06 00:10:04 +08:00
.dockerignore fix(frontend): include nginx-api-proxy.conf in the UI image build 2026-09-02 15:32:33 +08:00
.gitignore init commit 2025-08-05 15:08:07 +08:00
Dockerfile refactor(skills): improve skill bundle size management and nginx configuration 2026-09-02 15:08:05 +08:00
docker-entrypoint.sh refactor(skills): enhance skill upload size management and error handling 2026-09-02 15:08:05 +08:00
embed.html feat(embed): add widget, visitor chat, and management UI (#1657) 2026-06-12 23:10:39 +08:00
env.d.ts feat(frontend): inject commit ID into frontend build for version tracking 2026-06-09 18:08:57 +08:00
index.html fix(frontend): bundle tdesign-icons sprite locally for offline deploys 2026-04-23 18:21:49 +08:00
nginx-api-proxy.conf refactor(skills): improve skill bundle size management and nginx configuration 2026-09-02 15:08:05 +08:00
nginx.conf refactor(skills): enhance skill upload size management and error handling 2026-09-02 15:08:05 +08:00
package-lock.json chore: prepare v0.8.0 release notes and version bump 2026-09-03 14:46:44 +08:00
package.json chore: prepare v0.8.0 release notes and version bump 2026-09-03 14:46:44 +08:00
package.json.md5 fix: update environment configuration for debugging and logging, enhance SQLite FTS5 table management, and improve API base URL handling 2026-04-11 18:51:16 +08:00
pnpm-workspace.yaml fix(frontend): configure pnpm v11 build approvals in workspace file 2026-05-08 16:34:33 +08:00
tsconfig.app.json fix lint and test failures 2026-07-01 17:31:42 +08:00
tsconfig.json init commit 2025-08-05 15:08:07 +08:00
tsconfig.node.json init commit 2025-08-05 15:08:07 +08:00
vite.config.ts fix(frontend): keep custom theme tokens in production builds 2026-07-21 20:29:02 +08:00