Commit Graph

870 Commits

Author SHA1 Message Date
Toshi MARUYAMA fdf6e8547b attachment: add a functional test to show invalid UTF-8 text file (#2371)
Stripping invalid UTF-8 is Redmine 1.2 behaviour.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7824 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-17 07:01:40 +00:00
Toshi MARUYAMA 67bc801abc attachment: add a functional test to show UTF-8 text file (#2371)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7823 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-17 07:00:30 +00:00
Toshi MARUYAMA eb498a86ac fix malformed issues csv encoding in case of unable to convert (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7822 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 15:36:26 +00:00
Toshi MARUYAMA dde0de8cc5 add functional test to export issue csv encoded in Big5 on Traditional Chinese locale (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7821 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 13:49:40 +00:00
Toshi MARUYAMA 4a3581c748 fix malformed time entry report csv encoding in case of unable to convert (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7820 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 08:29:18 +00:00
Toshi MARUYAMA 4b5d50e40a fix malformed time log csv encoding in case of unable to convert (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7819 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 08:10:53 +00:00
Toshi MARUYAMA d2811171fd code layout clean up test/functional/attachments_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7817 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 03:58:42 +00:00
Toshi MARUYAMA 36afbc41b6 add functional test to export time log csv encoded in Big5 on Traditional Chinese locale (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7812 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-15 10:06:01 +00:00
Toshi MARUYAMA 95ef931048 add functional test to export time entry report csv encoded in Big5 on Traditional Chinese locale (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7811 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-15 06:06:47 +00:00
Toshi MARUYAMA e1d71c7968 code layout clean up test_report_csv_export of test/functional/time_entry_reports_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7784 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-12 08:35:12 +00:00
Toshi MARUYAMA b560927d45 code layout clean up test_report_all_projects_csv_export of test/functional/time_entry_reports_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7783 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-12 08:34:49 +00:00
Jean-Philippe Lang a9fb345f96 Fixed failure introduced in r7772 (#8615).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7774 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 12:43:05 +00:00
Toshi MARUYAMA a920184c83 code layout clean up test/functional/time_entry_reports_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7764 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-10 23:48:58 +00:00
Toshi MARUYAMA 41bf0a74a5 code layout clean up test/functional/timelog_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7762 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-10 13:44:36 +00:00
Toshi MARUYAMA 3758328d60 test: functional: wiki: add tests to show pdf (#401)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7742 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-06 10:50:05 +00:00
Toshi MARUYAMA 0921042bc4 test: functional: wiki: add tests to show html and txt (#401)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7739 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-06 10:47:45 +00:00
Toshi MARUYAMA fe386fe50d code layout clean up of test/functional/wiki_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7738 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-06 09:17:10 +00:00
Etienne Massip 269014ced8 Added an administration setting to allow issue start date to be defaulted to blank (nil) at issue creation (#2269).
Based on the patch of #2277 contributed by Mischa The Evil.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7733 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-05 18:40:33 +00:00
Toshi MARUYAMA 4ae7f82f3a do not annotate text files which exceed the size limit for viewing (#9484)
Contributed by Antonio García-Domínguez.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7728 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-05 03:47:03 +00:00
Toshi MARUYAMA 476c3d54b7 scm: mercurial: update test repository (#5501)
This test repository has one merged revision.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7662 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-28 01:44:12 +00:00
Etienne Massip 8f96f0c40d Refactor : convert queries to REST resources (also fixes #9108).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-24 20:19:26 +00:00
Etienne Massip 4eed0dca15 Reverted r7628.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7629 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-18 21:19:58 +00:00
Etienne Massip 33f65c5a48 Filter out illegal values to prevent raise of PostgreSQL exceptions, restored last test part removed with r7625 (#8371).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7628 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-18 17:51:21 +00:00
Etienne Massip 78a8757846 Restored valid test part removed with r7625 (#8371).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7627 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-13 06:42:08 +00:00
Etienne Massip 0a67ae2ddb Removed debugging purpose command.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7626 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-13 06:19:20 +00:00
Etienne Massip 9ba1e19ec7 Removed test part failing with PostgreSQL (#8371).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7625 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-13 06:18:42 +00:00
Etienne Massip a118c4ccb0 Fixed shot filter expression parsing depending upon field operators (#8371).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7624 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-12 23:45:47 +00:00
Toshi MARUYAMA 3914a27155 Rails3: test: replace deprecated errors.on at "fail with unauthorized parent_id" of functional/projects_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7615 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 14:11:41 +00:00
Toshi MARUYAMA dba6341031 Rails3: test: replace deprecated errors.on at "fail without parent_id" of functional/projects_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7614 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 14:11:06 +00:00
Toshi MARUYAMA d66aceb751 Rails3: test: replace deprecated errors.on at "fail with parent_id" of functional/projects_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7613 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 14:10:37 +00:00
Toshi MARUYAMA 177906a75f remove hard-coded '.rxml' from 'test_show_atom' at functional issues controller test (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7576 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-04 13:40:30 +00:00
Toshi MARUYAMA 43a31e2ca7 remove hard-coded '.rxml' from 'test_index_atom' at functional projects controller test (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7574 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-04 11:08:24 +00:00
Toshi MARUYAMA 33d41583bb Rails3: test: template must be specified as controller/action not with their extension any more
Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7543 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-28 10:11:42 +00:00
Etienne Massip 98e18b2141 Allow project column to be removed from the global issue list columns (#8411).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7538 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-26 17:44:20 +00:00
Toshi MARUYAMA 9c650540ba code layout clean up of test_preview_issue_notes at test/functional/previews_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7533 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:46:44 +00:00
Toshi MARUYAMA f21fd28917 code layout clean up of 'should "allow adding a note when copying"' at test/functional/issue_moves_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7532 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:46:20 +00:00
Toshi MARUYAMA c01d94203b code layout clean up of 'should "allow changing the issue's attributes"' at test/functional/issue_moves_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7531 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:45:56 +00:00
Toshi MARUYAMA 7e182848e5 code layout clean up of 'should "allow not changing the issue's attributes"' at test/functional/issue_moves_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7530 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:45:30 +00:00
Toshi MARUYAMA f2fd28a76c remove duplicate fixtures from test/functional/issue_moves_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7529 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:45:01 +00:00
Toshi MARUYAMA 440c2d0d2f remove duplicate fixtures from test/functional/files_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:44:35 +00:00
Toshi MARUYAMA bdccb5d3d5 remove duplicate fixtures from test/functional/previews_controller_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7526 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 10:43:40 +00:00
Toshi MARUYAMA 22f5219575 Rails3: replace "all" fixtures at test/functional/project_enumerations_controller_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7525 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 06:15:32 +00:00
Toshi MARUYAMA 40992d71d1 Rails3: replace "all" fixtures at test/functional/gantts_controller_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7524 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 06:14:51 +00:00
Toshi MARUYAMA 1d9de08cdc Rails3: replace "all" fixtures at test/functional/reports_controller_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7523 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 06:14:07 +00:00
Toshi MARUYAMA 82c86513ad Rails3: replace "all" fixtures at test/functional/files_controller_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7522 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 06:13:23 +00:00
Toshi MARUYAMA 131863857d Rails3: replace "all" fixtures at test/functional/issue_moves_controller_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7521 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 06:12:45 +00:00
Toshi MARUYAMA bea3f11468 Rails3: replace "all" fixtures at test/functional/previews_controller_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7520 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 06:12:10 +00:00
Toshi MARUYAMA 52027456de remove fixtures from test/functional/ldap_auth_sources_controller.rb
This test does not need fixtures.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7514 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 04:55:47 +00:00
Toshi MARUYAMA 587d530ca1 replace 'require' at test/functional/ldap_auth_sources_controller.rb for running individually
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7513 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-25 04:55:00 +00:00
Toshi MARUYAMA b9d4e4dd67 Rails3: replace "all" fixtures at test/functional/calendars_controller_test.rb
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7490 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 07:08:20 +00:00