forgejo/routers/repo
zeripath 0bfe5eb10b
Allow Protected Branches to Whitelist Deploy Keys (#8483)
Add an option to protected branches to add writing deploy keys to the whitelist for pushing.

Please note this is technically a breaking change: previously if the owner of a repository was on the whitelist then any writing deploy key was effectively on the whitelist. This option will now need to be set if that is desired.

Closes #8472 

Details:
* Allow Protected Branches to Whitelist Deploy Keys
* Add migration
* Ensure that IsDeployKey is set to false on the http pushes
* add not null default false
2019-10-21 09:21:45 +01:00
..
activity.go
attachment.go Enable Uploading/Removing Attachments When Editing an Issue/Comment (#8426) 2019-10-15 13:19:32 +01:00
blame.go
branch.go [Branch View] Add Included TAG (#8449) 2019-10-14 23:40:17 +01:00
commit.go Add pagination to commit graph page (#8360) 2019-10-14 22:38:35 +01:00
compare.go Bugfix for image compare and minor improvements to image compare (#8289) 2019-10-04 15:58:54 -04:00
download.go Add missed close in ServeBlobLFS (#8527) 2019-10-16 06:55:31 +01:00
editor.go Fix editor commit to new branch if PR disabled (#8375) 2019-10-05 10:09:19 +08:00
editor_test.go
http.go Allow Protected Branches to Whitelist Deploy Keys (#8483) 2019-10-21 09:21:45 +01:00
issue.go Enable Uploading/Removing Attachments When Editing an Issue/Comment (#8426) 2019-10-15 13:19:32 +01:00
issue_dependency.go
issue_label.go Move issue label operations to issue service package (#8553) 2019-10-19 12:48:29 +03:00
issue_label_test.go
issue_lock.go
issue_stopwatch.go
issue_timetrack.go
issue_watch.go
main_test.go
middlewares.go
milestone.go
pull.go Fix bug on pull requests when transfer head repository (#8564) 2019-10-18 19:13:31 +08:00
pull_review.go Fix review webhooks (#8570) 2019-10-18 16:33:19 +08:00
release.go Extract actions on deletereleasebyid from models to release service (#8219) 2019-10-01 00:10:00 +08:00
release_test.go
repo.go Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00
search.go
setting.go Move mirror to a standalone package from models (#7486) 2019-10-01 21:40:17 +08:00
setting_protected_branch.go Allow Protected Branches to Whitelist Deploy Keys (#8483) 2019-10-21 09:21:45 +01:00
settings_test.go
topic.go
view.go Allows external rendering of other filetypes 2 (#8300) 2019-10-21 07:54:18 +01:00
webhook.go Change general form binding to gogs form (#8334) 2019-10-02 20:58:40 +08:00
wiki.go Check for either escaped or unescaped wiki filenames (#8408) 2019-10-09 21:49:37 +03:00
wiki_test.go