Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use hashed storage in the specs40744-hashed-storage-specs | Nick Thomas | 2018-02-07 | 1 | -3/+3 |
| | |||||
* | Merge branch '14256-upload-destroy-removes-file' into 'master' | Sean McGivern | 2018-02-06 | 1 | -0/+23 |
|\ | | | | | | | | | | | | | Uploads should delete files when destroyed Closes #14256 See merge request gitlab-org/gitlab-ce!16799 | ||||
| * | improvements from feedback14256-upload-destroy-removes-file | Micaël Bergeron | 2018-02-06 | 1 | -1/+1 |
| | | |||||
| * | remove file after `Upload#destroy` | Micaël Bergeron | 2018-02-06 | 1 | -0/+23 |
| | | | | | | | | | | it will also automatically prune empty directories for `FileUploader`-based uploaders. | ||||
* | | Fix tests for Drop filename enforcement | Shinya Maeda | 2018-02-06 | 1 | -16/+0 |
| | | |||||
* | | Add essential tests | Shinya Maeda | 2018-02-06 | 1 | -0/+43 |
|/ | |||||
* | apply fixes from feedback42547-upload-store-mount-point | Micaël Bergeron | 2018-02-02 | 1 | -0/+27 |
| | |||||
* | add the uploader context to the upload model | Micaël Bergeron | 2018-02-02 | 2 | -2/+2 |
| | |||||
* | porting changes from upstream3867-port-to-ce | Micaël Bergeron | 2018-02-01 | 1 | -12/+0 |
| | |||||
* | port of 594e6a0a625^..f74c90f68c6 | Micaël Bergeron | 2018-02-01 | 10 | -282/+134 |
| | |||||
* | Enable RuboCop Style/RegexpLiteral | Takuya Noguchi | 2018-02-01 | 2 | -2/+2 |
| | |||||
* | Use the DatabaseCleaner 'deletion' strategy instead of 'truncation' | Nick Thomas | 2018-01-24 | 1 | -2/+2 |
| | |||||
* | Replace factory_girl_rails with factory_bot_railsrc/use-factory_bot_rails | Rémy Coutable | 2017-12-14 | 1 | -1/+1 |
| | | | | | | | | | | | 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> | ||||
* | Support uploads for groups | Jarka Kadlecova | 2017-12-07 | 1 | -0/+21 |
| | |||||
* | Fix rubocop | Kamil Trzcinski | 2017-12-03 | 2 | -6/+6 |
| | |||||
* | Sync ArtifactUploader specs with EE | Kamil Trzcinski | 2017-12-03 | 2 | -24/+26 |
| | |||||
* | Fix specs failures, and use factory with `:ci_job_artifact, :archive` | Kamil Trzcinski | 2017-12-03 | 2 | -5/+55 |
| | |||||
* | Rename artifacts_* to legacy_artifacts_* | Kamil Trzcinski | 2017-12-03 | 1 | -1/+1 |
| | |||||
* | Fix legacy migration test | Zeger-Jan van de Weg | 2017-12-03 | 1 | -1/+1 |
| | |||||
* | Rename Artifact to JobArtifact, split metadata out | Zeger-Jan van de Weg | 2017-12-03 | 2 | -2/+17 |
| | | | | | | | | | 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. | ||||
* | FileUploader should check for hashed_storage?(:attachments) to use disk_path | Gabriel Mazetto | 2017-11-21 | 1 | -12/+38 |
| | |||||
* | Use the Hashed Storage compatible layer to store Attachments | Gabriel Mazetto | 2017-10-30 | 1 | -13/+39 |
| | |||||
* | Make sure uploads for personal snippets are correctly rendered | Bob Van Landuyt | 2017-08-11 | 2 | -9/+9 |
| | |||||
* | Change all `:empty_project` to `:project`rs-empty_project-default | Robert Speicher | 2017-08-02 | 2 | -4/+4 |
| | |||||
* | Ensure all project factories use `:repository` trait or `:empty_project`rs-empty_project-cleanup | Robert Speicher | 2017-08-01 | 1 | -1/+1 |
| | |||||
* | Merge branch '33359-pers-snippet-files-location' into 'security-9-3' | Sean McGivern | 2017-07-19 | 2 | -9/+9 |
| | | | | | Use uploads/system directory for personal snippets See merge request !2123 | ||||
* | Update specs for new upload path | Bob Van Landuyt | 2017-07-18 | 2 | -2/+2 |
| | |||||
* | Fix filename method of GitlabUploader to return always real filenamefix-filename-of-artifact-uploader | Kamil Trzcinski | 2017-06-13 | 1 | -0/+16 |
| | |||||
* | Merge branch 'sh-fix-refactor-uploader-work-dir' into 'master' | Kamil Trzciński | 2017-06-12 | 3 | -19/+50 |
|\ | | | | | | | | | | | | | Set artifact working directory to be in the destination store to prevent unnecessary I/O Closes #33274 See merge request !11905 | ||||
| * | Set artifact working directory to be in the destination store to prevent ↵sh-fix-refactor-uploader-work-dir | Stan Hu | 2017-06-06 | 3 | -19/+50 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | Bring in security changes from the 9.2.5 release | DJ Mountney | 2017-06-07 | 3 | -0/+32 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | Merge branch '12910-snippets-description' into 'master' | Phil Hughes | 2017-06-07 | 2 | -1/+71 |
|\ \ | |/ |/| | | | | | | | | | Support descriptions for snippets Closes #31894 See merge request !11071 | ||||
| * | Support uploads for newly created personal snippets12910-snippets-description | Jarka Kadlecova | 2017-06-07 | 2 | -7/+52 |
| | | |||||
| * | Support descriptions for snippets | Jarka Kadlecova | 2017-05-31 | 1 | -0/+25 |
| | | |||||
* | | Fix LFS timeouts when trying to save large filessh-fix-lfs-from-moving-across-filesystems | Stan Hu | 2017-06-04 | 1 | -0/+31 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | Add missing specs | Kamil Trzcinski | 2017-06-01 | 2 | -0/+94 |
|/ | |||||
* | Support uploaders for personal snippets comments12910-uploader-pers-snippet | Jarka Kadlecova | 2017-05-02 | 1 | -0/+31 |
| | |||||
* | Handle relative and absolute Upload paths in the Uploaders | Robert Speicher | 2017-03-06 | 2 | -4/+25 |
| | |||||
* | Add `RecordsUploads` module to record Upload records via callbacks | Robert Speicher | 2017-03-06 | 3 | -6/+105 |
| | |||||
* | Minor refactoring of Uploaders | Robert Speicher | 2017-02-24 | 4 | -42/+53 |
| | | | | | | | | | - 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. | ||||
* | Don't delete files from spec/fixtures | Jacob Vosmaer | 2017-01-03 | 1 | -3/+3 |
| | |||||
* | Copy, don't move uploaded avatar files | Jacob Vosmaer | 2017-01-03 | 1 | -4/+4 |
| | |||||
* | Add Gitlab::Middleware::Multipart | Jacob Vosmaer | 2016-12-15 | 3 | -0/+48 |
| | |||||
* | Remove VideoJS and clean the integration | Rémy Coutable | 2016-07-20 | 1 | -28/+31 |
| | | | | | | | | | Handle videos in: - MD preview in notes: commit, issue/MR, MR diff - New notes in: commit, issue/MR, MR diff - Persisted notes in: commit, issue/MR, MR diff Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | First support of videos in issues, MRs and notes | Eric Hayes | 2016-07-19 | 1 | -0/+42 |
* Registered video MIME types * Currently supporting browser-supported formats with extensions that match the mime type |