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 e4e411821d
Abort merge if head has been updated before pressing merge (#18032)
* Abort merge if head has been updated before pressing merge

It is possible that a PR head may be pushed to between the merge page being shown
and the merge button being pressed. Pass the current expected head in as a parameter
and cancel the merge if it has changed.

Fix #18028

Signed-off-by: Andrew Thornton <art27@cantab.net>

* adjust swagger

Signed-off-by: Andrew Thornton <art27@cantab.net>

* fix test

Signed-off-by: Andrew Thornton <art27@cantab.net>

* placate lint

Signed-off-by: Andrew Thornton <art27@cantab.net>
3 years ago
..
admin Add Option to synchronize Admin & Restricted states from OIDC/OAuth2 along with Setting Scopes (#16766) 3 years ago
dev Move user related model into models/user (#17781) 3 years ago
events Move login related structs and functions to models/login (#17093) 3 years ago
explore Move repository model into models/repo (#17933) 3 years ago
feed Move user related model into models/user (#17781) 3 years ago
org Some repository refactors (#17950) 3 years ago
repo Abort merge if head has been updated before pressing merge (#18032) 3 years ago
user Reset locale on login (#18023) 3 years ago
base.go Fix nil checking on typed interface (#17598) 3 years ago
goget.go Refactor HTTP request context (#17979) 3 years ago
home.go Refactor routers directory (#15800) 3 years ago
metrics.go Refactor routers directory (#15800) 3 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 Support open compare page directly (#17975) 3 years ago