]> source.dussan.org Git - redmine.git/log
redmine.git
10 months agoAdd system test for #39747.
Marius Balteanu [Tue, 26 Dec 2023 15:43:25 +0000 (15:43 +0000)]
Add system test for #39747.

git-svn-id: https://svn.redmine.org/redmine/trunk@22562 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 months agoIncorrect position of "Edited" mark in issue notes with h4 headings (#39932).
Go MAEDA [Tue, 26 Dec 2023 08:57:48 +0000 (08:57 +0000)]
Incorrect position of "Edited" mark in issue notes with h4 headings (#39932).

Contributed by Y. Saku.

git-svn-id: https://svn.redmine.org/redmine/trunk@22561 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 months agoTraditional Chinese translation update (#39941).
Go MAEDA [Tue, 26 Dec 2023 08:33:20 +0000 (08:33 +0000)]
Traditional Chinese translation update (#39941).

Patch by ChunChang (Nagaharu) Lo.

git-svn-id: https://svn.redmine.org/redmine/trunk@22560 e93f8b46-1217-0410-a6f0-8f06a7374b81

10 months agoUpdates number of subversion filechanges in @test_fetch_changesets_from_scratch@...
Marius Balteanu [Mon, 25 Dec 2023 01:57:24 +0000 (01:57 +0000)]
Updates number of subversion filechanges in @test_fetch_changesets_from_scratch@ (#39747, #36320).

git-svn-id: https://svn.redmine.org/redmine/trunk@22557 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoUpdates number of subversion revisions in @test/unit/repository_subversion_test.rb...
Marius Balteanu [Sun, 24 Dec 2023 16:44:56 +0000 (16:44 +0000)]
Updates number of subversion revisions in @test/unit/repository_subversion_test.rb@ (#39747, #36320).

git-svn-id: https://svn.redmine.org/redmine/trunk@22556 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoUpdates subversion repository fixture with test data for #39747 (#39747, #36320).
Marius Balteanu [Sun, 24 Dec 2023 16:39:17 +0000 (16:39 +0000)]
Updates subversion repository fixture with test data for #39747 (#39747, #36320).

git-svn-id: https://svn.redmine.org/redmine/trunk@22555 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoFixes attachments functionality for (custom) plugins broken since fix for CVE-2022...
Marius Balteanu [Fri, 22 Dec 2023 02:08:53 +0000 (02:08 +0000)]
Fixes attachments functionality for (custom) plugins broken since fix for CVE-2022-44030 by adding a dynamic routing constraint which can be modified by plugins (#39862).

Patch by @jkraemer.

git-svn-id: https://svn.redmine.org/redmine/trunk@22551 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoUpdate locales (#39879).
Marius Balteanu [Fri, 22 Dec 2023 02:03:18 +0000 (02:03 +0000)]
Update locales (#39879).

git-svn-id: https://svn.redmine.org/redmine/trunk@22550 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoFix hardcoded string "auto" on user preferences page (#39879).
Marius Balteanu [Fri, 22 Dec 2023 01:58:28 +0000 (01:58 +0000)]
Fix hardcoded string "auto" on user preferences page (#39879).

Patch by @salmanmp.

git-svn-id: https://svn.redmine.org/redmine/trunk@22549 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoAllow consecutive footnote references inTextile (#39884).
Marius Balteanu [Fri, 22 Dec 2023 01:44:02 +0000 (01:44 +0000)]
Allow consecutive footnote references inTextile (#39884).

Patch by @hjust.

git-svn-id: https://svn.redmine.org/redmine/trunk@22546 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoFix improper error highlighting for description field in issue form (#39795).
Go MAEDA [Fri, 22 Dec 2023 00:33:13 +0000 (00:33 +0000)]
Fix improper error highlighting for description field in issue form (#39795).

Patch by Mizuki ISHIKAWA.

git-svn-id: https://svn.redmine.org/redmine/trunk@22545 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoFix typo in Russian translation of text_status_no_workflow (#39801).
Go MAEDA [Fri, 22 Dec 2023 00:13:08 +0000 (00:13 +0000)]
Fix typo in Russian translation of text_status_no_workflow (#39801).

Patch by Evangeline Rome.

git-svn-id: https://svn.redmine.org/redmine/trunk@22544 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoExtends mysql8? test helper to handle more complex version strings (#39865).
Go MAEDA [Fri, 22 Dec 2023 00:06:29 +0000 (00:06 +0000)]
Extends mysql8? test helper to handle more complex version strings (#39865).

Patch by Jens Krämer.

git-svn-id: https://svn.redmine.org/redmine/trunk@22542 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoAdd test for #39894.
Marius Balteanu [Thu, 21 Dec 2023 06:54:28 +0000 (06:54 +0000)]
Add test for #39894.

git-svn-id: https://svn.redmine.org/redmine/trunk@22539 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoExplicitly render a 404 on non-JS requests to @watchers#new@ (#39894).
Marius Balteanu [Thu, 21 Dec 2023 06:47:32 +0000 (06:47 +0000)]
Explicitly render a 404 on non-JS requests to @watchers#new@ (#39894).

Patch by @hjust.

git-svn-id: https://svn.redmine.org/redmine/trunk@22538 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoUpdate RuboCop Rails to 2.23 (#39889).
Go MAEDA [Wed, 20 Dec 2023 09:41:28 +0000 (09:41 +0000)]
Update RuboCop Rails to 2.23 (#39889).

git-svn-id: https://svn.redmine.org/redmine/trunk@22537 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoUpdate RuboCop Performance to 1.20 (#39888).
Go MAEDA [Wed, 20 Dec 2023 09:28:20 +0000 (09:28 +0000)]
Update RuboCop Performance to 1.20 (#39888).

git-svn-id: https://svn.redmine.org/redmine/trunk@22536 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoFix RuboCop offense Performance/StringIdentifierArgument (#39888).
Go MAEDA [Wed, 20 Dec 2023 09:23:05 +0000 (09:23 +0000)]
Fix RuboCop offense Performance/StringIdentifierArgument (#39888).

git-svn-id: https://svn.redmine.org/redmine/trunk@22535 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoUpdate RuboCop to 1.59 (#39887).
Go MAEDA [Wed, 20 Dec 2023 08:29:38 +0000 (08:29 +0000)]
Update RuboCop to 1.59 (#39887).

git-svn-id: https://svn.redmine.org/redmine/trunk@22534 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoRegenerate .rubocop_todo.yml (#39887).
Go MAEDA [Wed, 20 Dec 2023 08:22:54 +0000 (08:22 +0000)]
Regenerate .rubocop_todo.yml (#39887).

git-svn-id: https://svn.redmine.org/redmine/trunk@22533 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoFix RuboCop offense Style/HashEachMethods (#39887).
Go MAEDA [Wed, 20 Dec 2023 08:13:48 +0000 (08:13 +0000)]
Fix RuboCop offense Style/HashEachMethods (#39887).

git-svn-id: https://svn.redmine.org/redmine/trunk@22532 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoFix RuboCop offense Lint/SymbolConversion (#39887).
Go MAEDA [Wed, 20 Dec 2023 07:16:35 +0000 (07:16 +0000)]
Fix RuboCop offense Lint/SymbolConversion (#39887).

git-svn-id: https://svn.redmine.org/redmine/trunk@22531 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoFix RuboCop offense Style/SuperWithArgsParentheses (#39887).
Go MAEDA [Wed, 20 Dec 2023 07:15:11 +0000 (07:15 +0000)]
Fix RuboCop offense Style/SuperWithArgsParentheses (#39887).

git-svn-id: https://svn.redmine.org/redmine/trunk@22530 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoDisable RuboCop Style/RedundantParentheses (#39887).
Go MAEDA [Wed, 20 Dec 2023 07:12:49 +0000 (07:12 +0000)]
Disable RuboCop Style/RedundantParentheses (#39887).

git-svn-id: https://svn.redmine.org/redmine/trunk@22529 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoUpdate Rails UJS to 7.1.2 (#36320).
Marius Balteanu [Wed, 20 Dec 2023 04:35:51 +0000 (04:35 +0000)]
Update Rails UJS to 7.1.2  (#36320).

git-svn-id: https://svn.redmine.org/redmine/trunk@22526 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoRun plugin tests only if test files exist (#39803, #36320).
Marius Balteanu [Wed, 20 Dec 2023 03:30:04 +0000 (03:30 +0000)]
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

11 months agoFixes that @redmine:plugins:test@ should run plugins unit, functional, integration...
Marius Balteanu [Wed, 20 Dec 2023 03:19:10 +0000 (03:19 +0000)]
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

11 months agoFix RuboCop offense Layout/EmptyLineAfterMagicComment (#36320, #39834).
Go MAEDA [Tue, 19 Dec 2023 09:43:27 +0000 (09:43 +0000)]
Fix RuboCop offense Layout/EmptyLineAfterMagicComment (#36320, #39834).

git-svn-id: https://svn.redmine.org/redmine/trunk@22523 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoAdds test for plugin autoload issue (#36320, #39834).
Marius Balteanu [Sun, 17 Dec 2023 15:05:47 +0000 (15:05 +0000)]
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

11 months agoFixes random failing test by using @async_count@ in order to avoid query caching...
Marius Balteanu [Thu, 14 Dec 2023 07:13:03 +0000 (07:13 +0000)]
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

11 months agoRevert r22514 (#36320).
Marius Balteanu [Thu, 14 Dec 2023 07:10:46 +0000 (07:10 +0000)]
Revert r22514 (#36320).

git-svn-id: https://svn.redmine.org/redmine/trunk@22519 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months ago Replaces @config.cache_classes@ which the new option @config.enable_reloading@ intro...
Marius Balteanu [Tue, 12 Dec 2023 17:56:00 +0000 (17:56 +0000)]
 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

11 months agoFix NoMethodError: undefined method `rake_run' for Rails::TestUnit::Runner:Class...
Marius Balteanu [Tue, 12 Dec 2023 16:52:46 +0000 (16:52 +0000)]
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

11 months agoUpdate integration test for plugin routes after r22515 (#36320, #39803).
Marius Balteanu [Tue, 12 Dec 2023 16:45:43 +0000 (16:45 +0000)]
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

11 months agoReverts r22507, r22508 and r22510 (#36320, #39803).
Marius Balteanu [Tue, 12 Dec 2023 16:26:34 +0000 (16:26 +0000)]
Reverts r22507, r22508 and r22510 (#36320, #39803).

git-svn-id: https://svn.redmine.org/redmine/trunk@22515 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoBlock @rack-session@ gem version to 1 in order to stick with Rack 2 (#36320).
Marius Balteanu [Mon, 11 Dec 2023 10:57:40 +0000 (10:57 +0000)]
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

11 months agoRefactor integration test for plugins routing (added in r22328) in order to use the...
Marius Balteanu [Mon, 11 Dec 2023 10:56:02 +0000 (10:56 +0000)]
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

11 months agoChange the default notification option from `only_my_events` to `only_assigned` ...
Go MAEDA [Mon, 11 Dec 2023 09:20:06 +0000 (09:20 +0000)]
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

11 months agoRevert r22504 that missing a necessary file (#39500).
Go MAEDA [Mon, 11 Dec 2023 09:14:47 +0000 (09:14 +0000)]
Revert r22504 that missing a necessary file (#39500).

git-svn-id: https://svn.redmine.org/redmine/trunk@22511 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoRemove unnecessary line that changes the @PluginLoader@ directory inside @plugins_tes...
Marius Balteanu [Mon, 11 Dec 2023 07:49:47 +0000 (07:49 +0000)]
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

11 months agoFix failing API tests on Ruby 2.7 after migration to Rails 7.1 (#36320, #39760).
Marius Balteanu [Sun, 10 Dec 2023 04:01:40 +0000 (04:01 +0000)]
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

11 months agoAdds test for plugin autoloading plugins issue (#36320).
Marius Balteanu [Sun, 10 Dec 2023 03:41:09 +0000 (03:41 +0000)]
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

11 months agoAllows configure plugins directory path in order to change the default location in...
Marius Balteanu [Sun, 10 Dec 2023 03:34:16 +0000 (03:34 +0000)]
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

11 months agoFix typo (#36320).
Marius Balteanu [Sun, 10 Dec 2023 03:24:34 +0000 (03:24 +0000)]
Fix typo (#36320).

git-svn-id: https://svn.redmine.org/redmine/trunk@22506 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoFix autoloading of plugins fails in Rails 7.1.2 (#36320).
Marius Balteanu [Sun, 10 Dec 2023 03:10:39 +0000 (03:10 +0000)]
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

11 months agoChange the default notification option from `only_my_events` to `only_assigned` ...
Go MAEDA [Fri, 8 Dec 2023 08:29:17 +0000 (08:29 +0000)]
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

11 months agoCode cleanup: unnecessary use of instance variables in UserTest (#39500).
Go MAEDA [Fri, 8 Dec 2023 08:17:05 +0000 (08:17 +0000)]
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

11 months agoRussian translation update (#39782).
Go MAEDA [Fri, 8 Dec 2023 02:58:49 +0000 (02:58 +0000)]
Russian translation update (#39782).

Patch by Grigory Tumakov.

git-svn-id: https://svn.redmine.org/redmine/trunk@22501 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoRussian translation update for 5.1-stable (#39782).
Go MAEDA [Fri, 8 Dec 2023 02:55:53 +0000 (02:55 +0000)]
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

11 months agoPersian translation update for 5.1-stable (#39781).
Go MAEDA [Fri, 8 Dec 2023 02:39:36 +0000 (02:39 +0000)]
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

11 months agoFix CommonMark Markdown help page to reflect user's language setting (#39755).
Go MAEDA [Wed, 6 Dec 2023 14:26:57 +0000 (14:26 +0000)]
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

11 months agoRemove useless method #run_in_request? from db/migrate/20221214173537_add_select_proj...
Go MAEDA [Tue, 5 Dec 2023 00:44:30 +0000 (00:44 +0000)]
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

11 months agoFix typo (#39110).
Marius Balteanu [Mon, 4 Dec 2023 06:18:21 +0000 (06:18 +0000)]
Fix typo (#39110).

Patch by Mizuki ISHIKAWA.

git-svn-id: https://svn.redmine.org/redmine/trunk@22494 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoFix deprecation warnings regarding the use of ActiveSupport::Deprecation.behavior...
Go MAEDA [Fri, 1 Dec 2023 06:59:04 +0000 (06:59 +0000)]
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

11 months agoTamil jstoolbar translation update for 5.1-stable (#39751).
Go MAEDA [Fri, 1 Dec 2023 01:40:05 +0000 (01:40 +0000)]
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

11 months agoTamil translation update for 5.1-stable (#39751).
Go MAEDA [Fri, 1 Dec 2023 01:36:14 +0000 (01:36 +0000)]
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

11 months agoUpdate RuboCop target Rails version to 7.1 (#36320).
Go MAEDA [Thu, 30 Nov 2023 08:28:37 +0000 (08:28 +0000)]
Update RuboCop target Rails version to 7.1 (#36320).

git-svn-id: https://svn.redmine.org/redmine/trunk@22490 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoRevert r21883 which was an workaround for #37626 (#37732, #36320).
Marius Balteanu [Wed, 29 Nov 2023 07:11:50 +0000 (07:11 +0000)]
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

11 months agoUpdates Rails to 7.1.2 (#36320).
Marius Balteanu [Mon, 27 Nov 2023 20:58:55 +0000 (20:58 +0000)]
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

11 months agoUpdates for 5.1.1 release.
Marius Balteanu [Mon, 27 Nov 2023 20:19:39 +0000 (20:19 +0000)]
Updates for 5.1.1 release.

git-svn-id: https://svn.redmine.org/redmine/trunk@22483 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoAdd missing copyrights (#37730).
Marius Balteanu [Sun, 26 Nov 2023 14:07:17 +0000 (14:07 +0000)]
Add missing copyrights (#37730).

Patch by Karel Pičman.

git-svn-id: https://svn.redmine.org/redmine/trunk@22482 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoAdd test for #39714.
Marius Balteanu [Sun, 26 Nov 2023 13:54:24 +0000 (13:54 +0000)]
Add test for #39714.

git-svn-id: https://svn.redmine.org/redmine/trunk@22479 e93f8b46-1217-0410-a6f0-8f06a7374b81

11 months agoFix query grouping filter not working for custom field relations (#39714).
Marius Balteanu [Sun, 26 Nov 2023 13:53:41 +0000 (13:53 +0000)]
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

11 months agoAdd @transaction_isolation@ variable to database.yml.example (#39592, #39737).
Marius Balteanu [Sun, 26 Nov 2023 13:21:13 +0000 (13:21 +0000)]
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

11 months agoUpdate database versions and MySQL related documentation to include the workaround...
Marius Balteanu [Sun, 26 Nov 2023 13:20:27 +0000 (13:20 +0000)]
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

11 months agoWorkaround to fix a random failing test on MySQL 8 caused by the removal of implicit...
Marius Balteanu [Sun, 26 Nov 2023 13:11:23 +0000 (13:11 +0000)]
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

12 months agoRemove @request_store@ gem (#39110).
Marius Balteanu [Tue, 21 Nov 2023 06:48:03 +0000 (06:48 +0000)]
Remove @request_store@ gem (#39110).

Patch by Takashi Kato.

git-svn-id: https://svn.redmine.org/redmine/trunk@22474 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 months agoReplace request_store with ActiveSupport::CurrentAttributes (#39110).
Marius Balteanu [Tue, 21 Nov 2023 06:45:54 +0000 (06:45 +0000)]
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

12 months agoAdd data-text-formatting attribute for selected markup language to body tag (#20620).
Go MAEDA [Tue, 21 Nov 2023 01:03:43 +0000 (01:03 +0000)]
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

12 months agoCI server: disable ssl connexion to mysql server.
Jean-Philippe Lang [Mon, 20 Nov 2023 17:01:04 +0000 (17:01 +0000)]
CI server: disable ssl connexion to mysql server.

git-svn-id: https://svn.redmine.org/redmine/trunk@22470 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 months agoAdds support for environment variable for CI mysql host.
Jean-Philippe Lang [Mon, 20 Nov 2023 16:52:22 +0000 (16:52 +0000)]
Adds support for environment variable for CI mysql host.

git-svn-id: https://svn.redmine.org/redmine/trunk@22469 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 months agoAdds support for environment variable for CI postgresql host.
Jean-Philippe Lang [Mon, 20 Nov 2023 16:04:44 +0000 (16:04 +0000)]
Adds support for environment variable for CI postgresql host.

git-svn-id: https://svn.redmine.org/redmine/trunk@22468 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 months agoDeprecate unused ApplicationHelper#render_if_exist (#39527).
Go MAEDA [Sun, 19 Nov 2023 07:41:21 +0000 (07:41 +0000)]
Deprecate unused ApplicationHelper#render_if_exist (#39527).

git-svn-id: https://svn.redmine.org/redmine/trunk@22466 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 months agoFix typo in test names in application_helper_test.rb: Change "redner" to "render...
Go MAEDA [Sun, 19 Nov 2023 07:30:08 +0000 (07:30 +0000)]
Fix typo in test names in application_helper_test.rb: Change "redner" to "render" (#39527).

git-svn-id: https://svn.redmine.org/redmine/trunk@22465 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 months agoUse tx_isolation for MySQL lower than 8. (#39437).
Marius Balteanu [Sun, 19 Nov 2023 07:10:53 +0000 (07:10 +0000)]
Use tx_isolation for MySQL lower than 8. (#39437).

git-svn-id: https://svn.redmine.org/redmine/trunk@22464 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 months agoWorkaround to use READ-COMMITTED as transaction_isolation level when running the...
Marius Balteanu [Sat, 18 Nov 2023 22:30:52 +0000 (22:30 +0000)]
Workaround to use READ-COMMITTED as transaction_isolation level when running the concurrency tests in MySQL. (#39437).

git-svn-id: https://svn.redmine.org/redmine/trunk@22462 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 months agoAdd concurrent subtask removal test to cover corrupted nested sets (#39437).
Marius Balteanu [Sat, 18 Nov 2023 22:27:35 +0000 (22:27 +0000)]
Add concurrent subtask removal test to cover corrupted nested sets (#39437).

Patch by Jens Krämer.

git-svn-id: https://svn.redmine.org/redmine/trunk@22461 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 months agoRevert undesired change (#22458).
Marius Balteanu [Sat, 18 Nov 2023 16:36:23 +0000 (16:36 +0000)]
Revert undesired change (#22458).

git-svn-id: https://svn.redmine.org/redmine/trunk@22460 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 months agoMoves create parent issue journal to after_commit hook to work around stale object...
Marius Balteanu [Sat, 18 Nov 2023 14:40:25 +0000 (14:40 +0000)]
Moves create parent issue journal to after_commit hook to work around stale object errors on concurrency (#39437).

Patch by Jens Krämer.

git-svn-id: https://svn.redmine.org/redmine/trunk@22459 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 months agoUse a global lock provided by @with_advisory_lock@ gem to work around deadlock issues...
Marius Balteanu [Sat, 18 Nov 2023 14:39:28 +0000 (14:39 +0000)]
Use a global lock provided by @with_advisory_lock@ gem to work around deadlock issues when MySQL >= 5.7 (#39437).

Patch by Jens Krämer.

git-svn-id: https://svn.redmine.org/redmine/trunk@22458 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 months agoRemove deprecated methods in Repository and AbstractAdapter (#39558).
Marius Balteanu [Sat, 18 Nov 2023 12:58:19 +0000 (12:58 +0000)]
Remove deprecated methods in Repository and AbstractAdapter (#39558).

Patch by Go MAEDA.

git-svn-id: https://svn.redmine.org/redmine/trunk@22457 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 months agoFix `rake yard` does not work with Ruby >= 3.2 due to nested array issue (#39576).
Go MAEDA [Sat, 18 Nov 2023 04:18:59 +0000 (04:18 +0000)]
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

12 months agoAdd missing fixture file intended for r22440 (#39511).
Go MAEDA [Fri, 17 Nov 2023 06:54:17 +0000 (06:54 +0000)]
Add missing fixture file intended for r22440 (#39511).

git-svn-id: https://svn.redmine.org/redmine/trunk@22453 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 months agoPrevent auto requiring of 'yard' gem (#39547).
Go MAEDA [Fri, 17 Nov 2023 06:38:05 +0000 (06:38 +0000)]
Prevent auto requiring of 'yard' gem (#39547).

git-svn-id: https://svn.redmine.org/redmine/trunk@22452 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 months agoDisable RuboCop warning for intentional comma in percent string array (#39553).
Go MAEDA [Fri, 17 Nov 2023 04:24:28 +0000 (04:24 +0000)]
Disable RuboCop warning for intentional comma in percent string array (#39553).

git-svn-id: https://svn.redmine.org/redmine/trunk@22451 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 months agoSimply regex (#39553).
Marius Balteanu [Thu, 16 Nov 2023 22:19:15 +0000 (22:19 +0000)]
Simply regex (#39553).

git-svn-id: https://svn.redmine.org/redmine/trunk@22450 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 months agoCover more tests for #39553.
Marius Balteanu [Thu, 16 Nov 2023 22:17:30 +0000 (22:17 +0000)]
Cover more tests for #39553.

git-svn-id: https://svn.redmine.org/redmine/trunk@22449 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 months agoFix mention notification is not sent when user pattern is leading by some punctuation...
Marius Balteanu [Thu, 16 Nov 2023 22:07:51 +0000 (22:07 +0000)]
Fix mention notification is not sent when user pattern is leading by some punctuation marks like ! or ? (#39553).

Patch by Thomas Löber.

git-svn-id: https://svn.redmine.org/redmine/trunk@22445 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 months agoAuto-detection of field wrapper type when importing CSV file (#39511).
Go MAEDA [Thu, 16 Nov 2023 11:13:39 +0000 (11:13 +0000)]
Auto-detection of field wrapper type when importing CSV file (#39511).

Patch by Go MAEDA.

git-svn-id: https://svn.redmine.org/redmine/trunk@22440 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 months agoUpdate locales (#35189).
Go MAEDA [Thu, 16 Nov 2023 08:36:55 +0000 (08:36 +0000)]
Update locales (#35189).

git-svn-id: https://svn.redmine.org/redmine/trunk@22439 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 months agoNew email notification option "For any event on my bookmarked projects" (#35189).
Go MAEDA [Thu, 16 Nov 2023 08:32:41 +0000 (08:32 +0000)]
New email notification option "For any event on my bookmarked projects" (#35189).

Patch by Mizuki ISHIKAWA.

git-svn-id: https://svn.redmine.org/redmine/trunk@22438 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 months agoSimplified Chinese translation update for 5.1-stable (#39551).
Go MAEDA [Thu, 16 Nov 2023 08:26:32 +0000 (08:26 +0000)]
Simplified Chinese translation update for 5.1-stable (#39551).

Patch by lei shi.

git-svn-id: https://svn.redmine.org/redmine/trunk@22436 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 months agoFix RuboCop offense Layout/SpaceAfterComma due to r22418 (#39534).
Go MAEDA [Thu, 16 Nov 2023 08:16:29 +0000 (08:16 +0000)]
Fix RuboCop offense Layout/SpaceAfterComma due to r22418 (#39534).

git-svn-id: https://svn.redmine.org/redmine/trunk@22435 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 months agoWait for autocomplete to return all 3 issues in order to avoid @StaleElementReference...
Marius Balteanu [Sun, 12 Nov 2023 22:17:55 +0000 (22:17 +0000)]
Wait for autocomplete to return all 3 issues in order to avoid @StaleElementReferenceError@ (#38852).

git-svn-id: https://svn.redmine.org/redmine/trunk@22429 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 months agoAdd system test for #39521.
Marius Balteanu [Sun, 12 Nov 2023 21:41:12 +0000 (21:41 +0000)]
Add system test for #39521.

git-svn-id: https://svn.redmine.org/redmine/trunk@22428 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 months agoFix mention autocomplete not displaying for users without "Edit issues" permission...
Marius Balteanu [Sun, 12 Nov 2023 21:40:02 +0000 (21:40 +0000)]
Fix mention autocomplete not displaying for users without "Edit issues" permission (#39521).

Patch by Mizuki ISHIKAWA.

git-svn-id: https://svn.redmine.org/redmine/trunk@22427 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 months agoBulgarian translation update (#39513).
Go MAEDA [Sun, 12 Nov 2023 09:46:12 +0000 (09:46 +0000)]
Bulgarian translation update (#39513).

Patch by Ivan Cenov.

git-svn-id: https://svn.redmine.org/redmine/trunk@22421 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 months agoKeep existing @##@ syntax when triggering an issue from the inline autocomplete ...
Marius Balteanu [Sat, 11 Nov 2023 07:10:51 +0000 (07:10 +0000)]
Keep existing @##@ syntax when triggering an issue from the inline autocomplete (#38852).

git-svn-id: https://svn.redmine.org/redmine/trunk@22419 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 months agoFix undefined method error in issue list PDF export when export contains a custom...
Marius Balteanu [Sat, 11 Nov 2023 06:41:09 +0000 (06:41 +0000)]
Fix undefined method error in issue list PDF export when export contains a custom field block column with full width layout enabled that is not part of the tracker of the exported ticket(s) (#39534).

git-svn-id: https://svn.redmine.org/redmine/trunk@22418 e93f8b46-1217-0410-a6f0-8f06a7374b81

12 months agoFix an expression of non-boolean type specified in a context where a condition is...
Marius Balteanu [Sat, 11 Nov 2023 06:00:20 +0000 (06:00 +0000)]
Fix an expression of non-boolean type specified in a context where a condition is expected when MSSQL is used (#39443).

Patch by Pavel Rosický.

git-svn-id: https://svn.redmine.org/redmine/trunk@22417 e93f8b46-1217-0410-a6f0-8f06a7374b81