GitLab Bot
2828f81d2a
Add latest changes from gitlab-org/gitlab@master
2022-07-01 12:08:08 +00:00
GitLab Bot
f46d20e508
Add latest changes from gitlab-org/gitlab@master
2022-06-23 12:09:30 +00:00
GitLab Bot
9440c17f55
Add latest changes from gitlab-org/gitlab@master
2022-06-15 15:09:20 +00:00
GitLab Bot
5f003678af
Add latest changes from gitlab-org/gitlab@master
2022-06-09 03:08:17 +00:00
GitLab Bot
dd5d37c7f6
Add latest changes from gitlab-org/gitlab@master
2022-06-01 15:08:57 +00:00
GitLab Bot
9adada1187
Add latest changes from gitlab-org/gitlab@master
2022-05-13 18:08:33 +00:00
GitLab Bot
fb7b6bceee
Add latest changes from gitlab-org/gitlab@master
2022-05-11 09:08:10 +00:00
GitLab Bot
67fa8362ae
Add latest changes from gitlab-org/gitlab@master
2022-05-06 15:09:03 +00:00
GitLab Bot
63fbe648bb
Add latest changes from gitlab-org/gitlab@master
2022-05-02 18:10:57 +00:00
GitLab Bot
6a85a7c312
Add latest changes from gitlab-org/gitlab@master
2022-04-20 15:10:23 +00:00
GitLab Bot
bc3187f6d9
Add latest changes from gitlab-org/gitlab@master
2022-04-05 18:09:00 +00:00
GitLab Bot
df2358a5f7
Add latest changes from gitlab-org/gitlab@master
2022-03-30 09:08:12 +00:00
GitLab Bot
e4dad5d330
Add latest changes from gitlab-org/gitlab@master
2022-03-28 12:07:26 +00:00
GitLab Bot
b131b6f680
Add latest changes from gitlab-org/gitlab@master
2022-03-11 03:08:14 +00:00
GitLab Bot
e9c3815d3d
Add latest changes from gitlab-org/gitlab@master
2022-02-23 09:12:16 +00:00
GitLab Bot
6225d57e55
Add latest changes from gitlab-org/gitlab@master
2022-02-08 15:12:33 +00:00
GitLab Bot
2004f56282
Add latest changes from gitlab-org/gitlab@master
2022-01-26 15:12:36 +00:00
GitLab Bot
2c90b9b579
Add latest changes from gitlab-org/gitlab@master
2021-11-16 09:13:21 +00:00
GitLab Bot
024e8b496d
Add latest changes from gitlab-org/gitlab@master
2021-11-01 18:12:42 +00:00
GitLab Bot
faec73b0fe
Add latest changes from gitlab-org/gitlab@master
2021-10-22 12:09:12 +00:00
GitLab Bot
5da842297d
Add latest changes from gitlab-org/gitlab@master
2021-10-11 18:09:46 +00:00
GitLab Bot
046d6f5277
Add latest changes from gitlab-org/gitlab@master
2021-10-11 15:13:01 +00:00
GitLab Bot
9ef26edc4a
Add latest changes from gitlab-org/gitlab@master
2021-09-21 15:12:11 +00:00
GitLab Bot
7e3f469a40
Add latest changes from gitlab-org/gitlab@master
2021-07-21 21:10:10 +00:00
GitLab Bot
d4c968c95c
Add latest changes from gitlab-org/gitlab@master
2021-06-21 12:07:45 +00:00
GitLab Bot
9882aeb510
Add latest changes from gitlab-org/gitlab@master
2021-06-08 21:10:05 +00:00
GitLab Bot
57f8f3552c
Add latest changes from gitlab-org/gitlab@master
2021-06-04 09:09:43 +00:00
GitLab Bot
a880341a7b
Add latest changes from gitlab-org/gitlab@master
2021-05-25 18:10:42 +00:00
GitLab Bot
0ae8428c8e
Add latest changes from gitlab-org/gitlab@master
2021-05-11 21:10:21 +00:00
GitLab Bot
e5e0589e09
Add latest changes from gitlab-org/gitlab@master
2021-04-26 12:09:44 +00:00
GitLab Bot
5f5f492fe2
Add latest changes from gitlab-org/gitlab@master
2021-04-22 15:09:56 +00:00
GitLab Bot
9c6578ed4e
Add latest changes from gitlab-org/gitlab@master
2021-04-21 15:09:35 +00:00
GitLab Bot
0c4a28ded2
Add latest changes from gitlab-org/gitlab@master
2021-04-06 18:09:02 +00:00
GitLab Bot
807d57c18f
Add latest changes from gitlab-org/gitlab@master
2021-03-25 06:09:02 +00:00
GitLab Bot
b38fc20ae0
Add latest changes from gitlab-org/gitlab@master
2021-03-23 12:09:33 +00:00
GitLab Bot
cb840235d7
Add latest changes from gitlab-org/gitlab@master
2021-03-17 15:09:03 +00:00
GitLab Bot
b5820a6bcd
Add latest changes from gitlab-org/gitlab@master
2021-03-03 12:11:16 +00:00
GitLab Bot
95feeb4ee4
Add latest changes from gitlab-org/gitlab@master
2021-02-01 06:09:16 +00:00
GitLab Bot
e6f170581e
Add latest changes from gitlab-org/gitlab@master
2021-01-13 06:10:25 +00:00
GitLab Bot
a8f63f2019
Add latest changes from gitlab-org/gitlab@master
2021-01-12 00:10:42 +00:00
GitLab Bot
d06b4740da
Add latest changes from gitlab-org/gitlab@master
2021-01-08 00:10:44 +00:00
GitLab Bot
590189d177
Add latest changes from gitlab-org/gitlab@master
2021-01-05 21:10:22 +00:00
GitLab Bot
b6ecd9d9d4
Add latest changes from gitlab-org/gitlab@master
2020-12-21 00:10:18 +00:00
GitLab Bot
5a2284f350
Add latest changes from gitlab-org/gitlab@master
2020-12-16 12:09:53 +00:00
GitLab Bot
8f143a46fa
Add latest changes from gitlab-org/gitlab@master
2020-12-10 15:10:12 +00:00
GitLab Bot
56eafa995d
Add latest changes from gitlab-org/gitlab@master
2020-11-30 15:09:21 +00:00
GitLab Bot
a2f3b3e5cf
Add latest changes from gitlab-org/gitlab@master
2020-11-19 15:09:13 +00:00
GitLab Bot
e42ec4db7b
Add latest changes from gitlab-org/gitlab@master
2020-11-11 06:09:05 +00:00
GitLab Bot
7e1e5ca371
Add latest changes from gitlab-org/gitlab@master
2020-10-23 18:08:31 +00:00
GitLab Bot
3940f59a61
Add latest changes from gitlab-org/gitlab@master
2020-10-16 15:08:46 +00:00
GitLab Bot
9c72b346ac
Add latest changes from gitlab-org/gitlab@master
2020-10-15 09:08:41 +00:00
GitLab Bot
16515bdfcb
Add latest changes from gitlab-org/gitlab@master
2020-10-13 15:08:53 +00:00
GitLab Bot
27c4555a42
Add latest changes from gitlab-org/gitlab@master
2020-09-22 21:10:04 +00:00
GitLab Bot
825e4190a3
Add latest changes from gitlab-org/gitlab@master
2020-09-09 15:08:47 +00:00
GitLab Bot
a865379008
Add latest changes from gitlab-org/gitlab@master
2020-09-07 12:08:27 +00:00
GitLab Bot
4b9ace6c1f
Add latest changes from gitlab-org/gitlab@master
2020-09-02 09:10:23 +00:00
GitLab Bot
19c226e242
Add latest changes from gitlab-org/gitlab@master
2020-07-24 15:09:39 +00:00
GitLab Bot
ccefff8087
Add latest changes from gitlab-org/gitlab@master
2020-07-18 00:09:34 +00:00
GitLab Bot
a898b6057e
Add latest changes from gitlab-org/gitlab@master
2020-07-15 09:09:34 +00:00
GitLab Bot
778ea71394
Add latest changes from gitlab-org/gitlab@master
2020-07-13 09:09:29 +00:00
GitLab Bot
c7b780b56d
Add latest changes from gitlab-org/gitlab@master
2020-07-10 21:09:29 +00:00
GitLab Bot
b2cb8c48c5
Add latest changes from gitlab-org/gitlab@master
2020-07-10 00:09:13 +00:00
GitLab Bot
b1c4066c6b
Add latest changes from gitlab-org/gitlab@master
2020-06-30 21:09:47 +00:00
GitLab Bot
03c38e3111
Add latest changes from gitlab-org/gitlab@master
2020-06-25 03:08:52 +00:00
GitLab Bot
60082b335c
Add latest changes from gitlab-org/gitlab@master
2020-06-19 21:08:32 +00:00
GitLab Bot
374cf04cf2
Add latest changes from gitlab-org/gitlab@master
2020-05-20 12:07:52 +00:00
GitLab Bot
31a340adab
Add latest changes from gitlab-org/gitlab@master
2020-05-15 18:07:52 +00:00
GitLab Bot
c7ba7b9976
Add latest changes from gitlab-org/gitlab@master
2020-05-11 09:09:45 +00:00
GitLab Bot
c6acc1681a
Add latest changes from gitlab-org/gitlab@master
2020-04-23 12:09:46 +00:00
GitLab Bot
684d65316a
Add latest changes from gitlab-org/gitlab@master
2020-04-02 12:08:18 +00:00
GitLab Bot
b11f7057d0
Add latest changes from gitlab-org/gitlab@master
2020-04-01 09:07:45 +00:00
GitLab Bot
2c72daf2f1
Add latest changes from gitlab-org/gitlab@master
2020-03-30 18:08:07 +00:00
GitLab Bot
dc003cd08b
Add latest changes from gitlab-org/gitlab@master
2020-03-26 18:08:03 +00:00
GitLab Bot
8f9beefac3
Add latest changes from gitlab-org/gitlab@master
2020-03-23 12:09:47 +00:00
GitLab Bot
ac1dca43ba
Add latest changes from gitlab-org/gitlab@master
2020-03-09 12:07:45 +00:00
GitLab Bot
df2eda3f14
Add latest changes from gitlab-org/gitlab@master
2020-02-20 18:08:51 +00:00
GitLab Bot
c8f773a859
Add latest changes from gitlab-org/gitlab@master
2020-01-30 21:08:47 +00:00
GitLab Bot
6b9d3a4e83
Add latest changes from gitlab-org/gitlab@master
2020-01-29 18:08:47 +00:00
GitLab Bot
3832718d89
Add latest changes from gitlab-org/gitlab@master
2020-01-22 18:08:47 +00:00
GitLab Bot
aa0f0e9921
Add latest changes from gitlab-org/gitlab@master
2020-01-16 18:08:46 +00:00
GitLab Bot
8b1228b0d4
Add latest changes from gitlab-org/gitlab@master
2020-01-10 15:07:47 +00:00
GitLab Bot
f864f8a7aa
Add latest changes from gitlab-org/gitlab@master
2019-12-20 12:07:40 +00:00
GitLab Bot
5bd24a54ef
Add latest changes from gitlab-org/gitlab@master
2019-12-17 09:07:48 +00:00
GitLab Bot
d10a462fed
Add latest changes from gitlab-org/gitlab@master
2019-12-16 12:07:43 +00:00
GitLab Bot
8cc5f27909
Add latest changes from gitlab-org/gitlab@master
2019-12-13 12:07:41 +00:00
GitLab Bot
3fe3436877
Add latest changes from gitlab-org/gitlab@master
2019-11-15 06:06:13 +00:00
GitLab Bot
7801d133b6
Add latest changes from gitlab-org/gitlab@master
2019-11-12 09:06:14 +00:00
GitLab Bot
7071f9bf3e
Add latest changes from gitlab-org/gitlab@master
2019-11-11 15:06:42 +00:00
GitLab Bot
9865665cb1
Add latest changes from gitlab-org/gitlab@master
2019-10-08 12:06:01 +00:00
GitLab Bot
b7dfe2ae40
Add latest changes from gitlab-org/gitlab@master
2019-09-13 13:26:31 +00:00
Dinesh Panda
736b5908da
Avoid calling freeze on already frozen strings in lib
2019-09-10 08:11:43 +00:00
Victor Zagorodny
e4fbd94cf5
Update CE files for GSD projects filter
...
A new param with_security_reports was added to
GET /groups/:id/projects API and the code to
support this logic in GroupProjectsFinder and
Project model. Also, a DB index was added to
ci_job_artifacts table to speed up the search
of security reports artifacts for projects
2019-08-28 14:26:42 +00:00
manojmj
6cfd13726f
CE: Add project download & project export audit event
...
This change adds audit events for
download of repository and export of
project.
2019-07-26 12:25:56 +05:30
Sam Battalio
3457695b1e
Change HTTP Status Code when repository disabled
2019-06-24 22:12:42 +00:00
Robert Speicher
ea1b24cbe0
Merge branch 'pderichs-52123' into 'master'
...
Use NotesFinder to get Noteable
See merge request gitlab-org/gitlab-ce!28205
2019-06-19 15:58:43 +00:00
Patrick Derichs
932a9a0c77
Use NotesFinder to fetch notes on API and Controllers
...
Fix missing iid query on NotesFinder
Changed parameters of find_noteable,
so changes across a few files were needed.
MergeRequest also requires iid instead of id query
Make NotesFinder fail with RecordNotFound again
Add specs for target_iid
Using RSpec tablesyntax for target_iid specs
Revert "Using RSpec tablesyntax for target_iid specs"
This reverts commit ba45c7f569a.
Allow find_by! here
Fix variable name
Add readable check
Revert "Add readable check"
This reverts commit 9e3a1a7aa39.
Remove unnecessary assignment
Add required changes for EE
Fix parameter count
Reduce code duplication by extracting a noteable module method
The call to find_noteable was redundant so
multiple files and lines have changed in that
commit to use the newly introduced module
method `noteable`.
Replace casecmp with include check
Add parent_type parameter
Revert "Reduce code duplication by extracting
a noteable module method"
This reverts commit 8c0923babf .
Method is no longer needed
Check whether noteable can be read by user
2019-06-19 10:56:55 +02:00
Manoj MJ
53b17f0301
Add documentation and tests
...
This commit adds
- feature specs
- to test the ability of a user with "developer" permission
to delete tags in repositories.
- documentation
2019-06-19 07:08:56 +00:00
Shinya Maeda
387a4f4b2c
Remove legacy artifact related code
...
We've already migrated all the legacy artifacts to the new realm,
which is ci_job_artifacts table.
It's time to remove the old code base that is no longer used.
2019-05-31 10:49:17 +07:00
Rémy Coutable
c563e29fb3
Get rid of the user_namespace API helper method
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-04-24 19:39:59 +02:00
Fabio Busatto
035c8af12e
Resolve "Get milestone by title via API"
2019-03-27 09:01:07 +00:00
Bob Van Landuyt
b0fac091ec
Authenticate the internal API using a header
...
Instead of mixing in the shared secret into the querystring or body,
we could also specify it in a header.
2019-03-11 16:46:04 +01:00
Roger Rüttimann
4db8336786
API: delete job_artifacts of a single job
2019-03-06 11:06:21 +00:00
Nermin Vehabovic
eccfab4445
Added: Specs for sort page breaks on notes
2019-02-16 16:11:31 +01:00
Nermin Vehabovic
f43cb6e79d
Fixed: Warnings from static code analysis
2019-02-16 11:52:21 +01:00
Nermin Vehabovic
ff671366cb
Added: Include order by ID desc for tie breakers in pagination
2019-02-16 11:03:42 +01:00
Sean McGivern
d91b96458e
Merge branch 'api-group-labels' into 'master'
...
API group labels
Closes #44901
See merge request gitlab-org/gitlab-ce!21368
2019-02-07 09:48:04 +00:00
Stan Hu
41b51c0656
Encode Content-Disposition filenames
...
Users downloading non-ASCII attachments would see garbled characters.
When used with object storage, AWS S3 would return an InvalidArgument
error: Header value cannot be represented using ISO-8859-1.
Per RFC 5987 and RFC 6266, Content-Disposition should be encoded
properly. This commit takes the Rails 6 implementation of
ActiveSuppport::Http::ContentDisposition
(https://github.com/rails/rails/pull/33829 ) and ports it here.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/47673
2019-02-04 23:12:44 -08:00
Robert Schilling
0ce33f6b4f
Factor out common label API
2019-01-31 13:49:52 +01:00
Robert Schilling
a9fdc3118a
Incorporate feedback from Robert
2019-01-31 13:49:51 +01:00
Robert Schilling
4e9aa7e2c0
Correctly search for labels in parent groups
2019-01-31 13:49:51 +01:00
Robert Schilling
ee826ad4a1
Replace finders
2019-01-31 13:49:50 +01:00
Robert Schilling
eed79986c9
Add subscription API for the group label API
2019-01-31 13:49:49 +01:00
Mayra Cabrera
8b2fe985dd
Restrict multiple clusters through API
...
Modifies authorize! method to accept a third param, and then use it in
combination with 'add_cluster' policy to appropriately restrict adding
multiple clusters
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56110
2019-01-10 18:20:04 -06:00
Francisco Javier López
40887a94bd
Fix files/blob api endpoint content disposition
2019-01-10 12:30:19 +00:00
Stan Hu
aff2b6e4eb
Switch use of Rack::Request to ActionDispatch::Request
...
As mentioned in
https://gitlab.com/gitlab-org/gitlab-ee/issues/9035#note_129093444 ,
Rails 5 switched ActionDispatch::Request so that it no longer inherits
Rack::Request directly. A middleware that uses Rack::Request to
read the environment may see stale request parameters if
another middleware modifies the environment via ActionDispatch::Request.
To be safe, we should be using ActionDispatch::Request everywhere.
2019-01-07 00:35:53 -08:00
Francisco Javier López
2cd47bba9a
Fixed api content-disposition in blob and files endpoint
2018-12-31 13:02:32 +01:00
Stan Hu
f5847911ca
Bump Gitaly version to v1.12.0
2018-12-21 23:41:37 +00:00
Jasper Maes
56296f1eda
Remove rails4 specific code
2018-12-16 10:48:41 +01:00
Kamil Trzciński
39c1731a53
Log and pass correlation-id between Unicorn, Sidekiq and Gitaly
...
The Correlation ID is taken or generated from received X-Request-ID.
Then it is being passed to all executed services (sidekiq workers
or gitaly calls).
The Correlation ID is logged in all structured logs as `correlation_id`.
2018-12-06 20:46:14 +01:00
Francisco Javier López
9a5703ec82
Set content disposition attachment to several endpoints
2018-11-23 16:44:09 +00:00
William George
1b153d497b
Make getting a user by the username case insensitive
2018-10-18 09:06:44 +00:00
gfyoung
3836d69119
Enable frozen string in lib/api and lib/backup
...
Partially addresses #47424 .
Had to make changes to spec files because
stubbing methods on frozen objects is a mess
in RSpec and leads to failures:
https://github.com/rspec/rspec-mocks/issues/1190
2018-09-29 21:04:50 -07:00
Robert Speicher
c7d1eef671
Merge branch 'rubocop-code-reuse' into 'master'
...
Add RuboCop cops to enforce code reusing rules
See merge request gitlab-org/gitlab-ce!21391
2018-09-13 14:53:05 +00:00
🙈 jacopo beschi 🙉
8e52f56d8d
Resolve "500 Internal Server Error: Deleting branch of deleted project"
2018-09-12 20:52:30 +00:00
Yorick Peterse
2039c8280d
Disable existing offenses for the CodeReuse cops
...
This whitelists all existing offenses for the various CodeReuse cops, of
which most are triggered by the CodeReuse/ActiveRecord cop.
2018-09-11 17:32:00 +02:00
Robert Schilling
4e39fc1a40
Fix rubocop
2018-09-08 11:44:55 +02:00
Robert Schilling
a14e9cfde8
API: Use find_branch! in all places
2018-09-08 10:55:17 +02:00
Marko, Peter
6d72bb3832
Add min_access_level filter to projects API
...
Signed-off-by: Marko, Peter <peter.marko@siemens.com>
2018-07-23 20:57:50 +02:00
Marko, Peter
209fd86442
Fix archived parameter for projects API
2018-07-16 16:25:38 +02:00
Jasper Maes
876d43b9f5
Rails5 fix no implicit conversion of Hash into String. ActionController::Parameters no longer returns an hash in Rails 5
2018-06-13 23:49:44 +02:00
Jan Provaznik
7a76caa5a8
Merge request and commit discussions API
2018-05-01 12:39:44 +00:00
Andreas Brandl
c4e4258721
Validate project path prior to hitting the database.
...
Closes #45247 .
2018-04-13 15:59:45 +02:00
Douwe Maan
44f4a674e2
Merge branch 'jramsay-38830-tarball' into 'master'
...
Add alternative archive route
Closes #38830
See merge request gitlab-org/gitlab-ce!17225
2018-04-06 14:14:39 +00:00
Grzegorz Bizon
dd271e2460
Merge branch 'direct-upload-of-artifacts' into 'master'
...
Direct upload of artifacts
See merge request gitlab-org/gitlab-ce!18160
2018-04-05 20:59:40 +00:00
Kamil Trzciński
678620cce6
Add `direct_upload` setting for artifacts
2018-04-05 15:01:14 +02:00
James Ramsay
0b1b9c409d
Add option to suppress archive commit sha
...
Repository archives are always named `<project>-<ref>-<sha>` even if
the ref is a commit. A consequence of always including the sha even
for tags is that packaging a release is more difficult because both
the ref and sha must be known by the packager.
- add append_sha option (defaults true) to provide a method for
toggling this feature.
Support added to GitLab Workhorse by gitlab-org/gitlab-workhorse!232
2018-04-04 16:56:18 -04:00
Felipe Artur
ad7148d9ea
Allow assigning and filtering issuables by ancestor group labels
2018-04-04 15:40:29 +00:00
Micaël Bergeron
fc6587f1f2
Add proxy_download to perform proxied sending of all files
2018-03-09 09:16:06 -05:00
Kamil Trzciński
a2f375e8f7
Merge remote-tracking branch 'origin/master' into object-storage-ee-to-ce-backport
2018-02-28 21:28:43 +01:00
Kamil Trzciński
729391fbfc
Merge commit '8af23def1d6' into object-storage-ee-to-ce-backport
2018-02-28 21:11:53 +01:00
Grzegorz Bizon
b14c484bb1
Merge branch 'use-send-url-for-incompatible-runners' into 'master'
...
Support SendURL for performing indirect download of artifacts if clients does…
See merge request gitlab-org/gitlab-ee!4401
2018-02-28 20:58:56 +01:00
Kamil Trzciński
45d2c31643
Merge commit '4b92efd90cedaa0aff218d11fdce279701128bea' into object-storage-ee-to-ce-backport
2018-02-28 20:46:53 +01:00
Kamil Trzciński
965dc28691
Merge commit '7fabc892f251740dbd9a4755baede662e6854870' into object-storage-ee-to-ce-backport
2018-02-28 20:36:55 +01:00
Kamil Trzciński
e3fafa7632
Merge commit 'f2f58a60b76acd479e37bdbc9246ec9f9b2bea82' into object-storage-ee-to-ce-backport
2018-02-28 20:36:07 +01:00
Kamil Trzciński
e0401df121
Merge commit '11c67e7c2f992299ff5918ce67995b73d1e0be6d' into object-storage-ee-to-ce-backport
2018-02-28 20:35:22 +01:00
Kamil Trzciński
5a69b51bc8
Merge commit 'b39d0c318921bae2e3a11df9ee6828291dad9864' into object-storage-ee-to-ce-backport
2018-02-28 20:06:12 +01:00
Kamil Trzciński
b1f8d8a173
Merge commit '5b08d59f07fc53c1e34819fac20352119d5343e6' into object-storage-ee-to-ce-backport
2018-02-28 20:03:02 +01:00
Grzegorz Bizon
52c3b8f312
Merge branch 'zj-object-store-artifacts' into 'master'
...
Object store for artifacts
Closes gitlab-ce#29203
See merge request !1762
2018-02-28 20:00:27 +01:00
Bob Van Landuyt
148816cd67
Port `read_cross_project` ability from EE
2018-02-22 17:11:36 +01:00
🙈 jacopo beschi 🙉
729f05f0e3
Adds Rubocop rule for line break around conditionals
2018-01-11 16:34:01 +00:00