forgejo/modules/doctor
Gusted af8b2250c4
Prevent dangling user redirects (#21856) (#21858)
- Backport #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:25:00 +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 Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2022-10-24 20:29:17 +01:00
checkOldArchives.go
dbconsistency.go Prevent dangling user redirects (#21856) (#21858) 2022-11-18 22:25:00 +08:00
dbversion.go
doctor.go Fix git.Init for doctor sub-command (#20782) 2022-08-14 00:33:18 +08:00
fix16961.go
fix16961_test.go
heads.go Prevent panic in doctor command when running default checks (#21791) (#21807) 2022-11-14 10:58:32 +08:00
mergebase.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2022-10-24 20:29:17 +01:00
misc.go Replace all instances of fmt.Errorf(%v) with fmt.Errorf(%w) (#21551) 2022-10-24 20:29:17 +01: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
usertype.go Move some files into models' sub packages (#20262) 2022-08-25 10:31:57 +08:00