summaryrefslogtreecommitdiff
path: root/app/models
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | Fix failuresKamil Trzcinski2017-12-031-5/+1
| | | | | | | |
| * | | | | | | Code styleKamil Trzcinski2017-12-031-1/+2
| | | | | | | |
| * | | | | | | Store expire_at in ci_job_artifactsKamil Trzcinski2017-12-032-3/+15
| | | | | | | |
| * | | | | | | Use `job_artifacts_archive|metadata`Kamil Trzcinski2017-12-032-10/+10
| | | | | | | |
| * | | | | | | Revert "Rename `job_archive|metadata` to `artifacts_archive|metadata`"Kamil Trzcinski2017-12-033-13/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 714082e65304ae2ec5c5400c59a68ab63e724aa9.
| * | | | | | | Rename `job_archive|metadata` to `artifacts_archive|metadata`Kamil Trzcinski2017-12-033-10/+13
| | | | | | | |
| * | | | | | | Remove hook set by carrierwave tooZeger-Jan van de Weg2017-12-031-1/+0
| | | | | | | |
| * | | | | | | Remove Ci::Build#artifacts_file?Zeger-Jan van de Weg2017-12-031-4/+0
| | | | | | | |
| * | | | | | | Rename artifacts_* to legacy_artifacts_*Kamil Trzcinski2017-12-032-7/+11
| | | | | | | |
| * | | | | | | Fix most test failuresZeger-Jan van de Weg2017-12-033-8/+6
| | | | | | | |
| * | | | | | | Fix creation of job_artifact_uploaderKamil Trzcinski2017-12-031-2/+2
| | | | | | | |
| * | | | | | | Rename Artifact to JobArtifact, split metadata outZeger-Jan van de Weg2017-12-035-45/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Two things at ones, as there was no clean way to seperate the commit and give me feedback from the tests. But the model Artifact is now JobArtifact, and the table does not have a type anymore, but the metadata is now its own model: Ci::JobArtifactMetadata.
| * | | | | | | Create Ci::ArtifactsZeger-Jan van de Weg2017-12-033-22/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To allow jobs/builds to have multiple artifacts, and to start seperating concerns from Ci::Build a new model is created: Ci::Artifact. Changes include the updating of the ArtifactUploader to adapt to a slightly different interface. The uploader expects to be initialized with a `Ci::Build`. Futher a migration with the minimal fields, the needed foreign keys and an index. Last, the way this works is by prepending a module to Ci::Build so we can basically override behaviour but if needed use `super` to get the original behaviour.
| * | | | | | | WIPZeger-Jan van de Weg2017-12-031-0/+12
| | |/ / / / / | |/| | | | |
* | | | | | | Merge branch 'dm-application-worker' into 'master'Sean McGivern2017-12-055-1/+6
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | Add ApplicationWorker and make every worker include it See merge request gitlab-org/gitlab-ce!15632
| * | | | | | Consistently schedule Sidekiq jobsdm-application-workerDouwe Maan2017-12-055-1/+6
| | |/ / / / | |/| | | |
* | | | | | Merge branch '32878-merge-request-from-email' into 'master'Sean McGivern2017-12-051-2/+3
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create merge request from email Closes #32878 See merge request gitlab-org/gitlab-ce!13817
| * | | | | Create merge request from emailJan Provaznik2017-12-051-2/+3
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * new merge request can be created by sending an email to the specific email address (similar to creating issues by email) * for the first iteration, source branch must be specified in the mail subject, other merge request parameters can not be set yet * user should enable "Receive notifications about your own activity" in user settings to receive a notification about created merge request Part of #32878
* | | | | Second iteration of Move Kubernetes from service to Cluster pageFilipa Lacerda2017-12-052-1/+19
| | | | |
* | | | | Merge branch 'bvl-limit-fork-queries-on-project-show' into 'master'Sean McGivern2017-12-051-1/+11
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | Cache the forks in a namespace in the RequestStore Closes #40625 See merge request gitlab-org/gitlab-ce!15663
| * | | | Cache the forks in a namespace in the RequestStoreBob Van Landuyt2017-12-041-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On the `show` of a project that is part of a fork network. We check if the user already created a fork of this project in their personal namespace. We do this in several places, so caching the result of this query in the request store prevents us from repeating it.
* | | | | Merge branch 'zj-diverging-commit-count-no-rugged' into 'master'Robert Speicher2017-12-041-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Use commit finder instead of rev parse See merge request gitlab-org/gitlab-ce!15683
| * | | | | Use commit finder instead of rev parseZeger-Jan van de Weg2017-12-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This has the side effect of making this method rugged call free, which is the reason I actually changed this.
* | | | | | Merge branch 'sh-optimize-groups-api' into 'master'Douwe Maan2017-12-043-2/+18
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Optimize API /groups/:id/projects by preloading assocations Closes #40308 See merge request gitlab-org/gitlab-ce!15475
| * | | | | Comments from code review applied. Also switched forked_from_project and ↵Francisco Lopez2017-12-013-2/+18
| | |_|/ / | |/| | | | | | | | | | | | | ForkedProjectLinks to ForkNetworkMember
* | | | | Merge branch '40711-fix-forking-hashed-projects' into 'master'Douwe Maan2017-12-041-2/+1
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | Fix the fork project functionality for projects with hashed storage Closes #40711 See merge request gitlab-org/gitlab-ce!15671
| * | | | Fix the fork project functionality for projects with hashed storageNick Thomas2017-12-041-2/+1
| |/ / / | | | | | | | | | | | | Note the dependency on gitlab-shell v5.10.0
* | | | Added default order to UserFinderFrancisco Javier López2017-12-041-1/+5
|/ / /
* | | Merge branch 'backstage/gb/build-pipeline-in-a-separate-class' into 'master'Kamil Trzciński2017-12-011-1/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Extract class responsible for building a pipeline Closes #38460 See merge request gitlab-org/gitlab-ce!14762
| * | | Do not set pipeline source after initializationGrzegorz Bizon2017-11-301-1/+0
| |/ /
* | | Adds validation for Project#ci_config_path not to contain leading slashChristiaan Van den Poel2017-12-011-3/+3
|/ /
* | Merge branch '38668-revert-copied-kubernetesservice-logic' into 'master'Grzegorz Bizon2017-11-306-56/+121
|\ \ | | | | | | | | | | | | Copy `KubernetesService` logic in `Clusters::Platforms::Kubernetes` to make it interchangeable. And implement a selector. See merge request gitlab-org/gitlab-ce!15515
| * | Fix feature spec38668-revert-copied-kubernetesservice-logicShinya Maeda2017-11-281-1/+0
| | |
| * | Fix static analysysShinya Maeda2017-11-282-1/+2
| | |
| * | Fix unit testsShinya Maeda2017-11-281-1/+3
| | |
| * | Replce kubernetes_service and deployment_service to deployment_platformShinya Maeda2017-11-283-23/+11
| | |
| * | Add test suit for platform::kubernetesShinya Maeda2017-11-281-7/+7
| | |
| * | Remove logic which glues with KubernetesService, from Platforms::KubernetesShinya Maeda2017-11-282-57/+3
| | |
| * | Fix commentsShinya Maeda2017-11-281-0/+1
| | |
| * | Add deployment platform selectorShinya Maeda2017-11-281-2/+12
| | |
| * | Check diff between KubernetesService and Platforms::Kubernetes. Synchronize ↵Shinya Maeda2017-11-282-67/+62
| | | | | | | | | | | | again.
| * | Revert KubernetesService logic in Platforms::KubernetesShinya Maeda2017-11-281-0/+123
| | |
* | | Merge branch 'use-count_commits-directly' into 'master'Douwe Maan2017-11-301-1/+2
|\ \ \ | | | | | | | | | | | | | | | | Count the commits directly See merge request gitlab-org/gitlab-ce!15628
| * | | We could simply count the commitsLin Jen-Shin2017-11-301-1/+2
| | | |
* | | | Merge branch 'protected-branches-names' into 'master'Douwe Maan2017-11-302-2/+6
|\ \ \ \ | |/ / / |/| | | | | | | | | | | Only load branch names for protected branch checks See merge request gitlab-org/gitlab-ce!15629
| * | | Only load branch names for protected branch checksprotected-branches-namesYorick Peterse2017-11-292-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When checking if a branch is protected we don't need all columns of every protected branch row, instead we only care about the names. By using "select" here we reduce the amount of data we need to send over the wire and load into memory.
* | | | Merge branch 'remove-mr-diff-serialised-columns' into 'master'Yorick Peterse2017-11-292-84/+22
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove serialised diff and commit columns Closes #39533 See merge request gitlab-org/gitlab-ce!15582
| * | | | Remove serialised diff and commit columnsSean McGivern2017-11-282-84/+22
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The st_commits and st_diffs columns on merge_request_diffs historically held the YAML-serialised data for a merge request diff, in a variety of formats. Since 9.5, these have been migrated in the background to two new tables: merge_request_diff_commits and merge_request_diff_files. That has the advantage that we can actually query the data (for instance, to find out how many commits we've stored), and that it can't be in a variety of formats, but must match the new schema. This is the final step of that journey, where we drop those columns and remove all references to them. This is a breaking change to the importer, because we can no longer import diffs created in the old format, and we cannot guarantee the export will be in the new format unless it was generated after this commit.
* | | | Add timeouts for Gitaly callsAndrew Newdigate2017-11-291-1/+25
| | | |
* | | | Merge branch 'dm-search-pattern' into 'master'Sean McGivern2017-11-2910-64/+28
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use fuzzy search with minimum length of 3 characters where appropriate Closes #40512 See merge request gitlab-org/gitlab-ce!15592