gitea/routers/api/v1
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>
..
admin format with gofumpt ()
misc format with gofumpt ()
notify Simplify parameter types ()
org Add `GetUserTeams` ()
repo Add apply-patch, basic revert and cherry-pick functionality ()
settings Make mirror feature more configurable ()
swagger Add API to get issue/pull comments and events (timeline) ()
user API: Return primary language and repository language stats API URL ()
utils format with gofumpt ()
api.go Add apply-patch, basic revert and cherry-pick functionality ()