gitea/modules/doctor
Gusted 91b21473a6
Add username check to doctor ()
* 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>
..
authorizedkeys.go
breaking.go Add username check to doctor ()
checkOldArchives.go
dbconsistency.go
dbversion.go
doctor.go
fix16961.go
fix16961_test.go
mergebase.go Add doctor command to write commit-graphs ()
misc.go Add doctor command to write commit-graphs ()
paths.go
storage.go
usertype.go