summaryrefslogtreecommitdiff
path: root/spec/lib
Commit message (Collapse)AuthorAgeFilesLines
* Alias the lfs_enabled methodlfs-project-attribute-aliasCindy Pallares2018-10-221-1/+1
| | | | | | | | We currently check for `project.lfs_enabled` to display the state of lfs being enabled/disabled, but this is set to nil by default, even when lfs is enabled. Aliasing the method to #lfs_enabled? will return the correct state.
* Merge branch 'ce-52112-fix-review-apps-cleanup-ce' into 'master'Nick Thomas2018-10-222-41/+98
|\ | | | | | | | | Improve HelmClient and KubernetesClient See merge request gitlab-org/gitlab-ce!22375
| * Improve automated Review Apps cleanupce-52112-fix-review-apps-cleanup-ceRémy Coutable2018-10-222-41/+98
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Merge branch 'drop-allow_overflow-option-duration_in_numbers' into 'master'Grzegorz Bizon2018-10-221-2/+2
|\ \ | | | | | | | | | | | | | | | | | | Drop allow overflow option duration in numbers Closes #52284 See merge request gitlab-org/gitlab-ce!22246
| * | Fix specdrop-allow_overflow-option-duration_in_numbersShinya Maeda2018-10-181-2/+2
| | |
* | | Merge branch 'use-raw-file-format' into 'master'Grzegorz Bizon2018-10-222-1/+48
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | Add RAW file format which is used to store security reports Closes gitlab-ee#7996 See merge request gitlab-org/gitlab-ce!22365
| * | Make all legacy security reports to use raw formatuse-raw-file-formatKamil Trzciński2018-10-162-1/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | - This introduces and uses `:raw` format for all legacy reports, the ones that do not have yet proper parsers on Backend - Raw format is needed to make Frontend be able to parse reports, without the need of decompressing, - This also extends fixtures to seed security reports with database, even though parser code is part of EE
* | | Rename "scheduled" label/badge of delayed jobs to "delayed"Shinya Maeda2018-10-194-6/+6
| | |
* | | Merge branch 'bvl-remove-forked-project-link' into 'master'Sean McGivern2018-10-191-2/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Remove ForkedProjectLink model Closes #38883 See merge request gitlab-org/gitlab-ce!22226
| * | | Remove the `ForkedProjectLink` modelBob Van Landuyt2018-10-191-2/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes the `ForkedProjectLink` model that has been replaced by the `ForkNetworkMember` and `ForkNetwork` combination. All existing relations have been adjusted to use these new models. The `forked_project_link` table has been dropped. The "Forks" count on the admin dashboard has been updated to count all `ForkNetworkMember` rows and deduct the number of `ForkNetwork` rows. This is because now the "root-project" of a fork network also has a `ForkNetworkMember` row. This count could become inaccurate when the root of a fork network is deleted.
* | | Catch `RedirectionTooDeep` Exception in webhooksHeinrich Lee Yu2018-10-191-0/+26
| |/ |/|
* | Merge branch '44361-remove-gitlab-grit' into 'master'Rémy Coutable2018-10-171-4/+43
|\ \ | | | | | | | | | | | | | | | | | | Remove gitlab-grit as a transitive dependency of GitLab Closes #44361 See merge request gitlab-org/gitlab-ce!22373
| * | Remove a dependency on gitlab-gollum-libnick.thomas/gitlab-ce-44361-remove-gitlab-gritNick Thomas2018-10-161-4/+43
| | | | | | | | | | | | | | | | | | Inlining this code allows us to remove a dependency on gitlab_grit in gitlab-ce. We can't stop maintaining gitlab_grit yet, since gitaly-ruby still depends on this gem, but it moves us a step closer.
* | | Merge branch '52650-webhook-image-urls-rewritten-incorrectly-in-issues' into ↵Douwe Maan2018-10-163-49/+92
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'master' Resolve "Webhook Image URLs Rewritten Incorrectly in Issues" Closes #52650 See merge request gitlab-org/gitlab-ce!22361
| * | | Fix image webhook rewriting for uploadsSean McGivern2018-10-163-49/+92
| | |/ | |/| | | | | | | | | | | | | | | | This rewrote URLs to be absolute URLs. However, for uploads (the most common case), we actually need them to point to not just the GitLab instance, but the project they're from. Thankfully, we can normally get that information from the object we're building the hook for.
* | | Merge branch 'test-usage-ping-in-timeout-case' into 'master'Robert Speicher2018-10-161-0/+7
|\ \ \ | |_|/ |/| | | | | | | | Verify that usage ping works when all counts time out See merge request gitlab-org/gitlab-ce!22358
| * | Verify that usage ping works when all counts time outSean McGivern2018-10-161-0/+7
| |/
* | Does not allow an import_url with SSH protocolDouglas Barbosa Alexandre2018-10-151-2/+2
| |
* | Merge branch 'sh-remove-koding' into 'master'Douwe Maan2018-10-151-4/+0
|\ \ | | | | | | | | | | | | | | | | | | Remove Koding integration and documentation Closes #39697 See merge request gitlab-org/gitlab-ce!22334
| * | Remove Koding integration and documentationStan Hu2018-10-121-4/+0
| | | | | | | | | | | | | | | | | | This integration no longer works and does not appear to be supported. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/39697
* | | Merge branch 'zj-remove-linguist' into 'master'Robert Speicher2018-10-154-24/+147
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | Remove dependencies on Linguist Closes #35450 See merge request gitlab-org/gitlab-ce!21008
| * | Remove dependencies on LinguistZeger-Jan van de Weg2018-10-124-24/+147
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This saves about 128 MB of baseline RAM usage per Unicorn and Sidekiq process (!). Linguist wasn't detecting languages anymore from CE/EE since 9ae8b57467ac8b38f1fa9020a466d94a93cbb9dd. However, Linguist::BlobHelper was still being depended on by BlobLike and others. This removes the Linguist gem, given it isn't required anymore. EscapeUtils were pulled in as dependency, but given Banzai depends on it, it is now added explicitly. Previously, Linguist was used to detect the best ACE mode. Instead, we rely on ACE to guess the best mode based on the file extension.
* | Merge branch 'improve-spec-for-gitlab-ci-status-pipeline-factory' into 'master'Grzegorz Bizon2018-10-151-19/+49
|\ \ | |/ |/| | | | | | | | | Improve spec for Gitlab::Ci::Status::Pipeline::Factory Closes #52280 See merge request gitlab-org/gitlab-ce!22247
| * Improve spec for Gitlab::Ci::Status::Pipeline::FactoryShinya Maeda2018-10-101-19/+49
| |
* | Merge branch 'frontend-feature-flags' into 'master'Rémy Coutable2018-10-111-0/+32
|\ \ | | | | | | | | | | | | | | | | | | Support pushing of feature flags to the frontend Closes gitlab-org/release/framework#17 See merge request gitlab-org/gitlab-ce!22197
| * | Support pushing of feature flags to the frontendYorick Peterse2018-10-111-0/+32
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a method to Gitlab::GonHelper called `push_frontend_feature_flag`. This method can be used to easily expose the state of a feature flag to Javascript code. For example, using this method we may write the following controller code: before_action do push_frontend_feature_flag(:vim_bindings) end def index # ... end def edit # ... end In Javascript we can then check the state of the flag as follows: if ( gon.features.vimBindings ) { // ... } Fixes https://gitlab.com/gitlab-org/release/framework/issues/17
* | Remove Git circuit breakerZeger-Jan van de Weg2018-10-1011-751/+0
|/ | | | | | | Was introduced in the time that GitLab still used NFS, which is not required anymore in most cases. By removing this, the API it calls will return empty responses. This interface has to be removed in the next major release, expected to be 12.0.
* Rails 5: fix mysql milliseconds problems in scheduled build specsJasper Maes2018-10-061-1/+1
|
* Merge branch 'scheduled-manual-jobs' into 'master'Kamil Trzciński2018-10-0511-30/+380
|\ | | | | | | | | | | | | Delayed jobs Closes #51352 See merge request gitlab-org/gitlab-ce!21767
| * Merge branch 'master-ce' into scheduled-manual-jobsShinya Maeda2018-10-058-10/+322
| |\
| * \ Merge branch 'master-ce' into scheduled-manual-jobsShinya Maeda2018-10-052-35/+57
| |\ \
| * | | Add limitation for start_in keywordShinya Maeda2018-10-041-4/+11
| | | |
| * | | Merge branch 'master-ce' into scheduled-manual-jobsShinya Maeda2018-10-0411-252/+144
| |\ \ \
| * | | | Add spec for Status::Pipeline::ScheduledShinya Maeda2018-10-031-0/+42
| | | | |
| * | | | Add spec for Gitlab::Ci::Status::Build::UnscheduleShinya Maeda2018-10-031-0/+94
| | | | |
| * | | | Merge branch 'master-ce' into scheduled-manual-jobsShinya Maeda2018-10-033-0/+195
| |\ \ \ \
| * | | | | Fix specShinya Maeda2018-10-024-5/+11
| | | | | |
| * | | | | Fix specShinya Maeda2018-10-021-3/+3
| | | | | |
| * | | | | Add spec for Build::FactoryShinya Maeda2018-10-021-0/+49
| | | | | |
| * | | | | Add spec for YamlProcessorShinya Maeda2018-10-021-1/+16
| | | | | |
| * | | | | Add spec for scheduled statusShinya Maeda2018-10-021-0/+27
| | | | | |
| * | | | | Fix Status::Pipeline::Blocked specShinya Maeda2018-10-021-1/+1
| | | | | |
| * | | | | Fix Status::Build::Scheduled. Add spec for the class.Shinya Maeda2018-10-021-0/+58
| | | | | |
| * | | | | Fix validation methods in Config::Entry::Job. Added spec for thatShinya Maeda2018-10-021-0/+65
| | | | | |
| * | | | | Fix favicon specShinya Maeda2018-10-021-0/+1
| | | | | |
| * | | | | Fix safe model attributesShinya Maeda2018-10-021-0/+1
| | | | | |
| * | | | | Fix spec. Create scheduled status entry for pipelineShinya Maeda2018-10-021-25/+10
| | | | | |
* | | | | | Merge branch '46050_add_new_ci_predefined_variables_for_gitlab_version' into ↵Douglas Barbosa Alexandre2018-10-051-0/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'master' Add new CI predefined variables with version components Closes #46050 See merge request gitlab-org/gitlab-ce!21853
| * | | | | | Add variables to CI jobs for GitLab version componentsGilbert Roulot2018-10-051-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds CI_SERVER_VERSION_MAJOR, CI_SERVER_VERSION_MINOR, CI_SERVER_VERSION_PATCH to the list of environment variables passed to CI jobs.
* | | | | | | Merge branch 'load_project_features' into 'master'Sean McGivern2018-10-051-0/+18
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Preload project features in reference parser Closes #43094 See merge request gitlab-org/gitlab-ce!22008