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-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 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-07Use hashed storage in the specsNick Thomas
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-06improvements from feedbackMicaël Bergeron
2018-02-06remove file after `Upload#destroy`Micaël Bergeron
it will also automatically prune empty directories for `FileUploader`-based uploaders.
2018-02-06Fix tests for Drop filename enforcementShinya Maeda
2018-02-06Add essential testsShinya Maeda
2018-02-02apply fixes from feedbackMicaël Bergeron
2018-02-02add the uploader context to the upload modelMicaël Bergeron
2018-02-01porting changes from upstreamMicaël Bergeron
2018-02-01port of 594e6a0a625^..f74c90f68c6Micaël Bergeron
2018-01-31Enable RuboCop Style/RegexpLiteralTakuya Noguchi
2018-01-24Use the DatabaseCleaner 'deletion' strategy instead of 'truncation'Nick Thomas
2017-12-14Replace factory_girl_rails with factory_bot_railsRémy Coutable
I've followed the [upgrade guide](https://github.com/thoughtbot/factory_bot/blob/4-9-0-stable/UPGRADE_FROM_FACTORY_GIRL.md) and ran these two commands: ``` grep -e FactoryGirl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|FactoryGirl|FactoryBot|" grep -e factory_girl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|factory_girl|factory_bot|" ``` Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-12-07Support uploads for groupsJarka Kadlecova
2017-12-03Fix rubocopKamil Trzcinski
2017-12-03Sync ArtifactUploader specs with EEKamil Trzcinski
2017-12-03Fix specs failures, and use factory with `:ci_job_artifact, :archive`Kamil Trzcinski
2017-12-03Rename artifacts_* to legacy_artifacts_*Kamil Trzcinski
2017-12-03Fix legacy migration testZeger-Jan van de Weg
2017-12-03Rename Artifact to JobArtifact, split metadata outZeger-Jan van de Weg
Two things at ones, as there was no clean way to seperate the commit and give me feedback from the tests. But the model Artifact is now JobArtifact, and the table does not have a type anymore, but the metadata is now its own model: Ci::JobArtifactMetadata.
2017-11-21FileUploader should check for hashed_storage?(:attachments) to use disk_pathGabriel Mazetto
2017-10-30Use the Hashed Storage compatible layer to store AttachmentsGabriel Mazetto
2017-08-11Make sure uploads for personal snippets are correctly renderedBob Van Landuyt
2017-08-03Change all `:empty_project` to `:project`Robert Speicher
2017-08-01Ensure all project factories use `:repository` trait or `:empty_project`Robert Speicher
2017-07-20Merge branch '33359-pers-snippet-files-location' into 'security-9-3'Sean McGivern
Use uploads/system directory for personal snippets See merge request !2123
2017-07-18Update specs for new upload pathBob Van Landuyt
2017-06-13Fix filename method of GitlabUploader to return always real filenameKamil Trzcinski
2017-06-12Merge branch 'sh-fix-refactor-uploader-work-dir' into 'master'Kamil Trzciński
Set artifact working directory to be in the destination store to prevent unnecessary I/O Closes #33274 See merge request !11905
2017-06-08Bring in security changes from the 9.2.5 releaseDJ Mountney
Ran: - git format-patch v9.2.2..v9.2.5 --stdout > patchfile.patch - git checkout -b 9-2-5-security-patch origin/v9.2.2 - git apply patchfile.patch - git commit - [Got the sha ref for the commit] - git checkout -b upstream-9-2-security master - git cherry-pick <SHA of the patchfile commit> - [Resolved conflicts] - git cherry-pick --continue
2017-06-07Merge branch '12910-snippets-description' into 'master'Phil Hughes
Support descriptions for snippets Closes #31894 See merge request !11071
2017-06-07Support uploads for newly created personal snippetsJarka Kadlecova
2017-06-06Set artifact working directory to be in the destination store to prevent ↵Stan Hu
unnecessary I/O Similar to #33218, build artifacts were being uploaded into a CarrierWave temporary directory in the Rails root directory before moved to their final destination, which could cause a copy across filesystems. This merge request refactors the work in !11866 so that any uploader can just override `work_dir` to change the default implementation. Closes #33274
2017-06-05Fix LFS timeouts when trying to save large filesStan Hu
The following was happening: 1. Workhorse stores an LFS file in /var/opt/gitlab/gitlab-rails/shared/lfs-objects 2. CarrierWave then renames the file to a temporary directory (e.g. /opt/gitlab/embedded/service/gitlab-rails/tmp) 3. CarrierWave then renames the file to its final location (e.g. /var/opt/gitlab/gitlab-rails/shared/lfs-objects) When the LFS upload path was on a different filesystem than the Rails installation, step 2 could take a longer than 10 seconds, at which point Workhorse would time out with "badgateway: failed after 10s: context canceled". This change makes the work path in the same root as the LFS storage path, preventing moves across filesystems. Closes #33218
2017-06-01Add missing specsKamil Trzcinski
2017-05-31Support descriptions for snippetsJarka Kadlecova
2017-05-02Support uploaders for personal snippets commentsJarka Kadlecova
2017-03-06Handle relative and absolute Upload paths in the UploadersRobert Speicher
2017-03-06Add `RecordsUploads` module to record Upload records via callbacksRobert Speicher
2017-02-25Minor refactoring of UploadersRobert Speicher
- Moves a duplicate `file_storage?` definition into the common `GitlabUploader` ancestor. - Get the `uploads` base directory from a class method rather than hard-coding it where it's needed. This will be used in a subsequent MR to store Uploads in the database. - Improves the specs for uploaders.
2017-01-03Don't delete files from spec/fixturesJacob Vosmaer
2017-01-03Copy, don't move uploaded avatar filesJacob Vosmaer
2016-12-15Add Gitlab::Middleware::MultipartJacob Vosmaer