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

13 years agoAdds xml/json REST API for Users (#6260).
Jean-Philippe Lang [Fri, 3 Dec 2010 11:28:44 +0000 (11:28 +0000)]
Adds xml/json REST API for Users (#6260).

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

13 years agoAdds a builder-like template system for rendering xml and json API responses.
Jean-Philippe Lang [Fri, 3 Dec 2010 11:25:21 +0000 (11:25 +0000)]
Adds a builder-like template system for rendering xml and json API responses.

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

13 years agoAdd responders to UsersController.
Jean-Philippe Lang [Fri, 3 Dec 2010 09:39:56 +0000 (09:39 +0000)]
Add responders to UsersController.

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

13 years agoEscapes attachment ids in TracMigrate (#6996).
Jean-Philippe Lang [Mon, 29 Nov 2010 19:34:19 +0000 (19:34 +0000)]
Escapes attachment ids in TracMigrate (#6996).

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

13 years agoUpdates for 1.0.4 release.
Jean-Philippe Lang [Sun, 28 Nov 2010 12:46:54 +0000 (12:46 +0000)]
Updates for 1.0.4 release.

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

13 years agoAccept key auth for ProjectsController#show (#6841).
Jean-Philippe Lang [Sat, 27 Nov 2010 16:41:52 +0000 (16:41 +0000)]
Accept key auth for ProjectsController#show (#6841).

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

13 years agoAccept key auth for ProjectsController#destroy (#6841).
Jean-Philippe Lang [Sat, 27 Nov 2010 16:37:15 +0000 (16:37 +0000)]
Accept key auth for ProjectsController#destroy (#6841).

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

13 years agoAccept key auth for ProjectsController#update (#6841).
Jean-Philippe Lang [Sat, 27 Nov 2010 16:32:48 +0000 (16:32 +0000)]
Accept key auth for ProjectsController#update (#6841).

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

13 years agoAccept key auth for ProjectsController#create (#6841).
Jean-Philippe Lang [Sat, 27 Nov 2010 16:26:13 +0000 (16:26 +0000)]
Accept key auth for ProjectsController#create (#6841).

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

13 years agoPrevents validation error when adding a user to a group (#6457).
Jean-Philippe Lang [Sat, 27 Nov 2010 14:46:51 +0000 (14:46 +0000)]
Prevents validation error when adding a user to a group (#6457).

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

13 years agoReload themes so that new themes can be used without restarting Redmine (#5712).
Jean-Philippe Lang [Sat, 27 Nov 2010 14:06:11 +0000 (14:06 +0000)]
Reload themes so that new themes can be used without restarting Redmine (#5712).

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

13 years agoFixed: messages attachments/watchers are not deleted when deleting a project or forum...
Jean-Philippe Lang [Sat, 27 Nov 2010 12:42:11 +0000 (12:42 +0000)]
Fixed: messages attachments/watchers are not deleted when deleting a project or forum (#6966).

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

13 years agoFixed: Wiki#find_page should not be case sensitive because page title uniqueness...
Jean-Philippe Lang [Sat, 27 Nov 2010 11:14:28 +0000 (11:14 +0000)]
Fixed: Wiki#find_page should not be case sensitive because page title uniqueness is not (#6987).

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

13 years agoFixed: Missing template wiki/update.erb error introduced in r4272 (#6987).
Jean-Philippe Lang [Sat, 27 Nov 2010 10:34:44 +0000 (10:34 +0000)]
Fixed: Missing template wiki/update.erb error introduced in r4272 (#6987).

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

13 years agoFixed: Layout problem in workflow overview (#6990).
Jean-Philippe Lang [Sat, 27 Nov 2010 09:54:16 +0000 (09:54 +0000)]
Fixed: Layout problem in workflow overview (#6990).

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

14 years agoTranslation update
Azamat Hackimov [Thu, 25 Nov 2010 20:43:22 +0000 (20:43 +0000)]
Translation update
* es (#6973)

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

14 years agoReplaced hardcoded strings (KB) with i18n equivalent (number.human.storage_units...
Azamat Hackimov [Thu, 25 Nov 2010 20:27:44 +0000 (20:27 +0000)]
Replaced hardcoded strings (KB) with i18n equivalent (number.human.storage_units.units.kb)
Fixes #6740 finally

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

14 years agoFixed: new gantt chart discloses all private projects names (#6276).
Jean-Philippe Lang [Sun, 21 Nov 2010 14:57:53 +0000 (14:57 +0000)]
Fixed: new gantt chart discloses all private projects names (#6276).

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

14 years agoTranslation update
Azamat Hackimov [Sun, 21 Nov 2010 14:55:11 +0000 (14:55 +0000)]
Translation update
* bg (#6948)
* da (#6804)
* ja (#6814)
* ru
* sv (#6783)
* zh-TW (#6782)

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

14 years agoFixed: r4417 breaks MercurialAdapter with ruby 1.8.6 (#5117).
Jean-Philippe Lang [Sun, 21 Nov 2010 14:25:26 +0000 (14:25 +0000)]
Fixed: r4417 breaks MercurialAdapter with ruby 1.8.6 (#5117).

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

14 years agoFixed: gantt displays issues by date of creation.
Jean-Philippe Lang [Sun, 21 Nov 2010 13:54:26 +0000 (13:54 +0000)]
Fixed: gantt displays issues by date of creation.

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

14 years agoFixed: Broken pipe error when browsing subversion repository (#6860).
Jean-Philippe Lang [Sat, 20 Nov 2010 14:11:56 +0000 (14:11 +0000)]
Fixed: Broken pipe error when browsing subversion repository (#6860).

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

14 years agoFixed: MercurialAdapter.client_version depends on LANG environment variable (#5117).
Jean-Philippe Lang [Sat, 20 Nov 2010 14:04:22 +0000 (14:04 +0000)]
Fixed: MercurialAdapter.client_version depends on LANG environment variable (#5117).

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

14 years agoAdd assertions for #6929 in MailHandler tests.
Jean-Philippe Lang [Sat, 20 Nov 2010 10:35:05 +0000 (10:35 +0000)]
Add assertions for #6929 in MailHandler tests.

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

14 years agoFixed: submitting a non numerical parent task input creates a 500 error (#6932).
Jean-Philippe Lang [Sat, 20 Nov 2010 10:20:53 +0000 (10:20 +0000)]
Fixed: submitting a non numerical parent task input creates a 500 error (#6932).

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

14 years agoFixed: Migration from boolean to varchar fails on PostgreSQL 8.1 (#6943).
Jean-Philippe Lang [Sat, 20 Nov 2010 09:55:06 +0000 (09:55 +0000)]
Fixed: Migration from boolean to varchar fails on PostgreSQL 8.1 (#6943).

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

14 years agoFixed: links to edit/delete a news broken by r4214 (#6944).
Jean-Philippe Lang [Sat, 20 Nov 2010 09:38:54 +0000 (09:38 +0000)]
Fixed: links to edit/delete a news broken by r4214 (#6944).

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