]> source.dussan.org Git - redmine.git/log
redmine.git
13 years agoAdding .hgignore based on the .gitignore.
Toshi MARUYAMA [Sat, 1 Jan 2011 21:07:43 +0000 (21:07 +0000)]
Adding .hgignore based on the .gitignore.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4606 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixes utf8 conversions with ruby1.9.
Jean-Philippe Lang [Sat, 1 Jan 2011 19:12:35 +0000 (19:12 +0000)]
Fixes utf8 conversions with ruby1.9.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4605 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoStrip non utf8 content when displaying diff (ruby1.9 compatibility).
Jean-Philippe Lang [Sat, 1 Jan 2011 13:40:36 +0000 (13:40 +0000)]
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

13 years agoRead attachment fixtures in binary mode.
Jean-Philippe Lang [Sat, 1 Jan 2011 12:24:18 +0000 (12:24 +0000)]
Read attachment fixtures in binary mode.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4603 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoruby1.9 compatibility
Jean-Philippe Lang [Sat, 1 Jan 2011 11:45:12 +0000 (11:45 +0000)]
ruby1.9 compatibility

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4602 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoruby1.9 compatibility
Jean-Philippe Lang [Sat, 1 Jan 2011 11:13:33 +0000 (11:13 +0000)]
ruby1.9 compatibility

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4601 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixes wrong assertion.
Jean-Philippe Lang [Fri, 31 Dec 2010 15:45:35 +0000 (15:45 +0000)]
Fixes wrong assertion.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4600 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRemove the limitation on characters that can be used in custom_field, issue_status...
Jean-Philippe Lang [Fri, 31 Dec 2010 15:30:50 +0000 (15:30 +0000)]
Remove the limitation on characters that can be used in custom_field, issue_status, role, tracker, user names (#5152).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4599 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoSafer assertion.
Jean-Philippe Lang [Fri, 31 Dec 2010 15:24:42 +0000 (15:24 +0000)]
Safer assertion.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4598 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoruby1.9 compatibility
Jean-Philippe Lang [Fri, 31 Dec 2010 11:16:03 +0000 (11:16 +0000)]
ruby1.9 compatibility

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4597 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixes wrong Polish translation of "blocks" and "duplicates" (#6895).
Jean-Philippe Lang [Thu, 30 Dec 2010 15:49:08 +0000 (15:49 +0000)]
Fixes wrong Polish translation of "blocks" and "duplicates" (#6895).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4595 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoJapanese Translation updated (#7133).
Jean-Philippe Lang [Thu, 30 Dec 2010 15:44:02 +0000 (15:44 +0000)]
Japanese Translation updated (#7133).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4594 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoTraditional Chinese language updated (#7123).
Jean-Philippe Lang [Thu, 30 Dec 2010 15:43:02 +0000 (15:43 +0000)]
Traditional Chinese language updated (#7123).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4593 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoGerman translation updated (#7161).
Jean-Philippe Lang [Thu, 30 Dec 2010 15:38:41 +0000 (15:38 +0000)]
German translation updated (#7161).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4592 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoMakes the png looks more like the html gantt.
Jean-Philippe Lang [Thu, 30 Dec 2010 15:04:08 +0000 (15:04 +0000)]
Makes the png looks more like the html gantt.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4584 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoMakes issue move form similar to bulk edit form.
Jean-Philippe Lang [Wed, 29 Dec 2010 20:48:51 +0000 (20:48 +0000)]
Makes issue move form similar to bulk edit form.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4583 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoDisable project completion display on the gantt (#7127).
Jean-Philippe Lang [Wed, 29 Dec 2010 20:29:42 +0000 (20:29 +0000)]
Disable project completion display on the gantt (#7127).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4582 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoSimple issue sort method to make sure subtasks appear under their parent on the gantt...
Jean-Philippe Lang [Wed, 29 Dec 2010 20:21:39 +0000 (20:21 +0000)]
Simple issue sort method to make sure subtasks appear under their parent on the gantt (#7128).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4581 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFind visible issues only in ContextMenusController#issues.
Jean-Philippe Lang [Wed, 29 Dec 2010 19:55:52 +0000 (19:55 +0000)]
Find visible issues only in ContextMenusController#issues.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4580 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoTakes more parameters into account to determine activity freshness (#7188).
Jean-Philippe Lang [Wed, 29 Dec 2010 19:37:42 +0000 (19:37 +0000)]
Takes more parameters into account to determine activity freshness (#7188).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4579 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixed: partial toc when text contains pre tags (#7172).
Jean-Philippe Lang [Wed, 29 Dec 2010 18:21:22 +0000 (18:21 +0000)]
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

13 years agoFixed: cvs diff broken by r4539 (#7176).
Jean-Philippe Lang [Wed, 29 Dec 2010 17:46:47 +0000 (17:46 +0000)]
Fixed: cvs diff broken by r4539 (#7176).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4577 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixed: CLI-supplied defaults should not be applied when replying to an issue (#7195).
Jean-Philippe Lang [Wed, 29 Dec 2010 17:38:57 +0000 (17:38 +0000)]
Fixed: CLI-supplied defaults should not be applied when replying to an issue (#7195).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4576 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixed: Tracker reset to default when replying to an issue email (#7197).
Jean-Philippe Lang [Wed, 29 Dec 2010 17:36:01 +0000 (17:36 +0000)]
Fixed: Tracker reset to default when replying to an issue email (#7197).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4575 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoMakes Version#start_date return the minimum start_date of its issues.
Jean-Philippe Lang [Thu, 23 Dec 2010 14:58:52 +0000 (14:58 +0000)]
Makes Version#start_date return the minimum start_date of its issues.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4574 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoMakes the API accepts the X-Redmine-API-Key header to hold the API key.
Jean-Philippe Lang [Thu, 23 Dec 2010 14:49:14 +0000 (14:49 +0000)]
Makes the API accepts the X-Redmine-API-Key header to hold the API key.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4573 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoMakes /projects API accept same pagination parameters as other API collection resources.
Jean-Philippe Lang [Thu, 23 Dec 2010 13:34:44 +0000 (13:34 +0000)]
Makes /projects API accept same pagination parameters as other API collection resources.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4572 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoMakes API accept offset/limit or page/limit parameters for retrieving collections.
Jean-Philippe Lang [Thu, 23 Dec 2010 13:33:01 +0000 (13:33 +0000)]
Makes API accept offset/limit or page/limit parameters for retrieving collections.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4571 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoSet VERSION to 1.0.5.
Jean-Philippe Lang [Thu, 23 Dec 2010 10:04:08 +0000 (10:04 +0000)]
Set VERSION to 1.0.5.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4568 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoUpdated INSTALL for 1.0.5
Jean-Philippe Lang [Thu, 23 Dec 2010 10:03:32 +0000 (10:03 +0000)]
Updated INSTALL for 1.0.5

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4567 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoUpdated CHANGELOG for 1.0.5
Jean-Philippe Lang [Thu, 23 Dec 2010 10:02:08 +0000 (10:02 +0000)]
Updated CHANGELOG for 1.0.5

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4566 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixes: Mercurial adapter loses seconds of commit times (#6656).
Jean-Philippe Lang [Thu, 23 Dec 2010 09:56:30 +0000 (09:56 +0000)]
Fixes: Mercurial adapter loses seconds of commit times (#6656).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4561 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoAdds themes test for when Redmine is in a sub-uri.
Jean-Philippe Lang [Thu, 23 Dec 2010 09:42:33 +0000 (09:42 +0000)]
Adds themes test for when Redmine is in a sub-uri.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4560 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoAvoid theme rescan when no theme is selected.
Jean-Philippe Lang [Wed, 22 Dec 2010 21:41:08 +0000 (21:41 +0000)]
Avoid theme rescan when no theme is selected.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4559 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoSupport for Javascript in Themes (#2803).
Jean-Philippe Lang [Wed, 22 Dec 2010 21:37:07 +0000 (21:37 +0000)]
Support for Javascript in Themes (#2803).

If javascripts/theme.js is found in the theme directory, it will be automatically loaded on each page.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4558 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoAdds missing not_a_date translation in fr locale (#7160).
Jean-Philippe Lang [Wed, 22 Dec 2010 20:52:48 +0000 (20:52 +0000)]
Adds missing not_a_date translation in fr locale (#7160).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4556 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRestores non english field_start_date translations (#6629, #7016).
Jean-Philippe Lang [Wed, 22 Dec 2010 20:40:56 +0000 (20:40 +0000)]
Restores non english field_start_date translations (#6629, #7016).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4554 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixed: 500 error on issue query grouped by a custom field that was deleted (#7144).
Jean-Philippe Lang [Tue, 21 Dec 2010 21:46:54 +0000 (21:46 +0000)]
Fixed: 500 error on issue query grouped by a custom field that was deleted (#7144).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4553 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoForce vertical scroll bar to avoid layout jump.
Jean-Philippe Lang [Tue, 21 Dec 2010 17:59:38 +0000 (17:59 +0000)]
Force vertical scroll bar to avoid layout jump.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4552 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoBroken links on wiki diff view.
Jean-Philippe Lang [Mon, 20 Dec 2010 22:33:44 +0000 (22:33 +0000)]
Broken links on wiki diff view.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4551 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoPrevents n SQL queries (n = project count) on cross-project issues list.
Jean-Philippe Lang [Mon, 20 Dec 2010 20:03:22 +0000 (20:03 +0000)]
Prevents n SQL queries (n = project count) on cross-project issues list.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4550 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixes valid revision regexp.
Jean-Philippe Lang [Mon, 20 Dec 2010 18:47:54 +0000 (18:47 +0000)]
Fixes valid revision regexp.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4549 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoAdds missing fixtures when running tests from scratch.
Jean-Philippe Lang [Mon, 20 Dec 2010 18:30:36 +0000 (18:30 +0000)]
Adds missing fixtures when running tests from scratch.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4548 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixes task description.
Jean-Philippe Lang [Mon, 20 Dec 2010 18:24:49 +0000 (18:24 +0000)]
Fixes task description.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4547 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoAdds tasks to run scm tests: test:scm:units, test:scm:functionals and test:scm.
Jean-Philippe Lang [Mon, 20 Dec 2010 18:24:24 +0000 (18:24 +0000)]
Adds tasks to run scm tests: test:scm:units, test:scm:functionals and test:scm.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4546 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoAdds routing tests for users and xml format.
Jean-Philippe Lang [Mon, 20 Dec 2010 18:06:14 +0000 (18:06 +0000)]
Adds routing tests for users and xml format.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4545 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoAdds support for requesting information about current user using /users/current ...
Jean-Philippe Lang [Mon, 20 Dec 2010 17:45:09 +0000 (17:45 +0000)]
Adds support for requesting information about current user using /users/current (#7141).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4544 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRestore rev param validation that was removed in r2840.
Jean-Philippe Lang [Sat, 18 Dec 2010 18:37:49 +0000 (18:37 +0000)]
Restore rev param validation that was removed in r2840.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4542 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixes mercurial adapter.
Jean-Philippe Lang [Sat, 18 Dec 2010 18:35:37 +0000 (18:35 +0000)]
Fixes mercurial adapter.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4541 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixed that some arguments where not properly escaped in scm adapters.
Jean-Philippe Lang [Sat, 18 Dec 2010 18:12:12 +0000 (18:12 +0000)]
Fixed that some arguments where not properly escaped in scm adapters.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4539 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoAdds tests for class attribute parsing on pre/code tags.
Jean-Philippe Lang [Sat, 18 Dec 2010 17:21:57 +0000 (17:21 +0000)]
Adds tests for class attribute parsing on pre/code tags.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4537 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixes a data disclosure issue introduced in r3941.
Jean-Philippe Lang [Sat, 18 Dec 2010 17:11:41 +0000 (17:11 +0000)]
Fixes a data disclosure issue introduced in r3941.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4535 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoPorted subtasks display with indentation to the new gantt (#7128) and fixed markers...
Jean-Philippe Lang [Sat, 18 Dec 2010 16:06:20 +0000 (16:06 +0000)]
Ported subtasks display with indentation to the new gantt (#7128) and fixed markers alignment.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4534 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoSort versions drop down on the bulk edit form.
Jean-Philippe Lang [Sat, 18 Dec 2010 14:14:04 +0000 (14:14 +0000)]
Sort versions drop down on the bulk edit form.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4533 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixed: issue description Quote button lost by r3941 (#7122).
Jean-Philippe Lang [Sat, 18 Dec 2010 13:40:50 +0000 (13:40 +0000)]
Fixed: issue description Quote button lost by r3941 (#7122).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4530 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixed: r4492 breaks the ability to select issue custom fields available for projects...
Jean-Philippe Lang [Fri, 17 Dec 2010 16:10:46 +0000 (16:10 +0000)]
Fixed: r4492 breaks the ability to select issue custom fields available for projects issues (#7121).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4529 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoAdds a css class for gantt subjects.
Jean-Philippe Lang [Fri, 17 Dec 2010 15:25:07 +0000 (15:25 +0000)]
Adds a css class for gantt subjects.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4528 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoGantt code cleaning.
Jean-Philippe Lang [Fri, 17 Dec 2010 15:21:38 +0000 (15:21 +0000)]
Gantt code cleaning.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4527 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoGantt code cleanup.
Jean-Philippe Lang [Fri, 17 Dec 2010 14:59:32 +0000 (14:59 +0000)]
Gantt code cleanup.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4526 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoGantt: make the png looks more like html.
Jean-Philippe Lang [Fri, 17 Dec 2010 14:53:30 +0000 (14:53 +0000)]
Gantt: make the png looks more like html.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4525 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoGantt: make the pdf looks more like html.
Jean-Philippe Lang [Fri, 17 Dec 2010 14:37:51 +0000 (14:37 +0000)]
Gantt: make the pdf looks more like html.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4524 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoGantt code cleanup.
Jean-Philippe Lang [Fri, 17 Dec 2010 14:05:43 +0000 (14:05 +0000)]
Gantt code cleanup.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4523 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoGantt code cleanup.
Jean-Philippe Lang [Fri, 17 Dec 2010 13:40:25 +0000 (13:40 +0000)]
Gantt code cleanup.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4522 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoGantt code cleanup.
Jean-Philippe Lang [Fri, 17 Dec 2010 12:41:54 +0000 (12:41 +0000)]
Gantt code cleanup.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4521 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoGantt: fixes progress width in some cases and start code cleaning.
Jean-Philippe Lang [Fri, 17 Dec 2010 12:24:11 +0000 (12:24 +0000)]
Gantt: fixes progress width in some cases and start code cleaning.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4520 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoAdds missing strings in locales.
Jean-Philippe Lang [Fri, 17 Dec 2010 09:14:54 +0000 (09:14 +0000)]
Adds missing strings in locales.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4519 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoConverts translations to the new i18n interpolation format (#6495).
Jean-Philippe Lang [Fri, 17 Dec 2010 08:50:13 +0000 (08:50 +0000)]
Converts translations to the new i18n interpolation format (#6495).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4518 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoLocales update before changing interpolation format.
Jean-Philippe Lang [Fri, 17 Dec 2010 08:40:15 +0000 (08:40 +0000)]
Locales update before changing interpolation format.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4517 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoManually require i18n 0.4.2 before Rails tries to load the most recent gem (#7013).
Jean-Philippe Lang [Fri, 17 Dec 2010 08:34:29 +0000 (08:34 +0000)]
Manually require i18n 0.4.2 before Rails tries to load the most recent gem (#7013).

This workaround makes Redmine work even if i18n 0.5.0 gem is installed.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4516 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoSkip a few SQL queries for cross project gantt.
Jean-Philippe Lang [Wed, 15 Dec 2010 21:26:51 +0000 (21:26 +0000)]
Skip a few SQL queries for cross project gantt.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4515 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoLocales update.
Jean-Philippe Lang [Wed, 15 Dec 2010 21:18:28 +0000 (21:18 +0000)]
Locales update.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4514 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoAdds an application setting to limit the number of items that can be displayed on...
Jean-Philippe Lang [Wed, 15 Dec 2010 21:18:06 +0000 (21:18 +0000)]
Adds an application setting to limit the number of items that can be displayed on the gantt chart (#6276).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4513 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoAdds journal created_on attribute to issue API (#7111).
Jean-Philippe Lang [Tue, 14 Dec 2010 19:03:17 +0000 (19:03 +0000)]
Adds journal created_on attribute to issue API (#7111).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4512 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixed: 404 when entering time with blank issue id (#7099).
Jean-Philippe Lang [Tue, 14 Dec 2010 18:29:24 +0000 (18:29 +0000)]
Fixed: 404 when entering time with blank issue id (#7099).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4511 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoSet encoding to utf-8 for ruby 1.9 compatibility. #4050
Jean-Baptiste Barth [Sun, 12 Dec 2010 23:24:45 +0000 (23:24 +0000)]
Set encoding to utf-8 for ruby 1.9 compatibility. #4050

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4510 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoUse absolute paths in test/**/* requires for Ruby 1.9.2 compatibility. #4050
Jean-Baptiste Barth [Sun, 12 Dec 2010 23:24:34 +0000 (23:24 +0000)]
Use absolute paths in test/**/* requires for Ruby 1.9.2 compatibility. #4050

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4509 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixed bad html generated in users/memberships partial (multiple </tbody> tags)
Jean-Baptiste Barth [Sun, 12 Dec 2010 21:21:57 +0000 (21:21 +0000)]
Fixed bad html generated in users/memberships partial (multiple </tbody> tags)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4508 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixes tests after fixtures changes.
Jean-Philippe Lang [Sun, 12 Dec 2010 19:43:15 +0000 (19:43 +0000)]
Fixes tests after fixtures changes.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4507 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRestores the issue description label (#6677).
Jean-Philippe Lang [Sun, 12 Dec 2010 17:12:05 +0000 (17:12 +0000)]
Restores the issue description label (#6677).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4506 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRefactor and add tests for News #index API (#7072).
Jean-Philippe Lang [Sun, 12 Dec 2010 17:00:52 +0000 (17:00 +0000)]
Refactor and add tests for News #index API (#7072).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4505 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoUse GET instead of POST to retrieve context menu (#6762).
Jean-Philippe Lang [Sun, 12 Dec 2010 16:26:24 +0000 (16:26 +0000)]
Use GET instead of POST to retrieve context menu (#6762).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4504 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoMake sure there's no nil result in auto_complete.
Jean-Philippe Lang [Sun, 12 Dec 2010 16:06:43 +0000 (16:06 +0000)]
Make sure there's no nil result in auto_complete.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4503 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoAutocomplete issue relations on subject (#3170).
Jean-Philippe Lang [Sun, 12 Dec 2010 16:04:28 +0000 (16:04 +0000)]
Autocomplete issue relations on subject (#3170).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4502 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoUsersController tests cleanup.
Jean-Philippe Lang [Sun, 12 Dec 2010 15:34:35 +0000 (15:34 +0000)]
UsersController tests cleanup.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4501 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixes password sending when creating user.
Jean-Philippe Lang [Sun, 12 Dec 2010 15:26:55 +0000 (15:26 +0000)]
Fixes password sending when creating user.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4500 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoExtracts user groups assignment from controller.
Jean-Philippe Lang [Sun, 12 Dec 2010 15:13:34 +0000 (15:13 +0000)]
Extracts user groups assignment from controller.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4499 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixes test according to r4493.
Jean-Philippe Lang [Sun, 12 Dec 2010 14:43:55 +0000 (14:43 +0000)]
Fixes test according to r4493.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4498 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoCode cleanup.
Jean-Philippe Lang [Sun, 12 Dec 2010 14:25:23 +0000 (14:25 +0000)]
Code cleanup.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4497 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoMoves mail_notification param to user hash param so that it can be set using the...
Jean-Philippe Lang [Sun, 12 Dec 2010 14:19:24 +0000 (14:19 +0000)]
Moves mail_notification param to user hash param so that it can be set using the User API.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4496 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRemoved no longer needed to_sym.
Jean-Philippe Lang [Sun, 12 Dec 2010 14:05:19 +0000 (14:05 +0000)]
Removed no longer needed to_sym.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4495 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoValidates user's mail_notification and turn options into strings (the attribute type).
Jean-Philippe Lang [Sun, 12 Dec 2010 14:02:39 +0000 (14:02 +0000)]
Validates user's mail_notification and turn options into strings (the attribute type).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4494 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoMoves password param to user hash param so that it can be set using the User API.
Jean-Philippe Lang [Sun, 12 Dec 2010 13:39:55 +0000 (13:39 +0000)]
Moves password param to user hash param so that it can be set using the User API.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4493 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoDeclare safe attributes for User and Projects models.
Jean-Philippe Lang [Sun, 12 Dec 2010 13:19:07 +0000 (13:19 +0000)]
Declare safe attributes for User and Projects models.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4492 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoMakes issue safe_attributes extensible (#6000).
Jean-Philippe Lang [Sun, 12 Dec 2010 13:11:53 +0000 (13:11 +0000)]
Makes issue safe_attributes extensible (#6000).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4491 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixes Changeset#text_tag for numeric scmid (#6681).
Jean-Philippe Lang [Sat, 11 Dec 2010 14:20:04 +0000 (14:20 +0000)]
Fixes Changeset#text_tag for numeric scmid (#6681).

Contributed by Toshi MARUYAMA.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4490 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoRestores object count and adds offset/limit attributes to API responses for paginated...
Jean-Philippe Lang [Sat, 11 Dec 2010 13:13:49 +0000 (13:13 +0000)]
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

13 years agoFixes duplicate custom_values fixture that caused failure with Postgresql.
Jean-Philippe Lang [Sat, 11 Dec 2010 10:47:00 +0000 (10:47 +0000)]
Fixes duplicate custom_values fixture that caused failure with Postgresql.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4488 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoFixes indentation.
Jean-Philippe Lang [Sat, 11 Dec 2010 10:24:58 +0000 (10:24 +0000)]
Fixes indentation.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4487 e93f8b46-1217-0410-a6f0-8f06a7374b81

13 years agoMakes some attributes optional in API response to get faster/lightweight responses.
Jean-Philippe Lang [Sat, 11 Dec 2010 10:19:11 +0000 (10:19 +0000)]
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

13 years agoFixes unsafe assertion that may cause failures.
Jean-Philippe Lang [Fri, 10 Dec 2010 17:40:33 +0000 (17:40 +0000)]
Fixes unsafe assertion that may cause failures.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4485 e93f8b46-1217-0410-a6f0-8f06a7374b81