0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-30 01:29:52 +01:00
gitea/modules/doctor
Gusted 91b21473a6
Add username check to doctor (#20140)
* Add username check to doctor

- Add a new breaking change detector to Gitea's doctor, which checks if
all users still have a valid username according to Gitea. Given from
time-to-time we need to make changes, either due to new routes or due to
security, it's for a instance's admin to check if all users still have a
valid username.

* Fix extra argument

* Apply suggestions from code review

Co-authored-by: Jimmy Praet <jimmy.praet@telenet.be>

* Apply suggestions from code review

Co-authored-by: delvh <dev.lh@web.de>

Co-authored-by: Jimmy Praet <jimmy.praet@telenet.be>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: techknowlogick <matti@mdranta.net>
Co-authored-by: delvh <dev.lh@web.de>
2022-06-27 19:45:50 -04:00
..
authorizedkeys.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00
breaking.go Add username check to doctor (#20140) 2022-06-27 19:45:50 -04:00
checkOldArchives.go
dbconsistency.go Backtick table name in generic orphan check (#20019) 2022-06-19 07:26:22 +08:00
dbversion.go
doctor.go
fix16961_test.go
fix16961.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
mergebase.go Add doctor command to write commit-graphs (#20007) 2022-06-25 20:02:29 +01:00
misc.go Add doctor command to write commit-graphs (#20007) 2022-06-25 20:02:29 +01:00
paths.go
storage.go
usertype.go