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.
gitea/routers
zeripath b56d269cf8
Prevent NPE if trying to restore an already restored deleted branch (#21940) (#21944)
Backport #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
..
api Add support for HEAD requests in Maven registry (#21834) (#21929) 2 years ago
common Add support for HEAD requests in Maven registry (#21834) (#21929) 2 years ago
install Fix token generation when using INTERNAL_TOKEN_URI (#21669) (#21670) 2 years ago
private Refactor git command arguments and make all arguments to be safe to be used (#21535) 2 years ago
utils refactor webhook *NewPost (#20729) 3 years ago
web Prevent NPE if trying to restore an already restored deleted branch (#21940) (#21944) 2 years ago
init.go Sync git hooks when config file path changed (#21619) (#21626) 2 years ago