Commit Graph

31 Commits

Author SHA1 Message Date
Marius Balteanu
9cda1638bd Set default protect from forgery true (#36317).
Patch by Takashi Kato.

git-svn-id: http://svn.redmine.org/redmine/trunk@21379 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-22 08:43:42 +00:00
Go MAEDA
4db7397d2a Use File.exist? instead of deprecated File.exists? (#36358).
git-svn-id: http://svn.redmine.org/redmine/trunk@21327 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-27 03:20:31 +00:00
Marius Balteanu
a914cf4c40 Switch to zeitwerk autoloader (#29914, #32938).
Patch by Takashi Kato.

git-svn-id: http://svn.redmine.org/redmine/trunk@21287 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-11-17 20:55:08 +00:00
Go MAEDA
099b160d11 Add SameSite=Lax to cookies to fix warnings in web browsers (#35226).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21009 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-05-27 08:31:15 +00:00
Go MAEDA
1eefff4d9c RuntimeError "Couldn't find Active Storage configuration" is raised at startup (#29914, #35005).
git-svn-id: http://svn.redmine.org/redmine/trunk@20906 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-03 01:06:45 +00:00
Go MAEDA
ba6ace46d7 Fix sending mail with DeliveryJob is deprecated (#29914, #32908).
Patch by Pavel Rosický.


git-svn-id: http://svn.redmine.org/redmine/trunk@20882 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-01 14:41:03 +00:00
Go MAEDA
5d9458726f Fix "undefined method for nil:NilClass" in Rails 6.1 (#29914, #34980).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@20881 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-01 14:34:42 +00:00
Toshi MARUYAMA
9f7065c3b7 fix source indent of config/application.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20442 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-11-20 11:35:45 +00:00
Go MAEDA
6875edabd7 X-Sendfile header field is not set if rack 2.1.0 is installed (#32785).
git-svn-id: http://svn.redmine.org/redmine/trunk@19416 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-01-12 06:12:58 +00:00
Go MAEDA
87306bb735 Disable sprockets to avoid Sprockets::Railtie::ManifestNeededError raised by sprockets 4.0.0 (#32223).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@18859 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-10-24 02:15:09 +00:00
Go MAEDA
02b4449414 Enable frozen_string_literal for all files under config directory (#26561).
git-svn-id: http://svn.redmine.org/redmine/trunk@17982 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-17 02:04:38 +00:00
Go MAEDA
5861160ffc Add "frozen_string_literal: false" for all files (#26561).
This will be changed to true in the future.


git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-15 01:32:57 +00:00
Go MAEDA
7d03c9c6ed Update i18n gem to 1.5.3 (#29946).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-02-19 10:29:20 +00:00
Jean-Philippe Lang
5ae629b3bb Sqlite3: Boolean values are now stored as 1 and 0 (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@17500 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 08:48:29 +00:00
Jean-Philippe Lang
d74f0bfd5c Merged rails-5.1 branch (#23630).
git-svn-id: http://svn.redmine.org/redmine/trunk@16859 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-23 11:26:04 +00:00
Toshi MARUYAMA
6139e0033a spelling fixes (#25495)
git-svn-id: http://svn.redmine.org/redmine/trunk@16445 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-02 03:34:44 +00:00
Jean-Philippe Lang
aef4a8a65b Fixed that X-Sendfile header is never set (#24646).
git-svn-id: http://svn.redmine.org/redmine/trunk@16114 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-12-31 12:45:36 +00:00
Jean-Philippe Lang
703d8a4782 Use config.relative_url_root as the default path for session and autologin cookies (#21169).
Patch by Daniel Ritz.

git-svn-id: http://svn.redmine.org/redmine/trunk@14876 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-14 10:04:08 +00:00
Jean-Philippe Lang
409cfcfccb Config variable must be set (#21058).
git-svn-id: http://svn.redmine.org/redmine/trunk@14736 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-24 10:20:34 +00:00
Jean-Philippe Lang
f0323575f9 Adds Rack::ContentLength (#17403).
git-svn-id: http://svn.redmine.org/redmine/trunk@14632 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-09-30 20:40:51 +00:00
Jean-Philippe Lang
e045215db7 Remove attachment after transaction commit (#20388).
Patch by Ivan Zabrovskiy.

git-svn-id: http://svn.redmine.org/redmine/trunk@14630 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-09-30 18:59:51 +00:00
Jean-Philippe Lang
a769aedb44 Fixed that setting config.logger.level in additional_environment.rb has no effect (#19405).
git-svn-id: http://svn.redmine.org/redmine/trunk@14155 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-03-22 09:26:33 +00:00
Jean-Philippe Lang
6c6ea394af XML parameters parser extracted to actionpack-xml_parser gem in Rails 4 (#14534).
git-svn-id: http://svn.redmine.org/redmine/trunk@13790 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-22 13:41:15 +00:00
Jean-Philippe Lang
717f491f50 Cache search result ids for faster search pagination (#18631).
git-svn-id: http://svn.redmine.org/redmine/trunk@13770 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-12-20 09:33:02 +00:00
Jean-Philippe Lang
2d1866d966 Merged rails-4.1 branch (#14534).
git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-22 17:37:16 +00:00
Toshi MARUYAMA
f1175fda70 prevent i18n deprecated warning
i18n 0.6.4 on Rails 3.2.16 changes behavior.
3b6e56e06f

git-svn-id: http://svn.redmine.org/redmine/trunk@12365 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-12-07 01:32:22 +00:00
Jean-Philippe Lang
205eda8b33 Use AR callbacks instead of observers (removed in Rails4) for notifications.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12021 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-07-14 14:26:27 +00:00
Jean-Philippe Lang
4d71446791 Don't load all helpers.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10900 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-01 16:14:05 +00:00
Jean-Philippe Lang
84084b0168 Restores local time zone for timestamps for 1.x compatibility (#10996).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9719 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-26 09:12:04 +00:00
Jean-Philippe Lang
68d5af3dd8 Set the default session store.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9568 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-28 12:26:24 +00:00
Jean-Philippe Lang
5e57a1a9d9 Merged rails-3.2 branch.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-25 17:17:49 +00:00