0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-26 17:34:11 -05:00
forgejo/web_src/js/features
wxiaoguang 7bcbdd0707
Add user status filter to admin user management page (#16770)
It makes Admin's life easier to filter users by various status.

* introduce window.config.PageData to pass template data to javascript module and small refactor

move legacy window.ActivityTopAuthors to window.config.PageData.ActivityTopAuthors
make HTML structure more IDE-friendly in footer.tmpl and head.tmpl
remove incorrect <style class="list-search-style"></style> in head.tmpl
use log.Error instead of log.Critical in admin user search

* use LEFT JOIN instead of SubQuery when admin filters users by 2fa. revert non-en locale.

* use OptionalBool instead of status map

* refactor SearchUserOptions.toConds to SearchUserOptions.toSearchQueryBase

* add unit test for user search

* only allow admin to use filters to search users
2021-10-12 20:11:35 +02:00
..
admin-users.js Add user status filter to admin user management page (#16770) 2021-10-12 20:11:35 +02:00
clipboard.js Replace clipboard.js with async clipboard api (#15899) 2021-05-30 20:15:57 +01:00
codeeditor.js Monaco improvements (#15333) 2021-04-08 17:53:00 +08:00
colorpicker.js Move jquery-minicolors to npm/webpack (#12305) 2020-07-29 14:44:23 -04:00
contextpopup.js Do not show issue context popup on external issues (#17050) 2021-09-15 09:45:27 +01:00
dropzone.js Fix Dropzone following #15315 (#15353) 2021-04-09 10:32:30 +08:00
emoji.js Add custom emoji support (#16004) 2021-06-29 16:28:38 +02:00
eventsource.sharedworker.js Update JS dependencies (#16708) 2021-08-17 01:32:48 -04:00
gitgraph.js Add fullTextSearch to dropdowns by default (#14694) 2021-02-16 11:03:32 +08:00
heatmap.js Fix heatmap activity (#15252) 2021-06-25 12:59:25 -04:00
imagediff.js Add Image Diff for SVG files (#14867) 2021-06-05 15:32:19 +03:00
issue-content-history.js Save and view issue/comment content history (#16909) 2021-10-10 18:40:03 -04:00
lastcommitloader.js Defer Last Commit Info (#16467) 2021-10-08 15:08:22 +02:00
migration.js Add LFS Migration and Mirror (#14726) 2021-04-08 18:25:57 -04:00
notification.js Update JS dependencies (#16708) 2021-08-17 01:32:48 -04:00
projects.js Kanban colored boards (#16647) 2021-09-29 22:53:12 +02:00
serviceworker.js Remove spurious AppSubUrl in serviceworker request. (#16047) 2021-06-08 18:46:13 +01:00
stopwatch.js Update JS dependencies (#16708) 2021-08-17 01:32:48 -04:00
tablesort.js
tribute.js Do not show No match found for tribute (#16231) 2021-06-23 19:02:23 -04:00