1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00

17990 Commits

Author SHA1 Message Date
Go MAEDA
c8640d7ffc Fix RuboCop offense Style/HashEachMethods (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22532 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 08:13:48 +00:00
Go MAEDA
d9ef2d191c Fix RuboCop offense Lint/SymbolConversion (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22531 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 07:16:35 +00:00
Go MAEDA
c51e4937e7 Fix RuboCop offense Style/SuperWithArgsParentheses (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22530 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 07:15:11 +00:00
Go MAEDA
b552720590 Disable RuboCop Style/RedundantParentheses (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22529 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 07:12:49 +00:00
Marius Balteanu
f3b6c3a378 Update Rails UJS to 7.1.2 (#36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22526 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 04:35:51 +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
Go MAEDA
4a1683e607 Fix RuboCop offense Layout/EmptyLineAfterMagicComment (#36320, #39834).
git-svn-id: https://svn.redmine.org/redmine/trunk@22523 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-19 09:43:27 +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
4cc0b8d2ca Fixes random failing test by using @async_count@ in order to avoid query caching (#36320).
Patch by @maeda-m.

git-svn-id: https://svn.redmine.org/redmine/trunk@22520 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-14 07:13:03 +00:00
Marius Balteanu
c506809ddd Revert r22514 (#36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22519 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-14 07:10:46 +00:00
Marius Balteanu
a6e754ecce Replaces @config.cache_classes@ which the new option @config.enable_reloading@ introduced in Rails 7.1 (#36320)
git-svn-id: https://svn.redmine.org/redmine/trunk@22518 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-12 17:56:00 +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
88b776df2f Update integration test for plugin routes after r22515 (#36320, #39803).
git-svn-id: https://svn.redmine.org/redmine/trunk@22516 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-12 16:45:43 +00:00
Marius Balteanu
a2c90c462f Reverts r22507, r22508 and r22510 (#36320, #39803).
git-svn-id: https://svn.redmine.org/redmine/trunk@22515 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-12 16:26:34 +00:00
Marius Balteanu
4cff8b309a Block @rack-session@ gem version to 1 in order to stick with Rack 2 (#36320).
Patch by @maeda-m.

git-svn-id: https://svn.redmine.org/redmine/trunk@22514 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-11 10:57:40 +00:00
Marius Balteanu
92125fa467 Refactor integration test for plugins routing (added in r22328) in order to use the new plugins directory path for test environment (#36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22513 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-11 10:56:02 +00:00
Go MAEDA
9935af7e01 Change the default notification option from only_my_events to only_assigned (#39500).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22512 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-11 09:20:06 +00:00
Go MAEDA
21423d4b7f Revert r22504 that missing a necessary file (#39500).
git-svn-id: https://svn.redmine.org/redmine/trunk@22511 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-11 09:14:47 +00:00
Marius Balteanu
7c7c1dac16 Remove unnecessary line that changes the @PluginLoader@ directory inside @plugins_test.rb@ (#36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22510 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-11 07:49:47 +00:00
Marius Balteanu
c0f3fefa44 Fix failing API tests on Ruby 2.7 after migration to Rails 7.1 (#36320, #39760).
Patch by @maeda-m.

git-svn-id: https://svn.redmine.org/redmine/trunk@22509 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-10 04:01:40 +00:00
Marius Balteanu
a255430b68 Adds test for plugin autoloading plugins issue (#36320).
Patch by @tohosaku.

git-svn-id: https://svn.redmine.org/redmine/trunk@22508 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-10 03:41:09 +00:00
Marius Balteanu
e6f2e33856 Allows configure plugins directory path in order to change the default location in test environment (#36320).
Patch by @tohosaku.

git-svn-id: https://svn.redmine.org/redmine/trunk@22507 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-10 03:34:16 +00:00
Marius Balteanu
ac36333e90 Fix typo (#36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22506 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-10 03:24:34 +00:00
Marius Balteanu
8f210b35d2 Fix autoloading of plugins fails in Rails 7.1.2 (#36320).
Patch by Mizuki ISHIKAWA.

git-svn-id: https://svn.redmine.org/redmine/trunk@22505 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-10 03:10:39 +00:00
Go MAEDA
9b2b30b887 Change the default notification option from only_my_events to only_assigned (#39500).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22504 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-08 08:29:17 +00:00
Go MAEDA
a73ffaebd3 Code cleanup: unnecessary use of instance variables in UserTest (#39500).
git-svn-id: https://svn.redmine.org/redmine/trunk@22503 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-08 08:17:05 +00:00
Go MAEDA
fb9de9bc5c Russian translation update (#39782).
Patch by Grigory Tumakov.


git-svn-id: https://svn.redmine.org/redmine/trunk@22501 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-08 02:58:49 +00:00
Go MAEDA
ffaa5ccbbe Russian translation update for 5.1-stable (#39782).
Patch by Grigory Tumakov.


git-svn-id: https://svn.redmine.org/redmine/trunk@22500 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-08 02:55:53 +00:00
Go MAEDA
34afd124fd Persian translation update for 5.1-stable (#39781).
Patch by salman mp.


git-svn-id: https://svn.redmine.org/redmine/trunk@22498 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-08 02:39:36 +00:00
Go MAEDA
7a06338a04 Fix CommonMark Markdown help page to reflect user's language setting (#39755).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22496 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-06 14:26:57 +00:00
Go MAEDA
b150a8e9b2 Remove useless method #run_in_request? from db/migrate/20221214173537_add_select_project_publicity_permission.rb (#39777).
Patch by Pavel Rosický.


git-svn-id: https://svn.redmine.org/redmine/trunk@22495 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-05 00:44:30 +00:00
Marius Balteanu
f29c22157d Fix typo (#39110).
Patch by Mizuki ISHIKAWA.

git-svn-id: https://svn.redmine.org/redmine/trunk@22494 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-04 06:18:21 +00:00
Go MAEDA
07aab5a280 Fix deprecation warnings regarding the use of ActiveSupport::Deprecation.behavior (#39527, #36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22493 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-01 06:59:04 +00:00
Go MAEDA
a3a6fe7c39 Tamil jstoolbar translation update for 5.1-stable (#39751).
Patch by Dhana Lakshmi.


git-svn-id: https://svn.redmine.org/redmine/trunk@22492 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-01 01:40:05 +00:00
Go MAEDA
c5792817b4 Tamil translation update for 5.1-stable (#39751).
Patch by Dhana Lakshmi.


git-svn-id: https://svn.redmine.org/redmine/trunk@22491 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-01 01:36:14 +00:00
Go MAEDA
253e15e575 Update RuboCop target Rails version to 7.1 (#36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22490 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-30 08:28:37 +00:00
Marius Balteanu
54afecb2ca Revert r21883 which was an workaround for #37626 (#37732, #36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22489 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-29 07:11:50 +00:00
Marius Balteanu
7b911245d3 Updates Rails to 7.1.2 (#36320).
Patch by Takashi Kato.

git-svn-id: https://svn.redmine.org/redmine/trunk@22488 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-27 20:58:55 +00:00
Marius Balteanu
859bc07edb Updates for 5.1.1 release.
git-svn-id: https://svn.redmine.org/redmine/trunk@22483 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-27 20:19:39 +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
Marius Balteanu
10d667f6dd Add test for #39714.
git-svn-id: https://svn.redmine.org/redmine/trunk@22479 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-26 13:54:24 +00:00
Marius Balteanu
3abf021e4b Fix query grouping filter not working for custom field relations (#39714).
Patch Alexander Meindl.

git-svn-id: https://svn.redmine.org/redmine/trunk@22478 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-26 13:53:41 +00:00
Marius Balteanu
a9cb76278f Add @transaction_isolation@ variable to database.yml.example (#39592, #39737).
Patch by Go MAEDA.

git-svn-id: https://svn.redmine.org/redmine/trunk@22477 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-26 13:21:13 +00:00
Marius Balteanu
9441710fae Update database versions and MySQL related documentation to include the workaround for concurrency issues (#39737, #39592).
git-svn-id: https://svn.redmine.org/redmine/trunk@22476 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-26 13:20:27 +00:00
Marius Balteanu
68fa456223 Workaround to fix a random failing test on MySQL 8 caused by the removal of implicit sorting for GROUP BY (#39737).
git-svn-id: https://svn.redmine.org/redmine/trunk@22475 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-26 13:11:23 +00:00
Marius Balteanu
83c671d40e Remove @request_store@ gem (#39110).
Patch by Takashi Kato.

git-svn-id: https://svn.redmine.org/redmine/trunk@22474 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-21 06:48:03 +00:00
Marius Balteanu
fd3843d821 Replace request_store with ActiveSupport::CurrentAttributes (#39110).
Patch by Takashi Kato.

git-svn-id: https://svn.redmine.org/redmine/trunk@22473 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-21 06:45:54 +00:00
Go MAEDA
f5d68651a0 Add data-text-formatting attribute for selected markup language to body tag (#20620).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22472 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-21 01:03:43 +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