OSDN Git Service

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 years agoImproved Project#copy to copy more data from the source Project. #3367
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

14 years agoPreselect the issue custom fields from the source project when copying. #4045
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

14 years agoRefactored duplicated test code to a setup.
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

14 years agoConverted Project#copy test to use shoulda
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

14 years agoConfigured object_daddy to help generate test data instead of fixtures. #4004
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

14 years agopt-BR update (#4040)
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

14 years agoAdding missing database indexes for foreign keys and STI fields.
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

14 years agoRename the wiki toolbar's JavaScript variable, 'toolbar' conflicts with
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

14 years agoFixed the generated test in the redmine_plugin_model. (#3927)
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

14 years agoSetup shoulda for testing. (#4005)
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

14 years agoFixed: HTML entities displayed when editing an issue note (#3996).
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

14 years agoMakes migration scripts load tickets in batches (#4011).
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

14 years agoFixes migration scripts broken by r2726.
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

14 years agoda locale updated (closes #3919).
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

14 years agoel locale updated (closes #3932).
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

14 years agotranslation updates (closes #4016, #4017).
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

14 years agoko locale updated (closes #3954).
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

14 years agoro locale updated (closes #2900).
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

14 years agoFixes project shortcut combo.
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

14 years agoFixes MailHandler for ruby1.9.
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

14 years agoString#each removed in ruby1.9.
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

14 years agoFixes some test failures due to Array#to_s behaviour in ruby1.9.
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

14 years agoDefines String#to_a (Object#to_a removed in ruby1.9).
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

14 years agoFixes a wrong number of arguments error with ruby1.9.
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

14 years agoSets file encoding to utf-8 for ruby 1.9.
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

14 years agoRenames uploaded_test_file helper.
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

14 years agoChange deprecated dbfile parameter.
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

14 years agoCompletes r2856 (#3979).
Jean-Philippe Lang [Sat, 10 Oct 2009 11:11:01 +0000 (11:11 +0000)]
Completes r2856 (#3979).

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

14 years agoFrench locale update.
Jean-Philippe Lang [Sat, 10 Oct 2009 10:30:21 +0000 (10:30 +0000)]
French locale update.

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

14 years agoFixes User/CustomValue association broken by r2869 (#3978).
Jean-Philippe Lang [Sat, 10 Oct 2009 10:16:00 +0000 (10:16 +0000)]
Fixes User/CustomValue association broken by r2869 (#3978).

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

14 years agoUpgrade the Engines plugin to get the bugfix for Rails::Plugin::GemLocator
Eric Davis [Wed, 7 Oct 2009 16:43:50 +0000 (16:43 +0000)]
Upgrade the Engines plugin to get the bugfix for Rails::Plugin::GemLocator

This update will allow Rails Engines to be installed as gems.  For example:

    # config/environment.rb
    Rails::Initializer.run do |config|
      ...
      config.gem 'timesheet_plugin'
    end

Will load the timesheet_plugins's RubyGem and allow it to work as if it was
installed to vendor/plugins.

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

14 years agoFixes Repository#find_changeset_by_name with PostgreSQL (#3937).
Jean-Philippe Lang [Fri, 2 Oct 2009 14:49:38 +0000 (14:49 +0000)]
Fixes Repository#find_changeset_by_name with PostgreSQL (#3937).

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

14 years agoFixed a bug where the form would POST causing a routing error. (#3918)
Eric Davis [Fri, 25 Sep 2009 00:39:02 +0000 (00:39 +0000)]
Fixed a bug where the form would POST causing a routing error. (#3918)

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

14 years agoTranslation updates
Azamat Hackimov [Thu, 24 Sep 2009 15:03:23 +0000 (15:03 +0000)]
Translation updates
* Japanese (#3865)
* Portuguese Brazilian (#3864)
* Russian
* Spanish (#3871)
* Traditional Chinese (#3863)

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

14 years agoFixed: RepositoriesController#revision may show wrong revision (#3779).
Jean-Philippe Lang [Sun, 20 Sep 2009 15:20:22 +0000 (15:20 +0000)]
Fixed: RepositoriesController#revision may show wrong revision (#3779).

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

14 years agoSet mime-type property (#3885).
Jean-Philippe Lang [Sun, 20 Sep 2009 14:25:48 +0000 (14:25 +0000)]
Set mime-type property (#3885).

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

14 years agoUnexpected closing tag removed.
Jean-Philippe Lang [Sun, 20 Sep 2009 14:08:52 +0000 (14:08 +0000)]
Unexpected closing tag removed.

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

14 years agoAdds missing native eol properties.
Jean-Philippe Lang [Sun, 20 Sep 2009 14:06:57 +0000 (14:06 +0000)]
Adds missing native eol properties.

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

14 years agoFixed: Custom values with a nil value cause error on (project|account)/show (#3705).
Jean-Philippe Lang [Sun, 20 Sep 2009 09:56:06 +0000 (09:56 +0000)]
Fixed: Custom values with a nil value cause error on (project|account)/show (#3705).

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

14 years agoMakes timelog report work at issue level (#2935).
Jean-Philippe Lang [Sun, 20 Sep 2009 09:30:41 +0000 (09:30 +0000)]
Makes timelog report work at issue level (#2935).

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

14 years agoMakes saved query filters visible (#2883).
Jean-Philippe Lang [Sun, 20 Sep 2009 07:39:53 +0000 (07:39 +0000)]
Makes saved query filters visible (#2883).

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

14 years agoMakes tickets and timelogs filters collapsible (UI).
Jean-Philippe Lang [Sun, 20 Sep 2009 07:24:16 +0000 (07:24 +0000)]
Makes tickets and timelogs filters collapsible (UI).

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

14 years agoUpdate version to 0.8.5.
Jean-Philippe Lang [Thu, 17 Sep 2009 17:49:29 +0000 (17:49 +0000)]
Update version to 0.8.5.

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

14 years agoRussian update (#3859)
Azamat Hackimov [Sun, 13 Sep 2009 17:41:36 +0000 (17:41 +0000)]
Russian update (#3859)

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

14 years agoUpgraded to Rails 2.3.4 (#3597)
Eric Davis [Sun, 13 Sep 2009 17:14:35 +0000 (17:14 +0000)]
Upgraded to Rails 2.3.4 (#3597)

* Ran the Rails upgrade
* Upgraded to Rails Engines 2.3.2
* Added a plugin to let Engines override application views.
* Converted tests to use the new classes:
** ActionController::TestCase for functional
** ActiveSupport::TestCase for units
* Converted ActiveRecord::Error message to a string.
* ActiveRecord grouping returns an ordered hash which doesn't have #sort!
* Updated the I18n storage_units format.
* Added some default initializers from a fresh rails app
* Changed the order of check_box_tags and hidden_field_tags.  The hidden tag
  needs to appear first in Rails 2.3, otherwise it will override any value in
  the check_box_tag.
* Removed the custom handler for when the cookie store is tampered with.
  Rails 2.3 removed the TamperedWithCookie exception and instead Rails will not
  load the data from it when it's been tampered with (e.g. no user login).
* Fixed mail layouts, 2.3 has problems with implicit multipart emails that
  use layouts.  Also removed some custom Redmine mailer code.
* Fixed a bug that occurred in tests where the "required" span tag would be
  added to the :field_status translation.  This resulted in an email string of:

    <li>Status<span class="required"> *</span><span class="required"> *</span>

  Instead of:

    <li>Status: New</li>

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

14 years agoTranslation updates
Azamat Hackimov [Sat, 12 Sep 2009 17:26:06 +0000 (17:26 +0000)]
Translation updates
* Korean (#3855)
* Russian
* Traditional Chinese (#3853)

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

14 years agoFixes group update form url (#3854).
Jean-Philippe Lang [Sat, 12 Sep 2009 16:12:42 +0000 (16:12 +0000)]
Fixes group update form url (#3854).

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

14 years agoSlight change to the visibility SQL statement.
Jean-Philippe Lang [Sat, 12 Sep 2009 11:22:42 +0000 (11:22 +0000)]
Slight change to the visibility SQL statement.

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

14 years agoAdds spent time to the activity view (#3809).
Jean-Philippe Lang [Sat, 12 Sep 2009 10:37:49 +0000 (10:37 +0000)]
Adds spent time to the activity view (#3809).

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

14 years agoFixes Textile reference link (#3812).
Jean-Philippe Lang [Sat, 12 Sep 2009 10:06:17 +0000 (10:06 +0000)]
Fixes Textile reference link (#3812).

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

14 years agoFixed: issue attachments are saved even if the issue has been updated by another...
Jean-Philippe Lang [Sat, 12 Sep 2009 09:59:38 +0000 (09:59 +0000)]
Fixed: issue attachments are saved even if the issue has been updated by another user (#3846).

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

14 years agoKorean translation update (#3847).
Jean-Philippe Lang [Sat, 12 Sep 2009 09:37:26 +0000 (09:37 +0000)]
Korean translation update (#3847).

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

14 years agoEmail handler: set a default issue subject if the email subject is blank (#3850).
Jean-Philippe Lang [Sat, 12 Sep 2009 09:33:22 +0000 (09:33 +0000)]
Email handler: set a default issue subject if the email subject is blank (#3850).

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

14 years agoMakes 'delete links' the same on admin views.
Jean-Philippe Lang [Sat, 12 Sep 2009 09:25:39 +0000 (09:25 +0000)]
Makes 'delete links' the same on admin views.

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

14 years agoRefactoring of tabs rendering.
Jean-Philippe Lang [Sat, 12 Sep 2009 09:13:13 +0000 (09:13 +0000)]
Refactoring of tabs rendering.

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

14 years agoAdds strings for user groups.
Jean-Philippe Lang [Sat, 12 Sep 2009 08:38:02 +0000 (08:38 +0000)]
Adds strings for user groups.

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

14 years agoUser groups branch merged.
Jean-Philippe Lang [Sat, 12 Sep 2009 08:36:46 +0000 (08:36 +0000)]
User groups branch merged.

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

14 years agoAdded plugin hook, :view_projects_show_sidebar_bottom
Eric Davis [Sat, 12 Sep 2009 00:08:38 +0000 (00:08 +0000)]
Added plugin hook, :view_projects_show_sidebar_bottom

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