Marius Balteanu
b9bb441dc6
Hide user icon in add watchers modal when gravatar is disabled ( #42596 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23668 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-18 12:19:05 +00:00
Marius Balteanu
727edd15a6
Replaces legacy del and attachment icons with SVG in attachments form ( #42576 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23667 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-18 11:43:31 +00:00
Go MAEDA
41ed48fd7d
NoMethodError when creating a user with an invalid email address and domain restrictions are enabled ( #42584 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23666 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-18 07:43:14 +00:00
Go MAEDA
38730e5b3c
Add a button to copy pre code block content to the clipboard ( #29214 ).
...
Patch by Mizuki ISHIKAWA (user:ishikawa999) and Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23663 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-17 06:52:50 +00:00
Go MAEDA
113d7f50a9
Optimize autocomplete issue listing triggered by typing "##" by eager loading trackers ( #42574 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23660 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-16 06:50:26 +00:00
Go MAEDA
c3f4d90ad7
Updates translations for Array#to_sentence ( #42580 ).
...
Patch by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23659 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-16 00:15:47 +00:00
Marius Balteanu
5c0525a459
Prevent delete relation icon overflow with long related issue subjects on related issues sections on an issue page in mobile view ( #41828 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23658 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-15 06:23:07 +00:00
Marius Balteanu
99cc321840
Add/remove @icon-rtl@ class when switching between angle-down / angle-right SVG icons ( #42465 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23656 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-13 20:57:15 +00:00
Marius Balteanu
6951e569c4
Improve SVG icon compatibility with RTL languages by adding the @rtl@ parameter to @sprite_icon@ method. When it is @true@, it adds the 'icon-rtl' class to SVG icons, flipping their direction if an RTL language is used ( #42465 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23654 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-13 20:30:19 +00:00
Marius Balteanu
e85cd113fe
Do not show legacy bullet add icon in search for watchers if SVG is rendered for RTL languages ( #42465 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23652 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-13 07:49:44 +00:00
Marius Balteanu
40c7203b08
Replaces magnifier legacy icon with SVG icon for RTL language ( #42465 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23651 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-13 07:47:56 +00:00
Marius Balteanu
6c5136e2f3
Removes extra padding in administration menu icons for RTL languages ( #42465 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23650 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-13 07:21:40 +00:00
Marius Balteanu
33384d74a5
Fixes sidebar switch button display in RTL language ( #42575 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-13 07:13:06 +00:00
Go MAEDA
b5dbbc98ee
Update versions of Ruby standard gems to match those bundled with Ruby 3.4 ( #41976 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23648 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-12 05:23:26 +00:00
Go MAEDA
3d0a5dd763
Disable RuboCop Style/BarePercentLiterals ( #41884 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23647 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-12 05:09:41 +00:00
Go MAEDA
aa1a4f2901
Traditional Chinese translation update ( #42573 ).
...
Patch by ChunChang (Nagaharu) Lo (user:shortie).
git-svn-id: https://svn.redmine.org/redmine/trunk@23646 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-12 04:56:26 +00:00
Go MAEDA
923918542b
Fix random test failure in MemberTest#test_update_roles_with_inherited_roles due to non-deterministic ordering ( #42572 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23641 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-12 04:10:48 +00:00
Go MAEDA
2f443f840c
Update Rubocop Rails to 2.31 ( #42044 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23640 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-12 03:43:01 +00:00
Go MAEDA
92b7df7d4e
Update Rubocop Performance to 1.25 ( #41761 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23639 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-12 03:34:27 +00:00
Go MAEDA
a08ce1c54f
Update RuboCop to 1.75 ( #41884 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23638 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-12 02:07:11 +00:00
Go MAEDA
1d0a389b40
Update RuboCop to 1.74 ( #41884 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23637 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-12 01:52:56 +00:00
Go MAEDA
a376cd6c73
Regenerate .rubocop_todo.yml ( #41884 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-12 01:47:36 +00:00
Go MAEDA
065a44749d
Fix RuboCop Lint/UselessConstantScoping ( #41884 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23635 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-11 10:19:05 +00:00
Go MAEDA
626bd9efe2
Fix RuboCop Style/ComparableBetween ( #41884 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23634 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-11 10:11:44 +00:00
Go MAEDA
54285f461c
Fix random test failure in ProjectAdminQueryTest due to missing language setting ( #42562 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23631 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-11 09:50:45 +00:00
Go MAEDA
5528c81022
Revert r23629: incorrect issue number ( #41884 ) in commit message
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23630 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-11 09:49:32 +00:00
Go MAEDA
42dbfd3c9f
Fix random test failure in ProjectAdminQueryTest due to missing language setting ( #41884 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23629 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-11 09:44:07 +00:00
Go MAEDA
5f49539633
Update RuboCop to 1.73 ( #41884 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23628 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-11 09:39:39 +00:00
Go MAEDA
08ea4e0323
Fix RuboCop Style/RedundantCondition ( #41884 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23627 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-11 09:21:17 +00:00
Go MAEDA
5668aa651f
Fix RuboCop Lint/SuppressedExceptionInNumberConversion ( #41884 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23626 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-11 09:00:58 +00:00
Go MAEDA
c77c1d078b
Exclude known RuboCop Lint/UselessConstantScoping offenses to prevent regressions while allowing new checks ( #41884 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23625 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-11 08:44:08 +00:00
Go MAEDA
15d33f6827
Fix RuboCop Style/RedundantFormat by renaming custom format method to to_html to avoid name conflict with Kernel#format ( #41884 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23624 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-11 08:37:27 +00:00
Go MAEDA
dd3d6206bd
Update RuboCop to 1.72 ( #41884 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23623 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-11 08:12:37 +00:00
Go MAEDA
dcdd453287
Fix RuboCop Lint/SharedMutableDefault ( #41884 ).
...
Although `Hash.new {|h, k| h[k] = []}` is commonly used for this pattern, `Hash.new {|_h, _k| []}` is more appropriate here to avoid modifying the hash when accessing missing keys, which would cause `UserTest#test_accessing_projects_by_role_with_no_projects_should_return_an_empty_array` to fail.
git-svn-id: https://svn.redmine.org/redmine/trunk@23622 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-11 07:43:44 +00:00
Go MAEDA
d325010d64
Adds the Bullet gem to detect query problems such as N+1 and improve performance ( #42555 ).
...
Patch by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23621 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-10 11:05:01 +00:00
Go MAEDA
17f5e172e8
Update locales ( #42441 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23620 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-10 10:15:58 +00:00
Go MAEDA
630f2863ba
Improve role deletion error message to display projects containing members under the role ( #42441 ).
...
Patch by Mizuki ISHIKAWA (user:ishikawa999).
git-svn-id: https://svn.redmine.org/redmine/trunk@23619 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-10 10:14:30 +00:00
Go MAEDA
1e9f1229e6
Skip repository tests when the SCM client command is unavailable ( #42500 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23618 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-10 09:42:10 +00:00
Go MAEDA
2bc72f1823
Traditional Chinese translation update ( #42556 ).
...
Patch by ChunChang (Nagaharu) Lo (user:shortie).
git-svn-id: https://svn.redmine.org/redmine/trunk@23617 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-10 08:00:15 +00:00
Go MAEDA
18c50cf299
Galician translation update ( #42543 ).
...
Patch by Guillermo ML (user:guillermoml).
git-svn-id: https://svn.redmine.org/redmine/trunk@23616 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-09 07:27:04 +00:00
Go MAEDA
d75a2ff7af
Remove trailing whitespaces from doc/INSTALL ( #41976 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23613 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-09 02:04:59 +00:00
Go MAEDA
fc22603b05
Add Ruby 3.4 to supported Ruby versions ( #41976 ).
...
Patch by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23612 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-09 02:02:40 +00:00
Go MAEDA
efe6f15276
Fix: Avoid "literal string will be frozen in the future" warning on Ruby 3.4 ( #41976 ).
...
Patch by Go MAEDA (user:maeda) and Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23611 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-08 10:04:59 +00:00
Go MAEDA
a8be394fc5
Update locales ( #42477 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23610 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-08 09:51:44 +00:00
Go MAEDA
ec73d02347
Fix slow loading of global spent time list in MySQL ( #40728 ).
...
In MySQL, the query to retrieve the global spent time list is sometimes extremely slow (taking several minutes in some environments) due to an inefficient join order chosen by the query optimizer. This patch adds an optimizer hint to improve the join order and ensure consistent performance.
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23609 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-08 01:30:37 +00:00
Marius Balteanu
95ddae6e2c
Use toggleExpendCollapseIcon function in Collapse all/Expand all ( #42369 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23606 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-07 20:09:17 +00:00
Marius Balteanu
ec41a38e6e
Fixes expander icon not working in repository tree ( #42532 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23605 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-07 20:00:45 +00:00
Marius Balteanu
ad1ab0cd8d
Change arrow_right.png legacy icon used to display indentation with a customized chevron-right.svg ( #42520 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23602 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-06 10:41:50 +00:00
Marius Balteanu
4e4a28f7c2
Change arrow_down.png legacy icon with chevron-down.svg in select and project jump box ( #42181 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23601 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-06 10:14:53 +00:00
Marius Balteanu
40d51e1a1a
Fix rubocop offence "Layout/LineLength: Line is too long" ( #42145 , #42514 ).
...
Patch by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23598 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-04 14:50:19 +00:00