Commit Graph

1032 Commits

Author SHA1 Message Date
Jean-Philippe Lang f9ddb562d5 Cleanup of finders with :conditions option.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11963 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-06-12 19:13:25 +00:00
Toshi MARUYAMA 442532e316 remove trailing white-spaces from lib/redmine/plugin.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11933 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-06-06 05:09:46 +00:00
Toshi MARUYAMA 01411ab567 prevent coderay "warning: already initialized constant" on Ruby 1.8.7 (#13692)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11925 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-06-04 14:07:46 +00:00
Toshi MARUYAMA 1fd7540b85 pdf: replace "id_width" parameter name to original "col_id_width" (#14178)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11921 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-06-04 11:02:45 +00:00
Toshi MARUYAMA 7bc0c26198 pdf: restore "id_width" parameter of issues_to_pdf_draw_borders (#14178)
Contributed by Massimo Rossello.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11920 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-06-04 10:54:55 +00:00
Jean-Philippe Lang 29c3b34641 Adds SCM versions in script/about output.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11918 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-06-01 16:32:29 +00:00
Jean-Philippe Lang 73aadc4900 Use uid_ methods for retrieving IMAP messages (#14101).
Patch by Pierre Pretorius.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11906 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-28 18:41:14 +00:00
Jean-Philippe Lang 131dc3a8fc Disconnect and logout from IMAP after mail receive (#14103).
Patch by Pierre Pretorius.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11905 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-28 18:17:36 +00:00
Toshi MARUYAMA f085508121 gantt: sort versions by start date (#7335)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11898 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-21 13:42:34 +00:00
Toshi MARUYAMA 8ea4e79964 gantt: sort issues by start date (#7335)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11897 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-21 13:42:19 +00:00
Toshi MARUYAMA 6aa63659aa gantt: change sort method to class method (#7335)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11855 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-17 22:59:39 +00:00
Jean-Baptiste Barth 953e4b4abf Add missing tests for Redmine::MenuManager::Mapper#initialize.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11772 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-03 00:40:41 +00:00
Jean-Baptiste Barth e771d68214 Allow plugins to define their base directory (#13927).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11766 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-02 17:59:34 +00:00
Jean-Philippe Lang 92dcaeb472 Updates for 2.3.1 release.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11757 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-01 15:13:58 +00:00
Toshi MARUYAMA 21b1783da3 add TODO comment about gantt issues sort (#7335)
Sorting by date was dropped by r4581 (#7128).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11724 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-04-19 05:14:25 +00:00
Toshi MARUYAMA 6469e9a5a3 fix diff error in case of line_left out of range (#13644)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11707 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-04-05 07:30:51 +00:00
Toshi MARUYAMA 0d02931759 check integer ordinal range on only Ruby 1.8 (#13644)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11706 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-04-05 05:51:58 +00:00
Jean-Philippe Lang 633e4a00e6 Check that the SCM log file is writable before using it (#13541).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11698 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-04-03 20:01:41 +00:00
Etienne Massip 4224a0c3fe Code cleanup (#13630).
Contributed by F Schroedter.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11694 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-04-02 17:37:52 +00:00
Etienne Massip 4a3864a180 Fixed that issue list PDF export displays ID column twice (#13630).
Contributed by F Schroedter.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11693 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-04-02 17:34:15 +00:00
Jean-Philippe Lang d8769cb27c Log SCM stderr when log level is set to debug only (#13541).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11680 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-22 07:50:28 +00:00
Toshi MARUYAMA d3de07a17c fix that diff outputs become ??? in some non ASCII words (#12641)
Contributed by Filou Centrinov.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11549 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-07 10:36:06 +00:00
Toshi MARUYAMA 72539451aa set html encoding utf8 at Diff class (#12641)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11547 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-07 10:17:45 +00:00
Toshi MARUYAMA 0d141eef32 code cleanup (#12641)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11546 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-07 08:47:38 +00:00
Toshi MARUYAMA b19a6d06d9 move utf8 encoding from view to UnifiedDiff (#12641)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11545 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-07 08:31:58 +00:00
Toshi MARUYAMA 39b9599360 use %r{} instead of // at lib/redmine/unified_diff.rb
Syntax highlight is broken in gedit 2.28.4 on CentOS 6.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11542 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-03-07 04:07:09 +00:00
Jean-Philippe Lang 5b4a9ac3b3 Restricts characters before auto links (#10277).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11474 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-24 12:56:50 +00:00
Jean-Philippe Lang dfca67d844 Fixed that www followed by a dot generates broken links in formatted text (#3676).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11473 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-24 12:39:06 +00:00
Jean-Philippe Lang 0a6a7f0ed7 Fixed that time entries report by week breaks on edge cases (#5329).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11471 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-24 12:18:29 +00:00
Jean-Philippe Lang 85b872f340 Makes project custom fields available on spent time report (#1766).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11459 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-24 08:57:04 +00:00
Jean-Philippe Lang 998928ecdf Set version to 2.3.0.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11450 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-23 11:51:56 +00:00
Jean-Philippe Lang 1faa94af8a Updates for 2.2.3 release.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11366 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-12 18:07:38 +00:00
Jean-Philippe Lang 7643281510 undefined method `strip' for nil:NilClass error with JRuby 1.7.2 (#12228).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11278 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-27 10:50:19 +00:00
Jean-Philippe Lang 9f127793be Make JSONP support optional and disabled by default (#12992).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11272 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-26 18:37:09 +00:00
Jean-Philippe Lang 2b32a63cee Updates for 2.2.2 release.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11239 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-20 18:24:14 +00:00
Jean-Philippe Lang d0888b2f71 Strip {{toc}} tags in pdf exports (#9842).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11227 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-20 16:22:20 +00:00
Jean-Philippe Lang 237f297f03 Gantt progress lines (#12122).
Patch by Toshi MARUYAMA.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11210 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-20 12:30:40 +00:00
Jean-Philippe Lang 30801ca968 Always log scm stderr and makes the log file path configurable.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11209 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-20 12:04:23 +00:00
Toshi MARUYAMA 58dfbde1ea fix test failures (#12787)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11179 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-13 00:43:24 +00:00
Jean-Philippe Lang 45f870cb53 Encoding::InvalidByteSequenceError may be raised even if encoding is valid (#12787).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11178 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-12 22:34:00 +00:00
Jean-Philippe Lang ff53a9cfe1 Don't use Iconv with ruby1.9 (#12787).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11177 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-12 21:27:36 +00:00
Jean-Philippe Lang e396a0eebe Copyright for 2013 (#12788).
Patch by Daniel Felix.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-12 09:29:31 +00:00
Jean-Philippe Lang 956239fc85 Fixed: Cannot edit a wiki section which title starts with a tab (#12799).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11159 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-10 22:05:22 +00:00
Jean-Philippe Lang a103e0cd26 Changes for 2.2.1 release.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11146 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-09 13:32:39 +00:00
Jean-Philippe Lang 9394d739b1 Deprecation warnings (#12774).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11139 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-08 20:18:12 +00:00
Jean-Philippe Lang b29d74f9d5 Workaround for #12750.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11138 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-08 20:02:53 +00:00
Jean-Philippe Lang 98c8212d71 Don't compute version start date if due_date is nil.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11136 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-06 14:05:55 +00:00
Jean-Philippe Lang 114537530f Removed debug messages.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11134 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-06 13:29:25 +00:00
Jean-Philippe Lang 582dcf4b36 Fixed that macros with uppercase letters can not be called (#12744).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11126 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-05 23:11:35 +00:00
Jean-Philippe Lang 3e14c3017c Adds a custom validator for dates (#12736).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11124 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-05 16:09:15 +00:00
Jean-Philippe Lang f9325193be Only process issues that have relations.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11120 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-05 12:41:24 +00:00
Jean-Philippe Lang 59ddbf8c09 Use JSON so we don't have to parse data-rels manually (#3436).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11119 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-05 12:34:20 +00:00
Jean-Philippe Lang 601148c5b1 Show precedes/follows and blocks/blocked relations on the Gantt diagram (#3436).
Based on Toshi MARUYAMA's patch.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11118 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-05 12:28:34 +00:00
Jean-Philippe Lang 9613a13b10 Deprecates Version#*_pourcent in favour of #*_percent (#12724).
Patch by Daniel Felix.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11113 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-04 08:30:25 +00:00
Jean-Philippe Lang 9c698157f4 Check permissions before the extra condition for displaying a menu item (#12721).
Patch by Daniel Ritz.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11112 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-04 08:21:33 +00:00
Jean-Philippe Lang 902d4bcf1c Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11108 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-03 13:59:15 +00:00
Jean-Philippe Lang 03329b5d4d Use joins instead of sub-queries (#12713).
Sub-queries in group by are not supported by SQLServer.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11107 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-03 13:57:27 +00:00
Jean-Philippe Lang a18f6ffb37 Icon for the textile help link.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11087 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-02 07:47:12 +00:00
Jean-Philippe Lang 852b336f5e Adds CSS classes on pagination links.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11062 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-21 20:58:55 +00:00
Jean-Philippe Lang 352ec0e9e4 #pagination_links_each yields all links!
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11034 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-17 20:27:56 +00:00
Jean-Philippe Lang 1a58737004 Reset the page parameter when changing the number of items per page.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11033 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-17 20:20:56 +00:00
Jean-Philippe Lang 7f152d3485 Makes #per_page_links take a paginator.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11032 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-17 20:19:48 +00:00
Jean-Philippe Lang 56669f9b13 Split #per_page_links helper and moved test to specific test case.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11031 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-17 20:17:52 +00:00
Jean-Philippe Lang ab3330a945 All spaces after links.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11030 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-17 19:39:32 +00:00
Jean-Philippe Lang 7143bd6d27 Makes #pagination_links_full accept a block for building custom links.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11029 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-17 19:38:17 +00:00
Jean-Philippe Lang 1cf379f370 Replaces the classic_pagination plugin with a simple pagination module.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11026 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-17 18:21:24 +00:00
Jean-Philippe Lang c31f498ba6 Code cleanup: implement Plugin#to_param for generating routes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10995 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-13 13:52:56 +00:00
Jean-Philippe Lang ef25210aca Merged ajax_upload branch (#3957).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10977 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-10 20:09:41 +00:00
Jean-Philippe Lang d6ecfcf50c Rename the Member column to User on the time entries list.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10968 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-09 18:09:44 +00:00
Jean-Philippe Lang f8895a7cdd Adds TimeEntryQuery for listing time entries.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10967 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-09 17:57:18 +00:00
Jean-Philippe Lang 5c407a8c40 Fixed that issues grouped by custom field is broken in PDF export (#12513).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10956 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-08 09:45:38 +00:00
Jean-Philippe Lang 8201761e77 Adds an option for displaying the issue description on the issue list (#3447).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10948 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-06 17:48:19 +00:00
Jean-Philippe Lang 3e4b4ffd9a Redmine::Scm::Base.all should return an empty array instead of nil when no SCM was added.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10945 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-05 22:00:02 +00:00
Jean-Philippe Lang 5dbefbc40d Removed unused Redmine::About class.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10938 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-03 22:33:08 +00:00
Jean-Philippe Lang 31c33f462d Replaces find(:first) calls.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10928 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-03 18:21:32 +00:00
Jean-Philippe Lang 536747b747 Replaces find(:all) calls.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10917 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-02 20:23:48 +00:00
Jean-Philippe Lang f474d1ff81 Explicitly load dependencies for when running with config.threadsafe! (#12097).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10909 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-02 18:06:06 +00:00
Jean-Philippe Lang ee3d6dbdbb Set version to 2.2.0.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10906 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-02 17:57:30 +00:00
Toshi MARUYAMA c7ee26b144 add configuration of RMagcik font for CJK (Chinese, Japanese and Korean) (#4787)
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10890 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-28 10:11:33 +00:00
Jean-Philippe Lang 14e56006a1 Fixed that #extract_macro_options should not be greedy (#12451).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10885 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-27 19:59:33 +00:00
Jean-Philippe Lang fb9a2901e9 Fixed that autolinks and textile links ending with cyrilic characters are broken (#12397).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10879 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-24 14:20:01 +00:00
Jean-Philippe Lang 845d7bc645 Updates for 2.1.4 release.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10874 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-24 09:34:42 +00:00
Jean-Philippe Lang f232f56d97 Adds copyright.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10847 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-18 18:21:16 +00:00
Jean-Philippe Lang 26b3e48545 Symbols can not be sorted with ruby1.8.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-18 18:19:48 +00:00
Jean-Philippe Lang a49de1c39d Cache languages names to avoid loading all translations files.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10844 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-18 18:01:24 +00:00
Jean-Philippe Lang 3739810afa Adds a custom i18n backend that lazily loads translations files.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10843 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-18 17:41:31 +00:00
Jean-Philippe Lang 98f225f6cd Updates for 2.1.3 release.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10831 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-17 12:49:08 +00:00
Jean-Philippe Lang 1c14dd35cf Fixes #requires_redmine comments (#12299).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10828 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-17 11:05:27 +00:00
Jean-Philippe Lang 4bd1e887d9 Makes Plugin#requires_redmine accept a range of versions (#12299).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10827 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-17 10:55:38 +00:00
Jean-Philippe Lang b3cf67cad4 Makes Plugin#requires_redmine accept only major and minor version (#12299).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10826 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-17 10:07:21 +00:00
Jean-Philippe Lang c00084b80b Display non working days on gantt image according to settings (#2161).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10751 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-29 10:23:59 +00:00
Jean-Philippe Lang 1f55907f83 Display non working days on gantt according to settings (#2161).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10750 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-29 10:21:00 +00:00
Jean-Philippe Lang b71355f10b Ignore non-working days when rescheduling an issue (#2161).
Weekly non-working days can be configured in application settings (set to saturday and sunday by default).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10747 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-29 10:06:30 +00:00
Toshi MARUYAMA 625eebb720 code cleanup scm_iconv (#12228)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10742 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-28 11:39:43 +00:00
Toshi MARUYAMA 123d2b318f fix scm_iconv local variable name (#12228)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10741 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-28 07:12:23 +00:00
Toshi MARUYAMA 5a2c80cb48 use String#encode at scm_iconv on Ruby 1.9 (#12228)
Unit git adapter test fails on JRuby 1.7.

<pre>
Failure:
  <"test-Ü-2.txt">("UTF-8") expected but was
  <"test-\xC3\x9C-2.txt">("ASCII-8BIT").

  diff:
  - test-Ü-2.txt
  ?      ^
  + test-Ü-2.txt
  ?      ^^
test_entries_latin_1_files(GitAdapterTest)
test/unit/lib/redmine/scm/adapters/git_adapter_test.rb:468:in `test_entries_latin_1_files'
     465:         assert entries1
     466:         assert_equal 3, entries1.size
     467:         f1 = entries1[1]
  => 468:         assert_equal "test-#{@char_1}-2.txt", f1.name
     469:         assert_equal "latin-1-dir/test-#{@char_1}-2.txt", f1.path
     470:         assert_equal 'file', f1.kind
     471:       end
</pre>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10740 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-28 06:19:29 +00:00
Toshi MARUYAMA 1db6a0f89c gantt: remove unused issues parameter from gantt_issue_compare method
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10698 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-23 00:17:05 +00:00
Jean-Philippe Lang d29fa4735b Adds a macro for inserting collapsed text (#12167).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10680 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-20 14:49:32 +00:00
Jean-Philippe Lang d62b90db73 Makes enumerations available through the REST API.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10664 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-17 17:29:27 +00:00
Jean-Philippe Lang 7af1504672 Fixed that Redmine::VERSION.revision returns nil with svn 1.7 (#12012).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10616 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-12 14:09:58 +00:00