summaryrefslogtreecommitdiff
path: root/app/services/projects/lfs_pointers
Commit message (Collapse)AuthorAgeFilesLines
* Properly handle LFS Batch API response in project importsh-fix-lfs-download-errorsStan Hu2019-05-091-1/+11
| | | | | | | | | | 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-304-86/+110
| | | | | | In order to make `LfsImportService` more reusable, we need to extract the logic inside `ImportService` and encapsulate it into the service.
* Run rubocop -aNick Thomas2019-03-132-20/+16
|
* Added validations to prevent LFS object forgeryFrancisco Javier López2019-01-312-41/+81
|
* Fixed SSRF in project imports with LFSFrancisco Javier López2018-12-181-8/+27
|
* Validate LFS hrefs before downloading themNick Thomas2018-12-111-0/+3
|
* Disable existing offenses for the CodeReuse copsYorick Peterse2018-09-113-0/+6
| | | | | This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
* Enable more frozen string in app/services/**/*.rbrepo-forks/gitlab-ce-frozen-string-enable-apps-services-inner-moregfyoung2018-07-175-0/+10
| | | | Partially addresses #47424.
* Use stable gitlab-styles and eliminate offensesLin Jen-Shin2018-07-091-1/+1
|
* Support LFS objects when creating a project by importFrancisco Javier López2018-06-065-0/+291