Go MAEDA
f37ed77665
Use #media_type instead of #content_type to test the MIME type of a response (#32886).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19467 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 роки тому
Toshi MARUYAMA
e5e0c52768
cleanup: rubocop: fix Layout/IndentFirstHashElement in test/functional/attachments_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19233 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 роки тому
Toshi MARUYAMA
7193c1372d
cleanup: rubocop: fix Layout/SpaceInsideHashLiteralBraces in test/functional/attachments_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19232 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 роки тому
Go MAEDA
2e6b3b9248
Skip AttachmentsControllerTest#test_thumbnail_for_pdf_should_be_png when ImageMagick convert is not available (#32307, #22481).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18826 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 роки тому
Go MAEDA
3ce678510e
Render Textile and Markdown attachments on the preview page (#29752).
Patch by Takenori TAKAKI.
git-svn-id: http://svn.redmine.org/redmine/trunk@18584 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 роки тому
Go MAEDA
1e53dd7e11
Fixes not to call set_tmp_attachments_directory twice after each test (#32094).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18484 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 роки тому
Go MAEDA
f1c29cdb8c
Run test only when GhostScript is available (#22481).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18221 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 роки тому
Go MAEDA
3be6fea8e2
Remove trailing whitespaces from test/functional/attachments_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18219 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 роки тому
Go MAEDA
4082069c75
Update copyright year.
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 роки тому
Go MAEDA
96b6bdfb77
Test for r18158 (#22481).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18159 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 роки тому
Go MAEDA
3bccfe8227
Correct the fixture id (#31275).
git-svn-id: http://svn.redmine.org/redmine/trunk@18099 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 роки тому
Go MAEDA
6732ce9a93
Fix that Content-Type header field is empty when sending a file of unknown type (#31275).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18098 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 роки тому
Go MAEDA
b900ae6107
Support frozen_string_literal in test/**/*.rb (#26561).
Contributed by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@17996 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 роки тому
Go MAEDA
26509e7f4c
Decode hexadecimal-encoded literals in order to be frozen string literals friendly (#31004).
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17991 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 роки тому
Go MAEDA
e70c283a22
Remove unnecessary encoding magic comment (#31034).
The default script encoding is UTF-8 in Ruby 2.0 or later.
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17976 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 роки тому
Go MAEDA
5861160ffc
Add "frozen_string_literal: false" for all files (#26561).
This will be changed to true in the future.
git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 роки тому
Go MAEDA
8cf95006bf
Fix a test failure (#13688).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@17851 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 роки тому
Jean-Philippe Lang
887b8d2fdf
Adds a link to container on attachments edit form.
git-svn-id: http://svn.redmine.org/redmine/trunk@17722 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 роки тому
Go MAEDA
dcc7ecb34a
Attachments prev/next navigation (#29395).
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@17567 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 роки тому
Jean-Philippe Lang
7fd04e1f8d
Update copyright.
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 роки тому
Jean-Philippe Lang
580b591c57
Add download link to no preview message (#26035).
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@16673 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 роки тому
Jean-Philippe Lang
d66dc72d69
Rename a few tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@16653 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 роки тому
Jean-Philippe Lang
4d4f330b0c
Highlight menu item when viewing an attachment (#25988).
git-svn-id: http://svn.redmine.org/redmine/trunk@16652 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 роки тому
Jean-Philippe Lang
b834e81d7f
Use Rails 5 syntax for functional tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@16585 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 роки тому
Jean-Philippe Lang
a2bcc9c40e
Rename AttachmentsController#edit and #update to #edit_all and #update_all (#22356).
git-svn-id: http://svn.redmine.org/redmine/trunk@15860 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 роки тому
Jean-Philippe Lang
76bf2404d5
Allow to download javascript attachments again (#23376).
Patch by Holger Just.
git-svn-id: http://svn.redmine.org/redmine/trunk@15856 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 роки тому
Jean-Philippe Lang
ec31b61698
Removes calls to #assert_template and #assigns in functional tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@15695 e93f8b46-1217-0410-a6f0-8f06a7374b81
7 роки тому
Jean-Philippe Lang
2e4e610930
Adds our own class for controller tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@15661 e93f8b46-1217-0410-a6f0-8f06a7374b81
8 роки тому
Jean-Philippe Lang
b553b23e6b
Show attachment view even is no preview is available (#22482).
Patch by Gregor Schmidt.
git-svn-id: http://svn.redmine.org/redmine/trunk@15398 e93f8b46-1217-0410-a6f0-8f06a7374b81
8 роки тому
Jean-Philippe Lang
d8d23fbb6b
Add basic test for image view (#22482).
Patch by Gregor Schmidt.
git-svn-id: http://svn.redmine.org/redmine/trunk@15396 e93f8b46-1217-0410-a6f0-8f06a7374b81
8 роки тому
Jean-Philippe Lang
cda9c63d9c
Updates copyright for 2016.
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
8 роки тому
Jean-Philippe Lang
0b04de0a23
Send a better content type than application/octet-stream (#19131).
git-svn-id: http://svn.redmine.org/redmine/trunk@14034 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 роки тому
Jean-Philippe Lang
b50fa8fec1
Fixed attachment fixture (should be attached to issue 3 because one of its journals references it), r13937.
git-svn-id: http://svn.redmine.org/redmine/trunk@13942 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 роки тому
Jean-Philippe Lang
000124f44f
Copyright update.
git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 роки тому
Jean-Philippe Lang
2a6692248b
Replaced "can't" with "cannot" in error messages.
git-svn-id: http://svn.redmine.org/redmine/trunk@13781 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 роки тому
Jean-Philippe Lang
c084ef509f
Adds a few functional tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13718 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 роки тому
Jean-Philippe Lang
288c014aa7
Edit attachments after upload (#1326).
git-svn-id: http://svn.redmine.org/redmine/trunk@13665 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 роки тому
Jean-Philippe Lang
36d487fe50
Replaced some #assert_tag with #assert_select.
git-svn-id: http://svn.redmine.org/redmine/trunk@13620 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 роки тому
Jean-Philippe Lang
2d1866d966
Merged rails-4.1 branch (#14534).
git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 роки тому
Jean-Philippe Lang
e124da5488
Fixed: Files assigned to a version can not be deleted if Issue Tracking module is disabled (#17163).
Patch by Michael Esemplare.
git-svn-id: http://svn.redmine.org/redmine/trunk@13390 e93f8b46-1217-0410-a6f0-8f06a7374b81
9 роки тому
Toshi MARUYAMA
80ba11a029
add test of attachment thumbnail etag
git-svn-id: http://svn.redmine.org/redmine/trunk@13175 e93f8b46-1217-0410-a6f0-8f06a7374b81
10 роки тому
Toshi MARUYAMA
dfa40b732e
add test of attachment download etag
git-svn-id: http://svn.redmine.org/redmine/trunk@13174 e93f8b46-1217-0410-a6f0-8f06a7374b81
10 роки тому
Toshi MARUYAMA
ebb1a0092f
use with_settings at AttachmentsControllerTest#test_show_text_file_should_send_if_too_big
git-svn-id: http://svn.redmine.org/redmine/trunk@13173 e93f8b46-1217-0410-a6f0-8f06a7374b81
10 роки тому
Toshi MARUYAMA
35cc911192
update copyright year (#15977)
Contributed by Daniel Felix.
git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
10 роки тому
Toshi MARUYAMA
7c10f41ce3
Rails4: replace deprecated Relation#first with finder options at AttachmentsControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12578 e93f8b46-1217-0410-a6f0-8f06a7374b81
10 роки тому
Toshi MARUYAMA
c363fc47f3
fix typo of attachments controller test names
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11180 e93f8b46-1217-0410-a6f0-8f06a7374b81
11 роки тому
Jean-Philippe Lang
e396a0eebe
Copyright for 2013 (#12788).
Patch by Daniel Felix.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
11 роки тому
Jean-Philippe Lang
5dd7467061
Fixed duplicate test name.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10986 e93f8b46-1217-0410-a6f0-8f06a7374b81
11 роки тому
Jean-Philippe Lang
ef25210aca
Merged ajax_upload branch (#3957).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10977 e93f8b46-1217-0410-a6f0-8f06a7374b81
11 роки тому
Jean-Philippe Lang
4cc4e8bfd3
Functional tests cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10936 e93f8b46-1217-0410-a6f0-8f06a7374b81
11 роки тому