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-12Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-02-12Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-01-03Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-03Add 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-09-10fix avatar uploader errorJames Lopez
2018-09-06Refactor code to remove object storage flag from Import/ExportJames Lopez
Updated docs, refactor import/export code Fix AvatarUploader path issue Fix project export upload webhook error
2018-07-05Enable frozen string in apps/validators/*.rbgfyoung
Partially addresses #47424.
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-09-19Do not perform hard check (presence of file on storage)Kamil Trzcinski
Instead perform soft check (the column set to indicate that file does exist)
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-03Copy, don't move uploaded avatar filesJacob Vosmaer
2016-12-15Add Gitlab::Middleware::MultipartJacob Vosmaer
2016-11-23Remove event caching codeYorick Peterse
Flushing the events cache worked by updating a recent number of rows in the "events" table. This has the result that on PostgreSQL a lot of dead tuples are produced on a regular basis. This in turn means that PostgreSQL will spend considerable amounts of time vacuuming this table. This in turn can lead to an increase of database load. For GitLab.com we measured the impact of not using events caching and found no measurable increase in response timings. Meanwhile not flushing the events cache lead to the "events" table having no more dead tuples as now rows are only inserted into this table. As a result of this we are hereby removing events caching as it does not appear to help and only increases database load. For more information see the following comment: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6578#note_18864037
2016-07-24Remove magic comments from Ruby files (!5456)winniehell
2016-07-19squashed - added avatar saver/restorer and specsJames Lopez
added spec for avatar saver avatar saver! added avatar restorer spec fix spec added avatar restorer class fix export service fix warnings, added changelog fix spec some refactoring based on feedback fixed a few issues after testing i/e avatar
2016-03-15Revert "Merge branch 'avatar-cropping' into 'master' "Rémy Coutable
This reverts commit 01160fc06182de89c400af174861f6545ad6ceb8, reversing changes made to 4bff9daf8b6d85e9c78565e21cfaa3f6d36f0282.
2016-02-18Minor changes on avatar cropping internalsJohann Pardanaud
- 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`.
2016-02-17Improve avatar cropping internals, based on suggestions made by @rspeicher ↵Johann Pardanaud
on !2773
2016-02-16Improve user experience for avatar croppingJohann Pardanaud
- Avoid incomprehensible errors on non-integer cropping values - Set the default cropping area to 80%
2016-02-10Fix failing tests introduced in commit 6d58088Johann Pardanaud
2016-02-10Fix #7959: Fix avatar stretching by providing a cropping featureJohann Pardanaud
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.