1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 12:54:53 -05:00
forgejo/templates/user/settings
Lunny Xiao 767e9634d3
Allow options to disable user deletion from the interface on app.ini (#29275)
Extract from #20549

This PR added a new option on app.ini `[admin]USER_DISABLED_FEATURES` to
allow the site administrator to disable users visiting deletion user
interface or allow.
This options are also potentially allowed to define more features in
future PRs.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
(cherry picked from commit 3ef6252e06a1f3981f8b7d1717bfc581418b1dc5)

Conflicts:
	custom/conf/app.example.ini
	docs/content/administration/config-cheat-sheet.en-us.md
	modules/setting/admin.go
	context
2024-02-26 22:30:26 +01:00
..
security Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
account.tmpl Allow options to disable user deletion from the interface on app.ini (#29275) 2024-02-26 22:30:26 +01:00
actions.tmpl Support configuration variables on Gitea Actions (#24724) 2023-06-20 22:54:15 +00:00
appearance.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
applications.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
applications_oauth2.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
applications_oauth2_edit.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
applications_oauth2_edit_form.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
applications_oauth2_list.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
blocked_users.tmpl [MODERATION] User blocking 2024-02-05 15:56:45 +01:00
grants_oauth2.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
hook_new.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
hooks.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
keys.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
keys_gpg.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
keys_principal.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
keys_ssh.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
layout_footer.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
layout_head.tmpl Reduce margins on user settings page, introduce flex-container (#26046) 2023-07-31 07:16:03 +00:00
navbar.tmpl [MODERATION] User blocking 2024-02-05 15:56:45 +01:00
organization.tmpl Use "Safe" modifier for manually constructed safe HTML strings in templates (#29227) 2024-02-19 22:58:32 +01:00
packages.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
packages_cleanup_rules_edit.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
packages_cleanup_rules_preview.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
profile.tmpl Fix labels referencing the wrong ID in the user profile settings (#29199) 2024-02-17 23:24:32 +01:00
repos.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
runner_edit.tmpl Add user level action runners (#24995) 2023-05-31 09:39:54 +08:00