]> source.dussan.org Git - redmine.git/log
redmine.git
15 years agoFixed: When logging in via an autologin cookie the user's last_login_on should be...
Jean-Philippe Lang [Wed, 25 Feb 2009 14:59:33 +0000 (14:59 +0000)]
Fixed: When logging in via an autologin cookie the user's last_login_on should be updated (#2820).

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

15 years agoAdds missing time format in locales (#2831).
Jean-Philippe Lang [Wed, 25 Feb 2009 09:41:58 +0000 (09:41 +0000)]
Adds missing time format in locales (#2831).

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

15 years agoFixing Plugin and Mailer default_url_options.
Eric Davis [Wed, 25 Feb 2009 07:25:01 +0000 (07:25 +0000)]
Fixing Plugin and Mailer default_url_options.

Both the plugin hooks and Mailer were setting default_url_options incorrectly
and causing ActionContoller::UrlWritter to cache the settings on the module
(mattr_accessor) causing several url generators to fail in either the plugin
hooks or the Mailer.

* Replaced Mailer's use of the default_url_options accessor with the proper class method
* Replaced Hook's use of the default_url_options accessor with the proper class method on the ViewListener class
* Added a test to reproduce the bugs in the Mailer when a hook is registered (thanks Chaoqun Zou)

  #2542

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

15 years agoFixed that MailHandler#plain_text_body was returning nil if there was nothing to...
Jean-Philippe Lang [Mon, 23 Feb 2009 17:35:16 +0000 (17:35 +0000)]
Fixed that MailHandler#plain_text_body was returning nil if there was nothing to strip (#2814).

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

15 years agoSort changesets in the same order as comments on the issue details view (#1546).
Jean-Philippe Lang [Sun, 22 Feb 2009 15:16:18 +0000 (15:16 +0000)]
Sort changesets in the same order as comments on the issue details view (#1546).

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

15 years agoPatch ActiveRecord::Errors#full_messages so that it contains custom values error...
Jean-Philippe Lang [Sun, 22 Feb 2009 14:46:32 +0000 (14:46 +0000)]
Patch ActiveRecord::Errors#full_messages so that it contains custom values error messages.

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

15 years agoFixed: visited links to closed tickets are not striked through with IE6 (#2615).
Jean-Philippe Lang [Sun, 22 Feb 2009 11:22:23 +0000 (11:22 +0000)]
Fixed: visited links to closed tickets are not striked through with IE6 (#2615).

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

15 years agoSlight changes to the files list (#2658, #2806).
Jean-Philippe Lang [Sun, 22 Feb 2009 11:04:17 +0000 (11:04 +0000)]
Slight changes to the files list (#2658, #2806).

* Adds a link to the version
* Moves styles to the stylesheet
* Indent the files

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

15 years agoNew shiny locale config update - pt-BR (thank to Alexandre da Silva, #2802)
Azamat Hackimov [Sat, 21 Feb 2009 19:20:49 +0000 (19:20 +0000)]
New shiny locale config update - pt-BR (thank to Alexandre da Silva, #2802)

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

15 years agoChanges default english date/time formats.
Jean-Philippe Lang [Sat, 21 Feb 2009 16:44:56 +0000 (16:44 +0000)]
Changes default english date/time formats.

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

15 years agoTranslation update (#2798).
Jean-Philippe Lang [Sat, 21 Feb 2009 16:41:31 +0000 (16:41 +0000)]
Translation update (#2798).

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

15 years agoAdding more missing strings.
Jean-Philippe Lang [Sat, 21 Feb 2009 16:25:38 +0000 (16:25 +0000)]
Adding more missing strings.

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

15 years agoMakes the default issue list columns selection look like other multi-checkbox fieldsets.
Jean-Philippe Lang [Sat, 21 Feb 2009 16:15:44 +0000 (16:15 +0000)]
Makes the default issue list columns selection look like other multi-checkbox fieldsets.

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

15 years agoAdds missing strings.
Jean-Philippe Lang [Sat, 21 Feb 2009 16:10:51 +0000 (16:10 +0000)]
Adds missing strings.

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

15 years agoLimit the size of repository files displayed inline too.
Jean-Philippe Lang [Sat, 21 Feb 2009 16:04:51 +0000 (16:04 +0000)]
Limit the size of repository files displayed inline too.

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

15 years agoFixes new setting name.
Jean-Philippe Lang [Sat, 21 Feb 2009 15:44:00 +0000 (15:44 +0000)]
Fixes new setting name.

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

15 years agoAdds a setting to limit the size of text attachments that can be displayed by the...
Jean-Philippe Lang [Sat, 21 Feb 2009 15:34:11 +0000 (15:34 +0000)]
Adds a setting to limit the size of text attachments that can be displayed by the file viewer (default set to 512KB). Larger files are sent for download.

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

15 years agoProcess all translations files.
Jean-Philippe Lang [Sat, 21 Feb 2009 15:21:31 +0000 (15:21 +0000)]
Process all translations files.

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

15 years agoAdds locales:update task as a replacement for gloc:update.
Jean-Philippe Lang [Sat, 21 Feb 2009 15:11:09 +0000 (15:11 +0000)]
Adds locales:update task as a replacement for gloc:update.

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

15 years agoAdd missing 'support' section to he and it locales.
Jean-Philippe Lang [Sat, 21 Feb 2009 14:10:46 +0000 (14:10 +0000)]
Add missing 'support' section to he and it locales.

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

15 years agoDo not show the changed files list on the revision page if the user is not allowed...
Jean-Philippe Lang [Sat, 21 Feb 2009 12:58:18 +0000 (12:58 +0000)]
Do not show the changed files list on the revision page if the user is not allowed to browse the repository (#2762).

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

15 years agoMoves project menu tests to a dedicated integration test.
Jean-Philippe Lang [Sat, 21 Feb 2009 12:28:19 +0000 (12:28 +0000)]
Moves project menu tests to a dedicated integration test.

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

15 years agoFixes menu translation.
Jean-Philippe Lang [Sat, 21 Feb 2009 11:31:22 +0000 (11:31 +0000)]
Fixes menu translation.

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

15 years agoAdds rake config/initializers/session_store.rb to the install doc.
Jean-Philippe Lang [Sat, 21 Feb 2009 11:13:37 +0000 (11:13 +0000)]
Adds rake config/initializers/session_store.rb to the install doc.

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

15 years agoDeprecated truncate call.
Jean-Philippe Lang [Sat, 21 Feb 2009 11:10:34 +0000 (11:10 +0000)]
Deprecated truncate call.

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

15 years agoFixes UsersControllerTest.
Jean-Philippe Lang [Sat, 21 Feb 2009 11:07:22 +0000 (11:07 +0000)]
Fixes UsersControllerTest.

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

15 years agoMerged Rails 2.2 branch. Redmine now requires Rails 2.2.2.
Jean-Philippe Lang [Sat, 21 Feb 2009 11:04:50 +0000 (11:04 +0000)]
Merged Rails 2.2 branch. Redmine now requires Rails 2.2.2.

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

15 years agoRefactored the mess known as Hook default_url_options in favor of the simpler
Eric Davis [Sat, 21 Feb 2009 00:23:28 +0000 (00:23 +0000)]
Refactored the mess known as Hook default_url_options in favor of the simpler
:only_path as suggested by splatteal on GitHub.

  #2542

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

15 years agoImplementing the missing tests now that HookTest has a cleaner setup.
Eric Davis [Sat, 21 Feb 2009 00:23:22 +0000 (00:23 +0000)]
Implementing the missing tests now that HookTest has a cleaner setup.

Controller and Views are now tested through the Redmine::Hook::Helper module.

  #2542

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

15 years agoRefactored the HookTest methods to use Redmine::Hook::Helper instead
Eric Davis [Sat, 21 Feb 2009 00:23:16 +0000 (00:23 +0000)]
Refactored the HookTest methods to use Redmine::Hook::Helper instead
of the Redmine::Hook class directly.  Redmine::Hook::Helper is the
public API so it should be one that is tested.

  #2542

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

15 years agoList the Default Columns displayed on the issue list vertically
Eric Davis [Fri, 20 Feb 2009 22:59:59 +0000 (22:59 +0000)]
List the Default Columns displayed on the issue list vertically
instead of horizontally so it's easier to read.

  #2745

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

15 years agoAllow the other format links to appear on the issue list (ATOM, PDF, CSV).
Eric Davis [Fri, 20 Feb 2009 22:45:16 +0000 (22:45 +0000)]
Allow the other format links to appear on the issue list (ATOM, PDF, CSV).

  #2779

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

15 years agoFixes "too few arguments" error on activerecord error translation (#2626).
Jean-Philippe Lang [Fri, 20 Feb 2009 18:55:56 +0000 (18:55 +0000)]
Fixes "too few arguments" error on activerecord error translation (#2626).

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

15 years agoAdds (a maximum of 3) links to project ancestors in the page title (#2788).
Jean-Philippe Lang [Fri, 20 Feb 2009 18:34:57 +0000 (18:34 +0000)]
Adds (a maximum of 3) links to project ancestors in the page title (#2788).

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

15 years agoSend an email to the user when an administrator activates a registered user (#2656).
Jean-Philippe Lang [Fri, 20 Feb 2009 17:04:47 +0000 (17:04 +0000)]
Send an email to the user when an administrator activates a registered user (#2656).

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

15 years agoFixed the bug in the OpenID registration where the form wouldn't take a login
Eric Davis [Fri, 20 Feb 2009 00:31:50 +0000 (00:31 +0000)]
Fixed the bug in the OpenID registration where the form wouldn't take a login

AccountController#open_id_authenticate was adding an auth_source_registration
to the session which caused AccountController#register to use the wrong codepath.

  #2757

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

15 years agoFixed a bug in the OpenID login when a user signed up with OpenID but hasn't
Eric Davis [Fri, 20 Feb 2009 00:16:45 +0000 (00:16 +0000)]
Fixed a bug in the OpenID login when a user signed up with OpenID but hasn't
been activated yet.

When logging in the user would come back to the login page with the back_url
of My Page.  This was caused by open_id_authenticate sending the user to My Page
and My Page redirecting the user back to the login page because they haven't
been activated.

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

15 years agoFixes Setting.openid? (#2764).
Jean-Philippe Lang [Thu, 19 Feb 2009 21:03:08 +0000 (21:03 +0000)]
Fixes Setting.openid? (#2764).

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

15 years agotranslation updates: hu (#2737), sv (#2740), pl (#2741), pt-br (#2781)
Azamat Hackimov [Wed, 18 Feb 2009 19:20:56 +0000 (19:20 +0000)]
translation updates: hu (#2737), sv (#2740), pl (#2741), pt-br (#2781)

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

15 years agotranslation updates: zh, zh-tw (#2743, #2758), ru
Azamat Hackimov [Wed, 18 Feb 2009 19:15:10 +0000 (19:15 +0000)]
translation updates: zh, zh-tw (#2743, #2758), ru

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

15 years agoFixed: add group option to set the repository gid. Default is root (#2747)
Nicolas Chuche [Mon, 16 Feb 2009 19:33:43 +0000 (19:33 +0000)]
Fixed: add group option to set the repository gid. Default is root (#2747)

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

15 years agoFixed: User#identity_url raises an error when invalid url is supplied (#2742).
Jean-Philippe Lang [Sun, 15 Feb 2009 18:46:50 +0000 (18:46 +0000)]
Fixed: User#identity_url raises an error when invalid url is supplied (#2742).

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

15 years agoMakes the "type" field disabled when updating a custom field (#2744).
Jean-Philippe Lang [Sun, 15 Feb 2009 16:55:48 +0000 (16:55 +0000)]
Makes the "type" field disabled when updating a custom field (#2744).

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

15 years agoCreate a wiki with a default start page named 'Wiki' when enabling wiki module (...
Jean-Philippe Lang [Sun, 15 Feb 2009 16:43:06 +0000 (16:43 +0000)]
Create a wiki with a default start page named 'Wiki' when enabling wiki module (#2657).

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

15 years agoDo not DELETE/INSERT enabled_modules when updating project modules.
Jean-Philippe Lang [Sun, 15 Feb 2009 16:26:48 +0000 (16:26 +0000)]
Do not DELETE/INSERT enabled_modules when updating project modules.

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

15 years agoReplaces Enumeration.get_values and Enumeration.default with named scopes.
Jean-Philippe Lang [Sun, 15 Feb 2009 13:33:09 +0000 (13:33 +0000)]
Replaces Enumeration.get_values and Enumeration.default with named scopes.

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

15 years agoUpdates 0.8.1 CHANGELOG.
Jean-Philippe Lang [Sun, 15 Feb 2009 09:02:41 +0000 (09:02 +0000)]
Updates 0.8.1 CHANGELOG.

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

15 years agoRemoves invalid css class on issue details (#2753).
Jean-Philippe Lang [Sun, 15 Feb 2009 08:33:48 +0000 (08:33 +0000)]
Removes invalid css class on issue details (#2753).

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

15 years agoAdds an index on watchers table to speed up watched issue filtering.
Jean-Philippe Lang [Sat, 14 Feb 2009 19:06:44 +0000 (19:06 +0000)]
Adds an index on watchers table to speed up watched issue filtering.

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

15 years agoFixes headings style in html emails (#2739).
Jean-Philippe Lang [Sat, 14 Feb 2009 18:32:11 +0000 (18:32 +0000)]
Fixes headings style in html emails (#2739).

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

15 years agoTimelog is ignored when updating an issue if user is admin but not a project member...
Jean-Philippe Lang [Fri, 13 Feb 2009 17:59:45 +0000 (17:59 +0000)]
Timelog is ignored when updating an issue if user is admin but not a project member (#2717).

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

15 years agoRemoves invalid css class on issue details (#2733).
Jean-Philippe Lang [Fri, 13 Feb 2009 17:29:49 +0000 (17:29 +0000)]
Removes invalid css class on issue details (#2733).

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

15 years agoAdds watch/unwatch link on the issue context menu (#2730).
Jean-Philippe Lang [Thu, 12 Feb 2009 22:14:22 +0000 (22:14 +0000)]
Adds watch/unwatch link on the issue context menu (#2730).

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

15 years agoIssues pagination loses project param after applying or clearing filter (#2726).
Jean-Philippe Lang [Thu, 12 Feb 2009 22:01:20 +0000 (22:01 +0000)]
Issues pagination loses project param after applying or clearing filter (#2726).

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

15 years agoRemoves the fat ruby-openid gem. Simply use 'gem install ruby-openid' to enable openi...
Jean-Philippe Lang [Thu, 12 Feb 2009 21:25:50 +0000 (21:25 +0000)]
Removes the fat ruby-openid gem. Simply use 'gem install ruby-openid' to enable openid support.

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

15 years agoLink to watched issues list on my page.
Jean-Philippe Lang [Thu, 12 Feb 2009 17:38:36 +0000 (17:38 +0000)]
Link to watched issues list on my page.

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

15 years agoAdds ability to filter watched issues (#846).
Jean-Philippe Lang [Thu, 12 Feb 2009 17:35:57 +0000 (17:35 +0000)]
Adds ability to filter watched issues (#846).

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

15 years agoAdds missing strings (#699).
Jean-Philippe Lang [Thu, 12 Feb 2009 17:30:56 +0000 (17:30 +0000)]
Adds missing strings (#699).

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

15 years agoHide openid stuff on my account if disabled (#699).
Jean-Philippe Lang [Thu, 12 Feb 2009 17:19:32 +0000 (17:19 +0000)]
Hide openid stuff on my account if disabled (#699).

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

15 years agoNormalize the identity_url when it's set.
Eric Davis [Thu, 12 Feb 2009 04:31:28 +0000 (04:31 +0000)]
Normalize the identity_url when it's set.

OpenId uses a specific format for the url it uses which requires the protocol
and trailing slash.  This change will normalize the value to when a user sets it.

  #699

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

15 years agoFixed the bundled ruby-openid gem
Eric Davis [Thu, 12 Feb 2009 01:32:50 +0000 (01:32 +0000)]
Fixed the bundled ruby-openid gem

* The open_id_authentication plugin will require the gem automatically so
  it doesn't need to be added to environment.rb
* Changed the version requirement on the open_id_authentication to match
  the latest stable version.  Rails config.gem looks for a directory named
  after that specific version and will not load newer versions.

  #699

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

15 years agoSlight changes to the issue lists displayed on My page.
Jean-Philippe Lang [Wed, 11 Feb 2009 20:25:05 +0000 (20:25 +0000)]
Slight changes to the issue lists displayed on My page.

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

15 years agoAdded a space so words don't runtogeatherlikethis. #699
Eric Davis [Wed, 11 Feb 2009 19:45:53 +0000 (19:45 +0000)]
Added a space so words don't runtogeatherlikethis. #699

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

15 years agoAdded a system setting for allowing OpenID logins and registrations
Eric Davis [Wed, 11 Feb 2009 19:24:28 +0000 (19:24 +0000)]
Added a system setting for allowing OpenID logins and registrations

* Defaults to off
* Is set in the Administration panel under Authentication

  #699

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

15 years agoPrevent registration via OpenID if self registration is off. #699
Eric Davis [Wed, 11 Feb 2009 19:07:41 +0000 (19:07 +0000)]
Prevent registration via OpenID if self registration is off. #699

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

15 years agoRefactored common methods out of register and open_id_authenticate
Eric Davis [Wed, 11 Feb 2009 19:07:34 +0000 (19:07 +0000)]
Refactored common methods out of register and open_id_authenticate

* Extracted register_by_email_activation
* Extracted register_automatically
* Extracted register_manually_by_administrator

  #699

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

15 years agoAdded user setup needed based on the system's registration settings
Eric Davis [Wed, 11 Feb 2009 19:07:28 +0000 (19:07 +0000)]
Added user setup needed based on the system's registration settings

* Copied the register action's chunk of code used to setup the account
  based on Setting.self_registration
* Extracted method for when onthefly_creation_failed
* Added tests to confirm the behavior

  #699

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

15 years agoAdded tests for the other OpenID authentication cases. #699
Eric Davis [Wed, 11 Feb 2009 19:07:23 +0000 (19:07 +0000)]
Added tests for the other OpenID authentication cases.  #699

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

15 years agoAdding OpenID mock and test. #699
Eric Davis [Wed, 11 Feb 2009 19:07:18 +0000 (19:07 +0000)]
Adding OpenID mock and test. #699

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

15 years agoHooked up on the fly OpenID user creation.
Eric Davis [Wed, 11 Feb 2009 19:07:12 +0000 (19:07 +0000)]
Hooked up on the fly OpenID user creation.

* Use OpenID registration fields for the user.
* Generate a random password when a user is created.

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

15 years agoAdded the ability to login via OpenID.
Eric Davis [Wed, 11 Feb 2009 19:07:07 +0000 (19:07 +0000)]
Added the ability to login via OpenID.

* Refactored AccountController#login to use either
  password or openid based authentication
* Extracted AccountController#successful_authentication
  to setup a user's session cookies and redirect
* Implemented the start of AccountController#open_id_authentication
  which will check with the OpenID server and perform authentication.
* Added text field for the OpenID url to /login
* Added identity_url for OpenID to the user forms.
* Added option to login with OpenID to the register form.
* Added a root url route, which is used by the OpenID plugin

  #699

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

15 years agoFixed a bug in open_id_authentication, where relative_url_root is defined
Eric Davis [Wed, 11 Feb 2009 19:07:00 +0000 (19:07 +0000)]
Fixed a bug in open_id_authentication, where relative_url_root is defined
on ActionController:AbstractRequest not Base

  #699

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

15 years agoAdded identity_url to User. #699
Eric Davis [Wed, 11 Feb 2009 19:06:55 +0000 (19:06 +0000)]
Added identity_url to User. #699

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

15 years agoAdded OpenID tables. #699
Eric Davis [Wed, 11 Feb 2009 19:06:50 +0000 (19:06 +0000)]
Added OpenID tables. #699

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

15 years agoAdded open_id_authentication plugin
Eric Davis [Wed, 11 Feb 2009 19:06:45 +0000 (19:06 +0000)]
Added open_id_authentication plugin

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

15 years agoUnpacked OpenID gem. #699
Eric Davis [Wed, 11 Feb 2009 19:06:37 +0000 (19:06 +0000)]
Unpacked OpenID gem. #699

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

15 years agoLeave wiki links untouched if target project doesn't exist or have no wiki.
Jean-Philippe Lang [Tue, 10 Feb 2009 22:54:22 +0000 (22:54 +0000)]
Leave wiki links untouched if target project doesn't exist or have no wiki.

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

15 years agoReplaces the repositories management SOAP API with a simple REST API.
Jean-Philippe Lang [Tue, 10 Feb 2009 22:03:25 +0000 (22:03 +0000)]
Replaces the repositories management SOAP API with a simple REST API.
reposman usage is unchanged but the script now requires activeresource.
actionwebservice is now longer used and thus removed from plugins.

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

15 years agoFixes broken action url on time edit form (#2707).
Jean-Philippe Lang [Tue, 10 Feb 2009 17:18:19 +0000 (17:18 +0000)]
Fixes broken action url on time edit form (#2707).

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

15 years agoNew language - Macedonian (mk). Thank to Ilin Tatabitovski for work.
Azamat Hackimov [Tue, 10 Feb 2009 16:05:31 +0000 (16:05 +0000)]
New language - Macedonian (mk). Thank to Ilin Tatabitovski for work.

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

15 years agoTranslation updates (#2643, #2645, #2668)
Azamat Hackimov [Tue, 10 Feb 2009 15:57:52 +0000 (15:57 +0000)]
Translation updates (#2643, #2645, #2668)

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

15 years agoUpdated translations (#2577, #2640, #2644, #2652)
Azamat Hackimov [Tue, 10 Feb 2009 15:41:05 +0000 (15:41 +0000)]
Updated translations (#2577, #2640, #2644, #2652)

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

15 years agoRenamed variables to be more descriptive. #2542
Eric Davis [Tue, 10 Feb 2009 03:12:45 +0000 (03:12 +0000)]
Renamed variables to be more descriptive. #2542

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

15 years agoAdded request and controller objects to the hooks by default.
Eric Davis [Tue, 10 Feb 2009 03:12:40 +0000 (03:12 +0000)]
Added request and controller objects to the hooks by default.

The request and controller objects are now added to all hook contexts by
default.  This will also make url_for work better in hooks by setting up
the default_url_options :host, :port, and :protocol.

Finally a new helper method @render_or@ has been added to ViewListener.  This
will let a hook easily render a partial without a full method definition.

Thanks to Thomas Löber for the original patch.  #2542

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

15 years agoAdded two new plugin hooks:
Eric Davis [Tue, 10 Feb 2009 01:24:32 +0000 (01:24 +0000)]
Added two new plugin hooks:

* :view_layouts_base_sidebar
* :view_layouts_base_content

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

15 years agoAdded plugin hook :view_projects_roadmap_version_bottom. #2543
Eric Davis [Tue, 10 Feb 2009 01:18:49 +0000 (01:18 +0000)]
Added plugin hook :view_projects_roadmap_version_bottom.  #2543

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

15 years agoStrip keywords from received email body (#2436).
Jean-Philippe Lang [Mon, 9 Feb 2009 20:17:58 +0000 (20:17 +0000)]
Strip keywords from received email body (#2436).

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

15 years agoRemoves hardcoded table names (#2701).
Jean-Philippe Lang [Mon, 9 Feb 2009 17:24:06 +0000 (17:24 +0000)]
Removes hardcoded table names (#2701).

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

15 years agoFixed: TypeError (can't modify frozen string) on settings view (#2700).
Jean-Philippe Lang [Mon, 9 Feb 2009 17:18:41 +0000 (17:18 +0000)]
Fixed: TypeError (can't modify frozen string) on settings view (#2700).

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

15 years agoFixed: migration 98 breaks when using table name prefix.
Jean-Philippe Lang [Sun, 8 Feb 2009 17:24:39 +0000 (17:24 +0000)]
Fixed: migration 98 breaks when using table name prefix.

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

15 years agoFixed: path parameter is not an array when changing diff style (#2695), broken by...
Jean-Philippe Lang [Sat, 7 Feb 2009 20:11:03 +0000 (20:11 +0000)]
Fixed: path parameter is not an array when changing diff style (#2695), broken by r2317.

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

15 years agoFixed: inline attached image should not match partial filename (#2683).
Jean-Philippe Lang [Thu, 5 Feb 2009 20:25:01 +0000 (20:25 +0000)]
Fixed: inline attached image should not match partial filename (#2683).

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

15 years agoTypo in wiki link example (#2673).
Jean-Philippe Lang [Thu, 5 Feb 2009 17:43:49 +0000 (17:43 +0000)]
Typo in wiki link example (#2673).

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

15 years agoClosed issue are not overdue, fixes r2140 (#2337).
Jean-Philippe Lang [Tue, 3 Feb 2009 17:32:07 +0000 (17:32 +0000)]
Closed issue are not overdue, fixes r2140 (#2337).

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

15 years agoTypos/fixes in views (#2654).
Jean-Philippe Lang [Tue, 3 Feb 2009 17:15:59 +0000 (17:15 +0000)]
Typos/fixes in views (#2654).

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

15 years agoFixes message search eager loading (#2654).
Jean-Philippe Lang [Tue, 3 Feb 2009 17:13:37 +0000 (17:13 +0000)]
Fixes message search eager loading (#2654).

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

15 years agoAdds a 'box' div around news comment form (#2632).
Jean-Philippe Lang [Mon, 2 Feb 2009 17:34:12 +0000 (17:34 +0000)]
Adds a 'box' div around news comment form (#2632).

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

15 years agoInclude both version date and name when sorting issues by target version (#1502).
Jean-Philippe Lang [Sun, 1 Feb 2009 20:57:44 +0000 (20:57 +0000)]
Include both version date and name when sorting issues by target version (#1502).

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

15 years agoInclude both last and first name when sorting issues by assignee (#1841).
Jean-Philippe Lang [Sun, 1 Feb 2009 20:56:10 +0000 (20:56 +0000)]
Include both last and first name when sorting issues by assignee (#1841).

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

15 years agoAdds a setting to limit the number of revisions displayed on a repository file log...
Jean-Philippe Lang [Sun, 1 Feb 2009 19:54:50 +0000 (19:54 +0000)]
Adds a setting to limit the number of revisions displayed on a repository file log (default=100).

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