]> source.dussan.org Git - redmine.git/log
redmine.git
14 years agoTranslation updates
Azamat Hackimov [Tue, 9 Mar 2010 21:02:11 +0000 (21:02 +0000)]
Translation updates
* ja (#4946)
* zh-TW (#4947)
* ru

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

14 years agoFixed: NoMethodError error on roadmap if no trackers are selected and a shared versio...
Jean-Philippe Lang [Mon, 8 Mar 2010 20:17:09 +0000 (20:17 +0000)]
Fixed: NoMethodError error on roadmap if no trackers are selected and a shared version is available (#5006).

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

14 years agoRefactor: Remove duplicated case statements.
Eric Davis [Mon, 8 Mar 2010 16:47:57 +0000 (16:47 +0000)]
Refactor: Remove duplicated case statements.

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

14 years agoRefactor: Extract similar logic in IssuesHelper#show_detail to a new method.
Eric Davis [Mon, 8 Mar 2010 16:47:52 +0000 (16:47 +0000)]
Refactor: Extract similar logic in IssuesHelper#show_detail to a new method.

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

14 years agoAdded unit tests for IssuesHelper#show_detail
Eric Davis [Mon, 8 Mar 2010 16:47:47 +0000 (16:47 +0000)]
Added unit tests for IssuesHelper#show_detail

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

14 years agoMoves scm adapters unit tests to a dedicated folder.
Jean-Philippe Lang [Sat, 6 Mar 2010 20:35:38 +0000 (20:35 +0000)]
Moves scm adapters unit tests to a dedicated folder.

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

14 years agoMakes test pass with Bazaar 2.1.0 (#5002).
Jean-Philippe Lang [Sat, 6 Mar 2010 20:14:09 +0000 (20:14 +0000)]
Makes test pass with Bazaar 2.1.0 (#5002).

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

14 years agoMoves ProjectsController#add_issue_category to IssueCategoriesController#new.
Jean-Philippe Lang [Sat, 6 Mar 2010 18:43:00 +0000 (18:43 +0000)]
Moves ProjectsController#add_issue_category to IssueCategoriesController#new.

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

14 years agoMoves ProjectsController#add_version to VersionsController#new.
Jean-Philippe Lang [Sat, 6 Mar 2010 18:25:01 +0000 (18:25 +0000)]
Moves ProjectsController#add_version to VersionsController#new.

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

14 years agoAdds context menu to the roadmap issue lists.
Jean-Philippe Lang [Sat, 6 Mar 2010 18:03:25 +0000 (18:03 +0000)]
Adds context menu to the roadmap issue lists.

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

14 years agoRemove double negative condition
Eric Davis [Fri, 5 Mar 2010 17:25:51 +0000 (17:25 +0000)]
Remove double negative condition

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

14 years agoRefactor: Moved the contents of #issue_update into Issue.
Eric Davis [Fri, 5 Mar 2010 17:11:50 +0000 (17:11 +0000)]
Refactor: Moved the contents of #issue_update into Issue.

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

14 years agoUnselect issues when clicking outside of the list.
Jean-Philippe Lang [Thu, 4 Mar 2010 19:09:14 +0000 (19:09 +0000)]
Unselect issues when clicking outside of the list.

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

14 years agoDo not disable text selection in the issue list.
Jean-Philippe Lang [Thu, 4 Mar 2010 19:06:33 +0000 (19:06 +0000)]
Do not disable text selection in the issue list.

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

14 years agoAdds an helper for creating the context menu.
Jean-Philippe Lang [Thu, 4 Mar 2010 19:02:57 +0000 (19:02 +0000)]
Adds an helper for creating the context menu.

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

14 years agoFixed: hard coded English string at the selection of issue watchers (#4982).
Jean-Philippe Lang [Thu, 4 Mar 2010 18:49:03 +0000 (18:49 +0000)]
Fixed: hard coded English string at the selection of issue watchers (#4982).

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

14 years agoRefactor: Replace @journal with @issue.current_journal
Eric Davis [Thu, 4 Mar 2010 16:18:51 +0000 (16:18 +0000)]
Refactor: Replace @journal with @issue.current_journal

This removes an instance variable in #issue_update which will let it be moved
to the Issue model.

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

14 years agoHide the main menu div if there isn't any items for it. #3259
Eric Davis [Thu, 4 Mar 2010 06:01:05 +0000 (06:01 +0000)]
Hide the main menu div if there isn't any items for it. #3259

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

14 years agoRefactor: Extract method
Eric Davis [Thu, 4 Mar 2010 05:33:54 +0000 (05:33 +0000)]
Refactor: Extract method

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

14 years agoRefactor: Extract method
Eric Davis [Thu, 4 Mar 2010 05:33:49 +0000 (05:33 +0000)]
Refactor: Extract method

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

14 years agoRefactor: Extract methods to before_filters
Eric Davis [Thu, 4 Mar 2010 05:33:45 +0000 (05:33 +0000)]
Refactor: Extract methods to before_filters

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

14 years agoRefactor: Split method
Eric Davis [Thu, 4 Mar 2010 05:33:40 +0000 (05:33 +0000)]
Refactor: Split method

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

14 years agoRefactor: Extract method
Eric Davis [Thu, 4 Mar 2010 05:33:35 +0000 (05:33 +0000)]
Refactor: Extract method

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

14 years agoRefactor: use the existing Issue#new_statuses_allowed_to method.
Eric Davis [Thu, 4 Mar 2010 00:58:52 +0000 (00:58 +0000)]
Refactor: use the existing Issue#new_statuses_allowed_to method.

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

14 years agoFixed: no email notification on new project/version file added (#4966).
Jean-Philippe Lang [Wed, 3 Mar 2010 21:32:41 +0000 (21:32 +0000)]
Fixed: no email notification on new project/version file added (#4966).

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

14 years agoFixes git annotate (#3832).
Jean-Philippe Lang [Wed, 3 Mar 2010 21:15:46 +0000 (21:15 +0000)]
Fixes git annotate (#3832).

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

14 years agoAdds hooks on login view (#4978).
Jean-Philippe Lang [Wed, 3 Mar 2010 20:21:05 +0000 (20:21 +0000)]
Adds hooks on login view (#4978).

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

14 years agoFilters collapsed by default for saved queries (#4623).
Jean-Philippe Lang [Wed, 3 Mar 2010 20:09:39 +0000 (20:09 +0000)]
Filters collapsed by default for saved queries (#4623).

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

14 years agoRefactor: Decouple failed attachments and the flash messages
Eric Davis [Wed, 3 Mar 2010 17:05:00 +0000 (17:05 +0000)]
Refactor: Decouple failed attachments and the flash messages

Attachment#attach_files will no longer need to return a flash message,
instead it will put unsaved attachments into object#unsaved_attachments
where the calling object can access them.

A utility method #render_attachment_warning_if_needed is included for setting
the standard flash warning.

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

14 years agoAdded test for when an attachment fails to save.
Eric Davis [Wed, 3 Mar 2010 17:04:55 +0000 (17:04 +0000)]
Added test for when an attachment fails to save.

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

14 years agoFixes destroying attachments if the update fails. (r2875 r3523)
Eric Davis [Wed, 3 Mar 2010 17:04:50 +0000 (17:04 +0000)]
Fixes destroying attachments if the update fails. (r2875 r3523)

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

14 years agoAllow multiple selected projects in #project_tree_options_for_select
Eric Davis [Wed, 3 Mar 2010 03:37:40 +0000 (03:37 +0000)]
Allow multiple selected projects in #project_tree_options_for_select

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

14 years agoFixed: error while deleting an in-use enumeration (#4970).
Jean-Philippe Lang [Tue, 2 Mar 2010 20:03:09 +0000 (20:03 +0000)]
Fixed: error while deleting an in-use enumeration (#4970).

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

14 years agoRefactor: Moved ApplicationController#attach_files to the Attachment model
Eric Davis [Tue, 2 Mar 2010 19:26:03 +0000 (19:26 +0000)]
Refactor: Moved ApplicationController#attach_files to the Attachment model

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

14 years agoFixes failing tests from r3521
Eric Davis [Tue, 2 Mar 2010 19:25:58 +0000 (19:25 +0000)]
Fixes failing tests from r3521

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

14 years agoFixes some context menu links broken by r3478.
Jean-Philippe Lang [Mon, 1 Mar 2010 20:54:55 +0000 (20:54 +0000)]
Fixes some context menu links broken by r3478.

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

14 years agoVerify issues are updated by HTTP PUT only. Regression from r3486.
Eric Davis [Mon, 1 Mar 2010 18:29:18 +0000 (18:29 +0000)]
Verify issues are updated by HTTP PUT only.  Regression from r3486.

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

14 years agoRefactor: Decouple building Issue and TimeEntry objects in #issue_update.
Eric Davis [Mon, 1 Mar 2010 17:40:54 +0000 (17:40 +0000)]
Refactor: Decouple building Issue and TimeEntry objects in #issue_update.

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

14 years agoAdds a test for not sending email without recipient (#4920).
Jean-Philippe Lang [Sun, 28 Feb 2010 17:18:21 +0000 (17:18 +0000)]
Adds a test for not sending email without recipient (#4920).

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

14 years agoFixed: Trac importer creates duplicate wiki records (#4743).
Jean-Philippe Lang [Sun, 28 Feb 2010 16:51:36 +0000 (16:51 +0000)]
Fixed: Trac importer creates duplicate wiki records (#4743).

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

14 years agoFixes bottom links placement in issue with associated changesets (#4883).
Jean-Philippe Lang [Sun, 28 Feb 2010 16:42:31 +0000 (16:42 +0000)]
Fixes bottom links placement in issue with associated changesets (#4883).

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

14 years agoFixed: Plugin generators should display help if no parameter is given (#4609).
Jean-Philippe Lang [Sun, 28 Feb 2010 12:15:47 +0000 (12:15 +0000)]
Fixed: Plugin generators should display help if no parameter is given (#4609).

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

14 years agoFixed: Git blame/annotate fails on moved files (#3832).
Jean-Philippe Lang [Sun, 28 Feb 2010 12:09:09 +0000 (12:09 +0000)]
Fixed: Git blame/annotate fails on moved files (#3832).

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

14 years agoAdds 'Blocked by' (#1755) and 'Duplicated by' relation types to the dropdown menu...
Jean-Philippe Lang [Sun, 28 Feb 2010 11:28:32 +0000 (11:28 +0000)]
Adds 'Blocked by' (#1755) and 'Duplicated by' relation types to the dropdown menu for new relations.

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

14 years agoFixed: attachments with the same name at the same time overwrite (#3691).
Jean-Philippe Lang [Sun, 28 Feb 2010 11:12:40 +0000 (11:12 +0000)]
Fixed: attachments with the same name at the same time overwrite (#3691).

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

14 years agoAllow project custom fields to be searchable (#4945).
Jean-Philippe Lang [Sun, 28 Feb 2010 10:55:24 +0000 (10:55 +0000)]
Allow project custom fields to be searchable (#4945).

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

14 years agoFixes a test failure due to a default custom field value.
Jean-Philippe Lang [Sun, 28 Feb 2010 10:48:35 +0000 (10:48 +0000)]
Fixes a test failure due to a default custom field value.

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

14 years agoAdds missing fixtures.
Jean-Philippe Lang [Sun, 28 Feb 2010 10:42:13 +0000 (10:42 +0000)]
Adds missing fixtures.

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

14 years agoUpdate for 0.9.3 release.
Jean-Philippe Lang [Sun, 28 Feb 2010 10:20:40 +0000 (10:20 +0000)]
Update for 0.9.3 release.

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

14 years agoAdds attachments upload on wiki edit form (#1223).
Jean-Philippe Lang [Sun, 28 Feb 2010 09:43:13 +0000 (09:43 +0000)]
Adds attachments upload on wiki edit form (#1223).

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

14 years agoFixed: journal details duplicated when an issue is saved twice (#3690).
Jean-Philippe Lang [Sun, 28 Feb 2010 09:21:12 +0000 (09:21 +0000)]
Fixed: journal details duplicated when an issue is saved twice (#3690).

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

14 years agoFixed: Wrong link when "http" not included in project "Homepage" link (#4944).
Jean-Philippe Lang [Sun, 28 Feb 2010 09:10:33 +0000 (09:10 +0000)]
Fixed: Wrong link when "http" not included in project "Homepage" link (#4944).

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

14 years agoRefactor: Extracted saving logic out of #update and into a utility method
Eric Davis [Fri, 26 Feb 2010 16:16:18 +0000 (16:16 +0000)]
Refactor: Extracted saving logic out of #update and into a utility method

Now #issue_update can be refactored and push to the Model(s) while keeping
the public interface (#update) clean.

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

14 years agoLink to the user from the wiki history view.
Jean-Philippe Lang [Fri, 26 Feb 2010 16:03:05 +0000 (16:03 +0000)]
Link to the user from the wiki history view.

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

14 years agoAdds a link to the user profile from the administration user edit screen (#4480).
Jean-Philippe Lang [Fri, 26 Feb 2010 16:01:04 +0000 (16:01 +0000)]
Adds a link to the user profile from the administration user edit screen (#4480).

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

14 years agoRemoves a useless assignment in Trac importer (#4931).
Jean-Philippe Lang [Fri, 26 Feb 2010 15:55:02 +0000 (15:55 +0000)]
Removes a useless assignment in Trac importer (#4931).

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

14 years agoLet administrators see locked user profiles.
Jean-Philippe Lang [Fri, 26 Feb 2010 15:50:16 +0000 (15:50 +0000)]
Let administrators see locked user profiles.

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

14 years agoMakes AuthSource.authenticate return a hash instead of an array.
Jean-Philippe Lang [Fri, 26 Feb 2010 09:13:12 +0000 (09:13 +0000)]
Makes AuthSource.authenticate return a hash instead of an array.

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

14 years agoTest that AuthSourceLdap#authenticate returns valid User attributes only.
Jean-Philippe Lang [Fri, 26 Feb 2010 08:50:37 +0000 (08:50 +0000)]
Test that AuthSourceLdap#authenticate returns valid User attributes only.

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

14 years agoMoves the LDAP test server to a fixture.
Jean-Philippe Lang [Fri, 26 Feb 2010 08:42:40 +0000 (08:42 +0000)]
Moves the LDAP test server to a fixture.

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

14 years agoAdds a sample test LDAP configuration file.
Jean-Philippe Lang [Fri, 26 Feb 2010 08:31:36 +0000 (08:31 +0000)]
Adds a sample test LDAP configuration file.

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

14 years agoUser model should not have to clean up LDAP attributes.
Jean-Philippe Lang [Fri, 26 Feb 2010 08:29:20 +0000 (08:29 +0000)]
User model should not have to clean up LDAP attributes.

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

14 years agoRefactor: Extracted the duplication from the last commit into a new method
Eric Davis [Thu, 25 Feb 2010 17:01:10 +0000 (17:01 +0000)]
Refactor: Extracted the duplication from the last commit into a new method

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

14 years agoRefactor: Move the updating of an Issue to the #update method.
Eric Davis [Thu, 25 Feb 2010 17:01:05 +0000 (17:01 +0000)]
Refactor: Move the updating of an Issue to the #update method.

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

14 years agoFix LDAP on the fly creation. The User object doesn't have a :dn attribute.
Eric Davis [Thu, 25 Feb 2010 16:19:55 +0000 (16:19 +0000)]
Fix LDAP on the fly creation.  The User object doesn't have a :dn attribute.

Fixes #4918 and adds a test for the behavior.

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

14 years agoOptimize: Only select the name when getting the module names.
Eric Davis [Thu, 25 Feb 2010 04:55:33 +0000 (04:55 +0000)]
Optimize: Only select the name when getting the module names.

This has speed up TimelogController#details by 100% with larger databases
(demo.redmine went from 4077ms down to 2085ms).

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

14 years agoFixed: changing user/roles of project member not possible without javascript (#4852)
Jean-Philippe Lang [Wed, 24 Feb 2010 21:23:20 +0000 (21:23 +0000)]
Fixed: changing user/roles of project member not possible without javascript (#4852)

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

14 years agoFixed: projects are referenced by id in search results.
Jean-Philippe Lang [Wed, 24 Feb 2010 21:08:08 +0000 (21:08 +0000)]
Fixed: projects are referenced by id in search results.

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

14 years agoMakes project identifiers searchable (#4897).
Jean-Philippe Lang [Wed, 24 Feb 2010 21:05:14 +0000 (21:05 +0000)]
Makes project identifiers searchable (#4897).

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

14 years agoRefactor: Start to extract IssuesController#edit into #update (REST).
Eric Davis [Wed, 24 Feb 2010 17:21:41 +0000 (17:21 +0000)]
Refactor: Start to extract IssuesController#edit into #update (REST).

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

14 years agoReduces spacing on the bulk edit form.
Jean-Philippe Lang [Tue, 23 Feb 2010 21:44:28 +0000 (21:44 +0000)]
Reduces spacing on the bulk edit form.

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

14 years agoBulk edit refactoring.
Jean-Philippe Lang [Tue, 23 Feb 2010 21:26:29 +0000 (21:26 +0000)]
Bulk edit refactoring.

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

14 years agoMove hardcoded calendar images to css classes.
Jean-Philippe Lang [Tue, 23 Feb 2010 21:10:15 +0000 (21:10 +0000)]
Move hardcoded calendar images to css classes.

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

14 years agoFixed view_issues_move_bottom hook arguments (#4893).
Jean-Philippe Lang [Tue, 23 Feb 2010 21:04:12 +0000 (21:04 +0000)]
Fixed view_issues_move_bottom hook arguments (#4893).

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

14 years agoRefactor: Extract Issue#bulk_edit from the IssuesController
Eric Davis [Tue, 23 Feb 2010 17:06:08 +0000 (17:06 +0000)]
Refactor: Extract Issue#bulk_edit from the IssuesController

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

14 years agoMoved the IssuesController routing tests to an integration test.
Eric Davis [Mon, 22 Feb 2010 18:15:07 +0000 (18:15 +0000)]
Moved the IssuesController routing tests to an integration test.

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

14 years agoAvoid unnecessary SQL queries when loading changesets.
Jean-Philippe Lang [Sun, 21 Feb 2010 14:43:45 +0000 (14:43 +0000)]
Avoid unnecessary SQL queries when loading changesets.

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

14 years agoMemorize commit authors to speed up changesets loading.
Jean-Philippe Lang [Sun, 21 Feb 2010 14:42:45 +0000 (14:42 +0000)]
Memorize commit authors to speed up changesets loading.

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

14 years agoAdds a missing index (speeds up changesets loading).
Jean-Philippe Lang [Sun, 21 Feb 2010 14:40:00 +0000 (14:40 +0000)]
Adds a missing index (speeds up changesets loading).

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

14 years agoTranslation updates
Azamat Hackimov [Sun, 21 Feb 2010 14:38:38 +0000 (14:38 +0000)]
Translation updates
* sv (#4846)
* ru (#4861)
* de (#4870)

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

14 years agoWraps changeset creation inside a single transation.
Jean-Philippe Lang [Sun, 21 Feb 2010 14:38:34 +0000 (14:38 +0000)]
Wraps changeset creation inside a single transation.

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

14 years agoRemoves --find-copies-harder git option to retrieve commits which was way to slow...
Jean-Philippe Lang [Sun, 21 Feb 2010 14:37:09 +0000 (14:37 +0000)]
Removes --find-copies-harder git option to retrieve commits which was way to slow (#4547).

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

14 years agoDo not query git for tags and branches multiple times per request.
Jean-Philippe Lang [Sat, 20 Feb 2010 13:35:22 +0000 (13:35 +0000)]
Do not query git for tags and branches multiple times per request.

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

14 years agoRemove invalid utf8 sequences from commit comments and author name (#4773).
Jean-Philippe Lang [Sat, 20 Feb 2010 11:24:41 +0000 (11:24 +0000)]
Remove invalid utf8 sequences from commit comments and author name (#4773).

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

14 years agoCleanup.
Jean-Philippe Lang [Sat, 20 Feb 2010 10:11:19 +0000 (10:11 +0000)]
Cleanup.

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

14 years agoFixed: Links in Forum mails should redirect to message, not topic (#4884).
Jean-Philippe Lang [Sat, 20 Feb 2010 10:07:53 +0000 (10:07 +0000)]
Fixed: Links in Forum mails should redirect to message, not topic (#4884).

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

14 years agoAdds a controller hook before issue move (#4850).
Jean-Philippe Lang [Fri, 19 Feb 2010 19:10:50 +0000 (19:10 +0000)]
Adds a controller hook before issue move (#4850).

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

14 years agoAdds a hook on issue move form (#4850).
Jean-Philippe Lang [Fri, 19 Feb 2010 19:10:21 +0000 (19:10 +0000)]
Adds a hook on issue move form (#4850).

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

14 years agoFixes INSTALL and UPGRADING steps order (#4848).
Jean-Philippe Lang [Fri, 19 Feb 2010 18:52:34 +0000 (18:52 +0000)]
Fixes INSTALL and UPGRADING steps order (#4848).

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

14 years agoRefactor: Extract #get_user_dn from AuthSourceLdap.
Eric Davis [Fri, 19 Feb 2010 17:00:49 +0000 (17:00 +0000)]
Refactor: Extract #get_user_dn from AuthSourceLdap.

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

14 years agoRefactor: extract AuthSourceLdap#search_attributes
Eric Davis [Fri, 19 Feb 2010 16:33:01 +0000 (16:33 +0000)]
Refactor: extract AuthSourceLdap#search_attributes

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

14 years agoEscaping in html email templates (#4874).
Jean-Philippe Lang [Thu, 18 Feb 2010 19:13:38 +0000 (19:13 +0000)]
Escaping in html email templates (#4874).

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

14 years agoFixed: Pound (#) followed by number with leading zero (0) removes leading zero when...
Jean-Philippe Lang [Thu, 18 Feb 2010 18:53:30 +0000 (18:53 +0000)]
Fixed: Pound (#) followed by number with leading zero (0) removes leading zero when rendered in wiki (#4872).

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

14 years agoRefactor: Rewrite authenticate_dn to use an implicit return.
Eric Davis [Thu, 18 Feb 2010 16:55:10 +0000 (16:55 +0000)]
Refactor: Rewrite authenticate_dn to use an implicit return.

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

14 years agoRefactor: Moved the check for an empty DN to authenticate_dn
Eric Davis [Thu, 18 Feb 2010 16:55:05 +0000 (16:55 +0000)]
Refactor: Moved the check for an empty DN to authenticate_dn

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

14 years agoAdded some common example email configs to email.yml.example (#3120)
Eric Davis [Thu, 18 Feb 2010 05:20:52 +0000 (05:20 +0000)]
Added some common example email configs to email.yml.example (#3120)

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

14 years agoFix an IndexError if all the :last menu items are deleted from a menu. #4718
Eric Davis [Thu, 18 Feb 2010 05:01:39 +0000 (05:01 +0000)]
Fix an IndexError if all the :last menu items are deleted from a menu. #4718

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

14 years agoFixed: Deselecting textile text formatting causes interning empty string errors ...
Jean-Philippe Lang [Wed, 17 Feb 2010 20:47:50 +0000 (20:47 +0000)]
Fixed: Deselecting textile text formatting causes interning empty string errors (#4867).

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

14 years agoMove SQL LIKE tokens to acts_as_searchable.
Jean-Philippe Lang [Wed, 17 Feb 2010 20:20:51 +0000 (20:20 +0000)]
Move SQL LIKE tokens to acts_as_searchable.

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

14 years agoMakes search providers extensible (#3936).
Jean-Philippe Lang [Wed, 17 Feb 2010 20:05:51 +0000 (20:05 +0000)]
Makes search providers extensible (#3936).

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