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
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
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
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
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
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
2023-11-19 07:41:21 +00:00
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
2023-11-19 07:30:08 +00:00
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
2023-11-19 07:10:53 +00:00
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
2023-11-18 22:30:52 +00:00
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
2023-11-18 22:27:35 +00:00
Marius Balteanu
a2c203cca0
Revert undesired change ( #22458 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22460 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-18 16:36:23 +00:00
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
2023-11-18 14:39:28 +00:00
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
2023-11-17 06:54:17 +00:00
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
2023-11-17 04:24:28 +00:00
Marius Balteanu
d9e72d6ba2
Cover more tests for #39553 .
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22449 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-16 22:17:30 +00:00
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
2023-11-16 11:13:39 +00:00
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
2023-11-16 08:32:41 +00:00
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
2023-11-16 08:16:29 +00:00
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
2023-11-12 22:17:55 +00:00
Marius Balteanu
daa5010cbb
Add system test for #39521 .
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22428 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-12 21:41:12 +00:00
Marius Balteanu
5f028722d5
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
2023-11-11 07:10:51 +00:00
Marius Balteanu
5013c28431
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
2023-11-11 06:41:09 +00:00
Go MAEDA
c6fdc7db86
Redirect to repositories#show after repository#fetch_changesets to avoid the user-visible browser URL ( #39238 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@22414 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-31 12:45:15 +00:00
Marius Balteanu
f6c9c725bd
Fixes failing system test caused by unavailable Underline button in CommonMark ( #34863 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22399 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-29 12:50:59 +00:00
Marius Balteanu
cf3ae915eb
Update webdrivers gem ( #37558 ).
...
Patch by Takashi Kato.
git-svn-id: https://svn.redmine.org/redmine/trunk@22397 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-29 11:52:29 +00:00
Go MAEDA
36a7932003
Fix related issues count not updating after deleting one of the related issues ( #38493 ).
...
Patch by Takashi Kato.
git-svn-id: https://svn.redmine.org/redmine/trunk@22395 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-29 07:31:01 +00:00
Marius Balteanu
e5034f5ac0
Delete whole @tmp/plugins@ directory ( #38707 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22374 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-24 20:13:15 +00:00
Marius Balteanu
bfe6121ef3
Fixes a random failing test in @test_plugins@ (integration/routing/plugins_test.rb) by enforcing the plugins path to @tmp/plugins@ ( #38707 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22373 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-24 20:06:54 +00:00
Marius Balteanu
7ba9cb1da6
Use assert_selector which automatically waits until the HTML condition is met ( #39109 ).
...
Patch by Takashi Kato.
git-svn-id: https://svn.redmine.org/redmine/trunk@22372 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-24 19:06:43 +00:00
Marius Balteanu
b141aed19f
Fix typo in plugins_test.rb ( #38707 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22371 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-23 17:51:02 +00:00
Marius Balteanu
f1437b7ec5
Reinitialize an empty Wiki page after after project wiki is deleted ( #34634 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22370 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-23 17:33:40 +00:00
Marius Balteanu
94da4a33f5
Revert r22368.
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22369 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-23 17:31:04 +00:00
Marius Balteanu
5e17a276a8
Traditional Chinese translation update ( #39221 ).
...
Patch by ChunChang (Nagaharu) Lo.
git-svn-id: https://svn.redmine.org/redmine/trunk@22368 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-23 17:23:37 +00:00
Go MAEDA
6a7f2536b5
Add field separator option to CSV export dialog ( #37621 ).
...
Patch by Karel Pičman.
git-svn-id: https://svn.redmine.org/redmine/trunk@22359 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-21 06:19:13 +00:00
Go MAEDA
21541b250c
Revert r22342 as it became unnecessary after the addition of the :user_preferences fixture to WatcherTest in r22350 ( #38238 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22351 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-16 15:16:18 +00:00
Go MAEDA
f7b3f4ae58
Add requirement for user_preferences for watcher_test ( #39186 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@22350 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-16 15:05:43 +00:00
Go MAEDA
fd132a8e82
Fix watcher handling on unsaved objects ( #39186 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@22349 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-16 15:03:08 +00:00
Go MAEDA
03280712d3
Fix RuboCop offenses due to r22343: Style/RedundantRegexpEscape, Layout/EmptyLinesAroundMethodBody, and Style/HashSyntax ( #39181 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22346 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-16 14:17:35 +00:00
Go MAEDA
28a45b7144
Add missing Homepage attribute in Projects API response ( #39113 ).
...
Patch by Vincent Robert.
git-svn-id: https://svn.redmine.org/redmine/trunk@22345 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-15 02:18:26 +00:00
Go MAEDA
ff93ee3cfa
API compatibility to legacy status and name query params ( #39181 , #37674 )
...
- adds 'name' filter that mimics the old behavior of matching on email, login, first- or lastname
- maps the 'status' url parameter to the status_id filter, and the 'name' url parameter to the new name filter
Patch by Jens Krämer.
git-svn-id: https://svn.redmine.org/redmine/trunk@22343 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-15 01:42:07 +00:00
Go MAEDA
26c392d3c3
Fix a test failure due to the auto watch on issue creation ( #38238 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-15 01:31:29 +00:00
Go MAEDA
b81818100c
Fix RuboCop offense Rails/RedundantActiveRecordAllMethod ( #37248 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22340 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-12 23:10:25 +00:00
Go MAEDA
e067210432
Fix RuboCop offense Style/RedundantFilterChain ( #36919 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22337 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-12 10:08:15 +00:00
Go MAEDA
ea38a40b7a
Fix an intermittent test failure in JournalTest ( #39180 ).
...
Patch by Vincent Robert.
git-svn-id: https://svn.redmine.org/redmine/trunk@22336 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-12 09:17:42 +00:00
Go MAEDA
43873746ba
Replace custom EMAIL_REGEXP with URI::MailTo::EMAIL_REGEXP for more accurate email validation ( #36969 ).
...
Patch by Go MAEDA.
git-svn-id: https://svn.redmine.org/redmine/trunk@22332 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-07 03:43:00 +00:00
Go MAEDA
9ab7d166b2
Fix RuboCop offences introduced in r22328 ( #38707 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22330 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-06 08:18:26 +00:00
Go MAEDA
291206fda1
Add test for r22327 ( #38707 ).
...
Patch by Nishida Yuya.
git-svn-id: https://svn.redmine.org/redmine/trunk@22328 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-10-06 06:12:24 +00:00
Go MAEDA
949f57f521
Correctly escape issue text in Gantt PNG export for ImageMagick convert ( #38728 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@22314 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-09-21 00:35:13 +00:00
Go MAEDA
3928d82ee1
Avoid exception during validation if the spent_on date of a time entry was removed ( #39079 ).
...
Patch by Holger Just.
git-svn-id: https://svn.redmine.org/redmine/trunk@22311 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-09-20 04:43:20 +00:00