summaryrefslogtreecommitdiff
path: root/spec/support
Commit message (Collapse)AuthorAgeFilesLines
* Adds header column to variables listfe-header-rowFilipa Lacerda2019-05-071-18/+18
| | | | | For the variables list in CI/CD settings this commits adds an header row with titles
* Merge branch 'winh-separate-frontend-fixtures' into 'master'Phil Hughes2019-05-071-1/+1
|\ | | | | | | | | Generate EE-specific JavaScript fixtures into ee/ directory (CE-backport) See merge request gitlab-org/gitlab-ce!28032
| * Generate EE frontend fixtures into ee/ directoryWinnie Hellmann2019-05-021-1/+1
| | | | | | | | (cherry picked from commit d4ce3c720ecb52f2a9153133bbd47fa358c5d7b6)
* | Merge branch 'allow-replying-to-individual-notes-from-api' into 'master'James Lopez2019-05-071-6/+18
|\ \ | | | | | | | | | | | | | | | | | | Allow replying to an individual note in the API Closes #61392 See merge request gitlab-org/gitlab-ce!28120
| * | Allow replying to an individual note in the APIallow-replying-to-individual-notes-from-apiSean McGivern2019-05-061-6/+18
| | | | | | | | | | | | | | | | | | If you can do this in the UI, you should be able to do it in the API. If a discussion is not a single note discussion, or it is replyable, you can reply to it.
* | | Merge branch 'ce-11194-fix-approvals-groups-all-available' into 'master'Fatih Acet2019-05-061-0/+4
|\ \ \ | |/ / |/| | | | | | | | Add close_select2 method to select2_helper See merge request gitlab-org/gitlab-ce!27981
| * | Add close_select2 method to select2_helperce-11194-fix-approvals-groups-all-availablePaul Slaughter2019-05-011-0/+4
| | | | | | | | | | | | | | | | | | **Why?** This is needed to create a feature test for: https://gitlab.com/gitlab-org/gitlab-ee/issues/11194
* | | Implement support for CI variables of type fileKrasimir Angelov2019-05-062-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add env_var and file as supported types for CI variables. Variables of type file expose to users existing gitlab-runner behaviour - save variable value into a temp file and set the path to this file in an ENV var named after the variable key. Resolves https://gitlab.com/gitlab-org/gitlab-ce/issues/46806.
* | | Merge branch 'fix-search-bar-specs' into 'master'Tim Zallmann2019-05-061-10/+7
|\ \ \ | | | | | | | | | | | | | | | | [CE] Fix filter token not showing up when multiple assignees are enabled See merge request gitlab-org/gitlab-ce!27759
| * | | Fix false positives in filtered search specsfix-search-bar-specsHeinrich Lee Yu2019-05-031-10/+7
| | |/ | |/| | | | | | | | | | Assertions were made based on elements found so the specs still pass even if the elements don't exist
* | | Allow guests users to access project releasesKrasimir Angelov2019-05-031-2/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is step one of resolving https://gitlab.com/gitlab-org/gitlab-ce/issues/56838. Here is what changed: - Revert the security fix from bdee9e8412d. - Do not leak repository information (tag name, commit) to guests in API responses. - Do not include links to source code in API responses for users that do not have download_code access. - Show Releases in sidebar for guests. - Do not display links to source code under Assets for users that do not have download_code access. GET ':id/releases/:tag_name' still do not allow guests to access releases. This is to prevent guessing tag existence.
* | Adds a way to start multiple manual jobs in stageMayra Cabrera2019-05-021-0/+27
| | | | | | | | | | | | | | | | | | | | - Adds an endpoint on PipelinesController - Adds a service that iterates over every build in a stage and plays it. - Includes 'play_manual' details on EntitySerializer - Builds a new Stage state: PlayManual. An stage can take this status if it has manual builds or an skipped, scheduled or manual status - Includes FE modifications and specs
* | Remove unused projects.ci_id column27777-drop-projects-ci_id-columnDmitriy Zaporozhets2019-05-021-39/+0
| | | | | | | | | | | | And remove Gitlab::Ci::Trace#deprecated_path as it relies on ci_id Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Merge branch 'sh-allow-equal-level-in-subgroup-membership' into 'master'James Lopez2019-05-021-1/+1
|\ \ | | | | | | | | | | | | | | | | | | Allow a member to have an access level equal to parent group Closes gitlab-ee#11323 See merge request gitlab-org/gitlab-ce!27913
| * | Allow a member to have an access level equal to parent groupsh-allow-equal-level-in-subgroup-membershipStan Hu2019-04-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Suppose you have this configuration: 1. Subgroup `hello/world` 2. Subgroup `hello/mergers`. 3. Project `hello/world/my-project` has invited group `hello/world` to access protected branches. 4. The rule allows the group to merge but no one can push. 5. User `newuser` has Owner access to the parent group `hello`. Previously, there was no way for the user `newuser` to be added to the `hello/mergers` group since the validation only allowed a user to be added at a higher access level. Since membership in a subgroup confers certain access rights, such as being able to merge or push code to protected branches, we have to loosen the validation and allow someone to be added at an equal level granted by the parent group. Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/11323
* | | Allow Sentry client-side DSN to be passed on gitlab.ymlDouglas Barbosa Alexandre2019-05-011-1/+3
| |/ |/|
* | Update metrics dashboard API to load yml from repoSarah Yasonik2019-05-011-0/+43
|/ | | | | | | | | | | Updates the EnvironmentController#metrics_dashboard endpoint to support a "dashboard" param, which can be used to specify the filepath of a dashboard configuration from a project repository. Dashboard configurations are expected to be stored in .gitlab/dashboards/. Updates dashboard post-processing steps to exclude custom metrics, which should only display on the system dashboard.
* Merge branch 'feat/sentry-environment' into 'master'Douglas Barbosa Alexandre2019-04-301-0/+37
|\ | | | | | | | | feat: add option to define the Sentry Environment See merge request gitlab-org/gitlab-ce!27091
| * feat: allow Sentry configuration to be passed on gitlab.ymlRoger Meier2019-04-301-0/+37
| |
* | Merge branch 'jc-client-for-fetch-objects-into-pool' into 'master'Stan Hu2019-04-301-0/+78
|\ \ | |/ |/| | | | | Add client methods for FetchIntoObjectPool RPC See merge request gitlab-org/gitlab-ce!27767
| * Add client methods for FetchIntoObjectPool RPCJohn Cai2019-04-301-0/+78
| | | | | | | | | | | | | | Gitaly's FetchIntoObjectPool RPC will idempotently fetch objects into an object pool. If the pool doesn't exist, it will create an empty pool before attempting the fetch. This change adds client code as well as specs to cover this behavior.
* | Rename #timeouted -> #timed_outDylan Griffith2019-04-291-1/+1
| |
* | Expose can_uninstall in cluster_status.jsonThong Kuah2019-04-291-0/+8
| | | | | | | | | | | | | | | | Only prometheus can be uninstalled atm, the rest will be dealt with later. Presumption is that new application types will have uninstallation implmemented at the same time.
* | Destroy app on successful uninstallationThong Kuah2019-04-291-11/+0
| | | | | | | | | | | | | | | | Rescue and put into :uninstall_errored if something goes wrong while destroying, which can happen. I think it is safe to expose the full error message from the destroy error. Remove the :uninstalled state as no longer used.
* | Define state transitions for uninstalling appsThong Kuah2019-04-291-10/+66
|/ | | | | Added :uninstalled state as wasn't sure if we should be destroying the cluster apps
* Merge branch 'use-keyword-args-for-databuilder-push' into 'master'Douglas Barbosa Alexandre2019-04-292-4/+4
|\ | | | | | | | | Use keyword args for databuilder push See merge request gitlab-org/gitlab-ce!24088
| * Use all keyword args for DataBuilder::Push.build()Jonathon Reinhart2019-04-252-4/+4
| |
* | Port changes for design management to CEBob Van Landuyt2019-04-291-1/+12
| | | | | | | | | | | | This ports the changes from https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10462/ to CE
* | Add deployment events to chat notification servicesJason Goodman2019-04-262-0/+14
| | | | | | | | | | This enables sending a chat message to Slack or Mattermost upon a successful, failed, or canceled deployment
* | Extract EE specific tests for protected branches/tagsOswaldo Ferreira2019-04-252-0/+48
|/ | | | | | | We have the spec files containing EE specific code for spec/features/protected_branches_spec.rb and spec/features/protected_tags_spec.rb. This commit deletes / extracts the CE part of it.
* Revert Rails.application.env_config after using mock_auth_hashRémy Coutable2019-04-232-1/+8
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Upgrade Rails to 5.1.6.1Jasper Maes2019-04-233-5/+5
| | | | Model.new.attributes now also returns encrypted attributes.
* Extract ProjectStatistics updates into a concernAlessio Caiazza2019-04-191-0/+76
| | | | Refactor existing tests as a shared example
* Introduce the wait_for helper for system testsce-11224-flaky-test-projects-audit-events-adding-an-ssh-key-appears-in-the-project-s-audit-events-ee-spec-features-projects-audit_events_specRémy Coutable2019-04-182-14/+20
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Replace `No due date` with `None`Victor Wu2019-04-171-1/+1
|
* Fix unexpected extra notification mailsPatrick Derichs2019-04-172-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using custom_action and recipient filtering Add more generic filtering to user_ids_notifiable_on Add changelog entry Remove commented class Method is no longer needed Overloading no longer required Filter by action just in case of custom notification level Add participant check Fix unexpected extra notification mails Using custom_action and recipient filtering Add more generic filtering to user_ids_notifiable_on Add changelog entry Remove commented class Method is no longer needed Overloading no longer required Filter by action just in case of custom notification level Fix comment Add repond_to? checks Reverted custom_action filtering Enhanced output of should_email helper Changed :watch to :participating for custom notifiable users Change spec variable name Enhanced participating check These conditions are no longer needed Fix custom notification handling for participating type Participating level should include maintainers Fixed add_guest notification Fix successful pipeline notification Refactoring: Use maintainer? method on team instead Add spec for new_issue: true for a custom group setting which should have lower prio than an available project setting Clean up specs
* Merge branch '59570-move-quick-action' into 'master'Sean McGivern2019-04-161-0/+89
|\ | | | | | | | | | | | | Extract move quick action spec to shared example Closes #59570 See merge request gitlab-org/gitlab-ce!26907
| * Extract move quick action spec to shared example59570-move-quick-actionAlexandru Croitor2019-04-151-0/+89
| |
* | Rewind IID on Ci::Pipelinesrewind-iid-on-pipelinesKamil Trzciński2019-04-161-4/+38
| | | | | | | | | | | | | | If no pipeline is created we currently have IID gap. This is due to fact that we generate IID not on save, but rather ahead of time. This results, us, losing IIDs.
* | Merge branch 'bw-query_graphql_field-enhancement' into 'master'Dmitriy Zaporozhets2019-04-161-1/+2
|\ \ | | | | | | | | | | | | | | | | | | Allow arrays to be specified for fields in graphql_query_for Closes #60238 See merge request gitlab-org/gitlab-ce!27142
| * | Allow arrays to specify fields graphql_query_forbw-query_graphql_field-enhancementBrett Walker2019-04-111-1/+2
| | |
* | | Merge branch 'helm_uninstall_command' into 'master'Sean McGivern2019-04-161-0/+26
|\ \ \ | |_|/ |/| | | | | | | | Helm DeleteCommand See merge request gitlab-org/gitlab-ce!27348
| * | Implement commands to uninstall cluster applicationshelm_uninstall_commandThong Kuah2019-04-161-0/+26
| | | | | | | | | | | | | | | This is the backend part which just allows uninstalling Prometheus for now.
* | | Fix a few specs after updating capybara and selenium-webdriverRémy Coutable2019-04-121-3/+1
|/ / | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Improve project settings pageLuke Bennett2019-04-111-8/+6
|/ | | | Prioritize and simplify project settings content.
* Align UrlValidator to validate_url gem implementation.Thong Kuah2019-04-111-12/+12
| | | | | | | Renamed UrlValidator to AddressableUrlValidator to avoid 'url:' naming collision with ActiveModel::Validations::UrlValidator in 'validates' statement. Make use of the options attribute of the parent class ActiveModel::EachValidator. Add more options: allow_nil, allow_blank, message. Renamed 'protocols' option to 'schemes' to match the option naming from UrlValidator.
* Require possible EE extensionLin Jen-Shin2019-04-102-0/+6
|
* Add more info logging to cluster appsDylan Griffith2019-04-101-1/+1
| | | | | Log events so that it's easy to see when different requests are starting.
* Quarantine flaky testMichael Kozono2019-04-091-1/+1
|
* Move Contribution Analytics related spec in ↵Imre Farkas2019-04-093-0/+103
| | | | spec/features/groups/group_page_with_external_authorization_service_spec to EE