1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00

18797 Commits

Author SHA1 Message Date
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
Marius Balteanu
2f99823b0e Ignores @imagemagick_convert_command@ option when generating an image in Gantt module (#42145).
git-svn-id: https://svn.redmine.org/redmine/trunk@23597 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-03 20:32:10 +00:00
Go MAEDA
c447e12274 Configurable columns for related and sub issues lists (#42477).
Patch by Jens Krämer (user:jkraemer).


git-svn-id: https://svn.redmine.org/redmine/trunk@23596 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-02 10:14:41 +00:00
Go MAEDA
508c1fd548 Improve performance of TimeEntry#assignable_users by reducing SQL queries (#35927).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23595 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-02 09:22:35 +00:00
Go MAEDA
d52a63675e Traditional Chinese translation update (#42499).
Patch by ChunChang (Nagaharu) Lo (user:shortie).


git-svn-id: https://svn.redmine.org/redmine/trunk@23594 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-01 01:47:16 +00:00
Go MAEDA
40bb0d35a5 Update MiniMagick to 5.2 (#42104).
git-svn-id: https://svn.redmine.org/redmine/trunk@23593 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-01 01:43:03 +00:00
Marius Balteanu
042245bc86 Adjust the position of the news comment delete button (#42497).
Patch by Katsuya HIDAKA (user:hidakatsuya).

git-svn-id: https://svn.redmine.org/redmine/trunk@23590 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-31 19:06:09 +00:00
Marius Balteanu
472d2a2797 Fixes wrong condition added in r23586 (#13596).
git-svn-id: https://svn.redmine.org/redmine/trunk@23589 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-30 08:59:54 +00:00
Marius Balteanu
59daaa27e9 Fixes rubocop offense "[Correctable] Lint/SafeNavigationConsistency: Use . instead of unnecessary &.." (#13596).
git-svn-id: https://svn.redmine.org/redmine/trunk@23588 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-30 08:31:05 +00:00
Marius Balteanu
7ecfac8020 Update locales (#13596).
git-svn-id: https://svn.redmine.org/redmine/trunk@23587 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-30 08:30:01 +00:00
Marius Balteanu
3c57eaffd4 Add administration setting to allow time logging on closed issues. By default, the setting is enabled (#13596).
git-svn-id: https://svn.redmine.org/redmine/trunk@23586 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-30 07:48:53 +00:00
Marius Balteanu
f77c5af552 Fixes rubocop offense "Style/HashSyntax: Don't mix styles in the same hash." (#42394).
git-svn-id: https://svn.redmine.org/redmine/trunk@23583 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-29 13:32:05 +00:00
Marius Balteanu
f4e5e36dec Update tests assertions after r23581 (#42394).
git-svn-id: https://svn.redmine.org/redmine/trunk@23582 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-29 13:05:08 +00:00
Marius Balteanu
62fee35f00 Force format to html for the download_named_attachment route (#42394).
Patch by Jens Krämer (user:jkraemer).

git-svn-id: https://svn.redmine.org/redmine/trunk@23581 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-28 07:48:48 +00:00
Go MAEDA
9296ec516a Traditional Chinese translation upate (#42492).
Patch by ChunChang (Nagaharu) Lo (user:shortie).


git-svn-id: https://svn.redmine.org/redmine/trunk@23578 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-28 05:28:27 +00:00