You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/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>
2 years ago
..
authorizedkeys.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2 years ago
breaking.go Add username check to doctor (#20140) 2 years ago
checkOldArchives.go Use `ctx` instead of `db.DefaultContext` in some packages(routers/services/modules) (#19163) 2 years ago
dbconsistency.go Backtick table name in generic orphan check (#20019) 2 years ago
dbversion.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
doctor.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
fix16961.go Add more linters to improve code readability (#19989) 2 years ago
fix16961_test.go Move repository model into models/repo (#17933) 3 years ago
mergebase.go Add doctor command to write commit-graphs (#20007) 2 years ago
misc.go Add doctor command to write commit-graphs (#20007) 2 years ago
paths.go format with gofumpt (#18184) 2 years ago
storage.go Propagate context and ensure git commands run in request context (#17868) 2 years ago
usertype.go Propagate context and ensure git commands run in request context (#17868) 2 years ago