summaryrefslogtreecommitdiff
path: root/spec/services/projects/lfs_pointers
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2023-04-061-7/+7
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2023-03-154-4/+4
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2023-02-281-3/+18
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2022-12-024-51/+107
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2022-10-271-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2022-08-033-5/+5
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2021-10-221-0/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2021-08-121-0/+15
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2021-07-201-3/+17
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2021-07-191-0/+20
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2021-07-072-6/+26
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2021-07-051-0/+12
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-10-291-12/+0
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-09-152-5/+58
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-06-245-5/+5
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-111-14/+123
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-042-45/+15
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-211-2/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-071-1/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-171-3/+9
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-081-1/+29
|
* Makes LFS object linker process OIDs in batchessh-lfs-object-batchesStan Hu2019-08-271-0/+18
| | | | | | | | | | During a project import, `LfsLinkService` attempts to link `LfsObjects` that have not already been associated with a project. It's possible for a large repo to have thousands of OIDs, which can cause long database query and parsing times. By processing a batch of 1000 at a time, we can reduce that time at the expense of a few more SQL queries. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66274
* Convert RestClient to Gitlab::HTTP for Prometheus MonitorDavid Wilkins2019-08-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | - Closes #60024 - Change PrometheusClient.new to accept a base url instead of an already created RestClient - Use Gitlab::HTTP in PrometheusClient instead of creating RestClient in PrometheusService - Move http_options from PrometheusService to PrometheusClient (follow_redirects: false) - ensure that base urls don't have the trailing slash - Created a `PrometheusClient#url` method that might not be strictly required - Change rescued exceptions from RestClient::* to HTTParty::ResponseError where possible and StandardError for the rest
* Add outbound requests setting for system hooksGeorge Koltsov2019-08-021-1/+1
| | | | | | | This MR adds new application setting to network section `allow_local_requests_from_system_hooks`. Prior to this change system hooks were allowed to do local network requests by default and we are adding an ability for admins to control it.
* Protect Gitlab::HTTP against DNS rebinding attackDouwe Maan2019-05-301-8/+11
| | | | | | Gitlab::HTTP now resolves the hostname only once, verifies the IP is not blocked, and then uses the same IP to perform the actual request, while passing the original hostname in the `Host` header and SSL SNI field.
* Properly handle LFS Batch API response in project importsh-fix-lfs-download-errorsStan Hu2019-05-091-1/+19
| | | | | | | | | | Project imports were failing with `undefined method each_with_object for String` because the import was attempting to parse the LFS Batch API and failing due to the fact that the Content-Type wasn't a supported format (e.g. application/vnd.git-lfs+json instead of application/json). We now parse the body as JSON. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/61624
* Refactored LfsImportService and ImportServiceFrancisco Javier López2019-04-305-123/+183
| | | | | | In order to make `LfsImportService` more reusable, we need to extract the logic inside `ImportService` and encapsulate it into the service.
* Add frozen_string_literal to spec/servicesfrozen_string_literal_spec_servicesThong Kuah2019-04-124-0/+8
| | | | Probably useful as we often move these files to "new" files.
* Added validations to prevent LFS object forgeryFrancisco Javier López2019-01-312-40/+140
|
* Enable the Layout/ExtraSpacing cop56392-enable-the-layout-extraspacing-copRémy Coutable2019-01-241-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Fixed SSRF in project imports with LFSFrancisco Javier López2018-12-181-9/+50
|
* Validate LFS hrefs before downloading themNick Thomas2018-12-111-0/+12
|
* Support LFS objects when creating a project by importFrancisco Javier López2018-06-064-0/+350