Commit Graph

183 Commits

Author SHA1 Message Date
GitLab Bot 81fb153d05 Add latest changes from gitlab-org/gitlab@master 2022-05-20 12:08:50 +00:00
GitLab Bot 988424215c Add latest changes from gitlab-org/gitlab@master 2022-05-13 12:08:49 +00:00
GitLab Bot 669ad9e431 Add latest changes from gitlab-org/gitlab@master 2022-05-06 12:09:05 +00:00
GitLab Bot 6216eabd1c Add latest changes from gitlab-org/gitlab@master 2022-04-21 21:08:43 +00:00
GitLab Bot 16dbaf57bc Add latest changes from gitlab-org/gitlab@master 2022-03-23 15:08:38 +00:00
GitLab Bot 42afc4d656 Add latest changes from gitlab-org/gitlab@master 2022-03-03 15:16:42 +00:00
GitLab Bot 4eac7e06bd Add latest changes from gitlab-org/gitlab@master 2022-02-28 12:15:45 +00:00
GitLab Bot 94ca431814 Add latest changes from gitlab-org/gitlab@master 2022-02-24 18:19:04 +00:00
GitLab Bot 706338ea16 Add latest changes from gitlab-org/gitlab@master 2022-01-25 00:11:49 +00:00
GitLab Bot f20be8802a Add latest changes from gitlab-org/gitlab@master 2022-01-06 15:16:10 +00:00
GitLab Bot e303f963d0 Add latest changes from gitlab-org/gitlab@master 2021-12-17 15:13:39 +00:00
GitLab Bot 4484c85231 Add latest changes from gitlab-org/gitlab@master 2021-08-17 18:10:35 +00:00
GitLab Bot 01034c2c45 Add latest changes from gitlab-org/gitlab@master 2021-08-05 15:09:46 +00:00
GitLab Bot 099deb2725 Add latest changes from gitlab-org/gitlab@master 2021-08-04 00:08:51 +00:00
GitLab Bot 4bf395cded Add latest changes from gitlab-org/gitlab@master 2021-08-03 21:09:39 +00:00
GitLab Bot 1613500bf7 Add latest changes from gitlab-org/gitlab@master 2021-07-09 09:09:53 +00:00
GitLab Bot c608e2662b Add latest changes from gitlab-org/gitlab@master 2021-07-07 21:08:10 +00:00
GitLab Bot 430aebe8af Add latest changes from gitlab-org/gitlab@master 2021-04-21 06:09:28 +00:00
GitLab Bot 14a2a7de8e Add latest changes from gitlab-org/gitlab@master 2021-04-04 03:08:52 +00:00
GitLab Bot 889bf7a0ee Add latest changes from gitlab-org/gitlab@master 2021-03-16 18:11:53 +00:00
GitLab Bot 8215fc964a Add latest changes from gitlab-org/gitlab@master 2021-02-16 12:09:03 +00:00
GitLab Bot 6011d00072 Add latest changes from gitlab-org/gitlab@master 2021-02-12 03:08:53 +00:00
GitLab Bot 315243f877 Add latest changes from gitlab-org/gitlab@master 2021-02-05 09:09:10 +00:00
GitLab Bot cbd505d80b Add latest changes from gitlab-org/gitlab@master 2021-01-22 21:09:10 +00:00
GitLab Bot 37a492326e Add latest changes from gitlab-org/gitlab@master 2021-01-21 18:09:11 +00:00
GitLab Bot 6d9c4dc2ef Add latest changes from gitlab-org/gitlab@master 2020-11-16 18:09:15 +00:00
GitLab Bot f4182abcb6 Add latest changes from gitlab-org/gitlab@master 2020-11-12 18:09:26 +00:00
GitLab Bot d9e71b0d41 Add latest changes from gitlab-org/gitlab@master 2020-10-15 15:08:45 +00:00
GitLab Bot c5d67a0495 Add latest changes from gitlab-org/gitlab@master 2020-09-23 18:10:15 +00:00
GitLab Bot 6b9b8a52ba Add latest changes from gitlab-org/gitlab@master 2020-09-16 06:09:24 +00:00
GitLab Bot da100a690f Add latest changes from gitlab-org/gitlab@master 2020-08-11 21:10:09 +00:00
GitLab Bot bdca097916 Add latest changes from gitlab-org/gitlab@master 2020-08-11 03:11:00 +00:00
GitLab Bot 350fd8b878 Add latest changes from gitlab-org/gitlab@master 2020-08-10 18:09:54 +00:00
GitLab Bot db73de5d6d Add latest changes from gitlab-org/gitlab@master 2020-08-07 21:10:07 +00:00
GitLab Bot 2d8454515e Add latest changes from gitlab-org/gitlab@master 2020-07-16 15:09:38 +00:00
GitLab Bot 18ffa5e881 Add latest changes from gitlab-org/gitlab@master 2020-07-14 18:09:55 +00:00
GitLab Bot ff430539d5 Add latest changes from gitlab-org/gitlab@master 2020-07-13 15:09:08 +00:00
GitLab Bot 691ed55a05 Add latest changes from gitlab-org/gitlab@master 2020-07-06 18:09:13 +00:00
GitLab Bot 8b0ef13236 Add latest changes from gitlab-org/gitlab@master 2020-06-03 18:08:28 +00:00
GitLab Bot 53288eeb63 Add latest changes from gitlab-org/gitlab@master 2020-05-05 21:09:42 +00:00
GitLab Bot c74b7b5e43 Add latest changes from gitlab-org/gitlab@master 2020-04-28 12:09:44 +00:00
GitLab Bot 52cacdb89b Add latest changes from gitlab-org/gitlab@master 2020-04-14 03:09:39 +00:00
GitLab Bot e0fa0638a4 Add latest changes from gitlab-org/gitlab@master 2020-02-27 18:09:21 +00:00
GitLab Bot c2367afbf5 Add latest changes from gitlab-org/gitlab@master 2020-02-24 18:09:05 +00:00
GitLab Bot f0707f413c Add latest changes from gitlab-org/gitlab@master 2020-02-13 09:08:52 +00:00
GitLab Bot b4ded0ba7b Add latest changes from gitlab-org/gitlab@master 2020-02-10 09:08:56 +00:00
GitLab Bot be37a0ee5e Add latest changes from gitlab-org/gitlab@master 2020-01-30 09:08:55 +00:00
GitLab Bot 167894d0e7 Add latest changes from gitlab-org/gitlab@master 2020-01-24 21:09:09 +00:00
GitLab Bot e3e300557f Add latest changes from gitlab-org/gitlab@master 2020-01-08 12:07:59 +00:00
GitLab Bot c6373a2cec Add latest changes from gitlab-org/gitlab@master 2019-12-24 12:08:01 +00:00
GitLab Bot b3e4ec8e8a Add latest changes from gitlab-org/gitlab@master 2019-10-23 09:06:03 +00:00
GitLab Bot ad1e4b8fb8 Add latest changes from gitlab-org/gitlab@master 2019-10-21 15:05:58 +00:00
GitLab Bot da35510cda Add latest changes from gitlab-org/gitlab@master 2019-10-17 21:06:41 +00:00
Grzegorz Bizon e08d13420d Merge branch 'error-pipelines-for-blocked-users' into 'master'
Preventing blocked users and their PipelineSchdules from creating new Pipelines

