gitea/routers/web
Jack Hay 59d4aadba5
Add setting to disable user features when user login type is not plain ()
## Changes
- Adds setting `EXTERNAL_USER_DISABLE_FEATURES` to disable any supported
user features when login type is not plain
- In general, this is necessary for SSO implementations to avoid
inconsistencies between the external account management and the linked
account
- Adds helper functions to encourage correct use
..
admin Use db.ListOptionsAll instead of db.ListOptions{ListAll: true} ()
auth Refactor external URL detection ()
devtest Move context from modules to services ()
events Move context from modules to services ()
explore Refactor topic Find functions and add more tests for pagination ()
feed Rename Str2html to SanitizeHTML and clarify its behavior ()
healthcheck Always enable caches ()
misc Move context from modules to services ()
org Add default board to new projects, remove uncategorized pseudo-board ()
repo Refactor topic Find functions and add more tests for pagination ()
shared Add API for `Variables` ()
user Add setting to disable user features when user login type is not plain ()
base.go Fix panic in storageHandler ()
githttp.go Move context from modules to services ()
goget.go Move context from modules to services ()
home.go migrate some more "OptionalBool" to "Option[bool]" ()
metrics.go Implement FSFE REUSE for golang files ()
nodeinfo.go Move context from modules to services ()
passkey.go Move context from modules to services ()
swagger_json.go Move context from modules to services ()
web.go Add default board to new projects, remove uncategorized pseudo-board ()
webfinger.go Move context from modules to services ()