1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/routers
6543 505e456f26
Protect default branch against deletion (#11115)
Although default branch is not offered for deletion in the templates, we need to prevent it both at the router level and in the pre-receive hook.

Co-authored-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
2020-05-06 12:08:45 +01:00
..
admin Users should not be able to prohibit their own login (#10970) 2020-04-06 10:23:15 -04:00
api/v1 API: Add pull review endpoints (#11224) 2020-05-02 03:20:51 +03:00
dev Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
org Add Organization Wide Labels (#10814) 2020-04-01 01:14:46 -03:00
private Protect default branch against deletion (#11115) 2020-05-06 12:08:45 +01:00
repo Protect default branch against deletion (#11115) 2020-05-06 12:08:45 +01:00
routes Allow unauthenticated users to compare (#11240) 2020-05-04 19:44:30 -03:00
user Refactor UpdateOAuth2Application (#11034) 2020-04-30 18:50:47 +01:00
utils Handle push rejection message in Merge & Web Editor (#10373) 2020-02-22 15:08:48 +02:00
home.go Add detected file language to code search (#10256) 2020-02-20 16:53:55 -03:00
init.go Language statistics bar for repositories (#8037) 2020-02-11 11:34:17 +02:00
install.go Add support for database schema in PostgreSQL (#8819) 2020-01-20 16:45:14 +01:00
metrics.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
swagger_json.go Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00