Commit Graph

956 Commits

Author SHA1 Message Date
Jean-Philippe Lang caf898d7d1 Extracted time report logic from the controller.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8026 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-02 18:46:43 +00:00
Toshi MARUYAMA da140238e7 code layout clean up issues helper
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8025 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-02 11:36:40 +00:00
Toshi MARUYAMA 20f3dde0dd Rails3: helper: html_safe for issues helper "show_detail" method
Contributed by Sernin van de Krol.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8024 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-02 11:35:54 +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
Toshi MARUYAMA a79e0fa5f6 fix csv decimal separator of time entry csv (#8368)
Contributed by Francisco José Martínez.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7950 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 12:14:20 +00:00
Toshi MARUYAMA b95fd6315c fix time entry csv last line encoding (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 10:53:08 +00:00
Toshi MARUYAMA 55d41cf77b backout r6356: HTML escape of app/helpers/timelog_helper.rb
When export time entry csv, "undefined method `h'" error raises.
HTML escapes in view.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7941 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 08:25:12 +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 95c172dab3 remove unused Iconv from issues helper "issues_to_csv" method (#4742)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7879 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 14:47:33 +00:00
Jean-Philippe Lang ca300ccdea Adds a dialog box for CSV export options (#4742).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7874 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 13:23:20 +00:00
Toshi MARUYAMA fb75372b86 scm: attachment: remove "to_utf8" methods from helpers (#2371)
It is confusing that same name methods are in several helpers.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7871 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 12:04:11 +00:00
Toshi MARUYAMA 77710ece26 attachment: use repositories setting to convert contents character encoding (#2371)
This commit results replacing invalid encoding instead to stripping.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7866 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 11:46:52 +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 88f8daf8b7 move repositories helper to_utf8 logic to lib/redmine/codeset_util.rb for common use (#2371)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7825 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-17 11:53:15 +00:00
Toshi MARUYAMA eb498a86ac fix malformed issues csv encoding in case of unable to convert (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7822 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 15:36:26 +00:00
Toshi MARUYAMA 4a3581c748 fix malformed time entry report csv encoding in case of unable to convert (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7820 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 08:29:18 +00:00
Toshi MARUYAMA 4b5d50e40a fix malformed time log csv encoding in case of unable to convert (#8549)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7819 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-16 08:10:53 +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
Toshi MARUYAMA 5d98eb6ece scm: git: mercurial: add a new feature of revision graph (#5501)
Contributed by Jan Topiński.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7725 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 11:36:12 +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 303ce0ae53 [#9489] added invisible project scope label
Contributed by Romano Licker.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7676 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-29 01:13:06 +00:00
Etienne Massip a47979bcc2 Reverted removal of project assignment to query (#9108).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7656 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-26 17:00:16 +00:00
Etienne Massip 8f96f0c40d Refactor : convert queries to REST resources (also fixes #9108).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-24 20:19:26 +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 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 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 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 ab558ee331 remove trailing white-spaces from app/helpers/welcome_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6942 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 00:47:18 +00:00
Toshi MARUYAMA 4ce8f90c03 remove trailing white-spaces from app/helpers/wiki_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6941 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 00:46:33 +00:00
Toshi MARUYAMA fd48bf9b04 remove trailing white-spaces from app/helpers/workflows_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6940 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 00:45:50 +00:00
Toshi MARUYAMA 32baf5d6e1 remove trailing white-spaces from app/helpers/versions_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6921 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 16:05:03 +00:00
Toshi MARUYAMA 42aac56a55 remove trailing white-spaces from app/helpers/watchers_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6920 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 16:04:07 +00:00
Toshi MARUYAMA dbc616c928 remove trailing white-spaces from app/helpers/timelog_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6911 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 13:11:39 +00:00
Toshi MARUYAMA 7fc67f02f9 remove trailing white-spaces from app/helpers/users_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6910 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 13:10:44 +00:00
Toshi MARUYAMA 2a6859af4a remove trailing white-spaces from app/helpers/trackers_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6902 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 12:12:05 +00:00
Toshi MARUYAMA 2230dfda51 remove trailing white-spaces from app/helpers/queries_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6887 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 11:12:32 +00:00
Toshi MARUYAMA c453e5838c remove trailing white-spaces from app/helpers/roles_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6886 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 11:11:44 +00:00
Toshi MARUYAMA 54daad8af5 remove trailing white-spaces from app/helpers/search_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6885 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 11:10:57 +00:00
Toshi MARUYAMA adfe9b4219 remove trailing white-spaces from app/helpers/news_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6882 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 10:10:08 +00:00
Toshi MARUYAMA 9582617e64 remove trailing white-spaces from app/helpers/issue_categories_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6870 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 08:44:19 +00:00
Toshi MARUYAMA 2116b439d0 remove trailing white-spaces from app/helpers/members_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6865 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 08:41:25 +00:00
Toshi MARUYAMA f135da1cf2 remove trailing white-spaces from app/helpers/messages_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6864 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 08:40:49 +00:00
Toshi MARUYAMA 945cf0c696 remove trailing white-spaces from app/helpers/my_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6863 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 08:40:05 +00:00
Toshi MARUYAMA aa8ef85839 remove trailing white-spaces from app/helpers/mail_handler_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6862 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 07:18:21 +00:00
Toshi MARUYAMA f9ab0c0973 remove trailing white-spaces from app/helpers/documents_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6861 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 07:17:38 +00:00
Toshi MARUYAMA b456751b62 remove trailing white-spaces from app/helpers/enumerations_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6860 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 07:17:00 +00:00
Toshi MARUYAMA f1ae686e4d remove trailing white-spaces from app/helpers/groups_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6859 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 07:16:17 +00:00
Toshi MARUYAMA 54fc5966c6 remove trailing white-spaces from app/helpers/boards_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6852 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 07:02:02 +00:00
Toshi MARUYAMA d194b7dfbe remove trailing white-spaces from app/helpers/calendars_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6851 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 07:01:17 +00:00
Toshi MARUYAMA 889ecd2437 remove trailing white-spaces from app/helpers/account_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6850 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 06:11:45 +00:00
Toshi MARUYAMA 05f2b22467 remove trailing white-spaces from app/helpers/admin_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6849 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 06:11:00 +00:00
Toshi MARUYAMA 4131b491ed remove trailing white-spaces from app/helpers/attachments_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6848 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 06:10:17 +00:00
Toshi MARUYAMA a17bafb052 remove trailing white-spaces from app/helpers/auth_sources_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6847 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 06:09:33 +00:00
Toshi MARUYAMA 14b364a519 remove trailing white-spaces from app/helpers/issue_relations_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6840 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 05:05:50 +00:00
Toshi MARUYAMA 7771b7587e remove trailing white-spaces from app/helpers/issue_statuses_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6839 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 05:05:01 +00:00
Toshi MARUYAMA a8d41e5235 remove trailing white-spaces from app/helpers/journals_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6838 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 05:04:17 +00:00
Toshi MARUYAMA 7150f1b54d remove trailing white-spaces from app/helpers/custom_fields_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6702 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-28 10:10:18 +00:00
Toshi MARUYAMA 2816ec9897 improve git repository note at project setting (#9129).
Contributed by Tomas Pospisek.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6638 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-26 05:11:01 +00:00
Toshi MARUYAMA 35afd91fdc temporarily hard-cord git repository note at project setting (#9129).
Contributed by Tomas Pospisek.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-26 05:09:29 +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 dbb6a04d67 Rails3: use String#html_safe for render_custom_fields_rows() at IssuesHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6498 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 23:12:50 +00:00
Toshi MARUYAMA dd2c862a2a Rails3: use String#html_safe for render_descendants_tree() at IssuesHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6497 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 23:12:20 +00:00
Toshi MARUYAMA fc28185f3a Rails3: use String#html_safe for render_issue_subject_with_tree() at IssuesHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6496 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 23:11:56 +00:00
Toshi MARUYAMA 2794019d64 Rails3: use String#html_safe for render_issue_tooltip() at IssuesHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6495 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 23:11:23 +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 a8bcfc5c7a Rails3: use String#html_safe for render_project_hierarchy() at ProjectsHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6493 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 22:53:01 +00:00
Toshi MARUYAMA b8d16b9b8d Rails3: use String#html_safe for parent_project_select_tag() at ProjectsHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6492 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 22:52:37 +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 56c97a45d3 Rails3: use String#html_safe at GanttHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6488 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 11:51:02 +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 86379d8203 Rails3: use String#html_safe for custom_field_label_tag() at CustomFieldsHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6475 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 10:50:59 +00:00
Toshi MARUYAMA d77682a964 remove trailing white-spaces from GanttHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6474 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 07:48:46 +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 9887ed7171 Replace hardcoded string "diff" in Repositories_Helper (#9043).
Contributed by Tom Rochette.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6424 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-12 01:34: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 2b1dd9da42 fix calendar links for previous/next month (#8989).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6406 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-05 13:53:54 +00:00
Toshi MARUYAMA 07baff465f HTML escape at app/helpers/search_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6359 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 12:55:06 +00:00
Toshi MARUYAMA fb8f3a7ada HTML escape at app/helpers/timelog_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6356 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 12:52:36 +00:00
Toshi MARUYAMA 5cd6aa0a09 HTML escape at app/helpers/repositories_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6355 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 12:51:49 +00:00
Toshi MARUYAMA 17d788b7a2 HTML escape at app/helpers/reports_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6354 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 12:51:00 +00:00
Toshi MARUYAMA 79ff599223 HTML escape at app/helpers/queries_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6353 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 12:50:09 +00:00
Toshi MARUYAMA ef6a98642f HTML escape at app/helpers/app/helpers/issues_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6352 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 12:49:18 +00:00
Toshi MARUYAMA 44eabad2d7 HTML escape at app/helpers/calendars_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6351 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 12:48:24 +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 a51829eb22 remove trailing white-spaces from app/helpers/sort_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6345 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-02 12:43:04 +00:00
Jean-Philippe Lang c3be706ce5 Additional escaping.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6327 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-30 08:35:43 +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 b30f702156 Use #blank? instead.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6323 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-29 16:26:41 +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 f89483a206 REST API for reading attachments (#7671).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6295 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-18 20:53:10 +00:00
Jean-Philippe Lang 389c7779e6 Fixed: search options get lost after clicking on a specific result type (#7501).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6201 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-09 11:25:01 +00:00
Jean-Philippe Lang 25d900c787 Adds breadcrumb on all wiki page views.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6182 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 19:56:38 +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
Jean-Philippe Lang 8914d323ee Fixed: private queries should not be accessible to other users (#8729).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6163 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-03 11:01:08 +00:00
Toshi MARUYAMA 45d05bd2d9 code clean up settings helper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5950 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-29 10:53:26 +00:00
Toshi MARUYAMA 7111bdd426 remove trailing white-spaces from reports helper source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5850 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 11:13:45 +00:00
Toshi MARUYAMA 40d9d4f08c remove trailing white-spaces from projects helper source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5849 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 11:13:02 +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
Toshi MARUYAMA fb41e3dab4 remove trailing white-spaces from issues helper source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5831 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 02:45:59 +00:00
Toshi MARUYAMA 6f0de178f9 remove trailing white-spaces from repositories helper source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5830 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 02:45:35 +00:00
Toshi MARUYAMA 3660e28c05 remove trailing white-spaces from settings helper source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5829 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 02:45:11 +00:00
Toshi MARUYAMA 4ea8f1637c scm: git: use symbol instead of string whether reporting last commit in project setting i18n text (#8365).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5776 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 04:34:29 +00:00
Toshi MARUYAMA 042a7661e3 scm: git: use i18n text whether reporting last commit for files and directories in project setting (#8365, #7047).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5772 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 03:53:30 +00:00
Toshi MARUYAMA 4cbe231c8c scm: git: add check box of whether reporting last commit for files and directories in project setting (#8365, #7047).
Browsing repository tree performance problem is git only.
So, adding new "report_last_commit" column is very expensive.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5771 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 03:52:56 +00:00
Toshi MARUYAMA 9c01d83951 remove trailing white-spaces from attachments helper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5681 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-07 05:51:39 +00:00
Toshi MARUYAMA 5da0151bfb scm: filesystem: change i18n l() parameter in setting from string to symbol.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5680 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-07 03:43:58 +00:00
Toshi MARUYAMA bd26c9666d scm: bazaar: change i18n l() parameter in setting from string to symbol.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5679 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-07 03:43:17 +00:00
Toshi MARUYAMA 9f8ede65b5 scm: cvs: change i18n l() parameter in setting from string to symbol.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5678 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-07 03:42:26 +00:00
Toshi MARUYAMA 530151e1d9 scm: git: change i18n l() parameter in setting from string to symbol.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5677 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-07 03:41:46 +00:00
Toshi MARUYAMA dc8968b03e scm: mercurial: change i18n l() parameter in setting from string to symbol.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5676 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-07 03:41:05 +00:00
Toshi MARUYAMA ed296ec9c6 scm: darcs: change i18n l() parameter in setting from string to symbol.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5675 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-07 03:40:34 +00:00
Toshi MARUYAMA 7ada45d3a2 scm: code clean up RepositoriesHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5618 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-03 07:33:19 +00:00
Toshi MARUYAMA 7fe397e8fd scm: mercurial: use i18n text of repository note in setting.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5541 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-23 09:24:23 +00:00
Toshi MARUYAMA d03de4449f scm: git: use i18n text of repository note in setting.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5538 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-23 09:22:47 +00:00
Toshi MARUYAMA 7e77d5ddf9 scm: cvs: use i18n string at 'CVSROOT' and 'Module' setting.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5535 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-23 07:40:23 +00:00
Toshi MARUYAMA 25d6ed38b6 scm: filesystem: use i18n string at 'Root directory' setting.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5532 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-23 07:38:32 +00:00
Toshi MARUYAMA 36eac0dc8d scm: use i18n string at 'Path to repository' setting in Mercurial, Git, Bazaar and Darcs.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5529 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-23 07:37:03 +00:00
Toshi MARUYAMA 82d5de4b4e scm: mercurial: change "url" human attribute name from "Root directory" to "Path to repository".
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-23 04:41:26 +00:00
Toshi MARUYAMA 8696835b42 scm: darcs: change "url" human attribute name from "Root directory" to "Path to repository".
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5527 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-23 04:40:45 +00:00
Toshi MARUYAMA 7ad046f53d scm: bazaar: change "url" human attribute name from "Root directory" to "Path to repository".
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5526 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-23 04:40:04 +00:00
Toshi MARUYAMA 2a2e6d71e3 scm: use i18n string at path encoding setting note (#2274, #2664, #3462, #5251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5523 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-23 03:36:52 +00:00
Toshi MARUYAMA 379503b591 scm: use i18n string at path encoding setting (#2274, #2664, #3462, #5251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5520 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-23 03:35:17 +00:00
Toshi MARUYAMA bb929f4f75 scm: use i18n string at commit log encoding setting (#1735).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5519 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-23 03:34:43 +00:00
Toshi MARUYAMA 6d0f8f1db9 scm: code clean up RepositoriesHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5515 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-23 00:25:03 +00:00
Toshi MARUYAMA 8dcde8fc59 scm: code clean up RepositoriesHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5506 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-20 07:16:23 +00:00
Jean-Philippe Lang f89d04074e Warn about subtasks before deleting a parent issue (#6562).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5495 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-17 15:17:18 +00:00
Toshi MARUYAMA a78b12706a add Redmine::CodesetUtil and move replacing invalid utf8 logic to it.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5474 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-16 06:43:49 +00:00
Jean-Philippe Lang f16cddd57a Private issues (#7414).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5466 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-15 13:23:13 +00:00
Toshi MARUYAMA 37205a8991 scm: cvs: add path encoding select box at setting (#3462).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5465 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-15 07:18:10 +00:00
Jean-Philippe Lang 5beef16378 Skip memberships query for anonymous user.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5458 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-14 16:32:03 +00:00
Jean-Philippe Lang 910d85be47 Skip a count query.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5457 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-14 16:29:51 +00:00
Jean-Philippe Lang 1cd4f5b353 Adds a helper for issue heading (#7647).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5447 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 19:53:14 +00:00
Jean-Philippe Lang ffd0a9c72c Adds noindex,noarchive robots meta tag on form pages (#7582).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5443 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 19:22:44 +00:00
Toshi MARUYAMA bb48d96d30 scm: replace invalid utf-8 sequences instead of stripping in displaying repository contents on Ruby 1.8.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5427 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 05:03:59 +00:00
Toshi MARUYAMA f690341d9e scm: code clean up RepositoriesHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5388 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 04:18:13 +00:00
Jean-Philippe Lang 1a454b8f39 Fixes test broken by r5354.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5356 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-07 20:49:33 +00:00
Jean-Philippe Lang d0ea5fae62 Fixed: empty list for user/version custom fields on bulk edit form (#2096).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5354 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-07 16:34:58 +00:00
Jean-Philippe Lang e3dae9ddbf Cleaner way to handle the replacement of watch links (#8071).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5320 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-05 12:09:15 +00:00
Jean-Philippe Lang 3c06f66d71 Shorten query[column_names] param name.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5304 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-03 14:31:32 +00:00
Jean-Philippe Lang 87bcb21563 Keep issue filter params on sort headers.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5303 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-03 14:09:22 +00:00
Jean-Philippe Lang 01fed468fa Changes pagination links to non-AJAX requests (#5138).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5302 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-03 14:06:53 +00:00
Jean-Philippe Lang 0f0fbeb26d Makes all pagination-like links use #link_to_content_update (#5138).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5301 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-03 14:01:32 +00:00
Jean-Philippe Lang 737247f4c9 No PUT request to get previous/next month.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5287 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 19:04:26 +00:00
Jean-Philippe Lang a669dfbd7f Shortens filter param names.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5279 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 15:00:23 +00:00
Jean-Philippe Lang 25ea0f34a6 Keep filter params in 'Per page' links.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5278 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 14:50:18 +00:00
Jean-Philippe Lang a80b909cc8 Converted issue filters to non-AJAX GET requests (#1965).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5276 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 14:34:44 +00:00
Jean-Philippe Lang 1cd6a2aa84 Adds User and Version custom field format that can be used to reference a project member or version in custom fields (#2096).
These new field formats are available for project, issue, version and time entry custom fields.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5272 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 13:44:58 +00:00
Jean-Philippe Lang ba0c9069ed Save 2 queries when displaying a root issue.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5244 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-28 20:32:35 +00:00
Jean-Philippe Lang 78af4f429f Adds support for saturday as the first week day (#7097).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5228 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-27 15:43:26 +00:00
Jean-Philippe Lang c17ff5f024 Fixed: unknown custom field format causes error when editing/bulk editing (#7985).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5214 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-24 18:24:30 +00:00
Jean-Philippe Lang 631de456f4 Silently ignore invalid status_by param.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5180 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-20 21:09:48 +00:00
Jean-Philippe Lang e1ae0e9777 Adds an option to view issues count by status on the version page (#7921).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5179 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-20 21:06:30 +00:00
Jean-Philippe Lang 88dc1412d7 Fixes error in RepositoriesHelper#replace_invalid_utf8 when given nil.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5170 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-20 11:33:03 +00:00
Jean-Philippe Lang 2201a343e4 Fixes RepositoriesHelper#to_utf8 test failure for ruby1.8.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5169 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-20 11:14:50 +00:00
Toshi MARUYAMA 08429506c5 scm: fix git and mecruial repository note in setting.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5167 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-19 12:45:25 +00:00
Toshi MARUYAMA e6e4256ee4 scm: to_utf8() in repositories_helper always returns UTF-8 in Ruby 1.9.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5165 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-19 05:46:25 +00:00
Toshi MARUYAMA 4923ff76fa scm: fix repository helper unit test fails in Ruby 1.9 and non UTF-8 locale.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5158 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-17 03:51:46 +00:00
Jean-Philippe Lang 64be81a433 Saves an extra SQL query on each request.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5153 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-16 19:26:07 +00:00
Jean-Philippe Lang 3328a1fc37 Use names instead of ids for wiki anchors (#6905).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5135 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-14 22:01:43 +00:00
Jean-Philippe Lang 1423890735 Adds an option to #render_page_hierarchy to add timestamp titles.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5099 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-12 18:27:02 +00:00
Jean-Philippe Lang b8b35ab05f Moved wiki page updated_on eager load to a scope and fixed timestamp titles on wiki page index (#7818).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5098 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-12 18:09:46 +00:00
Jean-Philippe Lang 28feb58754 Speeds up WikiHelper#wiki_page_options_for_select.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5080 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-10 19:44:32 +00:00
Jean-Philippe Lang 11c660e91f Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5078 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-10 19:34:17 +00:00
Toshi MARUYAMA 15ebb42579 scm: git: add path encoding select box at setting (#5251).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5064 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-08 12:08:56 +00:00
Toshi MARUYAMA 2aff1749ae scm: mercurial: add path encoding select box at setting (#2664).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5001 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-04 13:39:00 +00:00
Toshi MARUYAMA bc09628249 scm: code clean up repositories_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4990 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-03 03:30:10 +00:00
Toshi MARUYAMA a79c89eb3c scm: filesystem: add note "Default: UTF-8" in path encoding setting (#2274).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4988 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-02 07:11:00 +00:00
Toshi MARUYAMA d245102e97 scm: code clean up repositories_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4985 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-02 05:12:15 +00:00
Toshi MARUYAMA 5f5dec16f2 scm: add feature of per project repository log encoding setting (#1735).
Subversion, Mercurial and Git supports UTF-8 log.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4982 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-01 10:27:30 +00:00
Toshi MARUYAMA 571ecf07e3 scm: add notes "local repository" in Git and Mercurial setting.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4974 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-01 04:43:30 +00:00
Toshi MARUYAMA f03e338880 scm: return if str.blank? in to_utf8(str).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4960 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-28 08:03:43 +00:00
Jean-Philippe Lang 2627419131 Keep track of issue description changes (#746).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4954 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-27 13:34:41 +00:00
Jean-Philippe Lang d06f4d013d Extracts a diff helper from the WikiDiff class.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4952 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-27 12:35:31 +00:00
Toshi MARUYAMA 8bdf73882e scm: filesystem: fix mistake of respository select box on r4943 (#2274).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4944 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-24 07:00:41 +00:00
Toshi MARUYAMA 3a20d13262 scm: filesystem: add path encoding select item (#2274).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4943 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-24 05:59:42 +00:00
Toshi MARUYAMA 61667a2171 scm: code clean up repositories_helper.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4942 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-24 05:59:21 +00:00
Toshi MARUYAMA d43284ba04 scm: Ruby 1.9 compatibility for diff, cat and blame (#2664).
"\xC2\x80" of latin1(iso-8859-1) is valid sequence of UTF-8.
to_utf8() should not return string if it is UTF-8 valid_encoding.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4922 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-22 08:29:35 +00:00
Toshi MARUYAMA 1d6fbe5602 scm: Ruby 1.9 compatibility for browsing repository tree (#2664, #2274).
If repository path is not UTF-8, Ruby 1.9 shows trace.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4921 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-22 08:16:05 +00:00
Toshi MARUYAMA 111ae3c2e9 scm: prevent diff shows trace if UTF-8 is invalid in Ruby 1.9.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4912 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-21 14:28:41 +00:00
Jean-Philippe Lang a11e3a85d6 Preserve Issues/Gantt/Calendar tab when displaying a saved query (#7605).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4909 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-21 13:52:19 +00:00
Jean-Philippe Lang 0efc783a7e Splits private/public issue queries in the sidebar (#1067).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4908 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-21 13:34:33 +00:00
Jean-Philippe Lang 17591a3ea5 Warning on leaving a page with unsaved content in textarea (#2910).
The warning can be turned off in the user's preference.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4900 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-21 09:53:29 +00:00
Toshi MARUYAMA 824adaf30c scm: git: change select label to 'Path to repository'.
Redmine requires bare repository. '.git' is confusing.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4883 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-02-19 06:42:50 +00:00
Jean-Philippe Lang a2a01e6b72 Moves link_to_message to ApplicationHelper to make it available to redmine links.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4760 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-23 17:02:10 +00:00
Jean-Philippe Lang b20210e83c Adds visible scope to redmine links queries.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4759 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-23 16:47:59 +00:00
Jean-Philippe Lang 777ccf1328 Adds support for cross project Redmine links (#7409).
See public/help/wiki_syntax_detailed.html for the syntax.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4758 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-23 16:12:38 +00:00
Toshi MARUYAMA 36b99a4ed3 scm: use scmid for "commit:xxx" link if available (#3724).
scmid is more solid than revision number.

Contributed by Yuya Nishihara.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4694 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-11 16:02:36 +00:00
Toshi MARUYAMA 2e1bcb2abf Changing revision label and identifier at SCM adapter level (#3724, #6092)
Contributed by Yuya Nishihara.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4613 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-02 09:45:05 +00:00
Jean-Philippe Lang ad727d3781 Fixes utf8 conversions with ruby1.9.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4605 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-01 19:12:35 +00:00
Jean-Philippe Lang 488285e123 Strip non utf8 content when displaying diff (ruby1.9 compatibility).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4604 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-01-01 13:40:36 +00:00
Jean-Philippe Lang af7006dff6 Fixed: partial toc when text contains pre tags (#7172).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4578 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-29 18:21:22 +00:00
Jean-Philippe Lang 2066b2f666 Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4497 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-12 14:25:23 +00:00
Jean-Philippe Lang 00d50157d3 Restores object count and adds offset/limit attributes to API responses for paginated collections (#6140).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4489 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-11 13:13:49 +00:00
Jean-Philippe Lang 5f57bceabb Makes some attributes optional in API response to get faster/lightweight responses.
These attributes are not required for common uses case (eg. updating an object). They can be requested in the reponse using the 'include' parameter. Example GET /issues/1.xml?include=journals. The list of attributes that can be included in responses will be documented in the wiki.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4486 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-11 10:19:11 +00:00
Jean-Philippe Lang 0e19aa4362 Fixed: error when serializing back objects with custom fields using ActiveResource (#6403).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4480 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-10 10:12:19 +00:00
Jean-Philippe Lang 9157482049 Adds subtasks to GET /issues/:id API (#5338).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4465 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-04 13:02:14 +00:00
Jean-Philippe Lang fa3d71bed9 Allow non-unique names for projects (#630).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4391 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-11-11 13:39:14 +00:00
Jean-Philippe Lang 63866407f1 Fixed: unchecking status filter on the issue list has no effect (#6844).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4387 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-11-07 15:38:51 +00:00
Jean-Philippe Lang dca6fb92f9 Render level 4 headings in TOC (#5494).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4379 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-11-07 12:22:22 +00:00
Jean-Philippe Lang 7f9d2b0804 Render TOC as nested lists (#1857).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4377 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-11-06 18:52:07 +00:00
Jean-Philippe Lang 024ff96ee2 Extract headings and TOC parsing from the textile formatter.
Fixes #2038 and #3707 and will allow to support TOC with other text formatters.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4376 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-11-06 17:47:27 +00:00
Jean-Philippe Lang 666c54e86c Adds a combo to select parent on wiki page rename (#5136).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4375 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-11-06 14:30:32 +00:00
Jean-Philippe Lang ba56b3f763 Provides a default string for untranslated search types.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4353 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-11-01 12:55:15 +00:00
Eric Davis c514dd6885 Refactor: convert WikiController to a REST resource
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4303 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-28 21:25:38 +00:00
Eric Davis e9efa5b981 Refactor: use :id instead of :page when linking to Wiki Pages
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4296 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-27 16:27:06 +00:00
Jean-Philippe Lang a29c35e08f Makes zoom buttons on gantt looks like the others.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4283 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-23 09:08:55 +00:00
Eric Davis 0ca74df604 Refactor: move method to model with compatibility wrapper
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4282 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-22 22:38:45 +00:00
Jean-Philippe Lang a6f891d1b1 Moves a method to the appropriate helper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4281 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-22 22:29:32 +00:00
Jean-Philippe Lang 2589bec48b Removes duplicate helper introduced in r4072.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4269 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-22 14:49:46 +00:00
Eric Davis c259ada6e1 Refactor: rename WikiController#index to #show, it's a single resource action
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4266 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-21 16:07:28 +00:00
Eric Davis d3381fb518 Refactor: change :id on WikiController to use :project_id
Using :id to track projects on non-project controllers is confusing and
makes routing with resources difficult.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4265 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-20 21:26:30 +00:00
Eric Davis 5823a71c18 Revert part of r4064.
Having link_to_if_authorized support urls has too many edge cases and isn't
working with sub-uris.  #6195 #6513

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4257 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-10-15 23:11:00 +00:00
Eric Davis 86ba692bf5 Refactor: split UsersController#edit into #edit and #update
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4230 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-30 18:22:46 +00:00
Eric Davis 26ef9da02b Changed the notifications to use a hierarchy UI
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4222 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-28 21:09:06 +00:00
Eric Davis 55fbf6836b Document render_issue_tooltip
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4166 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-20 18:50:14 +00:00
Eric Davis 09331ec432 Turn on ssl Gravatars for all SSL requests. #5929
Contributed by Felix Schäfer

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4103 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-20 02:55:14 +00:00
Jean-Baptiste Barth 0d967c0572 Fix links to activity pages broken with r4047. #6392
Contributed by Felix Schafer

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4092 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-16 21:26:30 +00:00
Eric Davis 878bb55522 Refactor: move method to Project#css_classes
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4080 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-10 23:07:10 +00:00
Eric Davis 5e1c295230 Fixed the zoom, previous, and next links on the Gantt chart.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4074 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-10 03:09:18 +00:00
Eric Davis bdb3937e0f Rewrite the Gantt chart. #6276
This version of the Gantt chart supports nested charts. So Projects,
Versions, and Issues will be nested underneath their parents correctly.

Additional features:

* Move all Gantt code to Redmine::Helpers::Gantt class instead of having it in
  the Gantt class, controller, and view
* Recursive and nest sub-projects
* Recursive and nest versions
* Recursive and nest issues
* Draw a line showing when a Project is active and it's progress
* Draw a line showing when a Version is active and it's progress
* Show a version's % complete
* Change the color of Projects, Versions, and Issues if they are late or
  behind schedule
* Added Project#start_date and #due_date
* Added Project#completed_percent
* Use a mini-gravatar on the Gantt chart
* Added tests for the Gantt rendering

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4072 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-10 03:09:02 +00:00
Eric Davis d771fa9289 Change link_to_if_authorized to allow url paths. (Fixes #6195)
Both url paths (/issues/1234) and params hashes (:controller => 'issues')
are now supported by link_to_if_authorized.  The authorize_for method
requires a controller/action pair so urls need to be parsed against the
routes to find their controller/action.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4064 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-06 00:26:08 +00:00
Eric Davis db11030410 Refactor: move method to model. (references r4057)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4062 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-05 22:57:20 +00:00
Jean-Baptiste Barth b6d9f2bddf Add css classes to journals display to facilitate theming
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4057 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-03 20:05:51 +00:00
Eric Davis 5b08b2f33d Refactor: extract common code to link_to_month.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4046 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-08-26 16:37:26 +00:00
Eric Davis 30821586cb Add the project_id to the Calendar link to month.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4045 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-08-26 16:37:21 +00:00
Eric Davis ab1e74d16c Refactor: extract target link generation.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4044 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-08-26 16:37:16 +00:00
Eric Davis 91380eeaab Refactor: extract ternary operators to temps.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4043 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-08-26 16:37:11 +00:00
Eric Davis 3eea03d70e Refactor: extract link to previous and next month into helpers.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4042 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-08-26 16:37:05 +00:00
Eric Davis 05527be943 Add RTL support to the context menu. #6012
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4014 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-08-22 19:12:21 +00:00
Eric Davis 782a5f1218 Add Issue Status to the tooltip. #6169
Contributed by Nick Peelman

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3952 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-08-19 03:43:33 +00:00
Eric Davis 22c978ad94 Refactor: move IssuesController#reply to JournalsController
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3941 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-08-16 16:25:04 +00:00
Eric Davis ff43bb1a74 Refactor: Extract a new IssueMovesController from IssuesController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3936 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-08-11 14:42:10 +00:00
Jean-Baptiste Barth a1b607480a Refactor: added link_to_project helper to handle links to projects
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3924 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-08-08 07:07:20 +00:00
Eric Davis a544a1e57c Added css classes to the HTML body based on the theme, controller, and action. #819
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3911 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-08-04 01:17:45 +00:00
Eric Davis ca663fcd10 Use image_path for the favicon instead to pick up asset hosts. #3301
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3899 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-07-30 19:18:33 +00:00
Eric Davis 5f20bc240e Add a favicon link with support for suburi. #3301
Contributed by Yuki Kita and Christian Boenning

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3894 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-07-29 14:58:33 +00:00
Eric Davis 64d2221db5 Set @project so macros will work on the welcome and project list. #5781
Contributed by Holger Just

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3824 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-06-30 03:32:18 +00:00
Eric Davis 6e529f82a7 Make the Gantt zoom images more accessible
* Correct the alt text
* Add text links next to the images
* Size the images in em to support browser scaling

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3757 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-05-26 22:48:35 +00:00
Eric Davis ab4bdc379e Refactor: extract gantt zoom links to a helper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3756 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-05-26 22:48:17 +00:00
Jean-Philippe Lang 663f0c83b2 Fixes time report with JRuby (#5404).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3708 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-04-30 12:18:11 +00:00
Eric Davis df7edb843b Refactor: move method to helper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3691 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-04-27 15:28:52 +00:00
Eric Davis 538642c5c4 Let custom field formats control how they are edited.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3675 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-04-16 15:34:05 +00:00
Eric Davis d22723ed04 Refactor: Move method
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3673 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-04-16 15:33:55 +00:00
Eric Davis 88db9d0bdc Replace the hardcoded CustomField::FIELD_FORMATS with a class.
Custom Field Formats are now full objects and can be registered with
Redmine::CustomFieldFormat to add new formats.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3672 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-04-16 15:33:49 +00:00
Jean-Philippe Lang 2674c6116c Linkify folder names on revision view (#5164).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3659 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-04-11 15:18:49 +00:00
Jean-Philippe Lang e8729feba7 Slight optimization in issue tree rendering.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3620 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-03-28 12:57:39 +00:00
Jean-Philippe Lang 4524bc04e9 Issue list improvements for subtasking (#5196):
* makes the parent task column available
* display the issue hierarchy when list is sorted by parent

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3618 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-03-27 16:55:20 +00:00
Jean-Philippe Lang 06d2c3fd4e Adds parent issue id to the issues CSV export.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3617 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-03-27 13:38:29 +00:00
Jean-Philippe Lang 4dd4300147 Adds text formatting to documents index (#202).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3602 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-03-18 20:02:17 +00:00
Jean-Philippe Lang f741ca7269 Adds an helper for displaying the 'checked' image.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3600 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-03-17 20:46:22 +00:00
Jean-Philippe Lang 0e0b8e0799 Accept issue links inside brackets (#4418).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3598 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-03-17 19:57:32 +00:00
Jean-Philippe Lang f4be4d101b Inlines some code to speed up large ticket history rendering.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3594 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-03-16 21:37:05 +00:00
Jean-Philippe Lang 2f0fbef858 Fixed: Wrong label in issue-journal for subtask-changes (#5090).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3593 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-03-16 20:37:29 +00:00
Jean-Philippe Lang 6b88de1234 Close unclosed pre/code tags (#4265).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3590 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-03-15 19:57:35 +00:00
Jean-Philippe Lang 7203196212 Do not parse redmine links inside pre/code tags (#1288).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3589 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-03-15 19:54:50 +00:00
Jean-Philippe Lang a179f261cd Extract parsing of inline attachments, wiki links and redmine links.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3588 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-03-15 19:37:01 +00:00
Jean-Philippe Lang c03b4c2e1e Extract CodeRay calls to Redmine::SyntaxHighlighting (#2985).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3584 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-03-14 12:57:08 +00:00
Jean-Philippe Lang 2f5c17a0f6 Optimization: load attachments when needed.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3581 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-03-14 08:33:53 +00:00
Jean-Philippe Lang e605973ec4 Move issue watchers to the sidebar.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3579 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-03-13 17:45:41 +00:00
Jean-Philippe Lang 508df4a33a Slight UI changes to the subtasks tree.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3577 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-03-13 15:47:06 +00:00
Jean-Philippe Lang 8e3d1b694a Adds subtasking (#443) including:
* priority, start/due dates, progress, estimate, spent time roll-up to parent issues
* descendant issues tree displayed on the issue view with context menu support
* issue tree display on the gantt chart
* issue tree copy on project copy
* unlimited nesting

Defining subtasks requires the new permission 'Manage subtasks'.
Subtasks can not belong to a different project than the parent task.

Implementation is based on scoped nested sets for fast reads and updates.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3573 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-03-13 14:56:49 +00:00
Eric Davis c07696b578 Refactor: Remove duplicated case statements.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3554 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-03-08 16:47:57 +00:00
Eric Davis 43e3c43cbd Refactor: Extract similar logic in IssuesHelper#show_detail to a new method.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-03-08 16:47:52 +00:00
Jean-Philippe Lang bd5fe10c13 Adds an helper for creating the context menu.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3542 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-03-04 19:02:57 +00:00
Eric Davis 3c0c0a7677 Allow multiple selected projects in #project_tree_options_for_select
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3525 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-03-03 03:37:40 +00:00
Jean-Philippe Lang e24d6cc223 Bulk edit refactoring.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3478 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-23 21:26:29 +00:00
Jean-Philippe Lang d18fba4ffe Fixed: Pound (#) followed by number with leading zero (0) removes leading zero when rendered in wiki (#4872).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3451 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-18 18:53:30 +00:00
Eric Davis 9e22faa640 Converted the REDMINE_SUPPORTED_SCM constant to a class
Now SCMs can be added or removed using a simple API, instead of being
hardcoded:

  Redmine::Scm::Base.add('ScmName')
  Redmine::Scm::Base.delete('ScmName')

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3440 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-16 22:41:59 +00:00
Jean-Philippe Lang 3168ee3d47 Adds projects links (#4812).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3422 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-13 10:32:06 +00:00
Jean-Philippe Lang 8fb29d4d21 Adds pagination to forum messages (#4664).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3373 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-06 12:54:13 +00:00
Jean-Philippe Lang 2ad8242ae7 Adds a setting to cache textile rendering (off by default).
* it uses ActionController cache store which is MemoryStore by default and can be configured with config.action_controller.cache_store
* macro processing was moved out of textile rendering so that it doesn't get cached
* no noticeable improvement is expected for small portions of text, so only texts larger than 2KB are cached

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3372 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-02-06 10:40:21 +00:00
Eric Davis d4525828b9 Fixed some labels to be more accessible.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3336 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-01-21 18:21:56 +00:00
Jean-Philippe Lang da55be4e9a Fixed: error when exporting an issue with target version to PDF (#4556).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3311 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-01-13 20:17:56 +00:00
Jean-Philippe Lang 99956ec248 Avatars added in news (#3941) and forums (#4468) + cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3284 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-01-07 21:28:45 +00:00
Jean-Philippe Lang cab99aa5ad Allow bulk edit custom fields of any type (#461).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3278 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-01-03 11:18:09 +00:00
Jean-Philippe Lang b718d5dec2 Moves attachments parsing after textile parsing so that:
* attachments parsing does not rely on textile syntax
* textile output can be cached (#4482)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3253 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-27 10:52:02 +00:00
Jean-Philippe Lang 62c83bdd2e Adds a 'Add subprojects' permission.
* 'Add project' permission will let user create a root project
* 'Add subprojects' permission will let project members create subprojects

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-24 16:18:15 +00:00
Jean-Philippe Lang 24fde6f109 Hide "Groups" tab on user form if no group exist.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3237 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-24 16:14:15 +00:00
Jean-Philippe Lang 32bb0226e7 Remove invalid escaping in version field (#4460).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3230 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-23 19:58:41 +00:00
Jean-Philippe Lang ff36245f3e Move API setting to Authentication tab and add translations strings.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3222 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-23 17:56:39 +00:00
Eric Davis bfcd5039f2 Added an Admin setting to enable/disable the REST web service. (#3920)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3220 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-23 06:27:44 +00:00
Eric Davis 9f59cd64ab Added the revision title to any revision links.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3216 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-22 23:23:54 +00:00
Jean-Philippe Lang 6ccbcfb589 Adds helpers for setting field tags.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-19 20:07:09 +00:00
Eric Davis c31a671973 Added a setting to configure the day that week start on (Monday or Sunday). (#4363)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3166 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-13 04:06:55 +00:00
Jean-Philippe Lang d58762a52d Roadmap: sort issues by project and prepend project name if different (#4373).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3163 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-12 15:33:31 +00:00
Jean-Philippe Lang b090098952 Fixed: Bulk edit of issues throws 500 if no versions are defined on the project (#4366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3140 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-09 09:22:16 +00:00
Jean-Philippe Lang 5f8e9d7118 Version sharing (#465) + optional inclusion of subprojects in the roadmap view (#2666).
Each version of a project can be shared with:
* subprojects
* projects in the project hierarchy: ancestors + descendants (needs versions management permission on the root project)
* projects in the project tree: root project + all its descendants (same as above)
* all projects (can be set by admin users only)

Notes:
* when sharing a version of a private project with others projects, its name will be visible within the other projects
* a project with versions used by non descendant projects can not be archived

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3123 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-06 10:28:20 +00:00
Eric Davis e02da72947 Add a second action menu to IssuesController#show. (#4331)
Will have the update, log time, watch, copy, etc buttons.  Had to rework
how the watchers button works since it requires a unique DOM id for the
Ajax response.  Also modified the WatchersController to be able to replace
multiple sections of the page, e.g. two Watch links.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3119 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-03 18:41:00 +00:00
Jean-Philippe Lang 346c569f98 Fixed: "None" category issue count is empty while grouping by category (#4308).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3112 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-12-02 18:57:17 +00:00
Jean-Philippe Lang d8c5549168 Changes misleading scopes on Enumeration.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3083 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-21 12:00:49 +00:00
Jean-Philippe Lang 4bdfef4dc4 Fixed roadmap progress display error (#4255).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3082 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-21 10:50:36 +00:00
Eric Davis ec4ba23248 Add a setting to pick alternative Gravatar images. #2734
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3076 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-17 03:10:49 +00:00
Jean-Philippe Lang 71bc44a89d Allow issue grouping by custom field (#2679).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3071 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-16 18:07:30 +00:00
Jean-Philippe Lang ba7cf9c3ce Adds custom fields for versions (#4219).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3064 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-15 15:22:55 +00:00
Jean-Philippe Lang 534ce51154 Allow non admin users to add subprojects (#2963).
Subprojects can be added to the projects for which the user has add_project permission.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3059 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-15 13:22:08 +00:00
Jean-Philippe Lang 1a65eb8b08 Don't reveal issue subjects if user is only allowed to view spent time (#3187).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3043 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-14 14:10:09 +00:00
Jean-Philippe Lang bc37fcee74 Clean up ticket auto links.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3041 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-14 12:59:32 +00:00
Jean-Philippe Lang cbeeaa4d4d Refactoring ApplicationHelper#link_to_issue.
Now displays issue subject by default.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3040 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-14 12:53:50 +00:00
Jean-Philippe Lang dfd0204052 Add view_issues permission (#3187).
A migration adds this permission to all existing roles to preserve current behaviour.
This permission controls access to issues, roadmap and changelog.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3039 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-14 12:08:47 +00:00
Jean-Philippe Lang c31411ec00 Fixes ApplicationHelper#link_to_user
* No link to a locked user page (closes #4182)
* Translate Anonymous string

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3024 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-11 10:48:54 +00:00
Jean-Philippe Lang 27e3fa2bed Use FasterCSV or ruby1.9 CSV instead of ruby1.8 builtin CSV.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3007 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-04 13:22:26 +00:00
Jean-Philippe Lang b2a55bda0c Sort the list of users to add to a group or project (#4150).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3004 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-11-04 11:17:55 +00:00
Jean-Philippe Lang e64fb6a728 Fixes users links.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2990 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-29 18:44:16 +00:00
Jean-Philippe Lang a842769c3f AccountController#show (/account/show/:id) moved to UsersController#show (/users/:id).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2988 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-29 18:37:00 +00:00
Jean-Philippe Lang 86874785b7 Fixed error on repository when there are no comments in a changeset (#4126).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2983 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-29 17:55:59 +00:00
Jean-Philippe Lang 97b4e75478 Add a permission to remove issue watchers (#2450).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2977 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-25 12:11:53 +00:00
Jean-Philippe Lang 6842941adc Removes debug code.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2965 e93f8b46-1217-0410-a6f0-8f06a7374b81
2009-10-24 12:33:34 +00:00