OSDN Git Service

redminele/redmine.git
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

14 years agoAdds a test for emission address with phrase (#4855).
Jean-Philippe Lang [Wed, 17 Feb 2010 19:08:04 +0000 (19:08 +0000)]
Adds a test for emission address with phrase (#4855).

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

14 years agoFixed: unit tests broken by r3438 (#4860).
Jean-Philippe Lang [Wed, 17 Feb 2010 18:08:15 +0000 (18:08 +0000)]
Fixed: unit tests broken by r3438 (#4860).

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

14 years agoRefactor: extract an #authenticate_dn method in AuthSourceLdap
Eric Davis [Wed, 17 Feb 2010 16:35:35 +0000 (16:35 +0000)]
Refactor: extract an #authenticate_dn method in AuthSourceLdap

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

14 years agoConverted the REDMINE_SUPPORTED_SCM constant to a class
Eric Davis [Tue, 16 Feb 2010 22:41:59 +0000 (22:41 +0000)]
Converted the  REDMINE_SUPPORTED_SCM constant to a class

Now SCMs can be added or removed using a simple API, instead of being
hardcoded:

  Redmine::Scm::Base.add('ScmName')
  Redmine::Scm::Base.delete('ScmName')

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

14 years agoRefactor: Extract method from AuthSourceLdap#authenticate
Eric Davis [Tue, 16 Feb 2010 17:03:54 +0000 (17:03 +0000)]
Refactor: Extract method from AuthSourceLdap#authenticate

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

14 years agoAdded some tests for the LDAP authentication.
Eric Davis [Tue, 16 Feb 2010 16:40:50 +0000 (16:40 +0000)]
Added some tests for the LDAP authentication.

Includes an export of an LDAP database to use in testing.

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

14 years agoRefactor: Merged TrackersController#list and #index
Eric Davis [Mon, 15 Feb 2010 16:41:27 +0000 (16:41 +0000)]
Refactor: Merged TrackersController#list and #index

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

14 years agoRefactor: Merged AuthSourcesController#list and #index
Eric Davis [Mon, 15 Feb 2010 16:41:21 +0000 (16:41 +0000)]
Refactor: Merged AuthSourcesController#list and #index

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

14 years agoRefactor: Merged RolesController#list and #index
Eric Davis [Mon, 15 Feb 2010 16:41:16 +0000 (16:41 +0000)]
Refactor: Merged RolesController#list and #index

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

14 years agoTranslation updates
Azamat Hackimov [Sun, 14 Feb 2010 19:46:52 +0000 (19:46 +0000)]
Translation updates
* ja (#4783)
* ru (also fixes #4771)
* sv (#4818)
* zh-TW (#4837)

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

14 years agoChanges 2 png images.
Jean-Philippe Lang [Sun, 14 Feb 2010 13:13:16 +0000 (13:13 +0000)]
Changes 2 png images.

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

14 years agoAdds a few divs to the base layout (#871).
Jean-Philippe Lang [Sun, 14 Feb 2010 13:07:51 +0000 (13:07 +0000)]
Adds a few divs to the base layout (#871).

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

14 years agoRemoves duplicated LOC.
Jean-Philippe Lang [Sun, 14 Feb 2010 12:45:48 +0000 (12:45 +0000)]
Removes duplicated LOC.

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

14 years agoFixed: SystemStackError (stack level too deep) on Issue#attributes= after model reloa...
Jean-Philippe Lang [Sun, 14 Feb 2010 12:43:48 +0000 (12:43 +0000)]
Fixed: SystemStackError (stack level too deep) on Issue#attributes= after model reload (#4838).

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

14 years agoSlight forum styles changes.
Jean-Philippe Lang [Sun, 14 Feb 2010 11:52:12 +0000 (11:52 +0000)]
Slight forum styles changes.

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

14 years agoDo not include news author in emphasis tag.
Jean-Philippe Lang [Sun, 14 Feb 2010 11:49:29 +0000 (11:49 +0000)]
Do not include news author in emphasis tag.

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

14 years agoChanges SubversionAdapter to use ActiveSupport::XmlMini API for XML parsing.
Jean-Philippe Lang [Sat, 13 Feb 2010 13:58:05 +0000 (13:58 +0000)]
Changes SubversionAdapter to use ActiveSupport::XmlMini API for XML parsing.
This allows easy switching to one of the faster XML parsers supported by XmlMini (eg. libxml-ruby).

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

14 years agoAdds requirement for ruby version and tells that Rails is included in downloadable...
Jean-Philippe Lang [Sat, 13 Feb 2010 13:35:39 +0000 (13:35 +0000)]
Adds requirement for ruby version and tells that Rails is included in downloadable releases (#4836).

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

14 years agoAdds projects links (#4812).
Jean-Philippe Lang [Sat, 13 Feb 2010 10:32:06 +0000 (10:32 +0000)]
Adds projects links (#4812).

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

14 years agoRemoves a GIF image.
Jean-Philippe Lang [Sat, 13 Feb 2010 09:09:57 +0000 (09:09 +0000)]
Removes a GIF image.

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

14 years agoMinifies PNG images (#4819).
Jean-Philippe Lang [Sat, 13 Feb 2010 09:08:12 +0000 (09:08 +0000)]
Minifies PNG images (#4819).

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

14 years agoFixing locales, rake locales:update added extra whitespace to the line.
Eric Davis [Fri, 12 Feb 2010 22:08:08 +0000 (22:08 +0000)]
Fixing locales, rake locales:update added extra whitespace to the line.

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

14 years agoFixed a nil method error in Setting#value=
Eric Davis [Fri, 12 Feb 2010 22:08:02 +0000 (22:08 +0000)]
Fixed a nil method error in Setting#value=

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

14 years agoRemoved hard coded English string.
Eric Davis [Fri, 12 Feb 2010 19:15:39 +0000 (19:15 +0000)]
Removed hard coded English string.

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

14 years agoRefactor: Merged IssueStatusesController#list and #index.
Eric Davis [Fri, 12 Feb 2010 19:15:33 +0000 (19:15 +0000)]
Refactor: Merged IssueStatusesController#list and #index.

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

14 years agoFixed: div.task incorrectly wrapping on Gantt Chart (#4813).
Jean-Philippe Lang [Fri, 12 Feb 2010 18:43:39 +0000 (18:43 +0000)]
Fixed: div.task incorrectly wrapping on Gantt Chart (#4813).

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

14 years agoIssue relation: fixes error with postgres when entering a non-numeric id (#4820)...
Jean-Philippe Lang [Fri, 12 Feb 2010 18:35:31 +0000 (18:35 +0000)]
Issue relation: fixes error with postgres when entering a non-numeric id (#4820) + accept hash (#) before id.

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

14 years agoFixed: Project copy loses wiki pages hierarchy (#4797).
Jean-Philippe Lang [Thu, 11 Feb 2010 19:30:53 +0000 (19:30 +0000)]
Fixed: Project copy loses wiki pages hierarchy (#4797).

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

14 years agoLog failed user logins to the Rails logger
Eric Davis [Thu, 11 Feb 2010 18:25:38 +0000 (18:25 +0000)]
Log failed user logins to the Rails logger

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

14 years agoRefactored IssueStatus finder to a before_filter
Eric Davis [Thu, 11 Feb 2010 16:42:52 +0000 (16:42 +0000)]
Refactored IssueStatus finder to a before_filter

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

14 years agoAdds filter for system shared versions on the cross project issue list (#4792).
Jean-Philippe Lang [Wed, 10 Feb 2010 21:42:32 +0000 (21:42 +0000)]
Adds filter for system shared versions on the cross project issue list (#4792).

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

14 years agoFixed: roadmap show subprojects issues even if subprojects is unchecked (#4761).
Jean-Philippe Lang [Wed, 10 Feb 2010 21:29:31 +0000 (21:29 +0000)]
Fixed: roadmap show subprojects issues even if subprojects is unchecked (#4761).

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

14 years agoMakes use of format_version_name.
Jean-Philippe Lang [Wed, 10 Feb 2010 21:21:53 +0000 (21:21 +0000)]
Makes use of format_version_name.

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

14 years agoFixed: Duplicated project name for subproject version on gantt chart (#4775).
Jean-Philippe Lang [Wed, 10 Feb 2010 21:13:34 +0000 (21:13 +0000)]
Fixed: Duplicated project name for subproject version on gantt chart (#4775).

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

14 years agoFixed: parent project field doesn't include blank value when a member with 'add subpr...
Jean-Philippe Lang [Wed, 10 Feb 2010 20:38:23 +0000 (20:38 +0000)]
Fixed: parent project field doesn't include blank value when a member with 'add subproject' permission edits a child project (#4790).

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

14 years agoRefactor: inline the utility methods in ReportsController.
Eric Davis [Wed, 10 Feb 2010 16:59:58 +0000 (16:59 +0000)]
Refactor: inline the utility methods in ReportsController.

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

14 years agoSwitch to using the shoulda gem from gemcutter. #4573
Eric Davis [Wed, 10 Feb 2010 00:56:14 +0000 (00:56 +0000)]
Switch to using the shoulda gem from gemcutter. #4573

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

14 years agoFixed: Repository.fetch_changesets tries to fetch changesets for archived projects...
Jean-Philippe Lang [Tue, 9 Feb 2010 18:42:42 +0000 (18:42 +0000)]
Fixed: Repository.fetch_changesets tries to fetch changesets for archived projects (#4782).

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