You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/templates
Rowan Bohde 1ee59f0fa3
Allow disabling authentication related user features (#31535)
We have some instances that only allow using an external authentication
source for authentication. In this case, users changing their email,
password, or linked OpenID connections will not have any effect, and
we'd like to prevent showing that to them to prevent confusion.

Included in this are several changes to support this:
* A new setting to disable user managed authentication credentials
(email, password & OpenID connections)
* A new setting to disable user managed MFA (2FA codes & WebAuthn)
* Fix an issue where some templates had separate logic for determining
if a feature was disabled since it didn't check the globally disabled
features
* Hide more user setting pages in the navbar when their settings aren't
enabled

---------

Co-authored-by: Kyle D <kdumontnu@gmail.com>
7 months ago
..
admin Add cache test for admins (#31265) 8 months ago
api/packages/pypi Fix links in PyPI Simple Repository API page (#30594) 10 months ago
base Refactor repo unit "disabled" check (#31389) 8 months ago
custom
devtest Make toast support preventDuplicates (#31501) 7 months ago
explore Refactor web routes (#30519) 10 months ago
mail Remove unnecessary SanitizeHTML from code (#29575) 11 months ago
org Right align the "Settings" menu item in overflow-menu (#30764) 9 months ago
package Extract and display readme and comments for Composer packages (#30927) 8 months ago
projects Replace `gt-word-break` with `tw-break-anywhere` (#31183) 8 months ago
repo Don't show hidden labels when filling out an issue template (#31576) 7 months ago
shared Improve detecting empty files (#31332) 8 months ago
status Simplify 404/500 page (#31409) 7 months ago
swagger Allow force push to protected branches (#28086) 7 months ago
user Allow disabling authentication related user features (#31535) 7 months ago
webhook Fix incorrect tailwind migration (#30007) 10 months ago
home.tmpl Migrate margin and padding helpers to tailwind (#30043) 10 months ago
install.tmpl Fix some UI problems (install/checkbox) (#30854) 9 months ago
post-install.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago