1
0
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 01:35:54 +01:00
gitea/modules/repository
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
..
branch.go Move newbranch to standalone package (#9627) 2020-01-14 11:38:04 +08:00
commits_test.go Move push commits from models to modules/repository (#9370) 2020-01-10 17:34:21 +08:00
commits.go Move push commits from models to modules/repository (#9370) 2020-01-10 17:34:21 +08:00
create_test.go Move create/fork repository from models to modules/repository (#9489) 2020-01-12 20:11:17 +08:00
create.go Move create/fork repository from models to modules/repository (#9489) 2020-01-12 20:11:17 +08:00
fork_test.go Move create/fork repository from models to modules/repository (#9489) 2020-01-12 20:11:17 +08:00
fork.go Move create/fork repository from models to modules/repository (#9489) 2020-01-12 20:11:17 +08:00
generate.go Move create/fork repository from models to modules/repository (#9489) 2020-01-12 20:11:17 +08:00
init.go Add require signed commit for protected branch (#9708) 2020-01-15 09:32:57 +01:00
main_test.go Move push commits from models to modules/repository (#9370) 2020-01-10 17:34:21 +08:00
repo.go Move create/fork repository from models to modules/repository (#9489) 2020-01-12 20:11:17 +08:00