]> source.dussan.org Git - redmine.git/log
redmine.git
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

13 years agoDo not try to copy relations for issues that could not be copied.
Jean-Philippe Lang [Fri, 10 Dec 2010 17:37:24 +0000 (17:37 +0000)]
Do not try to copy relations for issues that could not be copied.

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

13 years agoChanges the representation of journal details in issue API.
Jean-Philippe Lang [Fri, 10 Dec 2010 12:22:37 +0000 (12:22 +0000)]
Changes the representation of journal details in issue API.

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

13 years agoFixes a fixture with valid attributes (start_date < due_date).
Jean-Philippe Lang [Fri, 10 Dec 2010 11:06:21 +0000 (11:06 +0000)]
Fixes a fixture with valid attributes (start_date < due_date).

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

13 years agoSupport for updating custom fields using the received custom_fields array (#6345...
Jean-Philippe Lang [Fri, 10 Dec 2010 10:48:16 +0000 (10:48 +0000)]
Support for updating custom fields using the received custom_fields array (#6345, #6403).

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

13 years agoFixed: error when serializing back objects with custom fields using ActiveResource...
Jean-Philippe Lang [Fri, 10 Dec 2010 10:12:19 +0000 (10:12 +0000)]
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

13 years agoAdd tests for wiki edit notifications (#7024).
Jean-Philippe Lang [Tue, 7 Dec 2010 22:07:55 +0000 (22:07 +0000)]
Add tests for wiki edit notifications (#7024).

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

13 years agoSelect projects with issue_tracking module for gantt display and remove the nil start...
Jean-Philippe Lang [Tue, 7 Dec 2010 19:42:36 +0000 (19:42 +0000)]
Select projects with issue_tracking module for gantt display and remove the nil start/due dates trick.

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

13 years agoGantt: Avoid unnecessary queries before rendering.
Jean-Philippe Lang [Tue, 7 Dec 2010 19:29:47 +0000 (19:29 +0000)]
Gantt: Avoid unnecessary queries before rendering.

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

13 years agoGantt: fixes position of line in pdf (#6348).
Jean-Philippe Lang [Tue, 7 Dec 2010 18:57:46 +0000 (18:57 +0000)]
Gantt: fixes position of line in pdf (#6348).

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

13 years agoFixes gantt PDF pagination problem (#6348).
Jean-Philippe Lang [Tue, 7 Dec 2010 18:53:15 +0000 (18:53 +0000)]
Fixes gantt PDF pagination problem (#6348).

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

13 years agoGantt: view cleanup.
Jean-Philippe Lang [Tue, 7 Dec 2010 18:41:50 +0000 (18:41 +0000)]
Gantt: view cleanup.

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

13 years agoGantt: iterate over all objects only once for html and pdf rendering (#6348).
Jean-Philippe Lang [Tue, 7 Dec 2010 18:40:34 +0000 (18:40 +0000)]
Gantt: iterate over all objects only once for html and pdf rendering (#6348).

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

13 years agoUpdated locales.
Jean-Philippe Lang [Sun, 5 Dec 2010 11:45:39 +0000 (11:45 +0000)]
Updated locales.

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

13 years agoAutomatic spent time logging from commit messages (#4155).
Jean-Philippe Lang [Sun, 5 Dec 2010 11:45:09 +0000 (11:45 +0000)]
Automatic spent time logging from commit messages (#4155).

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

13 years agoChanges russian CSV separator to ; (#7035).
Jean-Philippe Lang [Sun, 5 Dec 2010 10:15:55 +0000 (10:15 +0000)]
Changes russian CSV separator to ; (#7035).

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

13 years agoFixed: class attribute with spaces on pre tags truncated (#7033).
Jean-Philippe Lang [Sun, 5 Dec 2010 10:09:18 +0000 (10:09 +0000)]
Fixed: class attribute with spaces on pre tags truncated (#7033).

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

13 years agoSafer code in IssueRelation (#7018).
Jean-Philippe Lang [Sat, 4 Dec 2010 18:10:02 +0000 (18:10 +0000)]
Safer code in IssueRelation (#7018).

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

13 years agoAdds a pseudo format to api template names and overrides ActionController#default_tem...
Jean-Philippe Lang [Sat, 4 Dec 2010 17:43:39 +0000 (17:43 +0000)]
Adds a pseudo format to api template names and overrides ActionController#default_template so that api templates are chosen automatically.

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

13 years agoAdds subtasks to GET /issues/:id API (#5338).
Jean-Philippe Lang [Sat, 4 Dec 2010 13:02:14 +0000 (13:02 +0000)]
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

13 years agoFixes unhandled case in json builder.
Jean-Philippe Lang [Sat, 4 Dec 2010 11:20:20 +0000 (11:20 +0000)]
Fixes unhandled case in json builder.

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

13 years agoFixes unhandled case in json builder.
Jean-Philippe Lang [Sat, 4 Dec 2010 10:41:31 +0000 (10:41 +0000)]
Fixes unhandled case in json builder.

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

13 years agoFixes test failure in r4461.
Jean-Philippe Lang [Sat, 4 Dec 2010 10:40:44 +0000 (10:40 +0000)]
Fixes test failure in r4461.

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

13 years agoAdds REST API for TimeEntries (#6823).
Jean-Philippe Lang [Sat, 4 Dec 2010 10:13:15 +0000 (10:13 +0000)]
Adds REST API for TimeEntries (#6823).

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

13 years agoMoves project attributes default assignments from ProjectsController#new to the model...
Jean-Philippe Lang [Fri, 3 Dec 2010 16:15:16 +0000 (16:15 +0000)]
Moves project attributes default assignments from ProjectsController#new to the model (#6064).

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

13 years agoPrevents random failure in XmlTest.
Jean-Philippe Lang [Fri, 3 Dec 2010 14:09:33 +0000 (14:09 +0000)]
Prevents random failure in XmlTest.

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

13 years agoConverts IssuesController to use the new API template system and makes xml/json respo...
Jean-Philippe Lang [Fri, 3 Dec 2010 13:52:07 +0000 (13:52 +0000)]
Converts IssuesController to use the new API template system and makes xml/json responses consistent (#6136).

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

13 years agoProjects API tests rewriting.
Jean-Philippe Lang [Fri, 3 Dec 2010 12:49:07 +0000 (12:49 +0000)]
Projects API tests rewriting.

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

13 years agoConverts ProjectsController to use the new API template system.
Jean-Philippe Lang [Fri, 3 Dec 2010 12:06:14 +0000 (12:06 +0000)]
Converts ProjectsController to use the new API template system.

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

13 years agoAdds a reusable method to render API response on validation failure.
Jean-Philippe Lang [Fri, 3 Dec 2010 11:51:06 +0000 (11:51 +0000)]
Adds a reusable method to render API response on validation failure.

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

13 years agoDry Users API responders.
Jean-Philippe Lang [Fri, 3 Dec 2010 11:45:55 +0000 (11:45 +0000)]
Dry Users API responders.

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