summaryrefslogtreecommitdiff
path: root/spec/services
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'osw-introduce-merge-request-statistics' into 'master'Sean McGivern2018-01-045-1/+82
|\ | | | | | | | | Improve closed/merged events queries performance on Projects::MergeRequestsController#show.json See merge request gitlab-org/gitlab-ce!15642
| * Cache merged and closed events data in merge_request_metrics tableOswaldo Ferreira2018-01-025-1/+82
| |
* | Write project full path to .git/config when migrating legacy storageDouglas Barbosa Alexandre2018-01-031-1/+7
| |
* | Update project full path in .git/config when transfering a projectDouglas Barbosa Alexandre2018-01-031-0/+12
| |
* | Update project full path in .git/config when renaming a repositoryDouglas Barbosa Alexandre2018-01-031-1/+1
| |
* | Write project full path to .git/config when creating projectsDouglas Barbosa Alexandre2018-01-031-0/+6
| | | | | | | | We'd need to keep track of project full path otherwise directory tree created with hashed storage enabled cannot be usefully imported using the import rake task.
* | Merge branch 'gitaly-conflict-resolver' into 'master'Grzegorz Bizon2018-01-032-17/+29
|\ \ | |/ |/| | | | | | | | | Gitaly conflict resolver Closes gitaly#813 See merge request gitlab-org/gitlab-ce!15755
| * Incorporate ConflictsService.ListConflictFiles Gitaly RPCAlejandro Rodríguez2017-12-272-17/+29
| |
* | Merge branch 'fj-40053-error-500-members-list' into 'master'Douwe Maan2018-01-021-0/+17
|\ \ | | | | | | | | | | | | | | | | | | Fix user membership destroy relation Closes #40053 See merge request gitlab-org/gitlab-ce!15970
| * | Fix user membership destroy relationFrancisco Javier López2018-01-021-0/+17
| | |
* | | Merge branch 'bvl-fork-public-project-to-private-namespace' into 'master'Douwe Maan2018-01-021-2/+15
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Forking a project to a namespace with lower visibility Closes #40022 See merge request gitlab-org/gitlab-ce!16050
| * | Forking a project to a namespace with lower visibility.bvl-fork-public-project-to-private-namespaceBob Van Landuyt2017-12-291-2/+15
| |/ | | | | | | | | | | | | In this case the project will get the minimum between both visibilities. If that visibility is restricted, then a lower level will be picked.
* | Fix links to old commits in merge requests41492-mr-comment-fixJarka Kadlecová2017-12-291-8/+24
|/
* Merge branch '36782-replace-team-user-role-with-add_role-user-in-specs' into ↵Rémy Coutable2017-12-2346-111/+111
|\ | | | | | | | | | | | | | | | | 'master' Resolve "Replace '.team << [user, role]' with 'add_role(user)' in specs" Closes #36782 See merge request gitlab-org/gitlab-ce!16069
| * Replace '.team << [user, role]' with 'add_role(user)' in specs36782-replace-team-user-role-with-add_role-user-in-specsblackst0ne2017-12-2246-111/+111
| |
* | Extend Cluster Applications to allow installation of PrometheusMayra Cabrera2017-12-223-8/+10
| |
* | Execute project hooks and services after commit when moving an issuedm-issue-move-transaction-errorDouwe Maan2017-12-221-0/+12
|/
* Merge branch '38356-add-last_commit_sha-to-the-commit-api' into 'master'Douwe Maan2017-12-212-0/+208
|\ | | | | | | | | | | | | Add new last_commit_id param for create commit endpoint Closes #38356 See merge request gitlab-org/gitlab-ce!15922
| * Updates from last code review:38356-add-last_commit_sha-to-the-commit-apiRubén Dávila2017-12-202-5/+118
| | | | | | | | | | | | - Apply some refactoring for code reuse - Add file status validation for Files::DeleteService - Write additional specs
| * Check if file has been modified for each action provided.Rubén Dávila2017-12-201-2/+43
| | | | | | | | | | | | When commiting multiple files we're now checking if any of those files has been modified by another commit and we're rejecting the new commit in this case.
| * Add some initial specs for Files::MultiService classRubén Dávila2017-12-201-0/+54
| |
* | Merge branch 'rs-blocks-json-serialization' into 'master'Douwe Maan2017-12-202-6/+6
|\ \ | | | | | | | | | | | | | | | | | | Add BlocksJsonSerialization model concern and include it in User Closes #37947 See merge request gitlab-org/gitlab-ce!14350
| * | Only include the user's ID in the time_spent command's update hashRobert Speicher2017-12-192-6/+6
| |/ | | | | | | | | | | | | | | | | Previously, this would include the entire User record in the update hash, which was rendered in the response using `to_json`, erroneously exposing every attribute of that record, including their (now removed) private token. Now we only include the user ID, and perform the lookup on-demand.
* | Don't link LFS-objects multiple times.bvl-fix-unlinking-with-lfs-objectsBob Van Landuyt2017-12-191-0/+20
|/ | | | | | If Unlinking a fork would fail somewhere after this, the LFS objects might still be linked. Which would cause issues when trying to destroy a project.
* Merge branch ↵Douwe Maan2017-12-183-8/+47
|\ | | | | | | | | | | | | | | | | '40871-todo-notification-count-shows-notification-without-having-a-todo' into 'master' Resolve "Todo notification count shows notification without having a todo" Closes #40871 See merge request gitlab-org/gitlab-ce!15807
| * Reset todo counters when the target is deleted40871-todo-notification-count-shows-notification-without-having-a-todoSean McGivern2017-12-183-8/+47
| | | | | | | | | | | | When the target is deleted, todos are destroyed, but we did not reset the todo cache for users with todos on the deleted target. This would only update after the next time the todo cache was updated for that user.
* | Merge branch 'rc/use-factory_bot_rails' into 'master'Robert Speicher2017-12-152-11/+11
|\ \ | | | | | | | | | | | | Replace factory_girl_rails with factory_bot_rails See merge request gitlab-org/gitlab-ce!15919
| * | Replace factory_girl_rails with factory_bot_railsrc/use-factory_bot_railsRémy Coutable2017-12-142-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I've followed the [upgrade guide](https://github.com/thoughtbot/factory_bot/blob/4-9-0-stable/UPGRADE_FROM_FACTORY_GIRL.md) and ran these two commands: ``` grep -e FactoryGirl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|FactoryGirl|FactoryBot|" grep -e factory_girl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|factory_girl|factory_bot|" ``` Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | Merge branch 'gitaly-conflicts-prep' into 'master'Sean McGivern2017-12-151-1/+1
|\ \ \ | |/ / |/| | | | | | | | Simplify conflict resolver interface See merge request gitlab-org/gitlab-ce!15897
| * | Simplify conflict resolver interfacegitaly-conflicts-prepAlejandro Rodríguez2017-12-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This does two things: - Pass commit oids instead of `Gitlab::Git::Commit`s. We only need the former. - Depend on only the target repository for conflict listing. For conflict resolution, treat one repository as a remote one so that we can implement it as such in Gitaly.
* | | Merge branch 'zj-mr-diff-memoization-bug' into 'master'Sean McGivern2017-12-141-4/+4
|\ \ \ | | | | | | | | | | | | | | | | Clear caches before updating MR diffs See merge request gitlab-org/gitlab-ce!15916
| * | | Clear caches before updating MR diffsZeger-Jan van de Weg2017-12-141-4/+4
| |/ / | | | | | | | | | | | | | | | The hook ordering influenced the diffs being generated as these used values from before the update due to the memoization still being in place. This commit reorders them and tests against this behaviour.
* | | Dependencies Validator fails when depended job is `manual`41110-dependencies-validator-fails-when-depended-job-is-manualShinya Maeda2017-12-141-5/+4
| | |
* | | Merge branch 'issue_41021' into 'master'Sean McGivern2017-12-131-2/+14
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Prevent worker that updates merge requests head pipeline from failing jobs Closes #41021 See merge request gitlab-org/gitlab-ce!15870
| * | | Prevent worker that updates merge requests head pipeline from failing jobsFelipe Artur2017-12-131-2/+14
| | | |
* | | | Merge branch 'fix-create-mr-from-issue-with-template' into 'master'Rémy Coutable2017-12-131-0/+12
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | Execute quick actions when creating MR from issue Closes gitlab-ee#4277 See merge request gitlab-org/gitlab-ce!15810
| * | | Execute quick actions when creating MR from issuefix-create-mr-from-issue-with-templateSean McGivern2017-12-131-0/+12
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | In CE, this does nothing - the `MergeRequests::BuildService` will, at the time of writing, never return a description for this case. In EE, a project can have a default MR template, which will be returned by the service. Previously we were only using the description passed in the params, ignoring any already set on the object. Now we fall back to the one set on the object if there was none in the params, allowing quick actions to be executed from default MR templates when creating an MR from an issue.
* | | ActiveRecord::StaleObjectError: Attempted to update a stale object: Ci::Build41023-activerecord-staleobjecterror--attempted-to-update-a-stale-object--ci-buildShinya Maeda2017-12-121-0/+13
| |/ |/|
* | small change to make less conflict with EE versionBrett Walker2017-12-111-6/+4
| |
* | Fix specs after removing assignee_id fieldValery Sizov2017-12-111-1/+1
| |
* | Merge branch 'fix/gb/fix-pipeline-build-chain-tag-evaluation' into 'master'Douwe Maan2017-12-081-0/+15
|\ \ | |/ |/| | | | | | | | | Fix invalid pipeline build chain tag evaluation Closes #40944 See merge request gitlab-org/gitlab-ce!15805
| * Add Chain::Command specsfix/gb/fix-pipeline-build-chain-tag-evaluationKamil Trzcinski2017-12-081-8/+3
| |
| * Fix invalid pipeline build chain tag evaluationGrzegorz Bizon2017-12-081-0/+20
| |
* | Merge branch 'feature/sm/34834-missing-dependency-should-fail-job-2' into ↵Kamil Trzciński2017-12-071-0/+83
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 'master' Dependency validator Closes #34834 See merge request gitlab-org/gitlab-ce!14009
| * | Test for both ci_disable_validates_dependencies true/falseShinya Maeda2017-12-081-34/+65
| | |
| * | Change feature flag to ci_disable_validates_dependencies to enable it as defaultShinya Maeda2017-12-071-1/+1
| | |
| * | Fix testsShinya Maeda2017-12-061-11/+5
| | |
| * | Fix lintShinya Maeda2017-12-061-2/+7
| | |
| * | Add case when artifacts have not existed on dependenciesShinya Maeda2017-12-061-0/+25
| | |
| * | Fail jobs if its dependency is missingShinya Maeda2017-12-061-0/+28
| | |