]> source.dussan.org Git - redmine.git/log
redmine.git
13 years agoRemoved debugging purpose command.
Etienne Massip [Thu, 13 Oct 2011 06:19:20 +0000 (06:19 +0000)]
Removed debugging purpose command.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7626 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRemoved test part failing with PostgreSQL (#8371).
Etienne Massip [Thu, 13 Oct 2011 06:18:42 +0000 (06:18 +0000)]
Removed test part failing with PostgreSQL (#8371).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7625 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixed shot filter expression parsing depending upon field operators (#8371).
Etienne Massip [Wed, 12 Oct 2011 23:45:47 +0000 (23:45 +0000)]
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

13 years agoUpdate styles (#4264).
Etienne Massip [Mon, 10 Oct 2011 17:38:34 +0000 (17:38 +0000)]
Update styles (#4264).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7623 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRails3: controller: repositories: use to_s for revision parameter
Toshi MARUYAMA [Sun, 9 Oct 2011 23:34:53 +0000 (23:34 +0000)]
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

13 years agoFix failing test (#4264).
Etienne Massip [Sat, 8 Oct 2011 13:47:25 +0000 (13:47 +0000)]
Fix failing test (#4264).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7621 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoAdded missing gem spec to coderay vendored gem (#4264).
Etienne Massip [Sat, 8 Oct 2011 13:42:02 +0000 (13:42 +0000)]
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

13 years agoUpdate CodeRay version to 1.0 final (#4264).
Etienne Massip [Sat, 8 Oct 2011 13:35:15 +0000 (13:35 +0000)]
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

13 years agoUpdate CodeRay version to 1.0 final (#4264).
Etienne Massip [Sat, 8 Oct 2011 13:34:30 +0000 (13:34 +0000)]
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

13 years agoRails3: test: replace deprecated errors.on at test_moving_an_issue_to_a_descendant_sh...
Toshi MARUYAMA [Fri, 7 Oct 2011 23:54:27 +0000 (23:54 +0000)]
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

13 years agoRails3: model: replace deprecated errors.add_to_base at validate_issue_relation of...
Toshi MARUYAMA [Fri, 7 Oct 2011 23:53:49 +0000 (23:53 +0000)]
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

13 years agoRails3: test: replace deprecated errors.on at "fail with unauthorized parent_id"...
Toshi MARUYAMA [Fri, 7 Oct 2011 14:11:41 +0000 (14:11 +0000)]
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

13 years agoRails3: test: replace deprecated errors.on at "fail without parent_id" of functional...
Toshi MARUYAMA [Fri, 7 Oct 2011 14:11:06 +0000 (14:11 +0000)]
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

13 years agoRails3: test: replace deprecated errors.on at "fail with parent_id" of functional...
Toshi MARUYAMA [Fri, 7 Oct 2011 14:10:37 +0000 (14:10 +0000)]
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

13 years agoRails3: test: replace deprecated errors.on at test_update_issue_with_required_custom_...
Toshi MARUYAMA [Fri, 7 Oct 2011 14:10:05 +0000 (14:10 +0000)]
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

13 years agoRails3: test: replace deprecated errors.on_base at test_should_not_be_able_to_reopen_...
Toshi MARUYAMA [Fri, 7 Oct 2011 13:07:55 +0000 (13:07 +0000)]
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

13 years agoRails3: test: replace deprecated errors.on at test_should_not_be_able_to_assign_a_new...
Toshi MARUYAMA [Fri, 7 Oct 2011 13:07:21 +0000 (13:07 +0000)]
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

13 years agoRails3: test: replace deprecated errors.on at test_should_not_be_able_to_assign_a_new...
Toshi MARUYAMA [Fri, 7 Oct 2011 13:06:54 +0000 (13:06 +0000)]
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

13 years agoRails3: model: replace deprecated errors.add_to_base at validate_on_create of User
Toshi MARUYAMA [Fri, 7 Oct 2011 12:25:20 +0000 (12:25 +0000)]
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

13 years agoRails3: model: replace deprecated errors.add_to_base at cannot_reply_to_locked_topic...
Toshi MARUYAMA [Fri, 7 Oct 2011 12:24:53 +0000 (12:24 +0000)]
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

13 years agocode layout clean up of test_visible_scope_for_anonymous_with_own_issues_visibility...
Toshi MARUYAMA [Fri, 7 Oct 2011 12:24:29 +0000 (12:24 +0000)]
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

13 years agocode layout clean up of test_errors_full_messages_should_include_custom_fields_errors...
Toshi MARUYAMA [Fri, 7 Oct 2011 12:24:01 +0000 (12:24 +0000)]
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

13 years agoRails3: test: replace deprecated errors.on at test_should_not_set_a_disabled_tracker...
Toshi MARUYAMA [Fri, 7 Oct 2011 12:23:37 +0000 (12:23 +0000)]
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

13 years agocode layout clean up of test_set_issue_to_dates_without_issue_to at test/unit/issue_r...
Toshi MARUYAMA [Fri, 7 Oct 2011 12:23:09 +0000 (12:23 +0000)]
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

13 years agocode layout clean up of test_relation_type_for at test/unit/issue_relation_test.rb
Toshi MARUYAMA [Fri, 7 Oct 2011 12:22:43 +0000 (12:22 +0000)]
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

13 years agocode layout clean up of test_follows_relation_should_not_be_reversed_if_validation_fa...
Toshi MARUYAMA [Fri, 7 Oct 2011 12:22:07 +0000 (12:22 +0000)]
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

13 years agocode layout clean up of test_follows_relation_should_be_reversed at test/unit/issue_r...
Toshi MARUYAMA [Fri, 7 Oct 2011 12:21:35 +0000 (12:21 +0000)]
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

13 years agocode layout clean up of test_create at test/unit/issue_relation_test.rb
Toshi MARUYAMA [Fri, 7 Oct 2011 12:20:59 +0000 (12:20 +0000)]
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

13 years agoRails3: test: replace deprecated errors.on at test_validates_circular_dependency_on_r...
Toshi MARUYAMA [Fri, 7 Oct 2011 12:20:30 +0000 (12:20 +0000)]
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

13 years agoRails3: test: replace deprecated errors.on at test_validates_circular_dependency...
Toshi MARUYAMA [Fri, 7 Oct 2011 12:19:40 +0000 (12:19 +0000)]
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

13 years agoRails3: test: replace deprecated errors.on at test_validate_identifier of unit/projec...
Toshi MARUYAMA [Fri, 7 Oct 2011 04:18:18 +0000 (04:18 +0000)]
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

13 years agocode layout clean up of test/unit/issue_nested_set_test.rb
Toshi MARUYAMA [Fri, 7 Oct 2011 04:17:47 +0000 (04:17 +0000)]
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

13 years agoRails3: test: replace deprecated errors.on at test_creating_a_child_in_different_proj...
Toshi MARUYAMA [Fri, 7 Oct 2011 04:17:14 +0000 (04:17 +0000)]
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

13 years agoRails3: test: replace deprecated errors.on at test_validate_mail_notification_inclusi...
Toshi MARUYAMA [Fri, 7 Oct 2011 04:16:42 +0000 (04:16 +0000)]
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

13 years agocode layout clean up of test/unit/user_test.rb
Toshi MARUYAMA [Fri, 7 Oct 2011 04:16:03 +0000 (04:16 +0000)]
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

13 years agoRails3: model: query: parse dates using UTC (ruby 1.9 inside) (#4796)
Toshi MARUYAMA [Fri, 7 Oct 2011 00:23:05 +0000 (00:23 +0000)]
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

13 years agoRails3: model: replace deprecated errors.add_to_base at validate_issue of Issue
Toshi MARUYAMA [Thu, 6 Oct 2011 22:49:26 +0000 (22:49 +0000)]
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

13 years agoRails3: model: replace deprecated errors.add_to_base at save_issue_with_child_records...
Toshi MARUYAMA [Thu, 6 Oct 2011 22:49:02 +0000 (22:49 +0000)]
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

13 years agoRails3: view: use html_safe for subprojects at projects/show.html.erb
Toshi MARUYAMA [Thu, 6 Oct 2011 15:02:56 +0000 (15:02 +0000)]
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

13 years agoRails3: helper: use html_safe at page_header_title of ApplicationHelper
Toshi MARUYAMA [Thu, 6 Oct 2011 15:02:14 +0000 (15:02 +0000)]
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

13 years agocode layout clean up of app/helpers/application_helper.rb
Toshi MARUYAMA [Thu, 6 Oct 2011 11:04:32 +0000 (11:04 +0000)]
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

13 years agoRails3: helper: use html_safe at simple_format_without_paragraph of ApplicationHelper
Toshi MARUYAMA [Thu, 6 Oct 2011 11:03:58 +0000 (11:03 +0000)]
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

13 years agoRails3: helper: use html_safe at render_page_hierarchy of ApplicationHelper
Toshi MARUYAMA [Thu, 6 Oct 2011 11:03:29 +0000 (11:03 +0000)]
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

13 years agoRails3: helper: replace &#187; of page_header_title at ApplicationHelper to hexadecim...
Toshi MARUYAMA [Thu, 6 Oct 2011 11:03:03 +0000 (11:03 +0000)]
Rails3: helper: replace &#187; 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

13 years agoRails3: helper: replace &#8230; of page_header_title at ApplicationHelper to hexadeci...
Toshi MARUYAMA [Thu, 6 Oct 2011 11:02:24 +0000 (11:02 +0000)]
Rails3: helper: replace &#8230; 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

13 years agoAdded 2 tests about passing custom field filter to /issues.xml
Etienne Massip [Wed, 5 Oct 2011 22:03:19 +0000 (22:03 +0000)]
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

13 years agoRestrict anonymous read access with Redmine.pm
Toshi MARUYAMA [Tue, 4 Oct 2011 21:47:55 +0000 (21:47 +0000)]
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

13 years agoRails3: rename app/views/journals/index.rxml to app/views/journals/index.builder...
Toshi MARUYAMA [Tue, 4 Oct 2011 13:41:05 +0000 (13:41 +0000)]
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

13 years agoremove hard-coded '.rxml' from 'test_show_atom' at functional issues controller test...
Toshi MARUYAMA [Tue, 4 Oct 2011 13:40:30 +0000 (13:40 +0000)]
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

13 years agoRails3: rename app/views/common/feed.atom.rxml to app/views/common/feed.atom.builder...
Toshi MARUYAMA [Tue, 4 Oct 2011 11:09:06 +0000 (11:09 +0000)]
Rails3: rename app/views/common/feed.atom.rxml to app/views/common/feed.atom.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@7575 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoremove hard-coded '.rxml' from 'test_index_atom' at functional projects controller...
Toshi MARUYAMA [Tue, 4 Oct 2011 11:08:24 +0000 (11:08 +0000)]
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

13 years agoremove hard-coded '.rxml' from ApplicationController 'render_feed' (#6317)
Toshi MARUYAMA [Tue, 4 Oct 2011 11:07:47 +0000 (11:07 +0000)]
remove hard-coded '.rxml' from ApplicationController 'render_feed' (#6317)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7573 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agofix typo of fix_issue() at Changeset model
Toshi MARUYAMA [Tue, 4 Oct 2011 09:05:54 +0000 (09:05 +0000)]
fix typo of fix_issue() at Changeset model

Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7571 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoEscape image urls in wiki formatted HTML text (#9245).
Etienne Massip [Mon, 3 Oct 2011 21:45:17 +0000 (21:45 +0000)]
Escape image urls in wiki formatted HTML text (#9245).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7570 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoQualify searchable @text@ column to prevent exception thrown when :content associatio...
Etienne Massip [Mon, 3 Oct 2011 20:17:01 +0000 (20:17 +0000)]
Qualify searchable @text@ column to prevent exception thrown when :content association is not eargerly fetched by AR (#9308).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7568 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRails3: mail: rename app/views/mailer/_issue_text_html.rhtml to app/views/mailer...
Toshi MARUYAMA [Mon, 3 Oct 2011 15:17:58 +0000 (15:17 +0000)]
Rails3: mail: rename app/views/mailer/_issue_text_html.rhtml to app/views/mailer/_issue.html.erb (#6317)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7567 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRails3: mail: rename app/views/mailer/_issue_text_plain.rhtml to app/views/mailer...
Toshi MARUYAMA [Mon, 3 Oct 2011 15:17:07 +0000 (15:17 +0000)]
Rails3: mail: rename app/views/mailer/_issue_text_plain.rhtml to app/views/mailer/_issue.text.erb (#6317)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7566 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRemove unecessary page title HTML escaping from views (#9252).
Etienne Massip [Sun, 2 Oct 2011 18:45:17 +0000 (18:45 +0000)]
Remove unecessary page title HTML escaping from views (#9252).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7565 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoMake sure that anchor names generated for headings fully match wiki links (#7215).
Etienne Massip [Sun, 2 Oct 2011 17:25:29 +0000 (17:25 +0000)]
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

13 years agoPrepend page title to anchor in single page wiki HTML export to make links more unique.
Etienne Massip [Sun, 2 Oct 2011 15:57:17 +0000 (15:57 +0000)]
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

13 years agoFix generation of blank local link when no title is specified in wiki link.
Etienne Massip [Sun, 2 Oct 2011 15:32:34 +0000 (15:32 +0000)]
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

13 years agoUse local links in wiki pages when possible (#3276).
Etienne Massip [Sun, 2 Oct 2011 14:44:07 +0000 (14:44 +0000)]
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

13 years agoRails3: lib: helper: use html_safe for Gantt
Toshi MARUYAMA [Sat, 1 Oct 2011 01:13:03 +0000 (01:13 +0000)]
Rails3: lib: helper: use html_safe for Gantt

Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7557 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRails3: view: use html_safe for Gantt
Toshi MARUYAMA [Sat, 1 Oct 2011 01:12:21 +0000 (01:12 +0000)]
Rails3: view: use html_safe for Gantt

Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7556 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRails3: model: replace deprecated 'validate_on_create' method at Message model
Toshi MARUYAMA [Sat, 1 Oct 2011 01:11:39 +0000 (01:11 +0000)]
Rails3: model: replace deprecated 'validate_on_create' method at Message model

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7555 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoadd unit message test of cannot reply to a locked topic
Toshi MARUYAMA [Sat, 1 Oct 2011 01:11:02 +0000 (01:11 +0000)]
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

13 years agocode layout clean up of test/unit/message_test.rb
Toshi MARUYAMA [Sat, 1 Oct 2011 01:10:18 +0000 (01:10 +0000)]
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

13 years agoRails3: helper: use html_safe for Subversion setting
Toshi MARUYAMA [Fri, 30 Sep 2011 08:17:30 +0000 (08:17 +0000)]
Rails3: helper: use html_safe for Subversion setting

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7552 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRails3: helper: use html_safe for filesysytem scm setting
Toshi MARUYAMA [Fri, 30 Sep 2011 08:16:46 +0000 (08:16 +0000)]
Rails3: helper: use html_safe for filesysytem scm setting

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7551 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRails3: helper: use html_safe for cvs setting
Toshi MARUYAMA [Fri, 30 Sep 2011 08:16:05 +0000 (08:16 +0000)]
Rails3: helper: use html_safe for cvs setting

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7550 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRails3: helper: use html_safe for git setting
Toshi MARUYAMA [Fri, 30 Sep 2011 08:15:09 +0000 (08:15 +0000)]
Rails3: helper: use html_safe for git setting

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7549 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRails3: helper: use html_safe for Mercurial setting
Toshi MARUYAMA [Fri, 30 Sep 2011 08:14:30 +0000 (08:14 +0000)]
Rails3: helper: use html_safe for Mercurial setting

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7548 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRails3: helper: use html_safe at render_properties(properties) of RepositoriesHelper
Toshi MARUYAMA [Fri, 30 Sep 2011 02:19:38 +0000 (02:19 +0000)]
Rails3: helper: use html_safe at render_properties(properties) of RepositoriesHelper

Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7547 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRails3: view: use html_safe for :text_project_identifier_info at projects/_form.html.erb
Toshi MARUYAMA [Fri, 30 Sep 2011 00:57:18 +0000 (00:57 +0000)]
Rails3: view: use html_safe for :text_project_identifier_info at projects/_form.html.erb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7546 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRails3: helper: use html_safe at render_changes_tree(tree) of RepositoriesHelper
Toshi MARUYAMA [Fri, 30 Sep 2011 00:56:17 +0000 (00:56 +0000)]
Rails3: helper: use html_safe at render_changes_tree(tree) of RepositoriesHelper

Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7545 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRails3: helper: use html_safe in SettingsHelper
Toshi MARUYAMA [Thu, 29 Sep 2011 22:55:18 +0000 (22:55 +0000)]
Rails3: helper: use html_safe in SettingsHelper

Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7544 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRails3: test: template must be specified as controller/action not with their extensio...
Toshi MARUYAMA [Wed, 28 Sep 2011 10:11:42 +0000 (10:11 +0000)]
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

13 years agoBacked out r7541 which broke the build.
Etienne Massip [Tue, 27 Sep 2011 21:53:28 +0000 (21:53 +0000)]
Backed out r7541 which broke the build.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7542 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFix deprecated inclusion of RDoc rake tasks (#8611).
Etienne Massip [Tue, 27 Sep 2011 17:24:12 +0000 (17:24 +0000)]
Fix deprecated inclusion of RDoc rake tasks (#8611).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7541 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoUse prefered syntax for redmine:email:test definition (#8611).
Etienne Massip [Mon, 26 Sep 2011 18:14:19 +0000 (18:14 +0000)]
Use prefered syntax for redmine:email:test definition (#8611).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7540 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoAllow project column to be removed from the global issue list columns (#8411).
Etienne Massip [Mon, 26 Sep 2011 17:44:20 +0000 (17:44 +0000)]
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

13 years agoRails3: mail: rename app/views/mailer/*.text.html.rhtml to app/views/mailer/*.html...
Toshi MARUYAMA [Mon, 26 Sep 2011 16:23:26 +0000 (16:23 +0000)]
Rails3: mail: rename app/views/mailer/*.text.html.rhtml to app/views/mailer/*.html.erb (#6317)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7537 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRails3: mail: rename app/views/mailer/*.text.plain.rhtml to app/views/mailer/*.text...
Toshi MARUYAMA [Mon, 26 Sep 2011 16:22:38 +0000 (16:22 +0000)]
Rails3: mail: rename app/views/mailer/*.text.plain.rhtml to app/views/mailer/*.text.erb (#6317)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7536 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRails3: mail: rename app/views/layouts/mailer.text.html.erb to app/views/layouts...
Toshi MARUYAMA [Mon, 26 Sep 2011 16:21:56 +0000 (16:21 +0000)]
Rails3: mail: rename app/views/layouts/mailer.text.html.erb to app/views/layouts/mailer.html.erb (#6317)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7535 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRails3: mail: rename app/views/layouts/mailer.text.plain.erb to app/views/layouts...
Toshi MARUYAMA [Mon, 26 Sep 2011 16:20:57 +0000 (16:20 +0000)]
Rails3: mail: rename app/views/layouts/mailer.text.plain.erb to app/views/layouts/mailer.text.erb (#6317)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7534 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agocode layout clean up of test_preview_issue_notes at test/functional/previews_controll...
Toshi MARUYAMA [Sun, 25 Sep 2011 10:46:44 +0000 (10:46 +0000)]
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

13 years agocode layout clean up of 'should "allow adding a note when copying"' at test/functiona...
Toshi MARUYAMA [Sun, 25 Sep 2011 10:46:20 +0000 (10:46 +0000)]
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

13 years agocode layout clean up of 'should "allow changing the issue's attributes"' at test...
Toshi MARUYAMA [Sun, 25 Sep 2011 10:45:56 +0000 (10:45 +0000)]
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

13 years agocode layout clean up of 'should "allow not changing the issue's attributes"' at test...
Toshi MARUYAMA [Sun, 25 Sep 2011 10:45:30 +0000 (10:45 +0000)]
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

13 years agoremove duplicate fixtures from test/functional/issue_moves_controller_test.rb
Toshi MARUYAMA [Sun, 25 Sep 2011 10:45:01 +0000 (10:45 +0000)]
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

13 years agoremove duplicate fixtures from test/functional/files_controller_test.rb
Toshi MARUYAMA [Sun, 25 Sep 2011 10:44:35 +0000 (10:44 +0000)]
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

13 years agoremove duplicate fixtures from test/unit/member_test.rb
Toshi MARUYAMA [Sun, 25 Sep 2011 10:44:08 +0000 (10:44 +0000)]
remove duplicate fixtures from test/unit/member_test.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7527 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoremove duplicate fixtures from test/functional/previews_controller_test.rb
Toshi MARUYAMA [Sun, 25 Sep 2011 10:43:40 +0000 (10:43 +0000)]
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

13 years agoRails3: replace "all" fixtures at test/functional/project_enumerations_controller_test.rb
Toshi MARUYAMA [Sun, 25 Sep 2011 06:15:32 +0000 (06:15 +0000)]
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

13 years agoRails3: replace "all" fixtures at test/functional/gantts_controller_test.rb
Toshi MARUYAMA [Sun, 25 Sep 2011 06:14:51 +0000 (06:14 +0000)]
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

13 years agoRails3: replace "all" fixtures at test/functional/reports_controller_test.rb
Toshi MARUYAMA [Sun, 25 Sep 2011 06:14:07 +0000 (06:14 +0000)]
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

13 years agoRails3: replace "all" fixtures at test/functional/files_controller_test.rb
Toshi MARUYAMA [Sun, 25 Sep 2011 06:13:23 +0000 (06:13 +0000)]
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

13 years agoRails3: replace "all" fixtures at test/functional/issue_moves_controller_test.rb
Toshi MARUYAMA [Sun, 25 Sep 2011 06:12:45 +0000 (06:12 +0000)]
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

13 years agoRails3: replace "all" fixtures at test/functional/previews_controller_test.rb
Toshi MARUYAMA [Sun, 25 Sep 2011 06:12:10 +0000 (06:12 +0000)]
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

13 years agoRails3: replace "all" fixtures at test/integration/lib/redmine/menu_manager_test.rb
Toshi MARUYAMA [Sun, 25 Sep 2011 06:11:35 +0000 (06:11 +0000)]
Rails3: replace "all" fixtures at test/integration/lib/redmine/menu_manager_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@7519 e93f8b46-1217-0410-a6f0-8f06a7374b81