gitea/routers/web/admin
Lunny Xiao 86c85c19b6
Refactor AssertExistsAndLoadBean to use generics (#20797)
* Refactor AssertExistsAndLoadBean to use generics

* Fix tests

Co-authored-by: zeripath <art27@cantab.net>
2022-08-16 10:22:25 +08:00
..
admin_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
admin.go Make better use of i18n (#20096) 2022-06-26 22:19:22 +08:00
auths.go Rework mailer settings (#18982) 2022-08-02 13:24:18 +08:00
emails.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
hooks.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
main_test.go Use a struct as test options (#19393) 2022-04-14 21:58:21 +08:00
notice.go Update HTTP status codes to modern codes (#18063) 2022-03-23 12:54:07 +08:00
orgs.go Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
packages.go Hide internal package versions (#20492) 2022-07-27 09:59:10 +08:00
repos.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
users_test.go Refactor AssertExistsAndLoadBean to use generics (#20797) 2022-08-16 10:22:25 +08:00
users.go Add option to purge users (#18064) 2022-07-14 08:22:09 +01:00