OSDN Git Service
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
Eric Davis [Sat, 17 Oct 2009 21:17:46 +0000 (21:17 +0000)]
Rename the wiki toolbar's JavaScript variable, 'toolbar' conflicts with
the browser's variable.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2927
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Eric Davis [Sat, 17 Oct 2009 21:08:33 +0000 (21:08 +0000)]
Fixed the generated test in the redmine_plugin_model. (#3927)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2926
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Eric Davis [Sat, 17 Oct 2009 20:37:23 +0000 (20:37 +0000)]
Setup shoulda for testing. (#4005)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2925
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 11 Oct 2009 10:36:11 +0000 (10:36 +0000)]
Fixed: HTML entities displayed when editing an issue note (#3996).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2924
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 11 Oct 2009 10:12:07 +0000 (10:12 +0000)]
Makes migration scripts load tickets in batches (#4011).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2923
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 11 Oct 2009 10:08:22 +0000 (10:08 +0000)]
Fixes migration scripts broken by r2726.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2922
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 11 Oct 2009 09:24:45 +0000 (09:24 +0000)]
da locale updated (closes #3919).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2921
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 11 Oct 2009 09:20:57 +0000 (09:20 +0000)]
el locale updated (closes #3932).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2920
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 11 Oct 2009 09:17:32 +0000 (09:17 +0000)]
translation updates (closes #4016, #4017).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2919
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 11 Oct 2009 09:15:33 +0000 (09:15 +0000)]
ko locale updated (closes #3954).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2918
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 11 Oct 2009 08:33:46 +0000 (08:33 +0000)]
ro locale updated (closes #2900).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2917
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sun, 11 Oct 2009 08:20:39 +0000 (08:20 +0000)]
Fixes project shortcut combo.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2916
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 10 Oct 2009 15:25:34 +0000 (15:25 +0000)]
Fixes MailHandler for ruby1.9.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2915
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 10 Oct 2009 15:19:27 +0000 (15:19 +0000)]
String#each removed in ruby1.9.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2914
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 10 Oct 2009 15:14:08 +0000 (15:14 +0000)]
Fixes some test failures due to Array#to_s behaviour in ruby1.9.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2913
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 10 Oct 2009 15:09:19 +0000 (15:09 +0000)]
Defines String#to_a (Object#to_a removed in ruby1.9).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2912
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 10 Oct 2009 15:04:08 +0000 (15:04 +0000)]
Fixes a wrong number of arguments error with ruby1.9.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2911
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 10 Oct 2009 15:00:28 +0000 (15:00 +0000)]
Sets file encoding to utf-8 for ruby 1.9.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2910
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 10 Oct 2009 14:56:29 +0000 (14:56 +0000)]
Renames uploaded_test_file helper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2909
e93f8b46-1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 10 Oct 2009 14:37:47 +0000 (14:37 +0000)]
Change deprecated dbfile parameter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2908
e93f8b46-1217-0410-a6f0-
8f06a7374b81