forgejo/modules/auth
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
..
ldap
oauth2
openid
pam
sso
admin.go
auth.go
auth_form.go
org.go
repo_branch_form.go
repo_form.go Add require signed commit for protected branch (#9708) 2020-01-15 09:32:57 +01:00
repo_form_test.go
user_form.go
user_form_auth_openid.go
user_form_test.go