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-05allow only png, ico for favicon uploadsAlexis Reigel
the related omnibus graphicsmagick package only supports those formats. see https://gitlab.com/gitlab-org/omnibus-gitlab/merge_requests/1975
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-05whitelist allowed file types for custom faviconsAlexis Reigel
2018-06-05send ico files with inline dispositionAlexis Reigel
2018-06-05sort status icon names by nameAlexis Reigel
2018-06-05fix carrierwave suffix for different formatAlexis Reigel
when versions have a different file format from the original file carrierwave constructs a wrong url (with the original file suffix).
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-28Update object_storage.rbShinya Maeda
2018-05-23Use the new CacheableAttributes concern in the ApplicationSetting and ↵Rémy Coutable
Appearance models Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-23Resolve "Avatar URLs are wrong when using a CDN path and Object Storage"Micaël Bergeron
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-19Update ProjectStatistics#build_artifacts_size synchronously without summing ↵Dylan Griffith
(#41059) Previously we scheduled a worker to just some this but we were running into performance issues when the build table was getting too large. So now we've updated the code such that this column is updated immediately and incremented/decremented by the correct amount whenever artifacts are created or deleted. We've also added the performance optimization that we do not update this statistic if a project is deleted because it could result in many updates for a project with many builds.
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-26personal snippets will now comply with `background_upload`Micaël Bergeron
2018-03-22Backport ee-40781-os-to-ceMicaël Bergeron
2018-03-09Add proxy_download to perform proxied sending of all filesMicaë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-02remove geo specific codeMicaël Bergeron
2018-03-01Merge branch 'fix/sm/atomic-migration' into 'master'Micaël Bergeron
Fix migrate! method (Minimal fix with ExclusiveLock to prevent race conditions) Closes #4928 and #4980 See merge request gitlab-org/gitlab-ee!4624
2018-03-01remove the license checkMicaël Bergeron
2018-03-01another round of fixesMicaë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 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 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
2018-02-28Merge branch 'jej/object-storage-uploader-migrate-with-license-callback' ↵Kamil Trzciński
into 'master' ObjectStoreUploader#migrate! uses with_callbacks to trigger verify_license! Closes #3370 See merge request !2863
2018-02-28Merge commit '7fabc892f251740dbd9a4755baede662e6854870' into ↵Kamil Trzciński
object-storage-ee-to-ce-backport
2018-02-28Merge commit 'f2f58a60b76acd479e37bdbc9246ec9f9b2bea82' into ↵Kamil Trzciński
object-storage-ee-to-ce-backport
2018-02-28Merge commit '11c67e7c2f992299ff5918ce67995b73d1e0be6d' 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
2018-02-28Merge commit 'b39d0c318921bae2e3a11df9ee6828291dad9864' into ↵Kamil Trzciński
object-storage-ee-to-ce-backport
2018-02-28Merge commit '5b08d59f07fc53c1e34819fac20352119d5343e6' into ↵Kamil Trzciński
object-storage-ee-to-ce-backport
2018-02-28Merge branch 'zj-object-store-artifacts' into 'master'Grzegorz Bizon
Object store for artifacts Closes gitlab-ce#29203 See merge request !1762
2018-02-22Fix 500 error when loading an invalid upload URLSean McGivern
2018-02-06Merge branch '14256-upload-destroy-removes-file' into 'master'Sean McGivern
Uploads should delete files when destroyed Closes #14256 See merge request gitlab-org/gitlab-ce!16799
2018-02-06remove file after `Upload#destroy`Micaël Bergeron
it will also automatically prune empty directories for `FileUploader`-based uploaders.
2018-02-06Drop filename enforcementShinya Maeda