Commit Graph

21 Commits

Author SHA1 Message Date
Heinrich Lee Yu e2698d5d74 Improve email messages
Also refactored cleanup view to use the same localized string
2019-01-07 11:16:58 +08:00
Heinrich Lee Yu 63e9969ca3 Refactor upload service to return uploader
Also changes old calls to the service
2019-01-07 11:16:58 +08:00
Francisco Javier López cf8b8ff99b Add feature flag for workhorse content type calculation 2018-12-06 21:22:39 +00:00
Douwe Maan 31a4b268bb
Revert "Rails5 fix format in uploads actions"
This reverts commit 4f76d953dd.
2018-12-03 12:29:02 +01:00
gfyoung 73322a0e55 Enable frozen string in app/controllers/**/*.rb
Enables frozen string for the following:

* app/controllers/*.rb
* app/controllers/admin/**/*.rb
* app/controllers/boards/**/*.rb
* app/controllers/ci/**/*.rb
* app/controllers/concerns/**/*.rb

Partially addresses #47424.
2018-09-18 21:22:45 -07:00
Yorick Peterse 2039c8280d
Disable existing offenses for the CodeReuse cops
This whitelists all existing offenses for the various CodeReuse cops, of
which most are triggered by the CodeReuse/ActiveRecord cop.
2018-09-11 17:32:00 +02:00
Chantal Rollison d2161350cc Handled exception during file upload 2018-09-06 06:33:32 -07:00
Kamil Trzciński (OoO till 3th) 34694c3afc Merge branch 'jprovazn-direct-upload' into 'master'
Add workhorse authorize method for project/group uploads

Closes #44663

See merge request gitlab-org/gitlab-ce!19717
2018-07-04 09:50:29 +00:00
Jasper Maes 4f76d953dd Rails5 fix format in uploads actions 2018-06-18 18:21:40 +02:00
Jan Provaznik 656d4ebf67 Add workhorse authorize method for project/group uploads
This method can be used by workhorse to get presigned
URLs used for direct upload of files.
2018-06-18 09:11:02 +02:00
Alexis Reigel b606636eab
simplify uploader versions check 2018-06-05 16:20:23 +02:00
Alexis Reigel 96d0b1c67b
require uploaded file's name to match in any case 2018-06-05 16:20:23 +02:00
Alexis Reigel 256d959729
ability to get an image's alternative version 2018-06-05 16:20:23 +02:00
Alexis Reigel ce6172e863
allow uploading favicon in appearance settings 2018-06-05 16:20:18 +02:00
Micaël Bergeron fc6587f1f2 Add proxy_download to perform proxied sending of all files 2018-03-09 09:16:06 -05:00
Sean McGivern 2387ef2b4a Merge branch 'poc-upload-hashing-path' into 'master'
File uploads on objects storage should use hashed storage

Closes #4952

See merge request gitlab-org/gitlab-ee!4597
2018-03-08 09:25:56 -05:00
Sean McGivern 028562a049 Fix 500 error when loading an invalid upload URL 2018-02-22 14:32:01 +00:00
Micaël Bergeron 74ddc80590 add the uploader context to the upload model 2018-02-02 09:28:15 -05:00
Micaël Bergeron 2057a6acde port of 594e6a0a625^..f74c90f68c6 2018-02-01 12:14:46 -05:00
Jarka Kadlecova f7c18ca314 Support uploads for groups 2017-12-07 12:27:52 +01:00
Jarka Kadlecova 43ff738641 Support uploaders for personal snippets comments 2017-05-02 15:22:24 +02:00