summaryrefslogtreecommitdiff
path: root/spec/presenters
Commit message (Collapse)AuthorAgeFilesLines
* Fix conflict resolution from corrupted upstreamfix-conflict-resolution-with-corrupt-reposSean McGivern2017-05-121-7/+7
| | | | | | | | | | | | | | | | | I don't know why this happens exactly, but given an upstream and fork repository from a customer, both of which required GC, resolving conflicts would corrupt the fork so badly that it couldn't be cloned. This isn't a perfect fix for that case, because the MR may still need to be merged manually, but it does ensure that the repository is at least usable. My best guess is that when we generate the index for the conflict resolution (which we previously did in the target project), we obtain a reference to an OID that doesn't exist in the source, even though we already fetch the refs from the target into the source. Explicitly setting the source project as the place to get the merge index from seems to prevent repository corruption in this way.
* Merge request widget redesignFatih Acet2017-05-091-0/+356
|
* Add missing tests and update test descriptionLin Jen-Shin2017-04-061-1/+1
|
* Also track auto-cancelling in jobs, detail:Lin Jen-Shin2017-04-062-21/+15
| | | | | | | | Not only tracking auto-cancelling in pipelines, we'll also track this in jobs because pipelines could be retried and the information would get lost when this happened. Also erase auto-cancelling relation for pipelines when they're retried.
* Add test for presentersLin Jen-Shin2017-04-062-0/+86
|
* Added test case for the avaiable project keysJose Ivan Vargas2017-03-061-4/+11
|
* Renamed the redirect_request concern to repository_settings_redirectJose Ivan Vargas2017-03-061-1/+1
| | | | Also fixed naming of a test in the deploy_keys_presenter
* Added tests for the repository_controller and repository_helperJose Ivan Vargas2017-03-061-6/+37
| | | | | | | | Added specs for the deploy_keys_presenter and added a new method in the presenter called #key_available? Fixed some minor UX inconsistencies and added a concern to handle redirection
* Introduced the deploy keys presenterGrzegorz Bizon2017-03-061-0/+28
|
* More improvements to presenters23563-document-presentersRémy Coutable2017-01-182-37/+16
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Improve presenter architectureRémy Coutable2017-01-184-58/+98
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Document presentersRémy Coutable2017-01-182-0/+58
Signed-off-by: Rémy Coutable <remy@rymai.me>