Commit Graph

61 Commits

Author SHA1 Message Date
GitLab Bot 31f5ca749f Add latest changes from gitlab-org/gitlab@master 2025-04-04 15:13:15 +00:00
GitLab Bot 6126f3be08 Add latest changes from gitlab-org/gitlab@master 2024-12-13 18:33:13 +00:00
GitLab Bot 65963de2ae Add latest changes from gitlab-org/gitlab@master 2024-12-11 15:27:34 +00:00
GitLab Bot 47c81b87df Add latest changes from gitlab-org/gitlab@master 2024-10-29 15:19:44 +00:00
GitLab Bot 29c1054205 Add latest changes from gitlab-org/gitlab@master 2024-05-01 03:09:59 +00:00
GitLab Bot 661b6b005b Add latest changes from gitlab-org/gitlab@master 2024-03-04 18:10:18 +00:00
GitLab Bot 4a064b8dc0 Add latest changes from gitlab-org/gitlab@master 2023-06-13 18:11:14 +00:00
GitLab Bot 78782cd1eb Add latest changes from gitlab-org/gitlab@master 2023-04-06 15:08:20 +00:00
GitLab Bot f7b08f4264 Add latest changes from gitlab-org/gitlab@master 2023-03-22 12:11:32 +00:00
GitLab Bot 2119988252 Add latest changes from gitlab-org/gitlab@master 2023-03-13 06:14:29 +00:00
GitLab Bot 99f4b14cb0 Add latest changes from gitlab-org/gitlab@master 2023-02-17 15:09:22 +00:00
GitLab Bot 6f18a8d0b0 Add latest changes from gitlab-org/gitlab@master 2023-01-31 15:10:47 +00:00
GitLab Bot 8c2d06cba7 Add latest changes from gitlab-org/gitlab@master 2022-07-29 15:12:25 +00:00
GitLab Bot aadc5da1b1 Add latest changes from gitlab-org/gitlab@master 2022-07-25 21:08:32 +00:00
GitLab Bot 9b8aeacf0e Add latest changes from gitlab-org/gitlab@master 2022-04-11 15:09:47 +00:00
GitLab Bot 11d02c98dc Add latest changes from gitlab-org/gitlab@master 2022-03-21 03:08:23 +00:00
GitLab Bot 3bdc719293 Add latest changes from gitlab-org/gitlab@master 2022-02-01 15:18:50 +00:00
GitLab Bot 533f020a0b Add latest changes from gitlab-org/gitlab@master 2021-06-30 18:07:05 +00:00
GitLab Bot 41aebff8ec Add latest changes from gitlab-org/gitlab@master 2021-06-01 15:09:52 +00:00
GitLab Bot beab869416 Add latest changes from gitlab-org/gitlab@master 2021-04-12 21:11:12 +00:00
GitLab Bot a0213db466 Add latest changes from gitlab-org/gitlab@master 2021-03-15 18:09:05 +00:00
GitLab Bot 8b0ef13236 Add latest changes from gitlab-org/gitlab@master 2020-06-03 18:08:28 +00:00
GitLab Bot db24ab2b72 Add latest changes from gitlab-org/gitlab@master 2020-01-28 12:08:44 +00:00
GitLab Bot 587794b4b8 Add latest changes from gitlab-org/gitlab@master 2019-10-02 00:06:26 +00:00
Vitali Tatarintev 6a6411938a Change `be_success` to `be_successful` in specs
Fixes deprecation warning:

```
DEPRECATION WARNING: The success? predicate is deprecated and
will be removed in Rails 6.0.
Please use successful? as provided by Rack::Response::Helpers.
```
2019-08-19 14:40:56 +02:00
Peter Leitzen 7b87ed1499 Cleanup usages of `JSON.parse` in specs
Prefer `json_response` where applicable.
2019-07-16 08:03:49 +00:00
gfyoung 93a44e135b Add some frozen string to spec/**/*.rb
Adds frozen string to the following:

* spec/bin/**/*.rb
* spec/config/**/*.rb
* spec/controllers/**/*.rb

