forgejo/modules/context
zeripath 66ee9b87f9 Add require signed commit for protected branch (#9708)
* Add require signed commit for protected branch

* Fix fmt

* Make editor show if they will be signed

* bugfix

* Add basic merge check and better information for CRUD

* linting comment

* Add descriptors to merge signing

* Slight refactor

* Slight improvement to appearances

* Handle Merge API

* manage CRUD API

* Move error to error.go

* Remove fix to delete.go

* prep for merge

* need to tolerate \r\n in message

* check protected branch before trying to load it

* Apply suggestions from code review

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

* fix commit-reader

Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
2020-01-15 09:32:57 +01:00
..
api.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
api_org.go
api_test.go fix API link header (#7298) 2019-06-26 16:51:32 +08:00
auth.go Use Req.URL.RequestURI() to cope with FCGI urls (#9473) 2019-12-24 00:11:12 +00:00
context.go Prevent redirect to Host (#9678) 2020-01-09 16:34:25 -05:00
org.go Team permission to create repository in organization (#8312) 2019-11-20 19:27:49 +08:00
pagination.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
panic.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
permission.go Use Req.URL.RequestURI() to cope with FCGI urls (#9473) 2019-12-24 00:11:12 +00:00
repo.go Add require signed commit for protected branch (#9708) 2020-01-15 09:32:57 +01:00