summaryrefslogtreecommitdiffstats
path: root/routers/web/repo/patch.go
Commit message (Collapse)AuthorAgeFilesLines
* Redirect to the commit page after applying patch (#23056)yp053272023-02-241-6/+4
| | | | | Fixes https://github.com/go-gitea/gitea/issues/22621
* Fix commit name in Apply Patch page (#23086)yp053272023-02-231-0/+3
| | | | Fixes https://github.com/go-gitea/gitea/issues/22621#issuecomment-1439309200
* Rename almost all Ctx functions (#22071)Lunny Xiao2022-12-101-1/+1
|
* Implement FSFE REUSE for golang files (#21840)flynnnnnnnnnn2022-11-271-2/+1
| | | | | | | | | Change all license headers to comply with REUSE specification. Fix #16132 Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github> Co-authored-by: John Olheiser <john.olheiser@gmail.com>
* Remove `RequireHighlightJS` field, update plantuml example. (#19615)wxiaoguang2022-05-051-3/+0
|
* Renamed ctx.User to ctx.Doer. (#19161)KN4CK3R2022-03-221-1/+1
| | | | Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Fix broken cancel button link on patch page (#18718)Lunny Xiao2022-02-141-2/+2
| | | | | | | | | | * Fix broken cacnel button link on patch page * remove treepath="patch" elsewhere too Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: zeripath <art27@cantab.net>
* Add apply-patch, basic revert and cherry-pick functionality (#17902)zeripath2022-02-091-0/+120
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 #18004 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 #3880 Fix #17986 Signed-off-by: Andrew Thornton <art27@cantab.net>