Commit Graph

322 Commits

Author SHA1 Message Date
Go MAEDA
3d516456c9 Allow IMAP4 email receiving to skip SSL certificate verification with ssl=force option (#41738).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23415 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-20 08:42:07 +00:00
Go MAEDA
02bd5c128e Add description for ssl=force option to rake task redmine:email:receive_pop3 (#41738).
git-svn-id: https://svn.redmine.org/redmine/trunk@23414 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-20 08:39:59 +00:00
Marius Balteanu
1d1c5c3a2c Fixes "Unresolved or ambiguous specs during Gem::Specification.reset" (#41729).
Patch by Go MAEDA (user:maeda).

git-svn-id: https://svn.redmine.org/redmine/trunk@23256 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-12 08:33:12 +00:00
Marius Balteanu
101cb2aea9 Fix path for plugin assets in icons rake task (#23980, #41712).
Patch by Takenori TAKAKI (user:takenory).

git-svn-id: https://svn.redmine.org/redmine/trunk@23237 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-10 20:24:24 +00:00
Marius Balteanu
5d67308977 Adds rake task to download SVG icons from Tabler Github repository using config/icon_source.yml as source and to generate a sprite file with all the SVG icons (#23980):
* @icons:download@: downloads the default icons 
* @icons:sprite@: generates the SVG sprite file for the default icons
* @icons:generate@: runs @icons:download@ and @icons:sprite@ tasks
* @icons:plugin:download@: downloads the icons for a specific plugin if the plugin provides a @icon_source.yaml@ in plugin config directory.
* @icons:plugin:sprite@: generates the SVG sprite for the plugin.
* @icons:plugin:generate@: runs @icons:plugin:download@ and @icons:plugin:sprite@ tasks



git-svn-id: https://svn.redmine.org/redmine/trunk@23105 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-08 21:53:53 +00:00
Marius Balteanu
38d950df55 Remove current year from source file copyright headers and update year in footer to 2024 (#40043).
git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-26 22:55:54 +00:00
Marius Balteanu
4bc3365524 Removes @redmine:plugins:assets@ from @redmine:plugins@ task (#40204).
git-svn-id: https://svn.redmine.org/redmine/trunk@22690 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-07 19:53:58 +00:00
Marius Balteanu
63b89a254c Removes @redmine:plugins:assets@ task which is no longer needed after asset pipeline implementation (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22630 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-25 05:45:31 +00:00
Go MAEDA
5b77092be4 Replace regular expression matches with String#start_with? / end_with? (#40010).
Patch by Go MAEDA (@maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@22605 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-11 11:27:25 +00:00
Marius Balteanu
38e40d5c13 Run plugin tests only if test files exist (#39803, #36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22525 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 03:30:04 +00:00
Marius Balteanu
cbe6b4a374 Fixes that @redmine:plugins:test@ should run plugins unit, functional, integration and system tests in one single test session instead of one session for each type of test. This behaviour was changed in Rails 7.1 because @rake test@ and @rails test@ are integrated (#39803, #36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22524 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 03:19:10 +00:00
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:email: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:email: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:email: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