stevenlee87
4960395777
refactor: favicon 移回 app/ + 删除用户改为 RESTful DELETE /api/users/[id]
...
- favicon: 从 public/favicon.ico 移回 app/favicon.ico(next-on-pages 1.13.16 下生产验证 /favicon.ico 正常返回)
- 删除用户: POST /api/roles/delete 改为 DELETE /api/users/[id],符合 RESTful 语义(资源 users + 标准 DELETE 方法)
2026-07-30 22:09:33 +08:00
stevenlee87
d34bb3d474
feat(roles): add delete user functionality to role management
...
Add ability for Emperor to delete users from the role management panel:
- New POST /api/roles/delete endpoint with PROMOTE_USER permission guard,
blocks deleting self or other emperors, cascades user data cleanup
- Trash button on each non-emperor row with confirmation dialog
- Auto-navigate to previous page when deleting the last user on a page
- i18n strings added for all 5 locales
2026-07-30 22:09:33 +08:00
lidong-sal
6fc9686be9
feat(roles): enhance role management panel with user list and inline editing
...
Redesign the Emperor's Role Management panel from a single-user
search-and-assign form into a full user management dashboard with
browsable user list and inline role editing.
2026-07-30 22:09:33 +08:00
beilunyang
dd109a464a
feat(auth): add Google OAuth support
2025-12-07 17:50:27 +08:00
beilunyang
e431c1fe5b
feat(turnstile): integrate Cloudflare Turnstile for enhanced security in login and registration processes
2025-10-22 23:31:48 +08:00
beilunyang
dbe8c42b11
feat(sharing): add email and message sharing functionality
2025-10-18 20:08:42 +08:00
beilunyang
47d555eaf5
refactor: remove unused translation for common actions in email service config
2025-10-13 01:16:10 +08:00
beilunyang
d175017b51
feat: add internationalization support with next-intl
2025-10-13 00:57:32 +08:00
beilunyang
e85f6b04bd
feat: implement email sending functionality via Resend service
2025-06-22 00:32:09 +08:00
beilunyang
7a04a8165c
docs: Update README and API Key Panel to add information about api/config endpoints
2025-06-05 23:50:29 +08:00
beilunyang
ea7fd5490c
refactor: Consolidate configuration management with Zustand store
2025-03-01 10:29:50 +08:00
beilunyang
b1d898e298
feat: Add configurable maximum email limit for users
2025-02-28 00:30:37 +08:00
beilunyang
5454d1a7b2
refactor: Update API documentation and curl examples with protocol-aware URLs
2025-02-10 11:51:47 +08:00
beilunyang
e23e8170b9
fix: eslint error
2025-02-10 11:31:11 +08:00
beilunyang
9ad3115833
feat: Implement OpenAPI with API Key authentication and role-based access control
2025-02-10 11:25:25 +08:00
beilunyang
086ad28f6a
feat: Support finding and promoting roles by username
2025-01-15 19:34:35 +08:00
beilunyang
126a4cb948
feat: Implement username/password authentication and registration features
2025-01-15 16:00:06 +08:00
beilunyang
bfe439f90b
refactor: support demotion and improve error handling in role management
2024-12-28 18:23:44 +08:00
beilunyang
45a13d0c20
feat: Enhance email domain configuration and management
2024-12-28 01:34:34 +08:00
beilunyang
6420cd7570
feat: Add configuration management for default user roles and permissions
2024-12-28 00:54:29 +08:00
beilunyang
5a7c17752a
feat: Implement role-based access control and enhance permissions system
2024-12-27 13:35:29 +08:00
beilunyang
ba14701210
fix: Add flex-shrink utility to buttons and profile elements for better layout consistency
2024-12-18 02:45:54 +08:00
beilunyang
5d7a6d7bad
feat: Add Webhook integration and update README with new features
2024-12-18 02:38:04 +08:00
beilunyang
c69947ceae
feat: profile page & webhook notification
2024-12-18 01:59:34 +08:00