]>
source.dussan.org Git - redmine.git/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Azamat Hackimov [Thu, 10 Sep 2009 14:22:44 +0000 (14:22 +0000)]
Translation update: pt-BR (#3839)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2860
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Azamat Hackimov [Mon, 7 Sep 2009 11:09:43 +0000 (11:09 +0000)]
Translation updates
* Traditional Chinese (#3828)
* Swedish (#3829)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2859
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Azamat Hackimov [Fri, 4 Sep 2009 22:28:35 +0000 (22:28 +0000)]
Changing l10n messages (fixes #3807)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2856
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Eric Davis [Fri, 4 Sep 2009 03:24:20 +0000 (03:24 +0000)]
Reset the default language for the test, autotest was caught it staying at :no
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2855
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Eric Davis [Thu, 3 Sep 2009 01:21:11 +0000 (01:21 +0000)]
Allow referencing issue numbers in brackets. This style is used by other
bug trackers.
Examples:
* "[#nnn] Worked on this issue"
* "[#nnn, #mmm] Worked on these"
* "[#nnn #mmm] Working some more"
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2854
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Eric Davis [Thu, 3 Sep 2009 01:03:10 +0000 (01:03 +0000)]
Missing 'test_' prefix on a helper test caused it to not run.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2853
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Azamat Hackimov [Wed, 2 Sep 2009 18:01:03 +0000 (18:01 +0000)]
Romanian translation update, adding missed diacritics (#3797)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2852
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Azamat Hackimov [Tue, 1 Sep 2009 18:16:31 +0000 (18:16 +0000)]
Greek translation support, thanks to Vaggelis Typaldos for work (#3795)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2851
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Azamat Hackimov [Tue, 1 Sep 2009 18:13:49 +0000 (18:13 +0000)]
Translation updates:
* Swedish (#3774)
* Traditional Chinese (#3772)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2850
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Tue, 1 Sep 2009 12:13:17 +0000 (12:13 +0000)]
SCM:
* add latest changesets for the current directory when browsing the repository and a link to the full log
* ability to diff a directory (#3575)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2849
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Eric Davis [Tue, 1 Sep 2009 04:09:32 +0000 (04:09 +0000)]
Add some margin to journal notes if Gravatars are enabled. (#3771)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2848
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Azamat Hackimov [Fri, 21 Aug 2009 19:43:33 +0000 (19:43 +0000)]
New strings for translation (fixes #2872), thanks for Enderson Maia for pointing and translation
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2847
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Azamat Hackimov [Fri, 21 Aug 2009 19:27:20 +0000 (19:27 +0000)]
Translations updates:
* pt-BR.yml (#3752)
* ru.yml
* zh-TW.yml (#2750)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2846
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Mon, 17 Aug 2009 16:37:31 +0000 (16:37 +0000)]
Small CSS fix.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2845
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Mon, 17 Aug 2009 16:32:24 +0000 (16:32 +0000)]
SCM:
* Fixes file log for non-Git repositories (Repository#latest_changesets ignores path argument)
* No longer used Repository#changesets_for_path method removed
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2844
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Mon, 17 Aug 2009 14:26:13 +0000 (14:26 +0000)]
SCM browser:
* don't show repository commits when showing a subfolder
* remove obsolete view browse.rhtml
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2843
e93f8b46 -1217-0410-a6f0-
8f06a7374b81