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
..
2020-01-17 08:03:40 +02:00
2020-01-15 12:14:07 +01:00
2020-01-13 18:33:46 +01:00
2020-01-13 18:33:46 +01:00
2018-02-21 18:55:34 +08:00
2020-01-13 18:33:46 +01:00
2020-01-13 18:33:46 +01:00
2017-08-28 12:17:45 +03:00
2019-08-23 12:40:29 -04:00
2020-01-05 01:20:08 +02:00
2020-01-05 01:20:08 +02:00
2017-11-04 15:31:59 +02:00
2020-01-15 09:32:57 +01:00
2019-08-09 10:13:03 +08:00
2019-10-17 11:26:49 +02:00
2019-11-10 09:22:19 +00:00
2019-09-24 13:02:49 +08:00
2019-08-24 11:24:45 +02:00
2017-05-04 13:54:56 +08:00
2020-01-15 09:32:57 +01:00
2020-01-15 12:14:07 +01:00
2019-08-15 22:46:21 +08:00
2019-10-20 23:26:36 +01:00
2019-12-13 23:21:06 +01:00
2020-01-12 17:36:21 +08:00
2017-12-04 01:14:26 +02:00
2019-11-10 16:07:21 +08:00
2019-12-16 11:54:24 +08:00
2019-06-12 15:41:28 -04:00
2018-08-06 06:43:21 +02:00
2020-01-15 12:14:07 +01:00
2019-12-15 16:57:34 -05:00
2019-08-15 22:46:21 +08:00
2019-09-24 21:22:39 +08:00
2020-01-12 20:11:17 +08:00
2019-12-27 20:30:58 +00:00
2019-12-27 20:30:58 +00:00
2019-12-16 11:54:24 +08:00
2019-12-27 20:30:58 +00:00
2019-12-27 20:30:58 +00:00
2020-01-15 12:14:07 +01:00
2020-01-15 12:14:07 +01:00
2019-08-15 22:46:21 +08:00
2019-12-11 23:23:05 -05:00
2020-01-17 08:03:40 +02:00
2019-12-27 20:30:58 +00:00
2020-01-10 21:59:41 -05:00
2020-01-17 08:03:40 +02:00
2019-10-25 22:46:37 +08:00
2020-01-07 15:41:35 +00:00
2020-01-07 15:41:35 +00:00
2019-12-15 16:57:34 -05:00
2019-12-16 11:54:24 +08:00
2020-01-15 12:14:07 +01:00
2019-12-12 21:18:07 +08:00
2020-01-13 18:33:46 +01:00
2019-06-23 18:22:43 +03:00
2019-11-23 01:33:31 +02:00
2017-11-30 17:52:15 +02:00
2020-01-15 12:14:07 +01:00
2019-08-24 11:24:45 +02:00
2019-12-15 09:51:28 +00:00
2020-01-09 11:56:32 +00:00
2020-01-14 16:37:19 +01:00
2019-04-17 16:18:16 +08:00
2019-10-17 11:26:49 +02:00
2019-09-14 12:02:39 +02:00
2020-01-12 20:11:17 +08:00
2020-01-09 13:15:14 +00:00
2019-12-06 13:34:54 +08:00
2020-01-13 18:33:46 +01:00
2019-12-15 09:51:28 +00:00
2020-01-15 09:32:57 +01:00
2020-01-17 08:03:40 +02:00
2020-01-17 08:03:40 +02:00
2019-12-14 18:30:01 +01:00
2019-11-13 07:01:19 +00:00
2020-01-14 11:38:04 +08:00
2019-09-23 23:08:03 +03:00
2019-11-20 19:27:49 +08:00
2019-11-30 01:54:47 -05:00
2020-01-12 20:11:17 +08:00
2020-01-12 17:36:21 +08:00
2018-04-09 23:15:32 +08:00
2020-01-05 18:48:47 +00:00
2020-01-13 18:33:46 +01:00
2019-12-14 18:30:01 +01:00
2019-02-22 11:14:45 -05:00
2020-01-13 18:33:46 +01:00
2019-12-06 12:00:50 +08:00
2019-12-06 12:00:50 +08:00
2020-01-15 09:32:57 +01:00
2020-01-12 20:11:17 +08:00
2019-10-17 11:26:49 +02:00
2019-11-10 09:22:19 +00:00
2019-12-26 13:29:45 +02:00
2020-01-15 04:14:50 +01:00
2019-12-03 20:08:56 -05:00
2020-01-09 01:47:45 +00:00
2019-11-03 19:08:18 +08:00
2019-11-03 19:08:18 +08:00
2017-08-28 12:17:45 +03:00
2019-01-13 21:29:58 -05:00
2020-01-12 20:11:17 +08:00
2019-12-10 07:49:05 +00:00
2019-06-12 15:41:28 -04:00
2019-08-15 22:46:21 +08:00
2019-09-03 23:46:24 +08:00
2019-09-03 23:46:24 +08:00
2019-08-15 22:46:21 +08:00
2019-03-04 21:34:52 -05:00
2019-08-15 22:46:21 +08:00
2019-10-17 11:26:49 +02:00
2019-05-30 11:09:05 -04:00
2020-01-10 17:34:21 +08:00
2019-08-23 12:40:29 -04:00
2017-03-11 16:46:53 +08:00
2017-06-21 08:57:05 +08:00
2020-01-13 18:33:46 +01:00
2019-08-24 11:24:45 +02:00
2017-08-28 12:17:45 +03:00
2019-06-12 15:41:28 -04:00
2019-06-12 15:41:28 -04:00
2018-10-20 18:19:21 -04:00
2020-01-13 18:33:46 +01:00
2020-01-15 12:14:07 +01:00
2019-11-20 19:27:49 +08:00
2019-11-02 23:27:49 +08:00
2019-11-03 22:13:25 +00:00
2019-11-03 22:13:25 +00:00
2020-01-07 18:27:36 +00:00
2020-01-12 17:36:21 +08:00