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.
zeripath d7f12af805
Prevent NPE if trying to restore an already restored deleted branch (#21940)
If a deleted-branch has already been restored, a request to restore it
again will cause a NPE. This PR adds detection for this case, but also
disables buttons when they're clicked in order to help prevent
accidental repeat requests.

Fix #21930

Signed-off-by: Andrew Thornton <art27@cantab.net>
2 years ago
..
admin Revert unrelated changes for SMTP auth (#21767) 2 years ago
auth Add option to enable CAPTCHA validation for login (#21638) 2 years ago
events Improve Stopwatch behavior (#18930) 2 years ago
explore Add `context.Context` to more methods (#21546) 2 years ago
feed Fix setting HTTP headers after write (#21833) 2 years ago
healthcheck Update go-chi/cache to utilize Ping() (#19719) 2 years ago
misc Fix panic in team repos API (#19431) 2 years ago
org Add package registry cleanup rules (#21658) 2 years ago
repo Prevent NPE if trying to restore an already restored deleted branch (#21940) 2 years ago
shared/packages Add package registry cleanup rules (#21658) 2 years ago
user Add support for HEAD requests in Maven registry (#21834) 2 years ago
auth.go Remove legacy `+build:` constraint (#19582) 2 years ago
auth_windows.go Let web and API routes have different auth methods group (#19168) 2 years ago
base.go Share HTML template renderers and create a watcher framework (#20218) 2 years ago
goget.go Refactor legacy `unknwon/com` package, improve golangci lint (#19284) 2 years ago
home.go Add `context.Context` to more methods (#21546) 2 years ago
metrics.go Update HTTP status codes to modern codes (#18063) 2 years ago
nodeinfo.go Add nodeinfo endpoint for federation purposes (#16953) 3 years ago
swagger_json.go Refactor routers directory (#15800) 3 years ago
web.go Allow disable RSS/Atom feed (#21622) 2 years ago
webfinger.go Fix various typos (#20338) 2 years ago