summaryrefslogtreecommitdiff
path: root/app/uploaders
Commit message (Collapse)AuthorAgeFilesLines
* Remove reduntant `move_to_store` overrideGrzegorz Bizon2016-03-301-4/+4
|
* Add method that returns markdown in file uploaderGrzegorz Bizon2016-03-301-0/+4
|
* Get FileUploader into test harness using factoryGrzegorz Bizon2016-03-301-2/+2
| | | | | | | | This attempts to get CarrierWave's uploader - `FileUploader` into test harness using a factory. that makes it easier to build an instance of it. Along with !3435 it may be easier to use uploaders in tests
* Add markdown pattern for uploads to file uploaderGrzegorz Bizon2016-03-301-0/+1
|
* Revert "Merge branch 'avatar-cropping' into 'master' "revert-avatar-croppingRémy Coutable2016-03-151-11/+0
| | | | | This reverts commit 01160fc06182de89c400af174861f6545ad6ceb8, reversing changes made to 4bff9daf8b6d85e9c78565e21cfaa3f6d36f0282.
* Minor changes on avatar cropping internalsJohann Pardanaud2016-02-181-4/+4
| | | | | - Avoid multiple calls to `validates` for the avatar attributes. - In a cropping process, don't check if the model inherits `User`, check if it responds to `:avatar_crop_size`.
* Improve avatar cropping internals, based on suggestions made by @rspeicher ↵Johann Pardanaud2016-02-171-8/+1
| | | | on !2773
* Improve user experience for avatar croppingJohann Pardanaud2016-02-161-1/+8
| | | | | - Avoid incomprehensible errors on non-integer cropping values - Set the default cropping area to 80%
* Fix failing tests introduced in commit 6d58088Johann Pardanaud2016-02-101-2/+4
|
* Fix #7959: Fix avatar stretching by providing a cropping featureJohann Pardanaud2016-02-091-0/+9
|
* Let the CI runner know about builds that this build depends onci/build_dependenciesKamil Trzcinski2016-01-141-0/+4
| | | | This allows us to implement artifacts passing: runner will download artifacts from all prior builds
* DRY up upload and download servicesapi-project-uploadDouwe Maan2016-01-081-0/+15
|
* Add hotfix that allows to access build artifacts created before 8.3fix/missing-ci-build-tracesGrzegorz Bizon2015-12-291-6/+2
| | | | | | | | | | | This is a temporary hotfix that allows to access build artifacts created before 8.3. See #5257. This needs to be changed after migrating CI build files. Note that `ArtifactUploader` uses `artifacts_path` to create a storage directory before and after parsisting `Ci::Build` instance, before and after moving a file to store (save and fetch a file).
* Expose artifacts pathci-artifacts-pathKamil Trzcinski2015-11-231-3/+3
|
* Merge branch 'refactor-duplication' into 'master' Dmitriy Zaporozhets2015-11-164-51/+25
|\ | | | | | | | | | | | | | | | | | | | | | | Remove some code duplication * remove duplicate code in uploaders * remove duplicate code in NotificationHelper * remove duplicate code in Repository Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> See merge request !1800
| * Remove duplicate methods in uploadersDmitriy Zaporozhets2015-11-164-51/+25
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Add support for git lfs.lfsMarin Jankovski2015-11-161-0/+29
|/
* Move tmp artifacts to shared/artifacts/tmp/. Check for GitLab-Workhorse nowKamil Trzcinski2015-11-101-2/+2
|
* Implement Build ArtifactsKamil Trzcinski2015-11-101-0/+50
| | | | | | | - Offloads uploading to GitLab Workhorse - Use /authorize request for fast uploading - Added backup recipes for artifacts - Support download acceleration using X-Sendfile
* Fix: Images cannot show when projects' path was changeduploads_path_fixValery Sizov2015-10-141-1/+1
|
* Fix URL to uploaded file.Douwe Maan2015-02-201-0/+4
|
* Merge branch 'extend_markdown_upload' into generic-uploadsDouwe Maan2015-02-201-20/+23
|\ | | | | | | | | | | | | # Conflicts: # app/controllers/files_controller.rb # app/controllers/projects/uploads_controller.rb # app/uploaders/attachment_uploader.rb
| * Use longer upload secret.Douwe Maan2015-02-171-1/+1
| |
| * Refactor.Douwe Maan2015-02-172-27/+13
| |
| * implement Project::UploadsControllerHannes Rosenögger2015-02-171-1/+3
| |
| * Generalize the image upload in markdownHannes Rosenögger2015-02-171-1/+18
| | | | | | | | | | This commit generalizes the image upload via drag and drop so it supports all files. It also adds access control for these files.
* | Split up AttachmentUploader.Douwe Maan2015-02-202-10/+32
| |
* | Revert "Fix broken access control and refactor avatar upload"Dmitriy Zaporozhets2015-02-192-33/+7
|/ | | | This reverts commit 7d5f86f6cbd187e75a6ba164ad6bfd036977dd07.
* Fix broken access control and refactor avatar uploadHannes Rosenögger2015-02-162-7/+33
| | | | | | | | | | | This commit moves the note folder from /public/uploads/note to /uploads/note and changes the uploader accordingly. Now it's no longer possible to avoid the access control by modifing the url. The Avatar upload has been refactored to use an own uploader as well to cleanly seperate the two upload types.
* Revert "Merge pull request #7349 from srna/patch-1"Marin Jankovski2014-12-051-4/+0
| | | | | This reverts commit b37b71d887e8521b8992aa6e4f789a38b393e55a, reversing changes made to 42a1d8083c77d3803320bbbd0ac1559ff32d2519.
* Removed + '' +Tomas Srna2014-10-291-1/+1
|
* Attachment URL with non-/ relative rootTomas Srna2014-07-221-0/+4
| | | The attachment URL was not working with relative_url_root not equal to '/'. I suggest this fix.
* Make existing tests test something, return correct errors.Marin Jankovski2014-05-261-1/+1
|
* Implements drag and drop upload in creating issuesEarle Bunao & Neil Calabroso2014-05-231-0/+41
|
* Expire event cache on avatar creation/removalDrew Blessing2013-12-111-0/+6
|
* Fixes grack authentification under relative_url_rootamouhzi2013-08-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | Ref: https://github.com/gitlabhq/gitlabhq/commit/e6159b8725f99af78f446f8d33fa0e52b7780430 Ref: https://github.com/gitlabhq/gitlabhq/pull/3204 Ref: https://github.com/gitlabhq/gitlabhq/issues/1228 Add Rails' variable in application.rb to support relative url This variable is used by assets compilation and other modules. Note that user needs to change application.rb too Restrict session cookie to the relative path if set. Ref: https://github.com/gitlabhq/gitlabhq/commit/2c2f1e31856a4decdae469974f5bea8245316f7e Fix Update attachment_uploader.rb bug with relative URL See: https://github.com/gitlabhq/gitlabhq/commit/161afda3fa4fca58f396e9c3acbd72bc14490ace Fix Wall relative bug with attachement files (javascript)
* Files controller handle redirect to remote storage. Added config block to ↵Dmitriy Zaporozhets2013-05-151-5/+5
| | | | carrierwave init
* fixes #3115 and adds support for gif bmp & tiff imagesBen Bodenmiller2013-05-151-3/+3
| | | when showing image preview check via lowercased extension and adds support for gif bmp & tiff images
* skip protection to aws3Dmitriy Zaporozhets2013-02-151-1/+5
|
* handle attahcment with send_fileDmitriy Zaporozhets2013-02-111-0/+4
|
* fix attachment uploader for awsDmitriy Zaporozhets2013-02-111-1/+10
|
* Show images preview in notes. Show line additions/deletions for commitDmitriy Zaporozhets2013-01-041-39/+3
|
* Fully embrace Ruby 1.9 hash syntaxRobert Speicher2012-08-101-2/+2
| | | | Didn't bother with files in db/, config/, or features/
* init commitgitlabhq2011-10-091-0/+49