Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-07-27Enable frozen string in app/models/*.rbgfyoung
Partially addresses #47424.
2018-05-01Fix file_store for artifacts and lfs when savingKamil Trzciński
2018-04-19Fix direct_upload when records with null file_store are usedKamil Trzciński
Old records have a null value of file_store column. This causes the problems with current direct_upload implementation, as this makes it to choose Store::REMOTE instead of Store::LOCAL. This change moves the store save when change saving the object.
2018-04-18Revert the addition of goldiloaderYorick Peterse
This reverts the addition of the "goldiloader" Gem and all use of it. While this Gem is very promising it's causing a variety of problems on GitLab.com due to it eager-loading too much data in places where we don't expect/can handle this. At least for the time being this means we have to go back to manually fixing N+1 query problems, but at least those should not cause a negative impact on availability.
2018-04-09Add cop for has_many :through without disabled autoloadingSean McGivern
Goldiloader is great, but has several issues with has_many :through relations: * https://github.com/salsify/goldiloader/issues/12 * https://github.com/salsify/goldiloader/issues/14 * https://github.com/salsify/goldiloader/issues/18 Rather than try to figure out which applies in each case, we should just do the drudge work of manually disabling autoloading for all relations of this type. We can always use regular preloading for specific cases, but this way we avoid generating invalid queries through Goldiloader's magic.
2018-03-27Port LFS direct_upload from EEAlessio Caiazza
2018-03-08[cherry-pick] '4862-verify-file-checksums'Sean McGivern
See merge request gitlab-org/gitlab-ee!4753
2018-03-03fixing some broken mergesMicaël Bergeron
2018-03-02remove geo specific codeMicaël Bergeron
2018-03-01port the object storage to CEMicaël Bergeron
2018-02-28Merge branch '4163-move-uploads-to-object-storage' into 'master'Sean McGivern
Move uploads to object storage Closes #4163 See merge request gitlab-org/gitlab-ee!3867
2018-02-28Merge branch 'zj-auto-upload-job-artifacts' into 'master'Kamil Trzciński
Transfer job archives after creation See merge request gitlab-org/gitlab-ee!3646
2018-02-28Merge commit '7fabc892f251740dbd9a4755baede662e6854870' into ↵Kamil Trzciński
object-storage-ee-to-ce-backport
2018-02-28Merge branch 'jej/lfs-object-storage' into 'master'Douwe Maan
Can migrate LFS objects to S3 style object storage Closes #2841 See merge request !2760
2017-11-09Handle forks in Gitlab::Checks::LfsIntegrityJames Edwards-Jones
2017-07-06Added Cop to blacklist the use of `dependent:`Yorick Peterse
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).
2016-10-28Remove unreferenced LFS objects from DB and fsFrank Groeneveld
2016-05-09Remove the annotate gem and delete old annotationsJeroen van Baarsen
In 8278b763d96ef10c6494409b18b7eb541463af29 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-06Annotate the modelsZeger-Jan van de Weg
2015-12-09Update annotationsStan Hu
2015-12-07Add specs for showing lfs object in UI.Marin Jankovski
2015-12-04Recursivity needed if a fork is a fork of a fork.Marin Jankovski
2015-12-04Don't show diffs for lfs pointers.Marin Jankovski
2015-12-03If a user clicks on the LFS object, it should be served if the user has ↵Marin Jankovski
access to the object.
2015-11-16Add support for git lfs.Marin Jankovski