Commit Graph

274 Commits

Author SHA1 Message Date
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 &#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
2011-10-06 11:03:03 +00:00
Toshi MARUYAMA e76d89219b 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
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 &#187; 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
Toshi MARUYAMA e9579b10ba Rails3: use String#html_safe for principals_check_box_tags() at ApplicationHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6480 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 10:53:50 +00:00
Toshi MARUYAMA 35239bea28 Rails3: use String#html_safe for project_nested_ul() at ApplicationHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6479 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 10:53:25 +00:00
Toshi MARUYAMA d5e5ab5e2f Rails3: use String#html_safe for project_tree_options_for_select() at ApplicationHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6478 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 10:52:52 +00:00
Toshi MARUYAMA 80638bce45 Rails3: use String#html_safe for render_project_jump_box() at ApplicationHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6477 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 10:52:14 +00:00
Toshi MARUYAMA e1d7cf27bf Rails3: use String#html_safe for render_flash_messages() at ApplicationHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6476 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 10:51:38 +00:00
Toshi MARUYAMA 2ea231b9e6 remove trailing white-spaces from ApplicationHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6467 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 05:57:14 +00:00
Toshi MARUYAMA 10f04acf45 Rails3: use String#html_safe for favicon in ApplicationHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 05:05:26 +00:00
Toshi MARUYAMA 4b83908b55 replace &#171; and &#187; at app/helpers/application_helper.rb to hexadecimal UTF-8 strings (#4796).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6412 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-06 00:49:52 +00:00
Toshi MARUYAMA fea3a1baf1 HTML escape at app/helpers/application_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6350 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 12:47:28 +00:00
Toshi MARUYAMA 1278589018 html_escape issue fields
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6326 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-29 23:20:36 +00:00
Jean-Philippe Lang ed01ae121d Adds a optgroup for groups in users/groups select tags.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6307 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-23 19:05:22 +00:00
Jean-Philippe Lang 37aba18c8f Do not show 'Send information' checkbox if email delivery is not configured.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6167 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-03 12:28:54 +00:00
Toshi MARUYAMA c42fdcd26a remove trailing white-spaces from application helper source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5832 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 02:46:24 +00:00