You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/repofiles
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>
5 years ago
..
action.go Don't attempt to close issue if already closed (#9696) 5 years ago
action_test.go Move push commits from models to modules/repository (#9370) 5 years ago
blob.go Add Close() method to gogitRepository (#8901) 5 years ago
blob_test.go Add Close() method to gogitRepository (#8901) 5 years ago
commit.go Number of commits ahead/behind in branch overview (#6695) 5 years ago
commit_status.go Add Close() method to gogitRepository (#8901) 5 years ago
content.go Add Close() method to gogitRepository (#8901) 5 years ago
content_test.go Add Close() method to gogitRepository (#8901) 5 years ago
delete.go Add require signed commit for protected branch (#9708) 5 years ago
diff.go Move git diff codes from models to services/gitdiff (#7889) 5 years ago
diff_test.go Expand/Collapse Files and Blob Excerpt while Reviewing/Comparing code (#8924) 5 years ago
file.go File Edit: Author/Committer interchanged [BugFix] (#9297) 5 years ago
file_test.go Add Close() method to gogitRepository (#8901) 5 years ago
repofiles.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 5 years ago
repofiles_test.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 5 years ago
temp_repo.go Add require signed commit for protected branch (#9708) 5 years ago
tree.go fixed bug in GitTreeBySHA where pulling items from a page other than page 1 would fail because the wrong var was used to set the entries to return (#9459) 5 years ago
tree_test.go Add Close() method to gogitRepository (#8901) 5 years ago
update.go Add require signed commit for protected branch (#9708) 5 years ago
upload.go Prevent upload (overwrite) of lfs locked file (#8769) 5 years ago
verification.go Sign merges, CRUD, Wiki and Repository initialisation with gpg key (#7631) 5 years ago