summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab
Commit message (Collapse)AuthorAgeFilesLines
* Fix invalid artifact path for codequalityfix-codequalityKamil Trzciński2018-11-051-1/+1
|
* Use our own docker image for helm install podsuse-our-own-docker-image-for-helm-install-podsDylan Griffith2018-11-021-1/+1
| | | | | | This will reduce dependencies and failure points during installation. It will also reduce security risks from untrusted dependencies being able to effect all our users
* Incorporates Kubernetes Namespace into Cluster's flowThong Kuah2018-11-021-1/+2
|
* Merge branch 'gt-update-typos-in-comments-and-specs' into 'master'Achilleas Pipinellis2018-11-0113-18/+18
|\ | | | | | | | | Fix typos in comments and specs See merge request gitlab-org/gitlab-ce!22683
| * Fix typos in comments and specsGeorge Tsiolis2018-11-0113-18/+18
| |
* | Merge branch 'add-language-param-to-highlight' into 'master'Douwe Maan2018-10-303-23/+92
|\ \ | | | | | | | | | | | | Add language param to highlight See merge request gitlab-org/gitlab-ce!21584
| * | Move :plain option to Highlight classMark Chao2018-10-301-0/+60
| | | | | | | | | | | | | | | | | | This is to DRY the repeated file size check. Move spec and constants to Highlight
| * | Make Highlight accept language paramMark Chao2018-10-301-25/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces the repository param. This allows more flexiblity as sometimes we have highlight content not related to repository. Sometimes we know ahead of time the language of the content. Lastly language determination seems better fit as a logic in the Blob class. `repository` param is only used to determine the language, which seems to be the responsiblity of Blob.
| * | Add spec for Gitlab::Git::Repository#attributesMark Chao2018-10-302-2/+30
| |/ | | | | | | | | seed_helper changed because testing requires attributes file in repo, but repo was not a real git repo but instead faked.
* | Move Repository#wrapped_gitaly_errors into concernBob Van Landuyt2018-10-301-0/+28
| | | | | | | | | | | | Having this in a concern allows us to reuse it for different single purpose classes that call out to git without going through the repository every time.
* | Renaming Secret Variables in the codebaseMarcel Amirault2018-10-301-1/+1
|/
* Merge remote-tracking branch 'origin/master' into dev-masterDJ Mountney2018-10-298-47/+145
|\
| * Merge branch ↵Grzegorz Bizon2018-10-291-0/+15
| |\ | | | | | | | | | | | | | | | | | | | | | | | | '52780-stale-pipeline-status-cache-for-_project-after-disabling-pipelines' into 'master' Resolve "Stale pipeline status cache for `_project` after disabling pipelines" Closes #52780 See merge request gitlab-org/gitlab-ce!22589
| | * Add test for caching nil status52780-stale-pipeline-status-cache-for-_project-after-disabling-pipelinesMatija Čupić2018-10-261-0/+15
| | |
| * | Merge branch '51335-fail-early-when-user-cannot-be-identified' into 'master'Douwe Maan2018-10-261-45/+4
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | User not defined in PostReceive#process_project_changes Closes #51335 See merge request gitlab-org/gitlab-ce!22519
| | * | Removes idenfitication by commit from Gitlab::Identifier51335-fail-early-when-user-cannot-be-identifiedTiago Botelho2018-10-251-45/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Before we would need to identify a user when pushing through the GitLab UI. Since this is no longer the case we can remove the identification by commit and instead, use the identify_using_user
| * | | Merge branch ↵Douwe Maan2018-10-265-2/+96
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '42790-improve-feedback-for-internal-git-access-checks-timeouts' into 'master' Adds trace of each access check when git push times out Closes #42790 See merge request gitlab-org/gitlab-ce!22265
| | * | | Iterating through commit list times outTiago Botelho2018-10-251-35/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Validating each commit on ChangeAccess times out if it already took too long to complete. Improves the TimedLogger specs to not make use of a stubbed class anymore
| | * | | Adds tracing messages for slow git pushesTiago Botelho2018-10-255-2/+108
| | |/ / | | | | | | | | | | | | | | | | | | | | Whenever a git push takes more than 50 seconds the user will receive a trace from each check performed along with their timings
| * | | Extract EE only oauth routes and add testsLin Jen-Shin2018-10-261-0/+30
| | |/ | |/|
* | | Merge branch 'security-redact-links' into 'master'Jan Provaznik2018-10-291-0/+96
|\ \ \ | | | | | | | | | | | | | | | | [master] Redact unsubscribe links in issuable texts See merge request gitlab/gitlabhq!2528
| * | | Redact unsubscribe links in issuable textsJan Provaznik2018-10-231-0/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It's possible that user pastes accidentally also unsubscribe link which is included in footer of notification emails. This unsubscribe link contains personal token which attacker then use to act as the original user (e.g. for sending comments under his/her identity).
* | | | [master] Persist only SHA digest of PersonalAccessToken#tokenImre Farkas2018-10-291-0/+46
| | | |
* | | | Merge remote-tracking branch 'origin/master' into dev-masterDJ Mountney2018-10-255-96/+98
|\ \ \ \ | | |/ / | |/| |
| * | | Merge branch 'refactor_gitlab_kube_client' into 'master'Kamil Trzciński2018-10-251-95/+18
| |\ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | Refactor Gitlab::KubeClient Closes #52131 See merge request gitlab-org/gitlab-ce!22073
| | * | Store version within SUPPORTED_API_GROUPS hashrefactor_gitlab_kube_clientThong Kuah2018-10-231-27/+1
| | | | | | | | | | | | | | | | | | | | | | | | This removes the ability to pass in a different version. We can instead create a new entry in the SUPPORTED_API_GROUPS hash for a different version if need be.
| | * | Remove api_groups from KubeClient constructorThong Kuah2018-10-231-90/+39
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We should have access to #core_client, #rbac_client, and #extensions_client without having to pass in an awkward array. Also change api_version to default_api_version, which allows us to use a different version for an individual client. Special case for apis/extensions which only go up to v1beta1 Makes #hashed_client private Removes the #clients and #discover! methods which are un-used
| * | Merge branch 'support-license-management-and-performance' into 'master'Grzegorz Bizon2018-10-231-0/+2
| |\ \ | | | | | | | | | | | | | | | | Support licenses and performance See merge request gitlab-org/gitlab-ce!22175
| | * | Support licenses and performancesupport-license-management-and-performanceKamil Trzciński2018-10-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This introduces a new syntax for all licenses and performance jobs: ```yaml job: reports: performance: performance.json license_management: gl-license-management-report.json ```
| * | | Merge branch 'lfs-project-attribute-alias' into 'master'Nick Thomas2018-10-231-1/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Alias the lfs_enabled method Closes #49348 See merge request gitlab-org/gitlab-ce!22501
| | * | | 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 'add-role-binding-to-kubeclient' into 'master'Kamil Trzciński2018-10-231-0/+47
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Add RoleBinding method and class See merge request gitlab-org/gitlab-ce!22524
| | * | | | Add RoleBinding methodsadd-role-binding-to-kubeclientMayra Cabrera2018-10-221-0/+47
| | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Includes RoleBinding methods to Kubeclient and introduce a new lib class to generate RoleBinding resources. This MR is part of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22011
| * | | | Merge branch 'sh-pages-eof-error' into 'master'Grzegorz Bizon2018-10-231-0/+30
| |\ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | Fix EOF detection with CI artifacts metadata Closes #36954 See merge request gitlab-org/gitlab-ce!22479
| | * | | Add a spec that generates the metadata dynamicallysh-pages-eof-errorStan Hu2018-10-191-0/+30
| | | | |
* | | | | Merge branch 'sh-block-other-localhost' into 'master'Thiago Presa2018-10-251-1/+21
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | Block additional localhost addresses in UrlBlocker See merge request gitlab/gitlabhq!2487
| * | | | Block loopback addresses in UrlBlockerStan Hu2018-09-051-1/+21
| | | | | | | | | | | | | | | | | | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/51128
* | | | | Merge branch 'feature/gb/improve-include-config-errors-reporting' into 'master'Douwe Maan2018-10-226-23/+126
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | Improve validation errors for external CI/CD configuration Closes #51369 See merge request gitlab-org/gitlab-ce!22394
| * | | | Improve specs for abstract remote `include` filefeature/gb/improve-include-config-errors-reportingGrzegorz Bizon2018-10-221-4/+4
| | | | |
| * | | | Improve error message when `include` is blockedGrzegorz Bizon2018-10-221-0/+9
| | | | |
| * | | | Improve remote CI/CD config file extension validationGrzegorz Bizon2018-10-191-0/+52
| | | | |
| * | | | Extend error message in case of HTTP errors in `include`Grzegorz Bizon2018-10-191-3/+37
| | | | |
| * | | | Refactor `include` code and improve error reportingGrzegorz Bizon2018-10-184-6/+9
| | | | |
| * | | | Extract method that fetchesremote CI/CD included configGrzegorz Bizon2018-10-181-2/+2
| | | | |
| * | | | Add IncludeError exception and use it in CI configGrzegorz Bizon2018-10-181-1/+1
| | | | |
| * | | | Move external CI config class into proper namespaceGrzegorz Bizon2018-10-165-12/+17
| | | | |
| * | | | Move external CI config files into Ci class contextGrzegorz Bizon2018-10-164-0/+0
| | | | |
* | | | | 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