Commit Graph

2197 Commits

Author SHA1 Message Date
Jean-Philippe Lang 12d05431c2 Adds a way to filter issues with or without start date (#9607).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7841 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 11:25:36 +00:00
Jean-Philippe Lang 9ac86d4f4e Wiki links for news and forums (#9600).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7840 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 11:16:23 +00:00
Jean-Philippe Lang b3b2eb3e50 Fixes section edit links when text includes pre/code tag (#2222).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7835 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 18:22:41 +00:00
Jean-Philippe Lang 1e8a9da131 Handle the case of a text formatter that doesn't support section edit (#2222).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7831 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 16:41:54 +00:00
Jean-Philippe Lang 6fc245327c Wiki: allows single section edit (#2222).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7829 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 16:25:00 +00:00
Toshi MARUYAMA b38dc9a301 move repositories helper to_utf8 tests to new CodesetUtilTest (#2371)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7828 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 14:57:58 +00:00
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 8433bbab69 move iconv from utf8 logic from pdf to lib/redmine/codeset_util.rb for common use (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7818 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 05:07:16 +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
Jean-Philippe Lang 594074d91b Fixed: Deleting a subtasks doesn't update parent's rgt & lft values, introduced by r5286 (#9577).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7814 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-15 19:55:21 +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
Jean-Philippe Lang 7afb775286 Additional tests for email From header (#9564).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7807 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-14 20:10:06 +00:00
Jean-Philippe Lang f953426935 Replaced non standard Precedence email header with "X-Auto-Response-Suppress: OOF" (#9534).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7805 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-13 16:30:35 +00:00
Jean-Philippe Lang b170a40ed4 Adds a method to clear the settings cache.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7804 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-13 15:20:31 +00:00
Toshi MARUYAMA c54b33ddca Ruby 1.9: fix tests error due to require path at test/test_helper.rb
Following error raises.

<pre>
/home/xxxxxx/.rvm/gems/ruby-1.9.2-p290/gems/rails-2.3.11/lib/rails/gem_dependency.rb:277:in `==':
   undefined method `name' for "actionmailer":String (NoMethodError)
...
	from /REDMINE-1/hg-workdir/redmine-bb-all/test/test_helper.rb:19:in `<top (required)>'
	from <internal:lib/rubygems/custom_require>:29:in `require'
	from <internal:lib/rubygems/custom_require>:29:in `require'
	from test/unit/changeset_test.rb:20:in `<main>'
</pre>

Moreover, in order to run tests on Ruby 1.9.2, Rails needs to be 2.3.14.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7802 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-13 11:47:08 +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 3da92d7da7 Fixed: copied private queries not visible after project copy (#9520).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7782 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 17:33:02 +00:00
Jean-Philippe Lang e9f9927534 Fixed: Error when reading ciphered text from the database without cipher key configured (#9552).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7780 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 14:04:33 +00:00
Jean-Philippe Lang 981a6223e4 Custom date field accepts invalid dates (#9394).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7779 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 13:22:57 +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
Jean-Philippe Lang 5b37920cce Fixed: Custom 'version' field don't show shared versions (#8615).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7772 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 12:32:21 +00:00
Jean-Philippe Lang 857cf5db38 Fixed: User with groups may not see issues assigned to him or to its groups (#9478).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7771 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-11 12:22:47 +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 e1f3719634 scm: git: test: model: fix failing test_parents on PostgreSQL (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7720 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 09:58:38 +00:00
Toshi MARUYAMA 4a5a4bad97 scm: mercurial: test: model: fix failing test_parents on PostgreSQL (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7719 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 09:58:07 +00:00
Toshi MARUYAMA 9129d116b2 scm: mercurial: test: model: add test of parents (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7714 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 08:03:38 +00:00
Toshi MARUYAMA e0f7acaf61 scm: git: test: model: add test of parents (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7712 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 08:02:53 +00:00
Toshi MARUYAMA e300188982 add unit test of escaping image urls (#9245)
Contributed by Holger Just.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7707 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-02 07:35:51 +00:00
Etienne Massip 1032210edd Don't escape already parsed wiki link title (#9471).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7698 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 11:45:59 +00:00
Toshi MARUYAMA 2b4549b3ea scm: mercurial: test: lib: update branches test for Branch class (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7674 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-28 05:19:58 +00:00
Toshi MARUYAMA daae07f47c scm: git: test: lib: update branches test for Branch class (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7672 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-28 05:18:28 +00:00
Toshi MARUYAMA 9ff5c7034d scm: git: test: add test of parents to unit lib test (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7669 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-28 04:59:06 +00:00
Toshi MARUYAMA 613a056ed6 scm: mercurial: test: add test of parents to unit lib test (#5501)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7667 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-28 04:57:43 +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 ad9e486077 Make queries resources fully conform to common behavior (removed additonal routes) (#9108).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7657 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-26 18:00:56 +00:00
Toshi MARUYAMA 520a8e6f15 scm: mercurial: use NUM_REV instead of hard-coded number of revisions at "test_fetch_changesets_incremental" of unit model test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7652 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-25 10:27:42 +00:00
Toshi MARUYAMA 81ef038587 scm: mercurial: drop supporting below Mercurial 1.1 (#9465)
On November 1st 2011, Mercurial 2.0 will be released.

On Mercurial 1.1.2, unit lib test fails with following error.

<pre>
Traceback (most recent call last):
  File "/WEB-DOWN/hg-repo/hg-crew/hg", line 20, in <module>
    mercurial.dispatch.run()
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 20, in run
    sys.exit(dispatch(sys.argv[1:]))
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 29, in dispatch
    return _runcatch(u, args)
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 45, in _runcatch
    return _dispatch(ui, args)
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 367, in _dispatch
    ret = _runcommand(ui, options, cmd, d)
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 416, in _runcommand
    return checkargs()
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 376, in checkargs
    return cmdfunc()
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/dispatch.py", line 361, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/WEB-DOWN/hg-repo/hg-crew/mercurial/util.py", line 715, in check
    return func(*args, **kwargs)
  File "/REDMINE-1/hg-workdir/redmine-bb-all/lib/redmine/scm/adapters/mercurial/redminehelper.py", line 149, in rhlog
    if hg.util.version() >= '1.6':
AttributeError: 'module' object has no attribute 'version'

  1) Error:
test_nodes_in_branch(MercurialAdapterTest):
Redmine::Scm::Adapters::MercurialAdapter::HgCommandAborted: hg exited with non-zero status: 1
    lib/redmine/scm/adapters/mercurial_adapter.rb:306:in `hg'
    lib/redmine/scm/adapters/mercurial_adapter.rb:234:in `nodes_in_branch'
    test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:311:in `test_nodes_in_branch'
    test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:304:in `each'
    test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb:304:in `test_nodes_in_branch'
</pre>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7650 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-25 06:10: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
Toshi MARUYAMA 3a62c30f24 scm: mercurial: skip failing unit model tests on below Mercurial 1.5 (#9465)
Tests of non ASCII nor alphabetic nor numeric *named branch* fails on below Mercurial 1.5.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7643 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-24 09:33:03 +00:00
Toshi MARUYAMA 74cbbd38d0 scm: mercurial: skip failing unit lib tests on below Mercurial 1.5 (#9465)
Tests of non ASCII nor alphabetic nor numeric *named branch* fails on below Mercurial 1.5.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7642 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-24 09:32:38 +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
Etienne Massip 8e1cf61d86 Fix failing test (#4264).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7621 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-08 13:47:25 +00:00
Etienne Massip d1efb4f148 Update CodeRay version to 1.0 final (#4264).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7618 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-08 13:34:30 +00:00
Toshi MARUYAMA 6ebb5e834c Rails3: test: replace deprecated errors.on at test_moving_an_issue_to_a_descendant_should_not_validate of unit/issue_nested_set_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7617 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 23:54:27 +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 8dc797e19d Rails3: test: replace deprecated errors.on at test_update_issue_with_required_custom_field_change of unit/time_entry_activity_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7612 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 14:10:05 +00:00
Toshi MARUYAMA e911d46aa8 Rails3: test: replace deprecated errors.on_base at test_should_not_be_able_to_reopen_an_issue_assigned_to_a_closed_version of unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7611 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 13:07:55 +00:00
Toshi MARUYAMA 0f189ec010 Rails3: test: replace deprecated errors.on at test_should_not_be_able_to_assign_a_new_issue_to_a_locked_version of unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7610 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 13:07:21 +00:00
Toshi MARUYAMA faff6c9898 Rails3: test: replace deprecated errors.on at test_should_not_be_able_to_assign_a_new_issue_to_a_closed_version of unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7609 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 13:06:54 +00:00
Toshi MARUYAMA 9f7690873a code layout clean up of test_visible_scope_for_anonymous_with_own_issues_visibility at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7606 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:24:29 +00:00
Toshi MARUYAMA 925e11ed16 code layout clean up of test_errors_full_messages_should_include_custom_fields_errors at test/unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7605 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:24:01 +00:00
Toshi MARUYAMA 51d647ecb7 Rails3: test: replace deprecated errors.on at test_should_not_set_a_disabled_tracker of unit/issue_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7604 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:23:37 +00:00
Toshi MARUYAMA d3fa89b42c code layout clean up of test_set_issue_to_dates_without_issue_to at test/unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7603 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:23:09 +00:00
Toshi MARUYAMA 864d6d2880 code layout clean up of test_relation_type_for at test/unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7602 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:22:43 +00:00
Toshi MARUYAMA 33349c93db code layout clean up of test_follows_relation_should_not_be_reversed_if_validation_fails at test/unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7601 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:22:07 +00:00
Toshi MARUYAMA ce7bd36a20 code layout clean up of test_follows_relation_should_be_reversed at test/unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7600 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:21:35 +00:00
Toshi MARUYAMA 64a6f9583f code layout clean up of test_create at test/unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7599 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:20:59 +00:00
Toshi MARUYAMA 64c0bdb501 Rails3: test: replace deprecated errors.on at test_validates_circular_dependency_on_reverse_relations of unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7598 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:20:30 +00:00
Toshi MARUYAMA 4dcb0ada8d Rails3: test: replace deprecated errors.on at test_validates_circular_dependency of unit/issue_relation_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7597 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:19:40 +00:00
Toshi MARUYAMA ac19421a26 Rails3: test: replace deprecated errors.on at test_validate_identifier of unit/project_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7596 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 04:18:18 +00:00
Toshi MARUYAMA 2d8ecebf9c code layout clean up of test/unit/issue_nested_set_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7595 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 04:17:47 +00:00
Toshi MARUYAMA afad5ed9f0 Rails3: test: replace deprecated errors.on at test_creating_a_child_in_different_project_should_not_validate of unit/issue_nested_set_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7594 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 04:17:14 +00:00
Toshi MARUYAMA c76b114e9e Rails3: test: replace deprecated errors.on at test_validate_mail_notification_inclusion of unit/user_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7593 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 04:16:42 +00:00
Toshi MARUYAMA 5edabcd8b5 code layout clean up of test/unit/user_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7592 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 04:16:03 +00:00
Etienne Massip a84f877099 Added 2 tests about passing custom field filter to /issues.xml
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7581 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-05 22:03:19 +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
Etienne Massip 65b533a8ec Make sure that anchor names generated for headings fully match wiki links (#7215).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7563 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 17:25:29 +00:00
Etienne Massip 8bb90f87fb Prepend page title to anchor in single page wiki HTML export to make links more unique.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7562 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 15:57:17 +00:00
Etienne Massip ac2dbde135 Fix generation of blank local link when no title is specified in wiki link.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7560 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 15:32:34 +00:00
Etienne Massip 1ee65e0469 Use local links in wiki pages when possible (#3276).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7558 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-02 14:44:07 +00:00
Toshi MARUYAMA 8f362558b6 add unit message test of cannot reply to a locked topic
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7554 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-01 01:11:02 +00:00
Toshi MARUYAMA d817b063ec code layout clean up of test/unit/message_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-01 01:10:18 +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