xref https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-04-15 10:17:05 +00:00
Rémy Coutable 3a2abc1d50
Enable the Layout/ExtraSpacing cop
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-01-24 13:05:45 +01:00
blackst0ne b44a2c801a Update specs to rails5 format
Updates specs to use new rails5 format.

The old format:
`get :show, { some: params }, { some: headers }`

The new format:
`get :show, params: { some: params }, headers: { some: headers }`
2018-12-19 10:04:31 +11:00
Filipa Lacerda 87444fb6ed
Adds pagination to pipelines table in merge request page 2018-10-31 17:10:36 +00:00
George Andrinopoulos 70830c2300 Add target branch to cherry pick confirmation message 2018-08-19 23:11:49 +03:00
Mark Chao a63bce1a4b Resolve "Rename the `Master` role to `Maintainer`" Backend 2018-07-11 14:36:08 +00:00
Zeger-Jan van de Weg dfdd881510
Workhorse to send raw diff and patch for commits
Prior to this change, this was done through unicorn. In theory this
could time out. Workhorse has been sending these raw patches and diffs
for a long time and is stable in doing so.

Added bonus is the fact that `Commit#to_patch` can be removed.

`Commit#to_diff` too, which closes
https://gitlab.com/gitlab-org/gitaly/issues/324

Closes https://gitlab.com/gitlab-org/gitaly/issues/1196
2018-05-16 11:52:43 +02:00
micael.bergeron 360b94ceba adding view and feature specs 2017-12-07 09:06:59 -05:00
micael.bergeron cb6f51ec9b add support for the commit reference filter 2017-12-07 09:01:37 -05:00
micael.bergeron 142edf0afc diff notes created in merge request on a commit have the right context
add a spec for commit merge request diff notes
2017-12-07 09:01:23 -05:00
Zeger-Jan van de Weg f9565e3039
Batchload blobs for diff generation
After installing a new gem, batch-loader, a construct can be used to
queue data to be fetched in bulk. The gem was also introduced in both
gitlab-org/gitlab-ce!14680 and gitlab-org/gitlab-ce!14846, but those mrs
are not merged yet.

For the generation of diffs, both the old blob and the new blob need to
be loaded. This for every file in the diff, too. Now we collect all
these so we do 1 fetch. Three `.allow_n_plus_1_calls` have been removed,
which I expect to be valid, but this needs to be confirmed by a full CI
run.

Possibly closes:
- https://gitlab.com/gitlab-org/gitlab-ce/issues/37445
- https://gitlab.com/gitlab-org/gitlab-ce/issues/37599
- https://gitlab.com/gitlab-org/gitlab-ce/issues/37431
2017-11-21 13:53:26 +01:00
Annabel Dunstone Gray d9313795e7 Merge branch '37824-many-branches-lock-server' into 'master'
Project with many branches can lock server running "git branch --contains XXX"

Closes #37824

See merge request gitlab-org/gitlab-ce!14812
2017-11-07 21:49:27 +00:00
Jacopo 2f40dac352 Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
Brett Walker cbdf372eb8 implemented using an ivar, and added specs 2017-10-13 19:11:11 +02:00
Filipa Lacerda 706d99aed8 Update Pipeline's badge count in Merge Request and Commits view to match real-time content 2017-07-14 15:52:54 +00:00
Douwe Maan fe13f11041 Create and use project path helpers that only need a project, no namespace 2017-07-05 11:11:59 -05:00
Grzegorz Bizon 0430b76441 Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
Robert Speicher a6ec5121f0 Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
Douwe Maan 336016fa85
Satisfy Rubocop 2017-04-05 17:44:14 +01:00
Douwe Maan 08bbb9fce6
Add option to start a new discussion on an MR 2017-04-05 17:44:14 +01:00
Douwe Maan 6cc4cf1e15 Fix cherry-picking or reverting through an MR 2017-03-02 17:41:05 -06:00
Douwe Maan ad640bc5f9 Use Namespace#full_path instead of #path where appropriate 2017-02-23 17:55:01 -06:00
Grzegorz Bizon ac5b3ce02a Add controller tests for commit pipelines endpoint 2017-01-27 15:23:09 +01:00
Robert Speicher 4642ca6686 Use `empty_project` where possible in controller specs 2017-01-25 17:14:38 -05:00