OSDN Git Service
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Eric Davis [Mon, 19 Oct 2009 00:07:37 +0000 (00:07 +0000)]
Improved Project#copy to copy more data from the source Project. #3367
* Versions
* Associate the copied issues with the new versions
* Wiki
* WikiPages
* WikiContents
* IssueCategories
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2934
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Eric Davis [Mon, 19 Oct 2009 00:07:32 +0000 (00:07 +0000)]
Preselect the issue custom fields from the source project when copying. #4045
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2933
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Eric Davis [Mon, 19 Oct 2009 00:07:27 +0000 (00:07 +0000)]
Refactored duplicated test code to a setup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2932
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Eric Davis [Mon, 19 Oct 2009 00:07:23 +0000 (00:07 +0000)]
Converted Project#copy test to use shoulda
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2931
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Eric Davis [Sun, 18 Oct 2009 22:25:00 +0000 (22:25 +0000)]
Configured object_daddy to help generate test data instead of fixtures. #4004
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2930
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Azamat Hackimov [Sun, 18 Oct 2009 21:27:26 +0000 (21:27 +0000)]
pt-BR update (#4040)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2929
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Eric Davis [Sat, 17 Oct 2009 22:23:29 +0000 (22:23 +0000)]
Adding missing database indexes for foreign keys and STI fields.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2928
e93f8b46-1217-0410-a6f0-
8f06a7374b81