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/routers/web/repo
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>
8 months ago
..
actions Refactor names (#31405) 8 months ago
setting Allow disabling authentication related user features (#31535) 8 months ago
activity.go Refactor names (#31405) 8 months ago
attachment.go Refactor names (#31405) 8 months ago
blame.go Improve detecting empty files (#31332) 9 months ago
branch.go Use repo object format name instead of detecting from git repository (#29702) 12 months ago
cherry_pick.go Refactor names (#31405) 8 months ago
code_frequency.go Move context from modules to services (#29440) 1 year ago
commit.go Refactor names (#31405) 8 months ago
compare.go Refactor names (#31405) 8 months ago
contributors.go Fix Activity Page Contributors dropdown (#31264) 9 months ago
download.go Refactor names (#31405) 8 months ago
editor.go Add missed return after `ctx.ServerError` (#31130) 9 months ago
editor_test.go Refactor names (#31405) 8 months ago
find.go Refactor names (#31405) 8 months ago
fork.go Use db.ListOptionsAll instead of db.ListOptions{ListAll: true} (#29995) 11 months ago
githttp.go Refactor names (#31405) 8 months ago
githttp_test.go Fix http protocol auth (#27875) 1 year ago
helper.go Move context from modules to services (#29440) 1 year ago
helper_test.go Make web context initialize correctly for different cases (#26726) 2 years ago
issue.go Refactor names (#31405) 8 months ago
issue_content_history.go Remove unnecessary inline style for tab-size (#31224) 9 months ago
issue_dependency.go Refactor names (#31405) 8 months ago
issue_label.go Refactor label.IsArchived() (#29750) 12 months ago
issue_label_test.go Move context from modules to services (#29440) 1 year ago
issue_lock.go Move context from modules to services (#29440) 1 year ago
issue_pin.go Refactor names (#31405) 8 months ago
issue_stopwatch.go Move context from modules to services (#29440) 1 year ago
issue_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
issue_timetrack.go Refactor names (#31405) 8 months ago
issue_watch.go Move context from modules to services (#29440) 1 year ago
main_test.go make writing main test easier (#27270) 1 year ago
middlewares.go Move context from modules to services (#29440) 1 year ago
migrate.go Move context from modules to services (#29440) 1 year ago
milestone.go Refactor names (#31405) 8 months ago
packages.go Remove AddParamIfExist(AddParam) (#29841) 11 months ago
patch.go Move context from modules to services (#29440) 1 year ago
projects.go Refactor names (#31405) 8 months ago
projects_test.go Refactor names (#31405) 8 months ago
pull.go Refactor names (#31405) 8 months ago
pull_review.go Prevent allow/reject reviews on merged/closed PRs (#30686) 10 months ago
pull_review_test.go Fix template error when comment review doesn't exist (#29888) 11 months ago
recent_commits.go Move context from modules to services (#29440) 1 year ago
release.go Refactor names (#31405) 8 months ago
release_test.go Move context from modules to services (#29440) 1 year ago
render.go Fix rendered wiki page link (#31398) 8 months ago
repo.go Refactor names (#31405) 8 months ago
search.go Improve grep search (#30843) 10 months ago
search_test.go Improve grep search (#30843) 10 months ago
topic.go Move context from modules to services (#29440) 1 year ago
treelist.go Move context from modules to services (#29440) 1 year ago
view.go Refactor names (#31405) 8 months ago
view_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
wiki.go Fix rendered wiki page link (#31398) 8 months ago
wiki_test.go Refactor names (#31405) 8 months ago