summaryrefslogtreecommitdiff
path: root/app/controllers/projects/lfs_api_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Enable the Style/TrailingCommaInLiteral copRémy Coutable2017-05-101-2/+2
| | | | | | Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
* lfs: do not require auth for public repositoriesBen Boeckel2017-02-071-0/+4
| | | | | | | | | | LFS has the `authenticated` field in the response for downloads of objects to indicate that the object does not need authentication to access it. Spec: https://github.com/git-lfs/git-lfs/blob/master/docs/api/batch.md#successful-responses Fixes #23360.
* Move LfsHelper to a new LfsRequest concern22253-move-lfshelper-methods-somewhere-else-than-app-helpersRémy Coutable2016-11-231-11/+10
| | | | | | Also create a new WorkhorseRequest concern Signed-off-by: Rémy Coutable <remy@rymai.me>
* Move the `objects` method to `LfsHelper` so that it is also available to ↵24392-lfs-helper-refactorPatricio Cano2016-11-101-4/+0
| | | | | | `LfsStorageController` It is needed for the `lfs_check_access!` callback when the repository size limit is enabled (EE only).
* Rename lfs_enabled helper methodJacob Vosmaer2016-08-101-1/+1
|
* Better cache when modifying in-placeJacob Vosmaer2016-07-221-1/+1
|
* Add LFS controllersJacob Vosmaer2016-07-221-0/+94