]> source.dussan.org Git - redmine.git/log
redmine.git
15 years agoDon't reveal issue subjects if user is only allowed to view spent time (#3187).
Jean-Philippe Lang [Sat, 14 Nov 2009 14:10:09 +0000 (14:10 +0000)]
Don't reveal issue subjects if user is only allowed to view spent time (#3187).

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

15 years agoLocales update
Azamat Hackimov [Sat, 14 Nov 2009 13:43:55 +0000 (13:43 +0000)]
Locales update
* pt-BR (#4214)
* ru
* zh (#4207)
* zh-TW (#4201)

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

15 years agoClean up ticket auto links.
Jean-Philippe Lang [Sat, 14 Nov 2009 12:59:32 +0000 (12:59 +0000)]
Clean up ticket auto links.

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

15 years agoRefactoring ApplicationHelper#link_to_issue.
Jean-Philippe Lang [Sat, 14 Nov 2009 12:53:50 +0000 (12:53 +0000)]
Refactoring ApplicationHelper#link_to_issue.
Now displays issue subject by default.

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

15 years agoAdd view_issues permission (#3187).
Jean-Philippe Lang [Sat, 14 Nov 2009 12:08:47 +0000 (12:08 +0000)]
Add view_issues permission (#3187).
A migration adds this permission to all existing roles to preserve current behaviour.
This permission controls access to issues, roadmap and changelog.

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

15 years agoFixed that "RE:" prefix is added to the subject each time the message is quoted ...
Jean-Philippe Lang [Fri, 13 Nov 2009 19:14:18 +0000 (19:14 +0000)]
Fixed that "RE:" prefix is added to the subject each time the message is quoted (#4215).

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

15 years agoMove checkbox for "Send account information to the user" to be clicked before the...
Jean-Philippe Lang [Fri, 13 Nov 2009 18:11:10 +0000 (18:11 +0000)]
Move checkbox for "Send account information to the user" to be clicked before the "Create" button (#4193).

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

15 years agoFixed: Project#enabled_module_names= does not test if a module is already enabled...
Jean-Philippe Lang [Fri, 13 Nov 2009 17:50:21 +0000 (17:50 +0000)]
Fixed: Project#enabled_module_names= does not test if a module is already enabled (#4200).

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

15 years agoFixed: Quoting in forums does not take the subject from the message being quoted...
Jean-Philippe Lang [Fri, 13 Nov 2009 17:46:38 +0000 (17:46 +0000)]
Fixed: Quoting in forums does not take the subject from the message being quoted (#4215).

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

15 years agoAdd test for i18n number_to_human_size (#4208).
Jean-Philippe Lang [Thu, 12 Nov 2009 22:00:29 +0000 (22:00 +0000)]
Add test for i18n number_to_human_size (#4208).

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

15 years agoAdding the body of the feed to the failure message. #4204
Eric Davis [Thu, 12 Nov 2009 04:59:54 +0000 (04:59 +0000)]
Adding the body of the feed to the failure message. #4204

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

15 years agoStyle the password field the same as the login field. #3845
Eric Davis [Thu, 12 Nov 2009 04:44:28 +0000 (04:44 +0000)]
Style the password field the same as the login field. #3845

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

15 years agoAllow [#id] as subject to reply by email (#3653).
Jean-Philippe Lang [Wed, 11 Nov 2009 22:30:02 +0000 (22:30 +0000)]
Allow [#id] as subject to reply by email (#3653).

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

15 years agoFixed pre tags containing "<pre*" (#4125).
Jean-Philippe Lang [Wed, 11 Nov 2009 16:23:11 +0000 (16:23 +0000)]
Fixed pre tags containing "<pre*" (#4125).

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

15 years agoReject empty Mercurial entries (#4098).
Jean-Philippe Lang [Wed, 11 Nov 2009 15:33:30 +0000 (15:33 +0000)]
Reject empty Mercurial entries (#4098).

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

15 years agoFixes diff parser for when lines starting with multiple dashes are removed (#4186).
Jean-Philippe Lang [Wed, 11 Nov 2009 13:25:53 +0000 (13:25 +0000)]
Fixes diff parser for when lines starting with multiple dashes are removed (#4186).

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

15 years agoRedirect to the current page when using context menu on the issue list (#4184).
Jean-Philippe Lang [Wed, 11 Nov 2009 11:35:27 +0000 (11:35 +0000)]
Redirect to the current page when using context menu on the issue list (#4184).

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

15 years agoHide paragraph terminator at the end of headings on html export (#4194).
Jean-Philippe Lang [Wed, 11 Nov 2009 11:10:03 +0000 (11:10 +0000)]
Hide paragraph terminator at the end of headings on html export (#4194).

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

15 years agoFixes jstoolbar lang files case (#4190).
Jean-Philippe Lang [Wed, 11 Nov 2009 10:55:19 +0000 (10:55 +0000)]
Fixes jstoolbar lang files case (#4190).

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

15 years agoFixes ApplicationHelper#link_to_user
Jean-Philippe Lang [Wed, 11 Nov 2009 10:48:54 +0000 (10:48 +0000)]
Fixes ApplicationHelper#link_to_user
* No link to a locked user page (closes #4182)
* Translate Anonymous string

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

15 years agoAdds a link to automatically close completed versions in project settings (#1245).
Jean-Philippe Lang [Mon, 9 Nov 2009 18:53:12 +0000 (18:53 +0000)]
Adds a link to automatically close completed versions in project settings (#1245).

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

15 years agoIgnore emails received from the application emission address to avoid hell cycles...
Jean-Philippe Lang [Sun, 8 Nov 2009 13:51:53 +0000 (13:51 +0000)]
Ignore emails received from the application emission address to avoid hell cycles (#4139).

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

15 years agoDevelopment database required for running rake test (closes #4153).
Jean-Philippe Lang [Sun, 8 Nov 2009 13:15:59 +0000 (13:15 +0000)]
Development database required for running rake test (closes #4153).

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

15 years agoAdds version status to limit issue assignments (#1245).
Jean-Philippe Lang [Sun, 8 Nov 2009 13:03:41 +0000 (13:03 +0000)]
Adds version status to limit issue assignments (#1245).

Available version statuses are:
* open: no restriction
* locked: can not assign new issues to the version
* closed: can not assign new issues and can not reopen assigned issues

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

15 years agoAdded README.rdoc in the project root to display on Github
Eric Davis [Sun, 8 Nov 2009 04:10:37 +0000 (04:10 +0000)]
Added README.rdoc in the project root to display on Github

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

15 years agoAllow a config/additional_environment.rb file to customize the Rails::Initializer.
Eric Davis [Sun, 8 Nov 2009 02:16:42 +0000 (02:16 +0000)]
Allow a config/additional_environment.rb file to customize the Rails::Initializer.

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

15 years agoFixes SVG lib for ruby1.9.
Jean-Philippe Lang [Sat, 7 Nov 2009 10:40:54 +0000 (10:40 +0000)]
Fixes SVG lib for ruby1.9.

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

15 years agoFixes distance of date in words calculation.
Jean-Philippe Lang [Sat, 7 Nov 2009 09:50:16 +0000 (09:50 +0000)]
Fixes distance of date in words calculation.

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

15 years agoFixes a regexp for ruby1.9.
Jean-Philippe Lang [Sat, 7 Nov 2009 09:43:02 +0000 (09:43 +0000)]
Fixes a regexp for ruby1.9.

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

15 years agoUpgrade Coderay to 0.9.0.
Jean-Philippe Lang [Sat, 7 Nov 2009 09:08:13 +0000 (09:08 +0000)]
Upgrade Coderay to 0.9.0.

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

15 years agoAdds a few functional tests.
Jean-Philippe Lang [Sat, 7 Nov 2009 08:44:56 +0000 (08:44 +0000)]
Adds a few functional tests.

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

15 years agoFixed: Pre-filled time tracking date ignores timezone (#4160).
Jean-Philippe Lang [Fri, 6 Nov 2009 19:41:03 +0000 (19:41 +0000)]
Fixed: Pre-filled time tracking date ignores timezone (#4160).

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

15 years agoAdd test:coverage task.
Jean-Philippe Lang [Fri, 6 Nov 2009 19:39:51 +0000 (19:39 +0000)]
Add test:coverage task.

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

15 years agoFixed a typo in Object daddy
Eric Davis [Thu, 5 Nov 2009 21:32:26 +0000 (21:32 +0000)]
Fixed a typo in Object daddy

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

15 years agoFixed: first day of date range is not included in time report with SQLite (#3112).
Jean-Philippe Lang [Wed, 4 Nov 2009 17:35:20 +0000 (17:35 +0000)]
Fixed: first day of date range is not included in time report with SQLite (#3112).

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

15 years agoFixes test environments.
Jean-Philippe Lang [Wed, 4 Nov 2009 17:15:20 +0000 (17:15 +0000)]
Fixes test environments.

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

15 years agoUse FasterCSV or ruby1.9 CSV instead of ruby1.8 builtin CSV.
Jean-Philippe Lang [Wed, 4 Nov 2009 13:22:26 +0000 (13:22 +0000)]
Use FasterCSV or ruby1.9 CSV instead of ruby1.8 builtin CSV.

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

15 years agoFixed: child_pages macro fails on wiki page history (#4152).
Jean-Philippe Lang [Wed, 4 Nov 2009 12:36:45 +0000 (12:36 +0000)]
Fixed: child_pages macro fails on wiki page history (#4152).

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

15 years agoFixed: Feed content limit ignored on issues list.
Jean-Philippe Lang [Wed, 4 Nov 2009 12:31:37 +0000 (12:31 +0000)]
Fixed: Feed content limit ignored on issues list.

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

15 years agoSort the list of users to add to a group or project (#4150).
Jean-Philippe Lang [Wed, 4 Nov 2009 11:17:55 +0000 (11:17 +0000)]
Sort the list of users to add to a group or project (#4150).

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

15 years agoSet trunk version to 0.8.6
Jean-Philippe Lang [Wed, 4 Nov 2009 11:15:02 +0000 (11:15 +0000)]
Set trunk version to 0.8.6

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

15 years agoFixed: inline images in wiki headings (#4112).
Jean-Philippe Lang [Wed, 4 Nov 2009 10:22:57 +0000 (10:22 +0000)]
Fixed: inline images in wiki headings (#4112).

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

15 years agoLocales update
Azamat Hackimov [Tue, 3 Nov 2009 15:09:18 +0000 (15:09 +0000)]
Locales update
* Swedish (#4161)
* Traditional Chinese (#4145)

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

15 years agoTranslation updates (closes #4102, #4108, #4118).
Jean-Philippe Lang [Sat, 31 Oct 2009 10:09:43 +0000 (10:09 +0000)]
Translation updates (closes #4102, #4108, #4118).

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

15 years agoFixed a test failure.
Jean-Philippe Lang [Thu, 29 Oct 2009 18:51:10 +0000 (18:51 +0000)]
Fixed a test failure.

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

15 years agoUnified UsersController#list and #index.
Jean-Philippe Lang [Thu, 29 Oct 2009 18:48:19 +0000 (18:48 +0000)]
Unified UsersController#list and #index.

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

15 years agoFixes users links.
Jean-Philippe Lang [Thu, 29 Oct 2009 18:44:16 +0000 (18:44 +0000)]
Fixes users links.

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

15 years agoInclude missing fixtures.
Jean-Philippe Lang [Thu, 29 Oct 2009 18:40:00 +0000 (18:40 +0000)]
Include missing fixtures.

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

15 years agoAccountController#show (/account/show/:id) moved to UsersController#show (/users...
Jean-Philippe Lang [Thu, 29 Oct 2009 18:37:00 +0000 (18:37 +0000)]
AccountController#show (/account/show/:id) moved to UsersController#show (/users/:id).

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

15 years agoDo not show user profile if no visible project or activity (#4129, #3720).
Jean-Philippe Lang [Thu, 29 Oct 2009 18:09:40 +0000 (18:09 +0000)]
Do not show user profile if no visible project or activity (#4129, #3720).

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

15 years agoTypo fixed (#4134).
Jean-Philippe Lang [Thu, 29 Oct 2009 17:59:09 +0000 (17:59 +0000)]
Typo fixed (#4134).

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

15 years agoFixed error on repository when there are no comments in a changeset (#4126).
Jean-Philippe Lang [Thu, 29 Oct 2009 17:55:59 +0000 (17:55 +0000)]
Fixed error on repository when there are no comments in a changeset (#4126).

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

15 years agoAdd etag check on the activity view to avoid rendering when not modified.
Jean-Philippe Lang [Sun, 25 Oct 2009 17:27:24 +0000 (17:27 +0000)]
Add etag check on the activity view to avoid rendering when not modified.

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

15 years agoAdd indexes on various timestamps to speed up the activity view.
Jean-Philippe Lang [Sun, 25 Oct 2009 16:56:46 +0000 (16:56 +0000)]
Add indexes on various timestamps to speed up the activity view.

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

15 years agoIssuesController#destroy accepts POST only (#4107).
Jean-Philippe Lang [Sun, 25 Oct 2009 13:38:48 +0000 (13:38 +0000)]
IssuesController#destroy accepts POST only (#4107).

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

15 years agoHTML escaping (#4106).
Jean-Philippe Lang [Sun, 25 Oct 2009 13:28:36 +0000 (13:28 +0000)]
HTML escaping (#4106).

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

15 years agoAdd translations for new permission.
Jean-Philippe Lang [Sun, 25 Oct 2009 12:13:51 +0000 (12:13 +0000)]
Add translations for new permission.

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

15 years agoAdd a permission to remove issue watchers (#2450).
Jean-Philippe Lang [Sun, 25 Oct 2009 12:11:53 +0000 (12:11 +0000)]
Add a permission to remove issue watchers (#2450).

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

15 years agoAllow project forums copy.
Jean-Philippe Lang [Sun, 25 Oct 2009 11:23:46 +0000 (11:23 +0000)]
Allow project forums copy.

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

15 years agoDisplay stats about objects that can be copied.
Jean-Philippe Lang [Sun, 25 Oct 2009 11:10:35 +0000 (11:10 +0000)]
Display stats about objects that can be copied.

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

15 years agoDo not ignore parent project setting on project copy (#3386).
Jean-Philippe Lang [Sun, 25 Oct 2009 10:56:32 +0000 (10:56 +0000)]
Do not ignore parent project setting on project copy (#3386).

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

15 years agoPrevent mass-assignment warnings.
Jean-Philippe Lang [Sun, 25 Oct 2009 10:51:21 +0000 (10:51 +0000)]
Prevent mass-assignment warnings.

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

15 years agoReset timestamps and wiki page hierarchy on project copy.
Jean-Philippe Lang [Sun, 25 Oct 2009 10:44:03 +0000 (10:44 +0000)]
Reset timestamps and wiki page hierarchy on project copy.

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

15 years agoPrevent mass-assignment warnings.
Jean-Philippe Lang [Sun, 25 Oct 2009 10:35:59 +0000 (10:35 +0000)]
Prevent mass-assignment warnings.

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

15 years agoRemoves debug message.
Jean-Philippe Lang [Sun, 25 Oct 2009 10:31:01 +0000 (10:31 +0000)]
Removes debug message.

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

15 years agoFixes project wiki copy.
Jean-Philippe Lang [Sun, 25 Oct 2009 10:30:39 +0000 (10:30 +0000)]
Fixes project wiki copy.

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

15 years agoAdd a test that breaks before r2967 (broken project wiki copy).
Jean-Philippe Lang [Sun, 25 Oct 2009 10:11:06 +0000 (10:11 +0000)]
Add a test that breaks before r2967 (broken project wiki copy).

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

15 years agoWiki auto creation temporary disabled until project wiki copy is fixed (2 wikis created).
Jean-Philippe Lang [Sat, 24 Oct 2009 16:12:13 +0000 (16:12 +0000)]
Wiki auto creation temporary disabled until project wiki copy is fixed (2 wikis created).

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

15 years agoProject copy: let the user choose what to copy from the source project (everything...
Jean-Philippe Lang [Sat, 24 Oct 2009 13:30:23 +0000 (13:30 +0000)]
Project copy: let the user choose what to copy from the source project (everything by default).

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

15 years agoRemoves debug code.
Jean-Philippe Lang [Sat, 24 Oct 2009 12:33:34 +0000 (12:33 +0000)]
Removes debug code.

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

15 years agoSmall fix to HTML title.
Jean-Philippe Lang [Sat, 24 Oct 2009 12:33:08 +0000 (12:33 +0000)]
Small fix to HTML title.

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

15 years agoAdd mail field to admin user search filter (#3882).
Jean-Philippe Lang [Sat, 24 Oct 2009 12:21:09 +0000 (12:21 +0000)]
Add mail field to admin user search filter (#3882).

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

15 years agoAdds a test for attached image inside a link (#4033).
Jean-Philippe Lang [Sat, 24 Oct 2009 12:19:22 +0000 (12:19 +0000)]
Adds a test for attached image inside a link (#4033).

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

15 years agoSets proper content type for plain text mails (#3970).
Jean-Philippe Lang [Sat, 24 Oct 2009 11:57:01 +0000 (11:57 +0000)]
Sets proper content type for plain text mails (#3970).

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

15 years agoReverts r2770 (#3391).
Jean-Philippe Lang [Sat, 24 Oct 2009 11:35:35 +0000 (11:35 +0000)]
Reverts r2770 (#3391).

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

15 years agoSets the current project as the default value of project jump box (#4053).
Jean-Philippe Lang [Sat, 24 Oct 2009 11:29:49 +0000 (11:29 +0000)]
Sets the current project as the default value of project jump box (#4053).

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

15 years agoTranslation updates (closes #4054, #4060, #4075).
Jean-Philippe Lang [Sat, 24 Oct 2009 11:22:06 +0000 (11:22 +0000)]
Translation updates (closes #4054, #4060, #4075).

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

15 years agoPrevent undefined method `<=>' for nil:NilClass in AbstractAdapter (#4098).
Jean-Philippe Lang [Sat, 24 Oct 2009 11:08:09 +0000 (11:08 +0000)]
Prevent undefined method `<=>' for nil:NilClass in AbstractAdapter (#4098).

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

15 years agoFixes form buttons on projects/settings/activities (closes #4083).
Jean-Philippe Lang [Thu, 22 Oct 2009 17:51:23 +0000 (17:51 +0000)]
Fixes form buttons on projects/settings/activities (closes #4083).

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

15 years agoRemove hard coded string in a view (closes #4076).
Jean-Philippe Lang [Thu, 22 Oct 2009 17:46:54 +0000 (17:46 +0000)]
Remove hard coded string in a view (closes #4076).

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

15 years agoDo not render hidden news edit form if user is not allowed to edit (closes #4068).
Jean-Philippe Lang [Thu, 22 Oct 2009 17:42:17 +0000 (17:42 +0000)]
Do not render hidden news edit form if user is not allowed to edit (closes #4068).

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

15 years agoAdd missing strings (rake locales:update).
Jean-Philippe Lang [Thu, 22 Oct 2009 17:39:12 +0000 (17:39 +0000)]
Add missing strings (rake locales:update).

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

15 years agoFixed some merge bugs. #4077
Eric Davis [Wed, 21 Oct 2009 22:35:03 +0000 (22:35 +0000)]
Fixed some merge bugs. #4077

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

15 years agoAdded all list and boolean custom data fields to the Time Report. #4077
Eric Davis [Wed, 21 Oct 2009 22:34:57 +0000 (22:34 +0000)]
Added all list and boolean custom data fields to the Time Report. #4077

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

15 years agoWhen a specific TimeEntryActivity are change, associated TimeEntries will be
Eric Davis [Wed, 21 Oct 2009 22:34:52 +0000 (22:34 +0000)]
When a specific TimeEntryActivity are change, associated TimeEntries will be
re-assigned to the correct record.

* Renamed build to create since the methods now create objects.
* Removed call to Project#save that isn't needed since objects are saved directly now.
* Wrapped the activity creation and updates in a SQL transaction so TimeEntries
  will remain in a consistent state if there is an error.
* When a Project's TimeEntryActivities are destroyed, they are now
  reassigned to the parent TimeEntryActivity.

  #4077

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

15 years agoAdded a Activities tab to Project Settings
Eric Davis [Wed, 21 Oct 2009 22:34:45 +0000 (22:34 +0000)]
Added a Activities tab to Project Settings

* Changed Project#activities to allow getting inactive Activities also:
  * Changed the Enumeration#all named_scope to exclude project specific Activities
  * Changed the Project has_many time_entry_activities to include all by default
    and provided an #active method to filter them to active ones only
  * Split Project#activities to two methods and gave it a parameter that is used
    to determine if inactive activities are included (default is no)
* Added a reset button to delete all project specific activities.
* Added ProjectsController#reset_activities to remove the project
  specific activities
* Added a HTTP DELETE route for reset_activities
* Changed the permissions for managing project activities to have access to the
  ProjectsController#reset_activities action
* Added a way to bulk save Project specific Activities in ProjectsController
  * #save_activities will save all the changed activities, including update the
    existing records
  * Added helper methods to the controller which will be refactored later
  * Allow the same TimeEntryActivity names on different projects

  #4077

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

15 years agoChanged the Timelogs to use both the Systemwide and Project specific TimeEntryActivities
Eric Davis [Wed, 21 Oct 2009 22:34:39 +0000 (22:34 +0000)]
Changed the Timelogs to use both the Systemwide and Project specific TimeEntryActivities

* Added Project#activities to return all the Systemwide and Project specific
  activities, excluding Systemwide ones that are overridden.
* Added some tests for TimelogHelper.

  #4077

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

15 years agoAdded project specific Enumeration overrides.
Eric Davis [Wed, 21 Oct 2009 22:34:34 +0000 (22:34 +0000)]
Added project specific Enumeration overrides.

These will be used to track if Enumeration's custom data or active state
is overridden on a project.  An overridden Enumeration is one that is associated
with a parent Enumeration.

  #4077

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

15 years agoAdded an active field track if an Enumeration is active on the frontend view.
Eric Davis [Wed, 21 Oct 2009 22:34:28 +0000 (22:34 +0000)]
Added an active field track if an Enumeration is active on the frontend view.

* Changed TimelogHelper#activity_collection_for_select_options to only use
  active TimeEntryActivities.
* Changed TimelogHelper#activity_collection_for_select_options to return a blank
  option if the time_entry's current activity is inactive.

  #4077

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

15 years agoEnumerations can now have custom fields defined on them. #4077
Eric Davis [Wed, 21 Oct 2009 22:34:22 +0000 (22:34 +0000)]
Enumerations can now have custom fields defined on them. #4077

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

15 years agoUpdated the unit test so Enumerations are tested separately from the subclasses.
Eric Davis [Wed, 21 Oct 2009 22:34:17 +0000 (22:34 +0000)]
Updated the unit test so Enumerations are tested separately from the subclasses.

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

15 years agoContextual quick search (#3263).
Jean-Philippe Lang [Wed, 21 Oct 2009 17:07:18 +0000 (17:07 +0000)]
Contextual quick search (#3263).
Eg. when viewing issues, the quick search will search issues only.

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

15 years agoChange the order of checkboxes for boolean custom fields.
Eric Davis [Wed, 21 Oct 2009 03:31:20 +0000 (03:31 +0000)]
Change the order of checkboxes for boolean custom fields.

Broken in r2887 for the Rails 2.3.4 upgrade.

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

15 years agoRenamed Project#public named_scope so it will not override Ruby's public method
Eric Davis [Wed, 21 Oct 2009 03:21:31 +0000 (03:21 +0000)]
Renamed Project#public named_scope so it will not override Ruby's public method

  #4056

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

15 years agoMocha is needed for tests.
Eric Davis [Wed, 21 Oct 2009 03:13:24 +0000 (03:13 +0000)]
Mocha is needed for tests.

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

15 years agoRenamed the default "Assigned" status to "In Progress". #3605
Eric Davis [Tue, 20 Oct 2009 05:06:14 +0000 (05:06 +0000)]
Renamed the default "Assigned" status to "In Progress".  #3605

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

15 years agoMoved object daddy helpers to their own module.
Eric Davis [Tue, 20 Oct 2009 00:36:55 +0000 (00:36 +0000)]
Moved object daddy helpers to their own module.

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

15 years agoUpdated some object_daddy exemplars for the Models.
Eric Davis [Tue, 20 Oct 2009 00:36:51 +0000 (00:36 +0000)]
Updated some object_daddy exemplars for the Models.

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

15 years agoAdded shoulda macros to test Project's associations
Eric Davis [Mon, 19 Oct 2009 00:27:13 +0000 (00:27 +0000)]
Added shoulda macros to test Project's associations

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

15 years agoReplaced a custom test with a shoulda macro.
Eric Davis [Mon, 19 Oct 2009 00:27:08 +0000 (00:27 +0000)]
Replaced a custom test with a shoulda macro.

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