forgejo/modules/doctor
Gusted 20385b52a3
Prevent dangling user redirects (#21856)
- It's possible that the `user_redirect` table contains a user id that
no longer exists.
- Delete a user redirect upon deleting the user.
- Add a check for these dangling user redirects to check-db-consistency.
2022-11-18 22:23:34 +08:00
..
authorizedkeys.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2022-10-24 20:29:17 +01:00
breaking.go Merge db.Iterate and IterateObjects (#21641) 2022-10-31 23:51:14 +08:00
checkOldArchives.go
dbconsistency.go Prevent dangling user redirects (#21856) 2022-11-18 22:23:34 +08:00
dbversion.go
doctor.go
fix16961.go Merge db.Iterate and IterateObjects (#21641) 2022-10-31 23:51:14 +08:00
fix16961_test.go
heads.go Prevent panic in doctor command when running default checks (#21791) 2022-11-13 20:45:20 +00:00
mergebase.go Merge db.Iterate and IterateObjects (#21641) 2022-10-31 23:51:14 +08:00
misc.go Merge db.Iterate and IterateObjects (#21641) 2022-10-31 23:51:14 +08:00
paths.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2022-10-24 20:29:17 +01:00
storage.go Adjust gitea doctor --run storages to check all storage types (#21785) 2022-11-15 16:08:59 +08:00
usertype.go