forgejo/routers/api/v1/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
..
blob.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
branch.go Move newbranch to standalone package (#9627) 2020-01-14 11:38:04 +08:00
collaborators.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
commits.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
file.go [API] Extend contents with dates (#9464) 2019-12-24 10:33:52 +08:00
fork.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
git_hook.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
git_ref.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
hook.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
hook_test.go
issue.go Restricted users (#6274) 2020-01-13 18:33:46 +01:00
issue_comment.go [API] Add "before" query to ListIssueComments and ListRepoIssue… (#9685) 2020-01-13 17:02:24 +01:00
issue_label.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
issue_reaction.go fix swagger description of reaction API (#9617) 2020-01-06 06:58:13 +02:00
issue_stopwatch.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
issue_subscription.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
issue_tracked_time.go Move tracked time api convert to convert package (#9665) 2020-01-10 21:59:41 -05:00
key.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
label.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
main_test.go
milestone.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
pull.go Add require signed commit for protected branch (#9708) 2020-01-15 09:32:57 +01:00
release.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
release_attachment.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
repo.go Restricted users (#6274) 2020-01-13 18:33:46 +01:00
repo_test.go
star.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
status.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
subscriber.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
tag.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
topic.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00
tree.go Swagger info corrections (#9441) 2019-12-20 19:07:12 +02:00