Jean-Philippe Lang
7fdb74530c
html_safe for Rails3
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8271 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 22:15:36 +00:00
Jean-Philippe Lang
dcce70095b
Option to set parent automatically for new wiki pages ( #3108 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8255 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 11:44:04 +00:00
Jean-Philippe Lang
877fbc15da
Renamed TabularFormBuilder to Redmine::Views::LabelledFormBuilder.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8143 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 18:45:38 +00:00
Jean-Philippe Lang
ede9a03405
Removed TabularFormBuilder references in views.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8142 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 18:40:28 +00:00
Jean-Philippe Lang
9636882c1e
Use #labelled_form_for instead of #labelled_tabular_form_for.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8141 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 18:15:55 +00:00
Toshi MARUYAMA
6d805cfca2
Rails3: helper: html_safe for render_flash_messages method at ApplicationHelper
...
Contributed by Sylvain Utard.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8121 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-07 23:53:20 +00:00
Toshi MARUYAMA
8066aa5eb1
Rails3: helper: html_safe for "format_activity_description" method
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8035 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 06:15:55 +00:00
Toshi MARUYAMA
3eb534818a
code layout clean up application helper "link_to_revision" method
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8033 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 06:14:19 +00:00
Toshi MARUYAMA
1d00ec11a0
Rails3: helper: html_safe for robot_exclusion_tag
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7967 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 12:20:37 +00:00
Jean-Philippe Lang
0e2733a7cb
View cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7939 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-26 17:56:52 +00:00
Etienne Massip
3df586d22d
Html safe wiki page title.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7916 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 19:47:36 +00:00
Toshi MARUYAMA
564321b2d5
move logic to use latest image file attachment to class method for common use ( #3261 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7908 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 05:31:29 +00:00
Jean-Philippe Lang
45f4fdbaf0
Removed useless :lang option.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7902 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 19:46:49 +00:00
Jean-Philippe Lang
c4540c799f
Makes labelled_tabular_form_for accept different signatures.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7900 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 19:44:46 +00:00
Toshi MARUYAMA
9be9c5f565
fix inconsistent image filename extensions ( #9638 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7891 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 05:30:53 +00:00
Jean-Philippe Lang
6577f37fc3
Resourcified trackers.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-22 21:32:45 +00:00
Jean-Philippe Lang
33f7f5a00d
Strings as html safe.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7887 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-22 20:57:20 +00:00
Toshi MARUYAMA
5eb388b851
code layout clean up link_to_attachment of application helper
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7856 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 00:10:18 +00:00
Jean-Philippe Lang
bf18ee107d
Moved the project name after the item in the html title ( #9593 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7842 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-19 11:43:11 +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
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
3511292a17
Ruby 1.9: add "encoding: utf-8" header at application_helper.rb
...
Following error raises in case that time log has non ASCII comments.
<pre>
ActionView::TemplateError (incompatible character encodings: UTF-8 and ASCII-8BIT)
on line #5 of app/views/timelog/index.html.erb:
3: </div>
4:
5: <%= render_timelog_breadcrumb %>
6:
7: <h2><%= l(:label_spent_time) %></h2>
app/helpers/application_helper.rb:407:in `join'
app/helpers/application_helper.rb:407:in `breadcrumb'
app/helpers/timelog_helper.rb:32:in `render_timelog_breadcrumb'
app/views/timelog/index.html.erb:5
</pre>
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7803 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-13 13:56:20 +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
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
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
8d91709538
HTML escape at context_menu_link() of app/helpers/application_helper.rb ( #9252 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7250 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-16 01:53:18 +00:00
Toshi MARUYAMA
950d600f22
HTML escape at parse_redmine_links() of app/helpers/application_helper.rb ( #9252 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7249 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-16 01:52:30 +00:00
Toshi MARUYAMA
4313b5ffc6
HTML escape at parse_wiki_links() of app/helpers/application_helper.rb ( #9252 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7248 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-16 01:51:50 +00:00
Toshi MARUYAMA
09e3302587
HTML escape at link_to_revision() of app/helpers/application_helper.rb ( #9252 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7247 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-16 01:51:09 +00:00
Toshi MARUYAMA
504cc4af11
backed out r6350 ( #9252 , #4796 )
...
HTML escape at app/helpers/application_helper.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7246 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-16 01:50:33 +00:00
Toshi MARUYAMA
a12cf0fb57
Rails3: replace » of breadcrumb() at ApplicationHelper to hexadecimal UTF-8 strings and use String#html_safe.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6519 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-21 11:11:25 +00:00
Toshi MARUYAMA
40a1dbc8d5
Rails3: use String#html_safe for javascript_heads() at ApplicationHelper.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6494 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 22:53:24 +00:00
Toshi MARUYAMA
ada823a923
Rails3: use String#html_safe for progress_bar() at ApplicationHelper.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6490 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 11:51:49 +00:00
Toshi MARUYAMA
95162cd145
Rails3: use String#html_safe for check_all_links() at ApplicationHelper.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6489 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 11:51:26 +00:00
Toshi MARUYAMA
0c30610f4b
Rails3: use String#html_safe for parse_redmine_links() at ApplicationHelper.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6487 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 11:16:11 +00:00
Toshi MARUYAMA
c941602570
Rails3: use String#html_safe for parse_wiki_links() at ApplicationHelper.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6486 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 11:15:35 +00:00
Toshi MARUYAMA
9e29f9f1e6
Rails3: use String#html_safe for parse_inline_attachments() at ApplicationHelper.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6485 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 11:14:58 +00:00
Toshi MARUYAMA
5031bab474
Rails3: use String#html_safe for parse_non_pre_blocks() at ApplicationHelper.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6484 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 11:14:29 +00:00
Toshi MARUYAMA
3f126c35b8
Rails3: use String#html_hours for pagination_links_full() at ApplicationHelper.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6483 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 10:55:02 +00:00
Toshi MARUYAMA
a77c1bcf6d
Rails3: use String#html_hours for authoring() at ApplicationHelper.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 10:54:41 +00:00
Toshi MARUYAMA
0c0bf29edb
Rails3: use String#html_hours for principals_check_box_tags() at ApplicationHelper.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6481 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 10:54:18 +00:00