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-06-05Merge branch 'fix-fog-mocking' into 'master'Rémy Coutable
Fix Fog mocking Closes #47300 See merge request gitlab-org/gitlab-ce!19425
2018-06-05Fix Fog mockingKamil Trzciński
2018-06-05Fix an N+1 in avatar URLsSean McGivern
This is tricky: the query was being run in `ObjectStorage::Extension::RecordsUploads#retrieve_from_store!`, but we can't just add batch loading there, because the `#upload=` method there would use the result immediately, making the batch only have one item. Instead, we can pre-emptively add an item to the batch whenever an avatarable object is initialized, and then reuse that batch item in `#retrieve_from_store!`. However, this also has problems: 1. There is a lot of logic in `Avatarable#retrieve_upload_from_batch`. 2. Some of that logic constructs a 'fake' model for the batch key. This should be fine, because of ActiveRecord's override of `#==`, but it relies on that staying the same.
2018-06-04Support presigned multipart uploadsKamil Trzciński
2018-05-29Fix missing timeout value in object storage pre-authorization callAlessio Caiazza
2018-05-28Fix specShinya Maeda
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-05Add `direct_upload` setting for artifactsKamil Trzciński
2018-04-05Allow to store uploads by default on Object StorageKamil Trzciński
Introduce `direct_upload` option for `uploads` which is gonna set a default storage to Object Storage and use Unicorn to save data
2018-03-29Add Gitlab::ExclusiveLease to ObjectStorage#use_fileAlessio Caiazza
2018-03-27Port LFS direct_upload from EEAlessio Caiazza
2018-03-01remove the license checkMicaël Bergeron
2018-02-28Merge branch 'fix/sm/atomic-migration' into 'master'Kamil Trzciński
Fix migrate! method (Minimal fix with ExclusiveLock to prevent race conditions) Closes #4928 and #4980 See merge request gitlab-org/gitlab-ee!4624
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