Marius Balteanu
e566e60e51
Adds test for plugin autoload issue ( #36320 , #39834 ).
...
Patch by @tohosaku.
git-svn-id: https://svn.redmine.org/redmine/trunk@22522 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-17 15:05:47 +00:00
Marius Balteanu
c38e847fa6
Fix NoMethodError: undefined method `rake_run' for Rails::TestUnit::Runner:Class (NoMethodError) after updating to Rails 7.1 ( #36320 , #39803 )
...
Patch by @tohosaku.
git-svn-id: https://svn.redmine.org/redmine/trunk@22517 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-12 16:52:46 +00:00
Marius Balteanu
8a1bff856f
Add missing copyrights ( #37730 ).
...
Patch by Karel Pičman.
git-svn-id: https://svn.redmine.org/redmine/trunk@22482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-26 14:07:17 +00:00
Jean-Philippe Lang
9e07e16bf1
CI server: disable ssl connexion to mysql server.
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22470 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-20 17:01:04 +00:00
Jean-Philippe Lang
b9a629cd25
Adds support for environment variable for CI mysql host.
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22469 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-20 16:52:22 +00:00
Jean-Philippe Lang
543674090e
Adds support for environment variable for CI postgresql host.
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22468 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-20 16:04:44 +00:00
Go MAEDA
72dcb6a570
Fix rake yard does not work with Ruby >= 3.2 due to nested array issue ( #39576 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22456 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-18 04:18:59 +00:00
Go MAEDA
3c677a82c7
Replace YAML.load with YAML.load_file in locales.rake and improve error reporting for invalid YAML files ( #39207 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22356 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-20 02:55:03 +00:00
Go MAEDA
60317acf25
Fix deprecation warning for db:structure:dump in db:migrate when using sql schema format ( #38199 ).
...
Contributed by Dmitry Makurin.
git-svn-id: https://svn.redmine.org/redmine/trunk@22086 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-02-01 07:53:50 +00:00
Go MAEDA
92bd67c279
Update copyright year to 2023 ( #38141 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 06:19:35 +00:00
Go MAEDA
40774c2cf4
Add the # frozen_string_literal: true magic comment to config/initializers/secret_token.rb ( #37682 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@21830 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-09-21 06:58:10 +00:00
Go MAEDA
2e86acfa87
Add tasks to prune registered users after a certain number of days ( #30998 ).
...
Patch by Yuichi HARADA and Marius BALTEANU.
git-svn-id: https://svn.redmine.org/redmine/trunk@21490 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-22 04:02:39 +00:00
Go MAEDA
3686b77eb6
Update copyright year in source files to 2022 ( #36379 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-01-02 05:29:10 +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
Go MAEDA
1ae29debf4
Fix redmine:plugins:assets rake task fails ( #36287 , #32938 ).
...
Patch by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@21300 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-12-08 01:23:51 +00:00
Go MAEDA
6c5a16daf8
Remove rake task check_parsing_by_psych ( #35026 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@20940 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-04-13 07:30:15 +00:00
Go MAEDA
3e36b5c452
Update copyright year in source files to 2021 ( #33069 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
2021-03-25 06:58:56 +00:00
Go MAEDA
28dd747fc6
Rake tasks db:encrypt and db:decrypt now supports TOTP secret keys ( #1237 , #33929 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@20005 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-09-05 06:24:37 +00:00
Go MAEDA
b90a6a404f
Fix warnings while running redmine:load_default_data rake task ( #33310 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@19715 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-22 13:04:10 +00:00
Toshi MARUYAMA
6cdd161ba1
scm: git: add new test repository which has UTF-8 Emoji committer and comments ( #24030 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19698 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-04-14 08:20:41 +00:00
Go MAEDA
907e0173e4
Update copyright year in source files to 2020 ( #33069 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2020-03-03 00:24:10 +00:00
Go MAEDA
1f2753f513
Add redmine:plugins:test:system task ( #31746 ).
...
Patch by Seiei Miyagi.
git-svn-id: http://svn.redmine.org/redmine/trunk@18354 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-08-05 22:04:03 +00:00
Go MAEDA
19c7131119
reminder.rake should ignore blank parameters ( #31501 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18226 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-05 09:20:23 +00:00
Go MAEDA
3dc836a945
Add support for :sql ActiveRecord::Base.schema_format in redmine:plugins:migrate ( #31485 ).
...
Patch by Kouhei Sutou.
git-svn-id: http://svn.redmine.org/redmine/trunk@18212 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-06-01 09:34:29 +00:00
Go MAEDA
4082069c75
Update copyright year.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-25 07:36:06 +00:00
Go MAEDA
b0e17e8199
Don't rescue Exception class ( #31387 ).
...
Patch by Go MAEDA and Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@18197 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-05-25 06:50:25 +00:00
Go MAEDA
3b55f65407
Remove frozen_string_literal magic comment from files which are not used when running the application or tests ( #23630 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@17997 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-03-21 06:06:53 +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
Jean-Philippe Lang
0c78056a69
Send emails asynchronously ( #26791 ).
...
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
2018-10-10 17:13:09 +00:00
Go MAEDA
e159928e6b
Use find_by instead of where.first to remove unnecessary sorting ( #26747 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17586 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-10-06 16:03:26 +00:00
Go MAEDA
ffc7e94d4e
"no_notification" option is not listed in the help of "rake redmine 📧 receive_imap" ( #29669 ).
...
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-27 13:13:18 +00:00
Jean-Philippe Lang
c9640667d1
redmine 📧 read and rdm-mailhandler.rb should use safe_receive instead of receive ( #29614 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17508 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-09-23 13:36:30 +00:00
Go MAEDA
eee1c36b4b
Replace Enumerable#sort with faster Enumerable#sort_by ( #29299 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17462 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-08-02 21:54:21 +00:00
Go MAEDA
bff0fbce8b
Remove RDoc tags ( #28943 ).
...
Patch by Sho HASHIMOTO.
git-svn-id: http://svn.redmine.org/redmine/trunk@17370 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-06-08 00:55:41 +00:00
Go MAEDA
c1f92c7f06
Fix: "project_from_subbaddress" option is not listed in the help of "rake redmine 📧 receive_imap" ( #28026 ).
...
Patch by Go Maeda.
git-svn-id: http://svn.redmine.org/redmine/trunk@17185 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-01-24 12:10:19 +00:00
Go MAEDA
89de01076a
Replace Minitest.rake_run with Rails::TestUnit::Runner.rake_run for compatibility with Rails 5.1.4 ( #27871 ).
...
Patch by Tatsuya Saito.
git-svn-id: http://svn.redmine.org/redmine/trunk@17139 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-01-01 10:28:56 +00:00
Jean-Philippe Lang
fac02579cb
Removes test:ui rake task replaced by rails test:system.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16929 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-30 17:19:20 +00:00
Jean-Philippe Lang
0910b2bdbe
Drop Darcs support ( #26391 ).
...
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@16886 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-07-25 17:32:53 +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
Jean-Philippe Lang
7fd04e1f8d
Update copyright.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-06-25 08:40:31 +00:00
Jean-Philippe Lang
ee84b6b24c
Adds a rake task to update attachments digests to SHA256 ( #25240 ).
...
Patch by Jens Krämer.
git-svn-id: http://svn.redmine.org/redmine/trunk@16455 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-04-03 11:38:06 +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
Toshi MARUYAMA
064067fbf2
set "warning = false" for "rake test:scm:units" and "rake test:scm:functionals"
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16421 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-20 17:17:44 +00:00
Jean-Philippe Lang
7d04dca697
Prevent warning about already defined constant.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@16345 e93f8b46-1217-0410-a6f0-8f06a7374b81
2017-03-02 18:16:13 +00:00
Jean-Philippe Lang
57afa5345e
Don't pass conditions to #delete_all.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15675 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-07-16 10:30:45 +00:00
Jean-Philippe Lang
ffdcb22ccb
Ability to define a default assigned_to when receiving emails ( #23020 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15547 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-06-18 07:07:41 +00:00
Jean-Philippe Lang
cda9c63d9c
Updates copyright for 2016.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-03-13 10:30:10 +00:00
Toshi MARUYAMA
4eda45bfa6
add plugins ui tests rake task ( #21361 )
...
Patch by Maria Tikhonova.
git-svn-id: http://svn.redmine.org/redmine/trunk@14891 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-27 12:30:57 +00:00
Jean-Philippe Lang
0df7fa714b
Allow a default version to be set on the command line for incoming emails ( #7346 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14789 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-11-01 08:56:27 +00:00
Jean-Philippe Lang
1ccdf38fdd
Mail Handler: add support for allow_override=all ( #20543 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@14681 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-10-17 09:08:18 +00:00