Commit Graph

248 Commits

Author SHA1 Message Date
Toshi MARUYAMA a12cf0fb57 Rails3: replace » of breadcrumb() at ApplicationHelper to hexadecimal UTF-8 strings and use String#html_safe.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6519 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-21 11:11:25 +00:00
Toshi MARUYAMA 40a1dbc8d5 Rails3: use String#html_safe for javascript_heads() at ApplicationHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6494 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 22:53:24 +00:00
Toshi MARUYAMA ada823a923 Rails3: use String#html_safe for progress_bar() at ApplicationHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6490 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 11:51:49 +00:00
Toshi MARUYAMA 95162cd145 Rails3: use String#html_safe for check_all_links() at ApplicationHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6489 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 11:51:26 +00:00
Toshi MARUYAMA 0c30610f4b Rails3: use String#html_safe for parse_redmine_links() at ApplicationHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6487 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 11:16:11 +00:00
Toshi MARUYAMA c941602570 Rails3: use String#html_safe for parse_wiki_links() at ApplicationHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6486 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 11:15:35 +00:00
Toshi MARUYAMA 9e29f9f1e6 Rails3: use String#html_safe for parse_inline_attachments() at ApplicationHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6485 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 11:14:58 +00:00
Toshi MARUYAMA 5031bab474 Rails3: use String#html_safe for parse_non_pre_blocks() at ApplicationHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6484 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 11:14:29 +00:00
Toshi MARUYAMA 3f126c35b8 Rails3: use String#html_hours for pagination_links_full() at ApplicationHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6483 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 10:55:02 +00:00
Toshi MARUYAMA a77c1bcf6d Rails3: use String#html_hours for authoring() at ApplicationHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 10:54:41 +00:00
Toshi MARUYAMA 0c0bf29edb Rails3: use String#html_hours for principals_check_box_tags() at ApplicationHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6481 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-20 10:54:18 +00:00
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 « and » 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
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 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
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 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 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 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 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
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 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 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 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 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
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