forgejo/web_src/js
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
..
code Fix and restyle menu on code line (#15913) 2021-05-18 23:16:02 -04:00
components Actually compute proper foreground color for labels (#16729) 2021-08-25 12:55:47 -05:00
features Add user status filter to admin user management page (#16770) 2021-10-12 20:11:35 +02:00
markup Keep attachments on tasklist update (#16750) 2021-08-20 15:26:19 -04:00
standalone
vendor Restore Accessibility for Dropdown (#16576) 2021-08-06 01:16:24 +03:00
easymde.js
index.js Add user status filter to admin user management page (#16770) 2021-10-12 20:11:35 +02:00
jquery.js
publicpath.js
serviceworker.js
svg.js Save and view issue/comment content history (#16909) 2021-10-10 18:40:03 -04:00
utils.js Use light/dark theme based on system preference (#17051) 2021-09-27 15:47:44 +01:00
utils.test.js