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
Toshi MARUYAMA
85699042a6
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
2011-10-04 11:09:06 +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
2a27cc41f0
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
2011-10-04 11:07:47 +00:00
Toshi MARUYAMA
986f0acb00
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
2011-10-04 09:05:54 +00:00
Etienne Massip
f1b4a561ba
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
2011-10-03 21:45:17 +00:00
Etienne Massip
0aa63a13bc
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
2011-10-03 20:17:01 +00:00
Toshi MARUYAMA
ac6aaf3f67
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
2011-10-03 15:17:58 +00:00
Toshi MARUYAMA
ee5f712e89
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
2011-10-03 15:17:07 +00:00
Etienne Massip
4ecd65c465
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
2011-10-02 18:45:17 +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
e2f57b5874
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
2011-10-01 01:13:03 +00:00
Toshi MARUYAMA
4d787ce228
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
2011-10-01 01:12:21 +00:00
Toshi MARUYAMA
049b35edb0
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
2011-10-01 01:11:39 +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
70a83bd47c
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
2011-09-30 08:17:30 +00:00
Toshi MARUYAMA
19ac57e71a
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
2011-09-30 08:16:46 +00:00
Toshi MARUYAMA
9afd7b7df6
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
2011-09-30 08:16:05 +00:00
Toshi MARUYAMA
2681578d53
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
2011-09-30 08:15:09 +00:00
Toshi MARUYAMA
163588887f
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
2011-09-30 08:14:30 +00:00
Toshi MARUYAMA
bafa472d7e
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
2011-09-30 02:19:38 +00:00
Toshi MARUYAMA
4167a5cb0d
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
2011-09-30 00:57:18 +00:00
Toshi MARUYAMA
f9626e4066
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
2011-09-30 00:56:17 +00:00
Toshi MARUYAMA
5d297091fe
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
2011-09-29 22:55: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
dab836a385
Backed out r7541 which broke the build.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7542 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-27 21:53:28 +00:00
Etienne Massip
f4db02af1e
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
2011-09-27 17:24:12 +00:00
Etienne Massip
da60f58abe
Use prefered syntax for redmine 📧 test definition ( #8611 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7540 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-26 18:14:19 +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
ef962b84d7
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
2011-09-26 16:23:26 +00:00
Toshi MARUYAMA
a4c4edacfd
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
2011-09-26 16:22:38 +00:00
Toshi MARUYAMA
4e488434f7
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
2011-09-26 16:21:56 +00:00