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
765978871d
Update styles ( #4264 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7623 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-10 17:38:34 +00:00
Toshi MARUYAMA
1f4ff3687c
Rails3: controller: repositories: use to_s for revision parameter
...
On Rails 3.0 and Ruby 1.8.7, following error raises.
Error:
test_revision(RepositoriesControllerTest):
NoMethodError: undefined method `strip' for 1:Fixnum
app/controllers/repositories_controller.rb:252:in `find_repository'
test/functional/repositories_controller_test.rb:44:in `test_revision'
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7622 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-09 23:34:53 +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
92fdc4240f
Added missing gem spec to coderay vendored gem ( #4264 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7620 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-08 13:42:02 +00:00
Etienne Massip
8c2ae427fa
Update CodeRay version to 1.0 final ( #4264 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7619 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-08 13:35:15 +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
54d553b27f
Rails3: model: replace deprecated errors.add_to_base at validate_issue_relation of IssueRelation
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7616 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 23:53:49 +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
d986a35a9b
Rails3: model: replace deprecated errors.add_to_base at validate_on_create of User
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7608 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:25:20 +00:00
Toshi MARUYAMA
7183530e7a
Rails3: model: replace deprecated errors.add_to_base at cannot_reply_to_locked_topic of Message
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7607 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 12:24:53 +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
Toshi MARUYAMA
a17fcac822
Rails3: model: query: parse dates using UTC (ruby 1.9 inside) ( #4796 )
...
On Rails 3.0 and Ruby 1.8.7 in Japan (UTC+9), tests fails with following messages.
test_operator_date_equals(QueryTest) [test/unit/query_test.rb:206]:
<"(issues.due_date > '2011-07-09 14:59:59.999999' AND issues.due_date <= '2011-07-10 14:59:59.999999')
AND (issue_statuses.is_closed='f')"> expected to be =~
</issues\.due_date > '2011-07-09 23:59:59(\.9+)?' AND issues\.due_date <= '2011-07-10 23:59:59(\.9+)?/>.
Contributed by Sylvain Utard.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7591 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-07 00:23:05 +00:00
Toshi MARUYAMA
41a6c8be65
Rails3: model: replace deprecated errors.add_to_base at validate_issue of Issue
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7590 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-06 22:49:26 +00:00
Toshi MARUYAMA
caa2ce3417
Rails3: model: replace deprecated errors.add_to_base at save_issue_with_child_records of Issue
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7589 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-06 22:49:02 +00:00
Toshi MARUYAMA
a09da046ec
Rails3: view: use html_safe for subprojects at projects/show.html.erb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7588 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-06 15:02:56 +00:00
Toshi MARUYAMA
c273282362
Rails3: helper: use html_safe at page_header_title of ApplicationHelper
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7587 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-06 15:02:14 +00:00
Toshi MARUYAMA
1e773f4e6f
code layout clean up of app/helpers/application_helper.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7586 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-06 11:04:32 +00:00
Toshi MARUYAMA
55f10b90f4
Rails3: helper: use html_safe at simple_format_without_paragraph of ApplicationHelper
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7585 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-06 11:03:58 +00:00
Toshi MARUYAMA
942cd9bac2
Rails3: helper: use html_safe at render_page_hierarchy of ApplicationHelper
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7584 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-06 11:03:29 +00:00
Toshi MARUYAMA
eadbf2107f
Rails3: helper: replace » of page_header_title at ApplicationHelper to hexadecimal UTF-8 strings
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7583 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-06 11:03:03 +00:00
Toshi MARUYAMA
e76d89219b
Rails3: helper: replace … of page_header_title at ApplicationHelper to hexadecimal UTF-8 strings
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7582 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-06 11:02:24 +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
1de0714fda
Restrict anonymous read access with Redmine.pm
...
Redmine.pm now also checks for public projects whether the anonymous
user has the browse_repository right for a read operation.
Contributed by Holger Just.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7579 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-04 21:47:55 +00:00
Toshi MARUYAMA
1a23663176
Rails3: rename app/views/journals/index.rxml to app/views/journals/index.builder ( #6317 )
...
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7577 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-04 13:41:05 +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