Commit graph

15 commits

Author SHA1 Message Date
Grzegorz Bizon
b9f5719285 Remove reduntant move_to_store override 2016-03-30 12:50:19 +02:00
Grzegorz Bizon
99ee822857 Add method that returns markdown in file uploader 2016-03-30 10:56:25 +02:00
Grzegorz Bizon
0b8cefd3b2 Get FileUploader into test harness using factory
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
2016-03-30 10:44:18 +02:00
Grzegorz Bizon
cff3497f2c Add markdown pattern for uploads to file uploader 2016-03-30 10:44:18 +02:00
Douwe Maan
0614793b38 DRY up upload and download services 2016-01-08 17:38:53 +01:00
Dmitriy Zaporozhets
796bb65170 Remove duplicate methods in uploaders
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-11-16 13:01:34 +01:00
Valery Sizov
8f584d5f2c Fix: Images cannot show when projects' path was changed 2015-10-14 18:50:35 +03:00
Douwe Maan
7f1adc3d9c Fix URL to uploaded file. 2015-02-20 16:01:37 +01:00
Douwe Maan
218283b368 Merge branch 'extend_markdown_upload' into generic-uploads
# Conflicts:
#	app/controllers/files_controller.rb
#	app/controllers/projects/uploads_controller.rb
#	app/uploaders/attachment_uploader.rb
2015-02-20 15:37:37 +01:00
Douwe Maan
ab65be7a2f Use longer upload secret. 2015-02-17 22:23:31 +01:00
Douwe Maan
d2ebdf664b Refactor. 2015-02-17 22:23:31 +01:00
Hannes Rosenögger
9729cc584f implement Project::UploadsController 2015-02-17 22:21:13 +01:00
Hannes Rosenögger
9bf8480b4a Generalize the image upload in markdown
This commit generalizes the image upload via drag and drop so it supports all files.
It also adds access control for these files.
2015-02-17 22:20:44 +01:00
Marin Jankovski
8bec6b0bcb Make existing tests test something, return correct errors. 2014-05-26 14:17:46 +02:00
Earle Bunao & Neil Calabroso
6a85cdf162 Implements drag and drop upload in creating issues 2014-05-23 16:22:42 +08:00