Commit Graph

8 Commits (704bdf89a2f4ede780e4ac3ed9599c4b975f316c)

Author SHA1 Message Date
zeripath eb748f5f3c
Add apply-patch, basic revert and cherry-pick functionality ()
This code adds a simple endpoint to apply patches to repositories and
branches on gitea. This is then used along with the conflicting checking
code in  to provide a basic implementation of cherry-pick revert.

Now because the buttons necessary for cherry-pick and revert have 
required us to create a dropdown next to the Browse Source button
I've also implemented Create Branch and Create Tag operations.

Fix  
Fix  

Signed-off-by: Andrew Thornton <art27@cantab.net>
a1012112796 f19da14c34
enhancement: add signoff option in commit form ()
Signed-off-by: a1012112796 <1012112796@qq.com>
6543 40e99ea010 [API] Extend contents with dates ()
* extend CommitTree func

* make sure Date NOT nil

* spell corection

Co-Authored-By: zeripath <art27@cantab.net>

* add TEST

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
zeripath 7ad67109d7
Be more strict with git arguments ()
* Be more strict with git arguments
* fix-up commit test
* use bindings for branch name
Richard Mahn cd96dee982 Fixes - API File Contents bug ()
Richard Mahn 002b597c1f Fixes - Allow create/update/delete message to be empty, use default message ()
* Fixes  - Allow create/update/delete message to be empty, use default message

* Linting fix

* Fix to delete integration tests
Richard Mahn 43cf2f3b55 Fixes - API Org Visibility ()
Lunny Xiao 34eee25bd4
Move sdk structs to modules/structs ()
* move sdk structs to moduels/structs

* fix tests

* fix fmt

* fix swagger

* fix vendor