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