Commit graph

7 commits

Author SHA1 Message Date
Rémy Coutable
d40e1f547e Enable the Style/TrailingCommaInLiteral cop
Use the EnforcedStyleForMultiline: no_comma option.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-10 18:25:45 +02:00
Ben Boeckel
5c20e50f46 lfs: do not require auth for public repositories
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.
2017-02-07 09:44:24 -05:00
Rémy Coutable
4b3c1e56ae
Move LfsHelper to a new LfsRequest concern
Also create a new WorkhorseRequest concern

Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-11-23 17:28:11 +01:00
Patricio Cano
50f047cadd Move the objects method to LfsHelper so that it is also available to LfsStorageController
It is needed for the `lfs_check_access!` callback when the repository size limit is enabled (EE only).
2016-11-10 20:04:00 -06:00
Jacob Vosmaer
0012de8c8a Rename lfs_enabled helper method 2016-08-10 16:48:21 +02:00
Jacob Vosmaer
d199b3cdd7 Better cache when modifying in-place 2016-07-22 17:54:04 +02:00
Jacob Vosmaer
0d9752446d Add LFS controllers 2016-07-22 17:54:04 +02:00