forgejo/routers/web/admin
Jason Song e902b98cc2
Set disable_gravatar/enable_federated_avatar when offline mode is true () ()
Backport .

When offline mode is true, we should set `disable_gravatar` to `true`
and `enable_federated_avatar` to `false` in system settings.
2023-01-18 10:30:34 -06:00
..
admin.go Add system setting table with cache and also add cache supports for user setting () 2022-10-17 07:29:26 +08:00
admin_test.go format with gofumpt () 2022-01-20 18:46:10 +01:00
applications.go Support instance-wide OAuth2 applications () 2022-10-12 22:08:29 +08:00
auths.go Revert unrelated changes for SMTP auth () () 2022-11-10 16:11:56 -05:00
config.go Set disable_gravatar/enable_federated_avatar when offline mode is true () () 2023-01-18 10:30:34 -06:00
emails.go Renamed ctx.User to ctx.Doer. () 2022-03-22 15:03:22 +08:00
hooks.go Move almost all functions' parameter db.Engine to context.Context () 2022-05-20 22:08:52 +08:00
main_test.go Use a struct as test options () 2022-04-14 21:58:21 +08:00
notice.go Add system setting table with cache and also add cache supports for user setting () 2022-10-17 07:29:26 +08:00
orgs.go Renamed ctx.User to ctx.Doer. () 2022-03-22 15:03:22 +08:00
packages.go Hide internal package versions () 2022-07-27 09:59:10 +08:00
repos.go Move some files into models' sub packages () 2022-08-25 10:31:57 +08:00
users.go Redirect if user does not exist () 2022-08-29 15:44:39 +02:00
users_test.go Refactor AssertExistsAndLoadBean to use generics () 2022-08-16 10:22:25 +08:00