Commit graph

12 commits

Author SHA1 Message Date
Nick Thomas
6f945f20b4
Foreground verification of uploads and LFS objects 2018-03-02 14:16:17 +00:00
James Edwards-Jones
ebd5174472 Handle forks in Gitlab::Checks::LfsIntegrity 2017-11-09 13:44:20 +00:00
Yorick Peterse
8fbbf41e29
Added Cop to blacklist the use of dependent:
This is allowed for existing instances so we don't end up 76 offenses
right away, but for new code one should _only_ use this if they _have_
to remove non database data. Even then it's usually better to do this in
a service class as this gives you more control over how to remove the
data (e.g. in bulk).
2017-07-06 12:01:36 +02:00
Frank Groeneveld
17a97ef2fa Remove unreferenced LFS objects from DB and fs 2016-10-28 19:39:20 +02:00
Jeroen van Baarsen
f1479b56b7
Remove the annotate gem and delete old annotations
In 8278b763d9 the default behaviour of annotation
has changes, which was causing a lot of noise in diffs. We decided in #17382
that it is better to get rid of the whole annotate gem, and instead let people
look at schema.rb for the columns in a table.

Fixes: #17382
2016-05-09 18:00:28 +02:00
Zeger-Jan van de Weg
47da013cf8 Annotate the models 2016-05-06 08:27:46 +02:00
Stan Hu
9dbc768db8 Update annotations 2015-12-08 21:00:01 -08:00
Marin Jankovski
e53b350cb6 Add specs for showing lfs object in UI. 2015-12-07 15:03:50 +01:00
Marin Jankovski
b2c4675cb0 Recursivity needed if a fork is a fork of a fork. 2015-12-04 12:32:13 +01:00
Marin Jankovski
b9a0f96d42 Don't show diffs for lfs pointers. 2015-12-04 12:01:08 +01:00
Marin Jankovski
0a081e7eff If a user clicks on the LFS object, it should be served if the user has access to the object. 2015-12-03 14:59:10 +01:00
Marin Jankovski
14032d8eb1 Add support for git lfs. 2015-11-16 12:39:13 +01:00