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
2020-03-13Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-05-14Optimise upload path callsSean McGivern
String#underscore isn't particularly slow, but it's possible for us to call it many times in a users autocomplete request, with mostly-static values ('User', 'Group', etc.). We can memoise this and save a surprising amount of time (around 10% of the total request time in some cases).
2018-07-05Enable frozen string in apps/validators/*.rbgfyoung
Partially addresses #47424.
2018-03-03fixing some broken mergesMicaël Bergeron
2018-03-01port the object storage to CEMicaël Bergeron
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
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.
2016-12-15Add Gitlab::Middleware::MultipartJacob Vosmaer
2016-07-24Remove magic comments from Ruby files (!5456)winniehell
2015-11-16Remove duplicate methods in uploadersDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-02-20Split up AttachmentUploader.Douwe Maan
2015-02-19Revert "Fix broken access control and refactor avatar upload"Dmitriy Zaporozhets
This reverts commit 7d5f86f6cbd187e75a6ba164ad6bfd036977dd07.
2015-02-16Fix broken access control and refactor avatar uploadHannes Rosenögger
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.
2014-12-05Revert "Merge pull request #7349 from srna/patch-1"Marin Jankovski
This reverts commit b37b71d887e8521b8992aa6e4f789a38b393e55a, reversing changes made to 42a1d8083c77d3803320bbbd0ac1559ff32d2519.
2014-10-29Removed + '' +Tomas Srna
2014-07-22Attachment URL with non-/ relative rootTomas Srna
The attachment URL was not working with relative_url_root not equal to '/'. I suggest this fix.
2013-12-11Expire event cache on avatar creation/removalDrew Blessing
2013-08-15Fixes grack authentification under relative_url_rootamouhzi
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)
2013-05-15Files controller handle redirect to remote storage. Added config block to ↵Dmitriy Zaporozhets
carrierwave init
2013-05-15fixes #3115 and adds support for gif bmp & tiff imagesBen Bodenmiller
when showing image preview check via lowercased extension and adds support for gif bmp & tiff images
2013-02-15skip protection to aws3Dmitriy Zaporozhets
2013-02-11handle attahcment with send_fileDmitriy Zaporozhets
2013-02-11fix attachment uploader for awsDmitriy Zaporozhets
2013-01-05Show images preview in notes. Show line additions/deletions for commitDmitriy Zaporozhets
2012-08-11Fully embrace Ruby 1.9 hash syntaxRobert Speicher
Didn't bother with files in db/, config/, or features/
2011-10-09init commitgitlabhq