Closes #47756

See merge request gitlab-org/gitlab-ce!27318
2019-06-17 13:00:34 +00:00
Heinrich Lee Yu 96ed5a8bd7 Upgrade to Capybara 3
Fix whitespace in specs because normalize_ws is slightly
different from Capybara 2 behavior
2019-06-12 18:40:18 +08:00
Lin Jen-Shin 74399a9098
Show Test Automation Engineer for spec/feature as
reviewers.
2019-06-06 21:11:57 +08:00
Kamil Trzciński e58e24b4d4 Revert "Merge branch..."
This reverts merge request !27503
2019-06-05 11:09:51 +00:00
drew cimino 42d6d3187f preventing blocked users and their PipelineSchdules from creating new Pipelines
updated several specs and factories to accomodate new permissions
2019-06-04 20:25:26 -05:00
Filipa Lacerda 51c35a4ab5 Fixes ref being displayed as raw HTML
The ref to the branch was being displayed as
raw HTML in the Pipelines page
2019-05-30 09:58:41 +01:00
Mayra Cabrera 5432f5480f Adds a way to start multiple manual jobs in stage
- 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
2019-05-02 18:27:35 +00:00
Douwe Maan 86900f0000 Merge branch '53064-bypassing-pipeline-jobs-by-canceling-the-pipeline-and-manually-running-later-jobs' into 'master'
Disable retrying cancelled jobs

Closes #53064

