forgejo/templates/repo/issue/view_content
6543 36943e56d6 Add "Update Branch" button to Pull Requests (#9784)
* add Divergence

* add Update Button

* first working version

* re-use code

* split raw merge commands and db-change functions (notify, cache, ...)

* use rawMerge (remove redundant code)

* own function to get Diverging of PRs

* use FlashError

* correct Error Msg

* hook is triggerd ... so remove comment

* add "branch2" to "user2/repo1" because it unit-test "TestPullView_ReviewerMissed" use it but dont exist jet :/

* move GetPerm to IsUserAllowedToUpdate

* add Flash Success MSG

* imprufe code
- remove useless js chage

* fix-lint

* TEST: add PullRequest ID:5
Repo: user2/repo1
Base: branch1
Head: pr-to-update

* correct comments

* make PR5 outdated

* fix Tests

* WIP: add pull update test

* update revs

* update locales

* working TEST

* update UI

* misspell

* change style

* add 1s delay so rev exist

* move row up (before merge row)

* fix lint nit

* UI remove divider

* Update style

* nits

* do it right

* introduce IsSameRepo

* remove useless check

Co-authored-by: Lauris BH <lauris@nix.lv>
2020-01-17 08:03:40 +02:00
..
add_reaction.tmpl [Fix] AllowedReaction code (#9518) 2019-12-27 18:43:56 -05:00
attachments.tmpl [Fix] Release attachment should use DownloadURL() not Name (#9529) 2019-12-28 23:33:13 +00:00
comments.tmpl Add some padding to the shadowed comment box (#9612) 2020-01-05 19:25:27 +00:00
context_menu.tmpl Context menus for comments (#9043) 2019-11-19 20:33:42 +02:00
pull.tmpl Add "Update Branch" button to Pull Requests (#9784) 2020-01-17 08:03:40 +02:00
reactions.tmpl [Fix] AllowedReaction code (#9518) 2019-12-27 18:43:56 -05:00
sidebar.tmpl Correct tooltip msg blocked by dependencies (#9211) 2019-11-29 14:05:49 -05:00