]> source.dussan.org Git - redmine.git/commit
Upgraded to Rails 2.3.4 (#3597)
authorEric Davis <edavis@littlestreamsoftware.com>
Sun, 13 Sep 2009 17:14:35 +0000 (17:14 +0000)
committerEric Davis <edavis@littlestreamsoftware.com>
Sun, 13 Sep 2009 17:14:35 +0000 (17:14 +0000)
commit7b0cb6aba8715aff00519f200060fbf46ae9bb97
treec4dc3bcac1a48020c2afef87094056a9a5e06b6f
parentfb349dc4abe283481984c67cd1287312f128dbfc
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
266 files changed:
app/controllers/application.rb [deleted file]
app/controllers/application_controller.rb [new file with mode: 0644]
app/controllers/repositories_controller.rb
app/models/mailer.rb
app/views/layouts/mailer.text.html.erb [new file with mode: 0644]
app/views/layouts/mailer.text.plain.erb [new file with mode: 0644]
app/views/mailer/layout.text.html.rhtml [deleted file]
app/views/mailer/layout.text.plain.rhtml [deleted file]
app/views/settings/_authentication.rhtml
app/views/settings/_display.rhtml
app/views/settings/_issues.rhtml
app/views/settings/_mail_handler.rhtml
app/views/settings/_notifications.rhtml
app/views/settings/_projects.rhtml
app/views/settings/_repositories.rhtml
config/boot.rb
config/environment.rb
config/initializers/10-patches.rb
config/initializers/backtrace_silencers.rb [new file with mode: 0644]
config/initializers/inflections.rb [new file with mode: 0644]
config/locales/bg.yml
config/locales/bs.yml
config/locales/ca.yml
config/locales/cs.yml
config/locales/da.yml
config/locales/de.yml
config/locales/el.yml
config/locales/en.yml
config/locales/es.yml
config/locales/fi.yml
config/locales/fr.yml
config/locales/gl.yml
config/locales/he.yml
config/locales/hu.yml
config/locales/it.yml
config/locales/ja.yml
config/locales/ko.yml
config/locales/lt.yml
config/locales/nl.yml
config/locales/no.yml
config/locales/pl.yml
config/locales/pt-BR.yml
config/locales/pt.yml
config/locales/ro.yml
config/locales/sk.yml
config/locales/sl.yml
config/locales/sr.yml
config/locales/sv.yml
config/locales/th.yml
config/locales/tr.yml
config/locales/uk.yml
config/locales/vi.yml
config/locales/zh-TW.yml
config/locales/zh.yml
config/routes.rb
lib/tabular_form_builder.rb
test/functional/account_controller_test.rb
test/functional/admin_controller_test.rb
test/functional/application_controller_test.rb
test/functional/attachments_controller_test.rb
test/functional/boards_controller_test.rb
test/functional/custom_fields_controller_test.rb
test/functional/documents_controller_test.rb
test/functional/enumerations_controller_test.rb
test/functional/groups_controller_test.rb
test/functional/issue_categories_controller_test.rb
test/functional/issue_relations_controller_test.rb
test/functional/issues_controller_test.rb
test/functional/journals_controller_test.rb
test/functional/mail_handler_controller_test.rb
test/functional/members_controller_test.rb
test/functional/messages_controller_test.rb
test/functional/my_controller_test.rb
test/functional/news_controller_test.rb
test/functional/projects_controller_test.rb
test/functional/queries_controller_test.rb
test/functional/reports_controller_test.rb
test/functional/repositories_bazaar_controller_test.rb
test/functional/repositories_controller_test.rb
test/functional/repositories_cvs_controller_test.rb
test/functional/repositories_darcs_controller_test.rb
test/functional/repositories_git_controller_test.rb
test/functional/repositories_mercurial_controller_test.rb
test/functional/repositories_subversion_controller_test.rb
test/functional/roles_controller_test.rb
test/functional/search_controller_test.rb
test/functional/settings_controller_test.rb
test/functional/sys_controller_test.rb
test/functional/timelog_controller_test.rb
test/functional/trackers_controller_test.rb
test/functional/users_controller_test.rb
test/functional/versions_controller_test.rb
test/functional/watchers_controller_test.rb
test/functional/welcome_controller_test.rb
test/functional/wiki_controller_test.rb
test/functional/wikis_controller_test.rb
test/functional/workflows_controller_test.rb
test/helper_testcase.rb
test/test_helper.rb
test/unit/activity_test.rb
test/unit/attachment_test.rb
test/unit/auth_source_ldap_test.rb
test/unit/board_test.rb
test/unit/calendar_test.rb
test/unit/changeset_test.rb
test/unit/comment_test.rb
test/unit/custom_field_test.rb
test/unit/custom_value_test.rb
test/unit/default_data_test.rb
test/unit/document_category_test.rb
test/unit/document_test.rb
test/unit/enabled_module_test.rb
test/unit/enumeration_test.rb
test/unit/filesystem_adapter_test.rb
test/unit/git_adapter_test.rb
test/unit/group_test.rb
test/unit/issue_category_test.rb
test/unit/issue_priority_test.rb
test/unit/issue_status_test.rb
test/unit/issue_test.rb
test/unit/journal_test.rb
test/unit/lib/redmine/access_control_test.rb
test/unit/lib/redmine/hook_test.rb
test/unit/lib/redmine/i18n_test.rb
test/unit/lib/redmine/mime_type_test.rb
test/unit/lib/redmine/plugin_test.rb
test/unit/lib/redmine/unified_diff_test.rb
test/unit/mail_handler_test.rb
test/unit/mailer_test.rb
test/unit/member_test.rb
test/unit/mercurial_adapter_test.rb
test/unit/message_test.rb
test/unit/news_test.rb
test/unit/project_test.rb
test/unit/query_test.rb
test/unit/repository_bazaar_test.rb
test/unit/repository_cvs_test.rb
test/unit/repository_darcs_test.rb
test/unit/repository_filesystem_test.rb
test/unit/repository_git_test.rb
test/unit/repository_mercurial_test.rb
test/unit/repository_subversion_test.rb
test/unit/repository_test.rb
test/unit/role_test.rb
test/unit/search_test.rb
test/unit/setting_test.rb
test/unit/subversion_adapter_test.rb
test/unit/time_entry_activity_test.rb
test/unit/time_entry_test.rb
test/unit/token_test.rb
test/unit/tracker_test.rb
test/unit/user_preference_test.rb
test/unit/user_test.rb
test/unit/version_test.rb
test/unit/watcher_test.rb
test/unit/wiki_content_test.rb
test/unit/wiki_page_test.rb
test/unit/wiki_redirect_test.rb
test/unit/wiki_test.rb
vendor/plugins/engines/Rakefile
vendor/plugins/engines/about.yml
vendor/plugins/engines/boot.rb
vendor/plugins/engines/init.rb
vendor/plugins/engines/lib/engines.rb
vendor/plugins/engines/lib/engines/plugin.rb
vendor/plugins/engines/lib/engines/plugin/loader.rb
vendor/plugins/engines/lib/engines/rails_extensions/action_mailer.rb [deleted file]
vendor/plugins/engines/lib/engines/rails_extensions/routing.rb [deleted file]
vendor/plugins/engines/lib/engines/testing.rb
vendor/plugins/engines/tasks/engines.rake
vendor/plugins/engines/test/app/controllers/app_and_plugin_controller.rb [new file with mode: 0644]
vendor/plugins/engines/test/app/controllers/namespace/app_and_plugin_controller.rb [new file with mode: 0644]
vendor/plugins/engines/test/app/helpers/mail_helper.rb [new file with mode: 0644]
vendor/plugins/engines/test/app/models/app_and_plugin_model.rb [new file with mode: 0644]
vendor/plugins/engines/test/app/models/notify_mail.rb [new file with mode: 0644]
vendor/plugins/engines/test/app/things/thing.rb [new file with mode: 0644]
vendor/plugins/engines/test/app/views/app_and_plugin/a_view.html.erb [new file with mode: 0644]
vendor/plugins/engines/test/app/views/namespace/app_and_plugin/a_view.html.erb [new file with mode: 0644]
vendor/plugins/engines/test/app/views/notify_mail/implicit_multipart.text.html.erb [new file with mode: 0644]
vendor/plugins/engines/test/app/views/notify_mail/implicit_multipart.text.plain.erb [new file with mode: 0644]
vendor/plugins/engines/test/app/views/notify_mail/multipart_html.html.erb [new file with mode: 0644]
vendor/plugins/engines/test/app/views/notify_mail/multipart_plain.html.erb [new file with mode: 0644]
vendor/plugins/engines/test/app/views/notify_mail/signup.text.plain.erb [new file with mode: 0644]
vendor/plugins/engines/test/app/views/plugin_mail/mail_from_plugin_with_application_template.text.plain.erb [new file with mode: 0644]
vendor/plugins/engines/test/app/views/plugin_mail/multipart_from_plugin_with_application_template_plain.html.erb [new file with mode: 0644]
vendor/plugins/engines/test/functional/controller_loading_test.rb [new file with mode: 0644]
vendor/plugins/engines/test/functional/exception_notification_compatibility_test.rb [new file with mode: 0644]
vendor/plugins/engines/test/functional/locale_loading_test.rb [new file with mode: 0644]
vendor/plugins/engines/test/functional/routes_test.rb [new file with mode: 0644]
vendor/plugins/engines/test/functional/view_helpers_test.rb [new file with mode: 0644]
vendor/plugins/engines/test/functional/view_loading_test.rb [new file with mode: 0644]
vendor/plugins/engines/test/lib/app_and_plugin_lib_model.rb [new file with mode: 0644]
vendor/plugins/engines/test/lib/engines_test_helper.rb [new file with mode: 0644]
vendor/plugins/engines/test/lib/render_information.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/alpha_plugin/app/controllers/alpha_plugin_controller.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/alpha_plugin/app/controllers/app_and_plugin_controller.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/alpha_plugin/app/controllers/namespace/alpha_plugin_controller.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/alpha_plugin/app/controllers/namespace/app_and_plugin_controller.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/alpha_plugin/app/controllers/namespace/shared_plugin_controller.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/alpha_plugin/app/controllers/shared_plugin_controller.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/alpha_plugin/app/models/alpha_plugin_model.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/alpha_plugin/app/models/app_and_plugin_model.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/alpha_plugin/app/models/shared_plugin_model.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/alpha_plugin/app/views/alpha_plugin/a_view.html.erb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/alpha_plugin/app/views/app_and_plugin/a_view.html.erb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/alpha_plugin/app/views/layouts/plugin_layout.erb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/alpha_plugin/app/views/namespace/alpha_plugin/a_view.html.erb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/alpha_plugin/app/views/namespace/app_and_plugin/a_view.html.erb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/alpha_plugin/app/views/namespace/shared_plugin/a_view.html.erb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/alpha_plugin/app/views/shared_plugin/a_view.html.erb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/alpha_plugin/lib/alpha_plugin_lib_model.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/alpha_plugin/lib/app_and_plugin_lib_model.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/alpha_plugin/locales/en.yml [new file with mode: 0644]
vendor/plugins/engines/test/plugins/beta_plugin/app/controllers/app_and_plugin_controller.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/beta_plugin/app/controllers/namespace/shared_plugin_controller.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/beta_plugin/app/controllers/shared_plugin_controller.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/beta_plugin/app/models/shared_plugin_model.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/beta_plugin/app/views/namespace/shared_plugin/a_view.html.erb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/beta_plugin/app/views/shared_plugin/a_view.html.erb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/beta_plugin/init.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/beta_plugin/locales/en.yml [new file with mode: 0644]
vendor/plugins/engines/test/plugins/not_a_plugin/public/should_not_be_copied.txt [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_assets/app/controllers/assets_controller.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_assets/app/views/assets/index.html.erb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_assets/app/views/layouts/assets.html.erb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_assets/init.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_assets/public/file.txt [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_assets/public/subfolder/file_in_subfolder.txt [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_assets_with_assets_directory/assets/file.txt [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_assets_with_assets_directory/assets/subfolder/file_in_subfolder.txt [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_assets_with_assets_directory/init.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_assets_with_no_subdirectory/assets/file.txt [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_assets_with_no_subdirectory/init.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_code_mixing/app/things/thing.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_code_mixing/init.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_load_path/init.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_migration/db/migrate/001_create_tests.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_migration/db/migrate/002_create_others.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_migration/db/migrate/003_create_extras.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_migration/init.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_plugin_mailing/app/models/plugin_mail.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_plugin_mailing/app/views/plugin_mail/mail_from_plugin.erb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_plugin_mailing/app/views/plugin_mail/multipart_from_plugin_html.html.erb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_plugin_mailing/app/views/plugin_mail/multipart_from_plugin_plain.html.erb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_plugin_mailing/app/views/plugin_mail/multipart_from_plugin_with_application_template_html.html.erb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_plugin_mailing/app/views/plugin_mail/multipart_from_plugin_with_application_template_plain.html.erb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_plugin_mailing/init.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_routing/app/controllers/namespace/test_routing_controller.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_routing/app/controllers/test_routing_controller.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_routing/config/routes.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_routing/init.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_testing/app/README.txt [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_testing/init.rb [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_testing/test/fixtures/testing_fixtures.yml [new file with mode: 0644]
vendor/plugins/engines/test/plugins/test_testing/test/unit/override_test.rb [new file with mode: 0644]
vendor/plugins/engines/test/unit/action_mailer_test.rb [new file with mode: 0644]
vendor/plugins/engines/test/unit/arbitrary_code_mixing_test.rb [new file with mode: 0644]
vendor/plugins/engines/test/unit/assets_test.rb [new file with mode: 0644]
vendor/plugins/engines/test/unit/backwards_compat_test.rb [new file with mode: 0644]
vendor/plugins/engines/test/unit/load_path_test.rb [new file with mode: 0644]
vendor/plugins/engines/test/unit/migration_test.rb [new file with mode: 0644]
vendor/plugins/engines/test/unit/model_and_lib_test.rb [new file with mode: 0644]
vendor/plugins/engines/test/unit/plugins_test.rb [new file with mode: 0644]
vendor/plugins/engines/test/unit/test_testing/override_test.rb [new file with mode: 0644]
vendor/plugins/engines/test/unit/testing_test.rb [new file with mode: 0644]
vendor/plugins/prepend_engine_views/init.rb [new file with mode: 0644]