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-15Remove FaviconUploader favicon_main versionDouwe Maan
See https://gitlab.com/gitlab-org/gitlab-ce/issues/47677 for more information
2018-06-13Merge branch ↵Sean McGivern
'47513-upload-migration-lease-key-is-incorrect-for-non-mounted-uploaders' into 'master' Resolve "Upload migration lease key is incorrect for non-mounted uploaders" Closes #47513 See merge request gitlab-org/gitlab-ce!19600
2018-06-13Merge branch '47408-migrateuploadsworker-is-doing-n-1-queries-on-migration' ↵Sean McGivern
into 'master' Resolve "`MigrateUploadsWorker` is doing N+1 queries on migration" Closes #47408 See merge request gitlab-org/gitlab-ce!19547
2018-06-12apply feedbackMicaël Bergeron
2018-06-12Use upload ID instead of model ID in lease keyJan Provaznik
For FileUploaders it's possible that a model has many uploads and if lease key is created only from model id, it causes that the model's uploads can not be migrated in parallel because the exclusive lease key would be same for all uploads of the model.
2018-06-11Don't use Rails.root.join for upload fixture pathsRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-06-11Merge branch 'rs-update-rspec' into 'master'Rémy Coutable
Update rspec to 3.7 See merge request gitlab-org/gitlab-ce!19449
2018-06-08apply feedbackMicaël Bergeron
2018-06-07Merge branch 'feature/customizable-favicon' into 'master'Douwe Maan
Customizable favicon Closes #15661 See merge request gitlab-org/gitlab-ce!14497
2018-06-07fix the failing specMicaël Bergeron
2018-06-07Correct more usages of non-relative `fixture_file_upload` pathsRobert Speicher
2018-06-07Make all uses of `fixture_file_upload` use relative pathsRobert Speicher
2018-06-07shave off another 20% queryMicaël Bergeron
2018-06-06shave off 30% of the query countMicaël Bergeron
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-05create favicon overlay on the clientAlexis Reigel
the initial reason for this change was that graphicsmagick does not support writing to ico files. this fact lead to a chain of changes: 1. use png instead of ico (browser support is good enough) 2. render the overlays on the client using the canvas API. this way we only need to store the original favion and generate the overlay versions dynamically. this change also enables (next step) to simplify the handling of the stock favicons as well, as we don't need to generate all the versions upfront.
2018-06-05call Gitlab::Favicon.status in serializerAlexis Reigel
this ways we can keep the `lib/gitlab/ci/status/*` classes to return the bare favicon name as it was before. also the favicon uploader versions are now have the same names as the stock favicons (+ `favicon_` prefix), which makes working with the status names easier.
2018-06-05favicon uploader generating ci status faviconsAlexis Reigel
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-05-09apply feedbackMicaël Bergeron
2018-05-08remove the `Upload` redefinition in `MigrateUploadsWorker`Micaël Bergeron
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-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-04-02backport missing object storage worker specsMicaël Bergeron
2018-03-29Add Gitlab::ExclusiveLease to ObjectStorage#use_fileAlessio Caiazza
2018-03-27Port LFS direct_upload from EEAlessio Caiazza
2018-03-26remove some lintMicaël Bergeron
2018-03-26personal snippets will now comply with `background_upload`Micaël Bergeron
2018-03-08Merge branch 'poc-upload-hashing-path' into 'master'Sean McGivern
File uploads on objects storage should use hashed storage Closes #4952 See merge request gitlab-org/gitlab-ee!4597
2018-03-03fixing some broken mergesMicaël Bergeron
2018-03-02another round of EE code removalMicaël Bergeron
2018-03-01remove the license checkMicaël Bergeron
2018-03-01remove the license checkMicaël Bergeron
2018-03-01port the object storage to CEMicaël Bergeron
2018-02-28Merge remote-tracking branch 'origin/master' into ↵Kamil Trzciński
object-storage-ee-to-ce-backport
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 commit '7e424eb852716495073881710e8a8851b4a4cd5a' into ↵Kamil Trzciński
object-storage-ee-to-ce-backport
2018-02-28Merge commit '8af23def1d6' into object-storage-ee-to-ce-backportKamil Trzciński
2018-02-28Revert "Merge branch '3867-port-to-ce' into 'master'"Kamil Trzciński
This reverts commit 54a575f1bbba44573ab92dc58a4242f1ee734c5d, reversing changes made to c63af942e5baf7849a94fa99da8494bcba28e3f8.
2018-02-28Merge branch 'feature/sm/artifacts-trace-ee' into 'master'Kamil Trzciński
EE: Trace as artifacts (FileStorage and ObjectStorage) Closes #4171 See merge request gitlab-org/gitlab-ee!4258
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 commit '4b92efd90cedaa0aff218d11fdce279701128bea' into ↵Kamil Trzciński
object-storage-ee-to-ce-backport
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 branch 'zj-multiple-artifacts-ee' into 'master'Grzegorz Bizon
Multiple artifacts ee See merge request gitlab-org/gitlab-ee!3276