Go MAEDA
c11f213e40
Fix RuboCop offense Style/HashSyntax (Don't mix styles in the same hash) introduced in r22551 (#39862).
git-svn-id: https://svn.redmine.org/redmine/trunk@22566 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 months ago
Go MAEDA
9b247230f7
Fix RuboCop offense Layout/EmptyLinesAroundClassBody introduced in r22562 (#39747, #36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22564 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 months ago
Marius Balteanu
a9b7f12900
Fixes that diff of a javascript file in repository module is not displayed with layout in Rails 7.1
(#39747, #36320 ).
git-svn-id: https://svn.redmine.org/redmine/trunk@22563 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 months ago
Marius Balteanu
5a5c621f43
Add system test for #39747.
git-svn-id: https://svn.redmine.org/redmine/trunk@22562 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 months ago
Marius Balteanu
f5c5573610
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
4 months ago
Marius Balteanu
1197615189
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
4 months ago
Marius Balteanu
5ec6d763a8
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
4 months ago
Marius Balteanu
c17b42509b
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
4 months ago
Marius Balteanu
1f7f1a2db7
Allow consecutive footnote references inTextile (#39884).
Patch by @hjust.
git-svn-id: https://svn.redmine.org/redmine/trunk@22546 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 months ago
Go MAEDA
11169aacae
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
4 months ago
Marius Balteanu
bf39d87c81
Add test for #39894.
git-svn-id: https://svn.redmine.org/redmine/trunk@22539 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 months ago
Go MAEDA
380444f085
Fix RuboCop offense Performance/StringIdentifierArgument (#39888).
git-svn-id: https://svn.redmine.org/redmine/trunk@22535 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 months ago
Go MAEDA
c8640d7ffc
Fix RuboCop offense Style/HashEachMethods (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22532 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 months ago
Go MAEDA
d9ef2d191c
Fix RuboCop offense Lint/SymbolConversion (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22531 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 months ago
Go MAEDA
c51e4937e7
Fix RuboCop offense Style/SuperWithArgsParentheses (#39887).
git-svn-id: https://svn.redmine.org/redmine/trunk@22530 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 months ago
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
4 months ago
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
4 months ago
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
5 months ago
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
5 months ago
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
5 months ago
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
5 months ago
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
5 months ago
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
5 months ago
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
5 months ago
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
5 months ago
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
5 months ago
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
5 months ago
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
5 months ago
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
5 months ago
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
5 months ago
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
5 months ago
Marius Balteanu
10d667f6dd
Add test for #39714.
git-svn-id: https://svn.redmine.org/redmine/trunk@22479 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 months ago
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
5 months ago
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
5 months ago
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
5 months ago
Go MAEDA
291d23e5fe
Deprecate unused ApplicationHelper#render_if_exist (#39527).
git-svn-id: https://svn.redmine.org/redmine/trunk@22466 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 months ago
Go MAEDA
d6b86ca53d
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
5 months ago
Marius Balteanu
f24631a8bd
Use tx_isolation for MySQL lower than 8. (#39437).
git-svn-id: https://svn.redmine.org/redmine/trunk@22464 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 months ago
Marius Balteanu
0a329dce2f
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
5 months ago
Marius Balteanu
92e779cafa
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
5 months ago
Marius Balteanu
a2c203cca0
Revert undesired change (#22458).
git-svn-id: https://svn.redmine.org/redmine/trunk@22460 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 months ago
Marius Balteanu
aa9b681678
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
5 months ago
Go MAEDA
635e31a952
Add missing fixture file intended for r22440 (#39511).
git-svn-id: https://svn.redmine.org/redmine/trunk@22453 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 months ago
Go MAEDA
50381970d8
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
5 months ago
Marius Balteanu
d9e72d6ba2
Cover more tests for #39553.
git-svn-id: https://svn.redmine.org/redmine/trunk@22449 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 months ago
Go MAEDA
fa7c481028
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
5 months ago
Go MAEDA
384cde0a46
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
5 months ago
Go MAEDA
07b28d3e89
Fix RuboCop offense Layout/SpaceAfterComma due to r22418 (#39534).
git-svn-id: https://svn.redmine.org/redmine/trunk@22435 e93f8b46-1217-0410-a6f0-8f06a7374b81
5 months ago
Marius Balteanu
01e9671291
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
6 months ago
Marius Balteanu
daa5010cbb
Add system test for #39521.
git-svn-id: https://svn.redmine.org/redmine/trunk@22428 e93f8b46-1217-0410-a6f0-8f06a7374b81
6 months ago