summaryrefslogtreecommitdiff
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Only set as `read_only` when starting the per-project migration53966-hashed-storage-read-onlyGabriel Mazetto2019-01-073-19/+72
| | | | | | | | | | In the previous code, we locked the project during the migration scheduling step, which works fine for small setups, but can be problematic in really big installations. We now moved the logic to inside the worker, so we minimize the time a project will be read-only. We also make sure we only do that if reference counter is `0` (no current operation is in progress).
* Support new report syntax for common vulnerabilitiesKamil Trzciński2019-01-0410-2386/+3987
| | | | | This MR also removes other reports and uses one common set of fixtures for all test types.
* Merge branch 'feature/gb/expose-ci-api-url-variable' into 'master'Douwe Maan2019-01-044-1/+71
|\ | | | | | | | | | | | | Expose `CI_API_V4_URL` CI/CD variable Closes #54621 See merge request gitlab-org/gitlab-ce!23936
| * Improve readablity of CI_API_V4_URL related codeGrzegorz Bizon2019-01-041-1/+1
| |
| * Minor improvements to CI_API_V4_URL variable exposurefeature/gb/expose-ci-api-url-variableGrzegorz Bizon2019-01-031-1/+1
| |
| * Expose CI_API_V4_URL predefined CI/CD variableGrzegorz Bizon2019-01-031-0/+1
| |
| * Add API::Helpers::Version and expose API root URLGrzegorz Bizon2019-01-033-17/+50
| | | | | | | | | | This commits adds a new class that is supposed to represent Grape API version, like `v3` or `v4`.
| * Expose method that returns GitLab API pathsGrzegorz Bizon2019-01-031-0/+36
| |
* | Merge branch 'include-templates' into 'master'Kamil Trzciński2019-01-047-43/+287
|\ \ | | | | | | | | | | | | | | | | | | Include templates Closes #53445 See merge request gitlab-org/gitlab-ce!23495
| * | Allow to include templatesKamil Trzciński2019-01-047-43/+287
| | | | | | | | | | | | | | | This rewrites a syntax to allow include of templates. This also normalises the syntax used by include: feature
* | | Merge branch 'contacted_at' into 'master'Stan Hu2019-01-042-0/+45
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Guarantee visually correct order of runners on the "Admin Area > Runners" page Closes #49791 See merge request gitlab-org/gitlab-ce!21627
| * | | Take contacted_at value from the DB when it is about to be displayed in the ↵Alexander Kutelev2019-01-042-0/+45
| | | | | | | | | | | | | | | | Web interface with sorting enabled.
* | | | Add sequence to release link factoryShinya Maeda2019-01-041-2/+2
| | | |
* | | | Add frozen_string_literal: trueShinya Maeda2019-01-043-0/+6
| | | |
* | | | Add unique constraint to release and urlShinya Maeda2019-01-043-99/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix coding style Improve coding style Decouple UPDATE and DELETE operations of asset links Rename links_attributes to assets:links Rename exposed param and updated spec
* | | | Add spec for duplicate link name creationShinya Maeda2019-01-041-22/+33
| | | | | | | | | | | | | | | | Fix spec for mysql unique validation failure
* | | | Add spec for Releases::Source and Link modelsShinya Maeda2019-01-044-0/+133
| | | | | | | | | | | | | | | | Releases::Source and Releases::Link are covered by tests
* | | | Update safe model attributes for import/exportShinya Maeda2019-01-041-0/+7
| | | |
* | | | Support CURD operation for release asset linksShinya Maeda2019-01-044-0/+229
| | | | | | | | | | | | | | | | | | | | | | | | - Add Releases::Links model - Expose it in release API - Add integration tests
* | | | Merge branch 'ee1979-gl-modal-vuex' into 'master'Kushal Pandya2019-01-043-0/+231
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Create shared gl-modal-vuex component and module See merge request gitlab-org/gitlab-ce!24140
| * | | | Create shared gl-modal-vuex component and moduleee1979-gl-modal-vuexPaul Slaughter2019-01-033-0/+231
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | **Why?** It is significantly easier to manage the visibility of the modal in Vuex. The module contains the state and mutations to manage this. The component wraps GlModal and syncs the visibility with the module.
* | | | Merge branch '53696-make-rbac-default' into 'master'Kamil Trzciński2019-01-0411-108/+70
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make RBAC enabled by default for new clusters Closes #53696 See merge request gitlab-org/gitlab-ce!24119
| * | | | Make RBAC enabled default for new clustersDylan Griffith2019-01-0411-108/+70
| | | | | | | | | | | | | | | | | | | | | | | | | Many changes were also made to tests that expected this to default to false.
* | | | | Merge branch 'tz-make-user-popover-spec-more-consistent' into 'master'Kushal Pandya2019-01-041-6/+10
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Made user_popovers_spec more stable See merge request gitlab-org/gitlab-ce!24145
| * | | | | Made user_popovers_spec more stable on the value sidetz-make-user-popover-spec-more-consistentTim Zallmann2019-01-041-6/+10
| | | | | |
* | | | | | Merge branch 'ce-revert-revert-gold-trial-mrs' into 'master'Kamil Trzciński2019-01-044-18/+53
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | Bring back reverted Gold Trial MR (CE backport) See merge request gitlab-org/gitlab-ce!23621
| * | | | | Port GitLab.com gold trial callout changes to CEce-revert-revert-gold-trial-mrsLuke Bennett2019-01-034-18/+53
| | | | | | | | | | | | | | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/8731
* | | | | | Merge branch 'sh-skip-validation-visibility-changed' into 'master'Douwe Maan2019-01-041-0/+25
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only validate project visibility when it has changed Closes #55881 See merge request gitlab-org/gitlab-ce!24142
| * | | | | Only validate project visibility when it has changedsh-skip-validation-visibility-changedStan Hu2019-01-031-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On GitLab.com, there are hundreds of projects that have visibility levels that are inconsistent with the fork or group settings. Most likely, this happened during a GitLab project import because the validation was bypassed. Attempting to migrate these projects to hashed storage fails even though the migration doesn't touch the visibility settings. Skipping the visibility validation allows the migration to go through. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/55881
* | | | | | Merge branch '29951-issue-creation-by-email-without-subaddressing' into 'master'Sean McGivern2019-01-0421-56/+234
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support new issue creation by email without subaddressing Closes #29951 See merge request gitlab-org/gitlab-ce!23523
| * | | | | | Refactoring and review commentsBrett Walker2019-01-033-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | including verifying the project_slug
| * | | | | | Use new issue email address formatBrett Walker2019-01-0310-30/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | We now use `-issue` in order to support catch all email addresses
| * | | | | | Use new merge request email address formatBrett Walker2019-01-0312-26/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We now use `-merge-request` instead of `+merge-request+` in order to support catch all email addresses
| * | | | | | Use new unsubscribe linkBrett Walker2019-01-032-2/+10
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | We now use `-unsubscribe` instead of `+unsubscribe` in order to support catch all email addresses
* | | | | | Merge branch 'dm-git-access-any-ce' into 'master'Sean McGivern2019-01-046-22/+40
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | [CE] Don't run checks for changed refs when specific changes are unknown See merge request gitlab-org/gitlab-ce!23990
| * | | | | Remove unnecessary double caching (in hash and request store)dm-git-access-any-ceDouwe Maan2019-01-022-8/+1
| | | | | |
| * | | | | Consider all matching MRs to determine if user can pushDouwe Maan2019-01-022-1/+11
| | | | | |
| * | | | | Don't run single change checks when changes are unknownDouwe Maan2019-01-021-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the `changes` passed to `GitAccess` are the literal string `_any`, which indicates that this is a pre-authorization check, we now check whether the user can push to any branch in the project in question, instead of running the per-change check with `oldrev` `_any`, `newrev` `nil`, and `ref` `nil`.
| * | | | | Extract any-branch-allows-collaboration logic into dedicated methodDouwe Maan2019-01-022-6/+15
| | | | | |
| * | | | | Move magic '_any' string to constantDouwe Maan2019-01-022-6/+6
| | | | | |
* | | | | | Merge branch 'sh-fix-clone-url-for-https' into 'master'Douglas Barbosa Alexandre2019-01-041-0/+39
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix clone URL not showing if protocol is HTTPS Closes #55896 See merge request gitlab-org/gitlab-ce!24131
| * | | | | Fix clone URL not showing if protocol is HTTPSsh-fix-clone-url-for-httpsStan Hu2019-01-031-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GitLab 11.6.2 fixed the case for HTTP. However, HTTPS still did not work because the protocol returned to `http_enabled?` was the actual protocol in use (e.g. `https` instead of `http`). Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/55896
* | | | | | Merge branch '27861-add-markdown-editing-buttons-to-the-file-editor' into ↵Fatih Acet2019-01-032-163/+237
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'master' Resolve "Add markdown editing buttons to the file editor" Closes #27861 See merge request gitlab-org/gitlab-ce!23480
| * | | | | | Add markdown buttons to file editor27861-add-markdown-editing-buttons-to-the-file-editorSam Bigelow2019-01-022-163/+237
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, we have markdown files in many places (e.g. comments, new issues, etc.). This Merge Request detects if the file being edited is a markdown file and adds markdown buttons and their functionality to the single file editor (Not the web IDE)
* | | | | | Add Knative metrics to PrometheusChris Baumbauer2019-01-033-0/+33
| |/ / / / |/| | | |
* | | | | Merge branch 'tz-user-popover-follow-up' into 'master'Clement Ho2019-01-032-11/+9
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | Added Comment to user avatar Image, Changed Fixtures to created ones, added shadow color See merge request gitlab-org/gitlab-ce!23768
| * | | | Comment user avatar Image, Changed Fixtures, added new shadow colortz-user-popover-follow-upTim Zallmann2018-12-122-11/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Needed to reorder css variables Neede to reorder vars again Added Changelog
* | | | | Merge branch 'ce-1979-fe-settings-empty' into 'master'Kushal Pandya2019-01-031-22/+43
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | CE Port of "(Part 1) FE multiple approval rules settings - empty state" See merge request gitlab-org/gitlab-ce!24087
| * | | | | Update callout component to receive slotce-1979-fe-settings-emptyPaul Slaughter2019-01-021-22/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | **Why?** - This is needed to add buttons to the callout
* | | | | | Merge branch 'deprecated-positional-spec-arguments' into 'master'Lin Jen-Shin2019-01-034-9/+9
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix deprecation: Using positional arguments in integration tests See merge request gitlab-org/gitlab-ce!24110