Commit Graph

66 Commits

Author SHA1 Message Date
1808837298@qq.com 83e161a1d4 refactor: Simplify root user notification and remove global email variable
- Remove global `RootUserEmail` variable
- Modify channel testing and user notification methods to use `GetRootUser()`
- Update user cache and notification service to use more consistent user base type
- Add new channel test notification type
2025-02-18 15:59:17 +08:00
1808837298@qq.com 0fcd243f56 feat: Add user notification settings with quota warning and multiple notification methods
- Implement user notification settings with email and webhook options
- Add new user settings for quota warning threshold and notification preferences
- Create backend API and database support for user notification configuration
- Enhance frontend personal settings with notification configuration UI
- Support custom notification email and webhook URL
- Add service layer for sending user notifications
2025-02-18 14:54:21 +08:00
1808837298@qq.com aa2ac4766e Enhance user search functionality to support ID and keyword searches. Updated query conditions to allow searching by user ID alongside username, email, and display name. Improved handling of numeric and string keywords in search queries. 2025-01-06 15:20:38 +08:00
CalciumIon 7fec5fa1b3 feat: enhance user search functionality with pagination support
- Updated SearchUsers function to include pagination parameters (startIdx and num) for improved user search results.
- Modified API response structure to return paginated data, including total user count and current page information.
- Adjusted UsersTable component to handle pagination and search parameters, ensuring a seamless user experience.
- Added internationalization support for new search functionality in the UI.
2024-12-31 15:02:59 +08:00
CalciumIon 5a39d2e171 feat: enhance user management and pagination features #518
- Updated GetAllUsers function to return total user count along with paginated results, improving data handling in user retrieval.
- Modified GetAllUsers API endpoint to accept page size as a parameter, allowing for dynamic pagination.
- Enhanced UsersTable component to support customizable page sizes and improved pagination logic.
- Added error handling for empty username and password in AddUser component.
- Updated LogsTable component to display pagination information in a user-friendly format.
2024-12-31 14:52:55 +08:00
CalciumIon aefd53b683 refactor: token cache logic 2024-12-30 17:10:48 +08:00
CalciumIon c6ae827385 refactor: remove redundant group column handling in user queries 2024-12-29 17:02:30 +08:00
CalciumIon 966cdc1f7f refactor: user cache logic 2024-12-29 16:50:26 +08:00
borland ad15c0cb38 Update user.go 2024-12-22 00:03:00 +08:00
borland 57a24bed51 Update user.go 2024-12-22 00:02:28 +08:00
seefs001 12de1faca9 feat: integrate Linux DO OAuth authentication 2024-11-10 23:56:22 +08:00
1808837298@qq.com fd2379e807 fix: 第三方登录注销 #500 2024-09-25 17:13:28 +08:00
1808837298@qq.com 05f35fd024 feat: 不自动生成系统访问令牌 2024-09-25 16:31:25 +08:00
1808837298@qq.com a50d2e6836 fix: error user role 2024-09-24 17:49:57 +08:00
CalciumIon 1dfa18ab9a fix: email login 2024-07-09 21:36:31 +08:00
CalciumIon ea72b9c960 feat: able to use email to login (close #343,#348) 2024-07-08 16:28:56 +08:00
1808837298@qq.com 2fed1a1506 fix: update user (#230) 2024-05-08 16:46:06 +08:00
CaIon 03f26006a1 fix: update user 2024-04-24 19:40:29 +08:00
iszcz e00a468464 用户管理页新增分组查询 2024-04-20 02:13:11 +08:00
CaIon b26e53bcd4 feat: update cache 2024-04-18 20:30:17 +08:00
CaIon dac6849603 feat: update cache #204 2024-04-18 20:23:44 +08:00
CaIon 40a6db6797 fix: user update error 2024-04-04 11:10:41 +08:00
CaIon f18a83c181 fix: update user quote (close #161) 2024-04-03 23:51:25 +08:00
CaIon 130d275107 fix: SearchUsers (close #160) 2024-03-29 22:49:08 +08:00
sljeff a3bab7537b feat: telegram login and bind 2024-03-02 17:15:52 +08:00
Ehco1996 1ca7829161 Update makefile and user model, add Telegram integration 2024-03-01 22:33:30 +08:00
CaIon f111777fc3 fix: user group size 2024-01-11 22:06:30 +08:00
CaIon 5eaa5bf050 chore: cache username 2024-01-11 18:40:44 +08:00
CaIon e0234a677c 更新用户时刷新缓存数据 2023-12-29 00:00:23 +08:00
CaIon 61bfde5e00 修复不能删除注销用户的问题 2023-12-27 16:46:18 +08:00
CaIon 16e1b559d2 Revert "fix delete user"
This reverts commit acd4315d
2023-12-27 15:31:28 +08:00
CaIon 53deed8ce4 fix delete user 2023-12-27 15:15:07 +08:00
CaIon acd4315d43 fix delete user 2023-12-27 14:36:19 +08:00
CaIon b38ba50e3f 用户注销后禁止再次注册 2023-12-27 00:19:11 +08:00
CaIon 3eb7843b2e 完善个人中心 2023-11-21 16:35:51 +08:00
Calcium-Ion f439c4d553 Merge branch 'songquanpeng:main' into main 2023-10-30 16:12:09 +08:00
Bryan 58b6c88f7b fix: fix postgresql support (#606)
* fix postgresql support

fixes #517

* fix: fix pg support

* chore: delete useless code

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-10-22 18:38:29 +08:00
CaIon ba7e6324d3 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	README.md
#	go.mod
#	go.sum
#	model/log.go
#	web/src/App.js
#	web/src/components/ChannelsTable.js
2023-10-16 17:31:26 +08:00
JustSong 2a99fae102 fix: fix request count not updated correctly when using batch update 2023-10-14 15:04:52 +08:00
CaIon 57edbac346 feat: 删除无用功能 2023-09-10 01:13:12 +08:00
CaIon c0636950c0 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	controller/relay.go
#	main.go
#	middleware/distributor.go
2023-09-09 03:15:55 +08:00
JustSong fa0fedff5c chore: pass through error out 2023-09-03 21:31:58 +08:00
JustSong cf0ae05d50 feat: add batch update support (close #414) 2023-09-03 14:58:20 +08:00
CaIon 68b24da6a6 add epay 2023-08-14 22:16:32 +08:00
JustSong 393443dd16 Revert "fix: add lock when update quota (close #399)"
This reverts commit 7216aabedc.
2023-08-13 00:51:48 +08:00
JustSong 7216aabedc fix: add lock when update quota (close #399) 2023-08-12 18:25:18 +08:00
JustSong e4f7ac4089 feat: able to query logs now (close #144) 2023-06-24 15:28:11 +08:00
JustSong b7a89340e1 chore: format logs 2023-06-22 10:59:01 +08:00
JustSong a6cc0226a7 feat: able to display quota in dollar 2023-06-20 20:09:17 +08:00
JustSong f123eaf379 feat: support aff now (close #75) 2023-06-17 18:12:58 +08:00