summaryrefslogtreecommitdiffstats
path: root/config/initializers/10-patches.rb
Commit message (Collapse)AuthorAgeFilesLines
* Support frozen_string_literal in config/initializers/10-patches.rb (#26561).Go MAEDA2019-03-171-1/+1
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17983 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable frozen_string_literal for all files under config directory (#26561).Go MAEDA2019-03-171-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17982 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-151-0/+2
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Send emails asynchronously (#26791).Jean-Philippe Lang2018-10-101-29/+2
| | | | | | Custom async_* delivery methods are removed in favor of ActiveJob (Async by default). git-svn-id: http://svn.redmine.org/redmine/trunk@17588 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace String#gsub with faster String#tr (#29363).Go MAEDA2018-08-121-1/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17469 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add newline at end of config/initializers/10-patches.rbToshi MARUYAMA2017-07-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16880 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Renames column comments.comments to comments.content to please Rails 5.1 ↵Jean-Philippe Lang2017-07-231-24/+0
| | | | | | (#23630). git-svn-id: http://svn.redmine.org/redmine/trunk@16860 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-5.1 branch (#23630).Jean-Philippe Lang2017-07-231-2/+26
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Restore timestamp in asset paths (#24617).Jean-Philippe Lang2017-04-031-0/+51
| | | | | | Patch by Hiroshi Shirosaki. git-svn-id: http://svn.redmine.org/redmine/trunk@16448 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't use alias_chain_method.Jean-Philippe Lang2016-07-141-6/+6
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15660 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Code cleanup (#22383).Jean-Philippe Lang2016-04-121-12/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15331 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support of default Active Record (I18n) transliteration paths (#22383).Jean-Philippe Lang2016-04-121-3/+17
| | | | | | Patch by Ivan Zabrovskiy. git-svn-id: http://svn.redmine.org/redmine/trunk@15330 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Error when using views/issues/index.api.rsb in a plugin (#13924).Jean-Philippe Lang2015-06-271-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14375 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Upgrade to Rails 4.2.0 (#14534).Jean-Philippe Lang2015-01-171-25/+11
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13892 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add support for multiple email addresses per user (#4244).Jean-Philippe Lang2015-01-171-2/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13886 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces awesome_nested_set gem with a simple and more robust implementation ↵Jean-Philippe Lang2015-01-071-13/+0
| | | | | | | | of nested sets. The concurrency tests added in this commit trigger dead locks and/or nested set inconsistency with awesome_nested_set. git-svn-id: http://svn.redmine.org/redmine/trunk@13841 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-4.1 branch (#14534).Jean-Philippe Lang2014-10-221-43/+10
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove awesome_nested_set patch from config/initializers/10-patches.rb (#6579)Toshi MARUYAMA2014-05-241-19/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13147 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add patch for regression of Hash#reject in Ruby 2.1.1 (#16194)Toshi MARUYAMA2014-05-011-0/+24
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13115 e93f8b46-1217-0410-a6f0-8f06a7374b81
* move r12689 awesome_nested_set modification to ↵Toshi MARUYAMA2014-01-271-0/+19
| | | | | | config/initializers/10-patches.rb (#7920) git-svn-id: http://svn.redmine.org/redmine/trunk@12733 e93f8b46-1217-0410-a6f0-8f06a7374b81
* move awesome_nested_set leaf? modification to config/initializers/10-patches.rbToshi MARUYAMA2014-01-201-0/+13
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12682 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces <option value=""></option> which is not HTML5 valid (#15191).Jean-Philippe Lang2013-10-261-0/+37
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12237 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds cc and bcc to email log messages (#12090).Jean-Philippe Lang2012-10-211-0/+18
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10683 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Prevents "Overwriting existing method Issue.open" warning (#11545).Jean-Philippe Lang2012-08-171-1/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10208 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that text email templates are escaped (#11355).Jean-Philippe Lang2012-08-131-0/+35
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10205 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that open scope on Project#issues raises an error (#11545).Jean-Philippe Lang2012-08-131-0/+5
| | | | | | Patch by Petr Pospisil. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10199 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support for subforums (#3831).Jean-Philippe Lang2012-07-311-1/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10142 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that some input fields are escaped on validation failures (#11027).Jean-Philippe Lang2012-05-251-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9711 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed the path displayed in error message.Jean-Philippe Lang2012-05-011-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9605 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Displays an explicit message when trying to start Redmine with an old ↵Jean-Philippe Lang2012-04-281-0/+13
| | | | | | session_store.rb. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9566 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove Rails2 named_scope wrapper from config/initializers/10-patches.rbToshi MARUYAMA2012-04-261-4/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9539 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Port async delivery methods to Rails 3.Jean-Philippe Lang2012-04-261-12/+25
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9532 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed Rails 2.3 patch for ruby1.9.3.Jean-Philippe Lang2012-04-261-5/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9531 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-3.2 branch.Jean-Philippe Lang2012-04-251-18/+16
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Extracts custom field values validation from CustomValue so that they can be ↵Jean-Philippe Lang2012-01-281-30/+0
| | | | | | validated globally from the customized object (#1189). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8717 e93f8b46-1217-0410-a6f0-8f06a7374b81
* human_attribute_name accepts optional argument.Jean-Philippe Lang2011-12-181-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8286 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Patch for ruby1.9.3 compatibility.Jean-Philippe Lang2011-12-151-0/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8234 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: TMail 1.2.7 malforms To header when number of recipients more then 8 ↵Jean-Philippe Lang2011-11-201-2/+9
| | | | | | (#8751). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7863 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a delivery method that writes emails in tmp/emails for testing purpose.Jean-Philippe Lang2011-11-191-2/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from config/initializers/10-patches.rb.Toshi MARUYAMA2011-08-281-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6692 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: queries error messages about custom fields output a 'translation ↵Jean-Baptiste Barth2011-06-271-1/+1
| | | | | | missing' error (#8554). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6126 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updgraded Rails to 2.3.11 (#6887).Jean-Philippe Lang2011-02-211-10/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4904 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Manually require i18n 0.4.2 before Rails tries to load the most recent gem ↵Jean-Philippe Lang2010-12-171-1/+1
| | | | | | | | (#7013). This workaround makes Redmine work even if i18n 0.5.0 gem is installed. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4516 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Dry Users API responders.Jean-Philippe Lang2010-12-031-0/+10
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4454 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Trunk not working with i18n gem 0.4.2 (#6784).Jean-Philippe Lang2010-11-091-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4389 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Workaround for i18n 0.4.x with the old style syntax. #6428 #5608Eric Davis2010-09-261-0/+14
| | | | | | | | This will also silance the whole trace with the deprecation warning. Contributed by Felix Schäfer git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4183 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rails 2.3.5 deprecation.Jean-Philippe Lang2009-12-231-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3235 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes distance of date in words calculation.Jean-Philippe Lang2009-11-071-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3016 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Upgraded to Rails 2.3.4 (#3597)Eric Davis2009-09-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Patch ActiveRecord::Errors#full_messages so that it contains custom values ↵Jean-Philippe Lang2009-02-221-0/+30
| | | | | | error messages. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2518 e93f8b46-1217-0410-a6f0-8f06a7374b81