See merge request gitlab-org/gitlab-ce!27503
2019-05-02 10:28:39 +00:00
Shinya Maeda 96b28d8387 Fix ref_text of merge request pipelines
Source branch can be removed after the merge and
we have to make sure to avoid rendering links if it's the case.
2019-04-30 10:14:19 +07:00
mfluharty 6b7b07b7ec
Update specs that use retryable canceled jobs
Specs that test canceled jobs now
- expect them not to be retryable or playable
- expect them not to show retry buttons

Specs that test retryability now
- use failed status instead of canceled status
2019-04-19 14:03:53 -06:00
Thong Kuah 4ec16912b8 Autocorrect with RSpec/ExampleWording cop
- rewords examples starting with 'should'
- rewords examples starting with 'it'

Note: I had to manually fixup "onlies" to "only"
2019-04-05 08:43:27 +00:00
Bob Van Landuyt 374d4f1744 Refactor pipeline_spec
This makes sure we load the page as part of the spec, instead of a
before block. So we could still perform setup inside shared examples,
avoiding failures caught by data being wrongly cached when loading the
page multiple times during a single spec
2019-04-01 15:39:39 +02:00
Clement Ho 6a0702fe93 Merge branch '57115-just-in-time-k8s-resource-creation' into 'master'
Create project-specific Kubernetes resources just-in-time

See merge request gitlab-org/gitlab-ce!25586
2019-03-20 22:25:23 +00:00
Tiger 42ca9c6f0d Add :preparing status to HasStatus
Introduces a new status for builds between :created and :pending
that will be used when builds require one or more prerequisite
actions to be completed before being picked up by a runner
(such as creating Kubernetes resources before deploying).

The existing :created > :pending transition is unchanged, so
only builds that require preparation will use the :preparing
status.
2019-03-20 11:48:31 +11:00
Shinya Maeda aee119c0cd Update pipeline detail view to accommodate post-merge pipelines
Commit changes

Add spec

Add changelog

fix

fix

Fix

Fix spec

Finish spec

ok

nice

ok

ok

ok

fix
2019-03-19 23:19:27 +07:00
Shinya Maeda f62dc67d26 Add suffix for merge request event
Fix

ok

Add spec

Fix

ok

Fix

Add changelog

Fix

Add memoization

a

fix
2019-03-01 22:52:38 +09:00
Grzegorz Bizon 287c6ed149 Add basic feature specs for cross-project bridges 2019-01-25 10:41:32 +01:00
Luke Bennett 3bd306ddfa
Show the correct error page when access is denied 2019-01-15 20:42:10 +00:00
Kamil Trzciński 0103d5be96 Add config_options|variables to BuildMetadata
These are data columns that store runtime configuration
of build needed to execute it on runner and within pipeline.

The definition of this data is that once used, and when no longer
needed (due to retry capability) they can be freely removed.

They use `jsonb` on PostgreSQL, and `text` on MySQL (due to lacking
support for json datatype on old enough version).
2019-01-04 16:38:17 +01:00
Scott Hampton a611eab942 Resolve "Include tags into pipeline detail view" 2018-12-05 21:36:18 +00:00
Kamil Trzciński 40397f3577 Allow to make builds soft-archived.
The soft-archived builds cannot be run after some deadline time.
The intent is to aggressively recycle old builds after sometime.
2018-11-05 15:51:57 +01:00
Grzegorz Bizon 680afb3d77 Do not raise error when checking pipeline reference
Return from the `Ci::Pipeline#ref_exists?` in case when there is no
repository present.

This also fixes pipeline page feature specs by changing pipeline
reference instead of stubbing `ref_exist?` method.
2018-10-22 13:33:28 +02:00
Filipa Lacerda 49d7c3b346 Removes extra empty lines 2018-10-17 15:16:28 +01:00
Filipa Lacerda 0d583e5e8a Creates ref_exists? method for Pipeline class 2018-10-08 16:55:13 +01:00
Filipa Lacerda fa875ba7a9 Merge branch 'master' into 42611-removed-branch-link
* master: (1252 commits)
  Render log artifact files in GitLab
  Check disabled_services when finding a service
  Fix invalid parent path on group settings page
  Backport CE changes for: [Frontend only] Batch comments on merge requests
  Add button to insert table in markdown editor
  Update GITALY_SERVER_VERSION
  Updates Laravel.gitlab-ci.yml template
  Update operations metrics empty state
  Fix LFS uploaded images not being rendered
  Prepare admin/projects/show view to allow EE specific feature
  Add timed incremental rollout to Auto DevOps
  Update spec comment to point to correct issue
  Fix documentation for variables
  Document Security and Licence Management features permissions
  Fix time dependent jobs spec
  Use a CTE to remove the query timeout
  Backport changes from gitlab-ee!7538
  Fix CE to EE merge (backport)
  Add changelog entry
  Refactor Feature.flipper method
  ...
