Marius Balteanu
c196f4e2b9
Add test cases for @status=*@, @status=@ and @status=|1|3@ (#40099).
Patch by Jens Krämer (@jkraemer ) and Marius BĂLTEANU (@marius.balteanu ).
git-svn-id: https://svn.redmine.org/redmine/trunk@22623 e93f8b46-1217-0410-a6f0-8f06a7374b81
3 months ago
Marius Balteanu
13aeb797cf
Use ApplicationRecord instead of ActiveRecord::Base (#38975).
Patch by Minoru Maeda (@maeda-m ).
git-svn-id: https://svn.redmine.org/redmine/trunk@22619 e93f8b46-1217-0410-a6f0-8f06a7374b81
3 months ago
Marius Balteanu
c517664985
Reverts r22438 (#35189).
git-svn-id: https://svn.redmine.org/redmine/trunk@22616 e93f8b46-1217-0410-a6f0-8f06a7374b81
3 months ago
Go MAEDA
fc26af7136
Refactor CustomFieldsControllerTest#custom_field_classes (#40008).
git-svn-id: https://svn.redmine.org/redmine/trunk@22597 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 months ago
Go MAEDA
52a55f407b
Replace String#sub with delete_prefix / delete_suffix (#40008).
Patch by Go MAEDA (@maeda ).
git-svn-id: https://svn.redmine.org/redmine/trunk@22596 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 months ago
Go MAEDA
0be4013919
Support localized decimal separators for float values in PDF export (#22024).
Patch by Go MAEDA (@maeda ).
git-svn-id: https://svn.redmine.org/redmine/trunk@22594 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 months ago
Go MAEDA
f7d2f9f00b
Support localized decimal separators for hours in the web UI (#21677).
Patch by Go MAEDA (@maeda ).
git-svn-id: https://svn.redmine.org/redmine/trunk@22593 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 months ago
Go MAEDA
1ab44859fe
Support localized decimal separators for float values (#22024).
Patch by Liane Hampe (@liane_hampe ).
git-svn-id: https://svn.redmine.org/redmine/trunk@22592 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 months ago
Go MAEDA
82fc543ea1
Fix RuboCop offense Style/TrailingCommaInArguments introduced in r22584 (#39999).
git-svn-id: https://svn.redmine.org/redmine/trunk@22591 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 months ago
Marius Balteanu
fe9fd97f6d
Explicitly render a 404 on non-JS requests to messages#quote (#39999).
Patch by Holger Just (@hjust ).
git-svn-id: https://svn.redmine.org/redmine/trunk@22584 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 months ago
Go MAEDA
73477b41eb
Fix "any" operator for text filters to exclude empty text values (#39991).
Patch by Go MAEDA (@maeda ).
git-svn-id: https://svn.redmine.org/redmine/trunk@22583 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 months ago
Go MAEDA
13028b913b
Extend "contains" operator in "Parent task" filter to support multiple issue IDs (#39805).
Patch by Go MAEDA (@maeda ).
git-svn-id: https://svn.redmine.org/redmine/trunk@22577 e93f8b46-1217-0410-a6f0-8f06a7374b81
4 months ago
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