zeripath
1dbc58f742
More pleasantly handle broken or missing git repositories ( #17747 )
...
* More pleasantly handle broken or missing git repositories
In #17742 it was noted that there a completely invalid git repository underlying a
repo on gitea.com. This happened due to a problem during a migration however, it
is not beyond the realms of possibility that a corruption could occur to another
user.
This PR adds a check to RepoAssignment that will detect if a repository loading has
failed due to an absent git repository. It will then show a page suggesting the user
contacts the administrator or deletes the repository.
Fix #17742
Signed-off-by: Andrew Thornton <art27@cantab.net >
* Update options/locale/locale_en-US.ini
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
Co-authored-by: techknowlogick <techknowlogick@gitea.io >
2021-11-22 22:32:16 +00:00
..
2021-11-19 01:42:27 +08:00
2021-11-16 18:18:25 +00:00
2021-11-21 23:41:00 +08:00
2021-11-08 23:47:19 +01:00
2021-11-22 20:20:16 +08:00
2021-11-21 23:41:00 +08:00
2021-11-22 04:47:23 -05:00
2021-11-19 21:39:57 +08:00
2021-11-09 20:57:58 +01:00
2021-11-17 20:34:35 +08:00
2021-11-22 04:47:23 -05:00
2021-11-21 23:41:00 +08:00
2021-11-22 23:21:55 +08:00
2021-11-22 23:21:55 +08:00
2021-11-16 16:53:21 +08:00
2021-11-19 19:41:40 +08:00
2021-11-17 20:34:35 +08:00
2021-11-21 23:41:00 +08:00
2021-11-17 20:34:35 +08:00
2021-11-16 18:18:25 +00:00
2021-11-17 20:34:35 +08:00
2021-11-19 01:42:27 +08:00
2021-11-12 22:36:47 +08:00
2021-11-20 17:34:05 +08:00
2021-11-12 22:36:47 +08:00
2021-11-11 15:03:30 +08:00
2021-11-16 16:53:21 +08:00
2021-11-11 15:03:30 +08:00
2021-11-18 09:33:06 +08:00
2021-11-19 21:39:57 +08:00
2021-11-19 21:39:57 +08:00
2021-11-17 20:34:35 +08:00
2021-11-21 23:41:00 +08:00
2021-11-17 20:34:35 +08:00
2021-11-21 23:41:00 +08:00
2021-11-17 20:34:35 +08:00
2021-11-21 23:41:00 +08:00
2021-11-16 16:53:21 +08:00
2021-11-19 21:39:57 +08:00
2021-11-19 21:39:57 +08:00
2021-11-16 16:53:21 +08:00
2021-11-21 23:41:00 +08:00
2021-11-16 16:53:21 +08:00
2021-11-21 23:41:00 +08:00
2021-11-16 16:53:21 +08:00
2021-11-21 17:11:48 +08:00
2021-11-17 20:34:35 +08:00
2021-11-17 20:34:35 +08:00
2021-11-19 21:39:57 +08:00
2021-11-17 20:34:35 +08:00
2021-11-17 20:34:35 +08:00
2021-11-19 21:39:57 +08:00
2021-11-19 21:39:57 +08:00
2021-11-22 20:20:16 +08:00
2021-11-21 23:41:00 +08:00
2021-11-21 23:41:00 +08:00
2021-11-16 16:53:21 +08:00
2021-11-21 23:41:00 +08:00
2021-11-17 20:34:35 +08:00
2021-11-21 23:41:00 +08:00
2021-11-17 20:34:35 +08:00
2021-11-21 23:41:00 +08:00
2021-11-22 21:51:45 +08:00
2021-11-22 23:21:55 +08:00
2021-11-21 23:41:00 +08:00
2021-11-21 23:41:00 +08:00
2021-11-12 22:36:47 +08:00
2021-11-21 23:41:00 +08:00
2021-11-12 22:36:47 +08:00
2021-11-17 20:34:35 +08:00
2021-11-21 23:41:00 +08:00
2021-11-19 21:39:57 +08:00
2021-11-21 23:41:00 +08:00
2021-11-17 20:34:35 +08:00
2021-11-21 23:41:00 +08:00
2021-11-10 13:13:16 +08:00
2021-11-17 20:34:35 +08:00
2021-11-09 20:57:58 +01:00
2021-11-21 23:41:00 +08:00
2021-11-16 16:53:21 +08:00
2021-11-21 23:41:00 +08:00
2021-11-17 20:34:35 +08:00
2021-11-21 23:41:00 +08:00
2021-11-12 22:36:47 +08:00
2021-11-17 20:34:35 +08:00
2021-11-19 21:39:57 +08:00
2021-11-17 20:34:35 +08:00
2021-11-21 23:41:00 +08:00
2021-11-09 20:57:58 +01:00
2021-11-16 16:53:21 +08:00
2021-11-21 23:41:00 +08:00
2021-11-22 22:32:16 +00:00
2021-11-17 20:34:35 +08:00
2021-11-21 23:41:00 +08:00
2021-11-21 23:41:00 +08:00
2021-11-17 20:34:35 +08:00
2021-11-17 20:34:35 +08:00
2021-11-21 23:41:00 +08:00
2021-11-21 23:41:00 +08:00
2021-11-22 23:21:55 +08:00
2021-11-22 23:21:55 +08:00
2021-11-19 21:39:57 +08:00
2021-11-21 23:41:00 +08:00
2021-11-17 20:34:35 +08:00
2021-11-18 09:33:06 +08:00
2021-11-21 23:41:00 +08:00
2021-11-21 23:41:00 +08:00
2021-11-22 23:21:55 +08:00
2021-11-18 09:33:06 +08:00
2021-11-22 23:21:55 +08:00
2021-11-16 16:53:21 +08:00
2021-11-22 23:21:55 +08:00
2021-11-22 23:21:55 +08:00
2021-11-19 19:41:40 +08:00
2021-11-16 16:53:21 +08:00