2018-10-08 10:40:10 +01:00
Shinya Maeda 4741c07f3f Groomed specs 2018-10-04 20:52:14 +09:00
Shinya Maeda 980c0e19d7 Fix pipeline spec 2018-10-03 17:46:40 +09:00
Shinya Maeda 9621bbb94c Add feature spec 2018-10-03 16:11:08 +09:00
Filipa Lacerda ecefe09046
Render link to branch only when branch still exists 2018-08-31 16:59:23 +01:00
Filipa Lacerda 5e8f11e5fd
Removes <br> sent from backend on tooltips in jobs
When backend sends HTML it requires frontend to append it to the DOM causing
XSS vulnerabilities. By removing the `<br>` we avoid those vulnerabilities
2018-08-09 18:28:05 +01:00
Bob Van Landuyt f1d3ea63cf Show the status of a user in interactions
The status is shown for
- The author of a commit when viewing a commit
- Notes on a commit (regular/diff)
- The user that triggered a pipeline when viewing a pipeline
- The author of a merge request when viewing a merge request
- The author of notes on a merge request (regular/diff)
- The author of an issue when viewing an issue
- The author of notes on an issue
- The author of a snippet when viewing a snippet
- The author of notes on a snippet
- A user's profile page
- The list of members of a group/user
2018-07-30 15:01:26 +02:00
André Luís d64ab8df18 Resolve "Show `failure_reason` and improve failed jobs tab in pipeline detail view" 2018-06-07 18:06:31 +00:00
Paul Slaughter bbff2d680d Update 404 and 403 pages 2018-05-31 21:28:19 +00:00
Clement Ho 5955caed32 Merge branch 'master' into bootstrap4 2018-05-08 10:49:30 -05:00
Kamil Trzciński 6776fac622 Respect permissions when showing Failed Jobs 2018-05-06 18:46:00 +02:00
Clement Ho c5f9147645 Fix pipelines spec 2018-04-24 14:29:14 -05:00
Mayra Cabrera d54cf868f8 Resolve "Show `failure_reason` and upgrade tooltips of jobs" 2018-04-05 21:04:42 +00:00
blackst0ne 27c95364b5 Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
Christiaan Van den Poel 7edbc0f8c8 Fix job count in pipeline success mail 2017-12-18 09:13:46 +00:00
Filipa Lacerda 387f16267c Prevent job link form rendering when user does not have permissions
Adds e2e tests
2017-12-04 15:43:59 +00:00
Mike Greiling 11c21e953f
Merge branch 'master' into sh-headless-chrome-support
* master: (109 commits)
  Remove Filesystem check metrics that use too much CPU to handle requests
  Set merge_request_diff_id on MR when creating
  Add a column linking an MR to its diff
  Remove useless closeReopenReport specs
  Clarify external artifacts only working when GitLab pages is enabled
  Send SIGSTP before SIGTERM to actually give Sidekiq jobs 30s to finish when the memory killer kicks in
  Remove an exception from the git user default SSH config check
  Geo route whitelisting is too optimistic
  Update .nvmrc to current stable (v9.0.0)
  Update documentation
  Address Douwe's feedback
  Refactor responsive table styles to support nested error block
  Add changelog items
  Update specs for sudo behavior
  Move RSS and incoming email tokens from User Settings > Accounts to User Settings > Access Tokens
  Remove user authentication_token column
  Migrate user private tokens to personal access tokens
  Add sudo API scope
  Consistently use PersonalAccessToken instead of PersonalToken
  Remove User#private_token
  ...
2017-11-02 17:05:06 -05:00
Tim Zallmann 33ca696666 Fixing Tests and CSS display 2017-10-30 10:28:33 +01:00
Tim Zallmann ce75de08f0 Fixes for Tests 2017-10-30 10:27:46 +01:00
Stan Hu 09baadca34 Merge branch 'master' into sh-headless-chrome-support 2017-08-09 15:57:52 -07:00
Stan Hu 408df2edcb Merge branch 'master' into sh-headless-chrome-support 2017-08-02 16:58:28 -07:00
Robert Speicher 72a7b30c9f Change all `:empty_project` to `:project` 2017-08-02 17:47:31 -04:00
Robert Speicher 1a0064dceb Use `empty_project` where possible in spec/features/projects 2017-07-27 13:12:16 -04:00