gitea/routers/repo
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
..
activity.go
attachment.go
blame.go
branch.go Move newbranch to standalone package (#9627) 2020-01-14 11:38:04 +08:00
commit.go
compare.go Add owner_name column for table repository for maintaince reason (#9717) 2020-01-12 17:36:21 +08:00
download.go
editor_test.go
editor.go Add require signed commit for protected branch (#9708) 2020-01-15 09:32:57 +01:00
http.go
issue_dependency.go
issue_label_test.go
issue_label.go Move create/fork repository from models to modules/repository (#9489) 2020-01-12 20:11:17 +08:00
issue_lock.go
issue_stopwatch.go
issue_timetrack.go
issue_watch.go
issue.go Add require signed commit for protected branch (#9708) 2020-01-15 09:32:57 +01:00
lfs.go
main_test.go
middlewares.go
milestone.go
pull_review.go Mark PR reviews as stale at push and allow to dismiss stale approvals (#9532) 2020-01-09 01:47:45 +00:00
pull.go Allow repo admin to merge PR regardless of review status (#9611) 2020-01-11 02:29:34 -05:00
release_test.go
release.go
repo.go Fix wrong original git service type on a migrated repository (#9693) 2020-01-10 23:35:17 +08:00
search.go
setting_protected_branch.go Add require signed commit for protected branch (#9708) 2020-01-15 09:32:57 +01:00
setting.go
settings_test.go
topic.go
view.go
webhook.go
wiki_test.go
wiki.go