-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Add user status filter to admin user management page #16770
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 37 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
d5adeee
Admin can filter user list by status
wxiaoguang 0b2604b
introduce window.config.PageData to pass template data to javascript …
wxiaoguang 921e3d8
Merge branch 'main' into admin-user-list-filter
wxiaoguang dbf21d2
revert ActivityTopAuthors related changes, maybe a new PR is needed
wxiaoguang 3f2a934
Merge branch 'admin-user-list-filter' of github.com:wxiaoguang/gitea …
wxiaoguang 30f7430
use LEFT JOIN instead of SubQuery when admin filters users by 2fa. re…
wxiaoguang 79a2be0
Merge remote-tracking branch 'go-gitea/main' into admin-user-list-filter
wxiaoguang 6ec918e
use OptionalBool instead of status map
wxiaoguang e133612
refactor SearchUserOptions.toConds to SearchUserOptions.toSearchQuery…
wxiaoguang 86a245a
add unit test for user search
wxiaoguang eba00ca
Merge branch 'main' into admin-user-list-filter
wxiaoguang 5cf8f29
Merge branch 'main' into admin-user-list-filter
wxiaoguang 3296672
only allow admin to use filters to search users
wxiaoguang 21869fa
Merge branch 'main' into admin-user-list-filter
wxiaoguang f6f06f2
reformat
wxiaoguang df32fb4
fix search query: Where and Join
wxiaoguang 3e9a588
Merge branch 'main' into admin-user-list-filter
wxiaoguang 9ddc61c
Merge branch 'main' into admin-user-list-filter
wxiaoguang db75013
Merge branch 'main' into admin-user-list-filter
wxiaoguang 89b3564
fix merge conflict
wxiaoguang a660168
Merge branch 'main' into admin-user-list-filter
wxiaoguang 6bf9c07
fix merge
wxiaoguang a0a963a
fix unit test
wxiaoguang 2148ce5
refactor
wxiaoguang 1fe17b3
Merge branch 'main' into admin-user-list-filter
wxiaoguang 892613d
fix lint
wxiaoguang d76cd6d
fix sort order
wxiaoguang 96cc571
fix sql table name quote, clean up
wxiaoguang 1806f1a
only query fields of `user` table
wxiaoguang 508fded
Merge branch 'main' into admin-user-list-filter
wxiaoguang 7f35e9c
clean
wxiaoguang a2bbf4c
fix comment and lint
wxiaoguang 8b4c540
clean and try unit test for mssql
wxiaoguang c8c5263
Merge branch 'main' into admin-user-list-filter
wxiaoguang 65c2378
Merge branch 'main' into admin-user-list-filter
wxiaoguang fb92420
Merge branch 'main' into admin-user-list-filter
wxiaoguang 821685e
Merge branch 'main' into admin-user-list-filter
6543 c0a5a39
refactor
wxiaoguang 4b90372
Merge branch 'main' into admin-user-list-filter
wxiaoguang 31135e5
Merge branch 'main' into admin-user-list-filter
lunny File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -524,6 +524,7 @@ | |
avatar_email: [email protected] | ||
num_repos: 2 | ||
is_active: true | ||
prohibit_login: true | ||
|
||
- | ||
id: 31 | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.