summaryrefslogtreecommitdiffstats
path: root/config/initializers/10-patches.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fixed an issue where Redmine would not start due to an error in Propshaft ↵Marius Balteanu2024-11-051-2/+2
| | | | | | | | | (#39111). Patch by user:hidakatsuya. git-svn-id: https://svn.redmine.org/redmine/trunk@23212 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Upgrades propshaft to 1.1.0 (#39111).Marius Balteanu2024-10-311-1/+1
| | | | | | | Patch by Takashi Kato (user:tohosaku). git-svn-id: https://svn.redmine.org/redmine/trunk@23174 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use anonymous block forwarding introduced in Ruby 3.1 (#38585).Go MAEDA2024-08-211-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22973 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use Array#intersect? introduced in Ruby 3.1 (#38585).Go MAEDA2024-08-201-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22972 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Layout/EmptyLineBetweenDefs (#39887).Go MAEDA2024-07-191-0/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22939 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/SuperArguments (#39887).Go MAEDA2024-05-231-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22842 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove overrides that inserts a non-breaking space (nbsp) to empty option ↵Marius Balteanu2024-02-101-30/+0
| | | | | | | | elements (#40210). Patch by Go MAEDA (maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22701 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add Propshaft library to enable the asset pipeline without modifying ↵Marius Balteanu2024-01-251-47/+23
| | | | | | | | existing assets (#39111). Patch by Takashi Kato (@tohosaku). git-svn-id: https://svn.redmine.org/redmine/trunk@22626 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Layout/EmptyLinesAroundModuleBody (#38975).Go MAEDA2024-01-241-1/+0
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22621 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use ApplicationRecord instead of ActiveRecord::Base (#38975).Marius Balteanu2024-01-231-16/+0
| | | | | | Patch by Minoru Maeda (@maeda-m). git-svn-id: https://svn.redmine.org/redmine/trunk@22619 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove backported Rack::RewindableInput.size method due to Rack 3.0 ↵Go MAEDA2024-01-211-14/+0
| | | | | | migration (#36320). git-svn-id: https://svn.redmine.org/redmine/trunk@22615 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace String#sub with delete_prefix / delete_suffix (#40008).Go MAEDA2024-01-081-1/+1
| | | | | | | Patch by Go MAEDA (@maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@22596 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop offense Style/SuperWithArgsParentheses (#39887).Go MAEDA2023-12-201-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22530 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix failing API tests on Ruby 2.7 after migration to Rails 7.1 (#36320, #39760).Marius Balteanu2023-12-101-1/+3
| | | | | | Patch by @maeda-m. git-svn-id: https://svn.redmine.org/redmine/trunk@22509 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates Rails to 7.1.2 (#36320).Marius Balteanu2023-11-271-22/+28
| | | | | | Patch by Takashi Kato. git-svn-id: https://svn.redmine.org/redmine/trunk@22488 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Limit the year to 4 digits in date input (#38231).Go MAEDA2023-03-301-0/+12
| | | | | | | Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22161 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes for Style/FileWrite offense introduced in RuboCop 1.24.0 (#35136).Go MAEDA2021-12-241-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21322 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add core extensions in prepare method (#29914, #32938).Marius Balteanu2021-11-171-4/+0
| | | | | | Patch by Takashi Kato. git-svn-id: http://svn.redmine.org/redmine/trunk@21285 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Move preparation code to redmine/preparation.rb (#29914, #32938).Marius Balteanu2021-11-171-0/+1
| | | | | | Patch by Takashi Kato. git-svn-id: http://svn.redmine.org/redmine/trunk@21284 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove redefinition of ActionMailer::LogSubscriber#deliver which is no ↵Go MAEDA2021-08-191-18/+0
| | | | | | longer necessary because of the removal of Setting.bcc_recipients. (#31035). git-svn-id: http://svn.redmine.org/redmine/trunk@21197 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Uploading a big file fails with NoMemoryError (#33752).Go MAEDA2021-05-111-0/+14
| | | | | | | Patch by Karel Pičman and Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@20993 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix Subclasses must implement a find_templates(name, prefix, partial, ↵Go MAEDA2021-04-011-1/+3
| | | | | | | | | details, locals = []) method (#29914). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@20883 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code cleanup: rubocop: fix Rails/Presence in config/initializers/10-patches.rbToshi MARUYAMA2019-09-241-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18520 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r18245 (#31582, #31365).Go MAEDA2019-06-201-14/+0
| | | | | | | Issue subjets are truncated in some cases when they are created via email. git-svn-id: http://svn.redmine.org/redmine/trunk@18269 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Issue subject may be broken if the subject field is split into multiple ↵Jean-Philippe Lang2019-06-101-0/+14
| | | | | | | | lines (#31365). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18245 e93f8b46-1217-0410-a6f0-8f06a7374b81
* 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