forgejo-federation/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 docs: swagger show models by default (#14880) 2021-03-07 22:19:14 +01:00
vendor Restore Accessibility for Dropdown (#16576) 2021-08-06 01:16:24 +03:00
easymde.js Switch from SimpleMDE to EasyMDE (#13333) 2020-11-10 14:16:30 -05:00
index.js Add user status filter to admin user management page (#16770) 2021-10-12 20:11:35 +02:00
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 2020-04-18 18:46:29 -04:00
publicpath.js Unregister non-matching serviceworkers (#15834) 2021-05-12 20:36:53 +02:00
serviceworker.js Fix serviceworker output file and misc improvements (#11562) 2020-05-24 08:36:40 +01:00
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 Unregister non-matching serviceworkers (#15834) 2021-05-12 20:36:53 +02:00