Marius Balteanu
3407711118
Introduces Stimulus as a Javascript framework ( #42510 ):
...
* old @application.js@ from @app/assets/javascripts@ become @application-legacy.js@ in favour of @application.js@ provided by Stimulus
* adds @importmap@ gem to handle JavaScript modules using logical names that map to versioned/digested files
Stimulus will be used for new functionality and, over time, to migrate existing features from JQuery / JQuery UI.
git-svn-id: https://svn.redmine.org/redmine/trunk@23697 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-21 05:48:38 +00:00
Go MAEDA
abbaaf73fa
Add missing _filters.html.erb view file that was not included in r23686 ( #42335 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23688 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-20 03:33:53 +00:00
Go MAEDA
ce94a1d71a
Adds interval ratio setting to progressbar custom field ( #42335 ).
...
Patch by Marius BĂLTEANU (user:marius.balteanu) and Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23686 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-19 08:46:02 +00:00
Marius Balteanu
ae566b3bf9
Fixes plugin activity SVG icons broken when multiple plugins are loaded ( #42509 ).
...
Patch by Stefan Rinkes (user:srinkes).
git-svn-id: https://svn.redmine.org/redmine/trunk@23683 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-19 07:24:46 +00:00
Marius Balteanu
de96d418b1
Add "editable" attribute in the custom fields API response ( #41935 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23678 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-18 14:44:17 +00:00
Marius Balteanu
5f29dd87b2
Replaces legacy atom icon with file-rss filled ( #42577 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23673 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-18 13:41:05 +00:00
Marius Balteanu
e0403f99b1
Fixes commit message in issue history might be rendered in incorrect context ( #42545 ).
...
Patch by Felix Schäfer (user:felix).
git-svn-id: https://svn.redmine.org/redmine/trunk@23672 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-18 13:04:37 +00:00
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
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
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
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
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
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
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
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
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
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
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
Go MAEDA
e0e0be4928
"For all projects" checkbox should be disabled when editing an existing query in which the checkbox is already checked ( #42458 ).
...
Patch by [Agileware] nusohiro (user:nusohiro).
git-svn-id: https://svn.redmine.org/redmine/trunk@23573 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-27 01:07:48 +00:00
Marius Balteanu
c866aa74d8
Improves SVG contrast when a row is selected on table list ( #42487 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23571 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-26 22:32:05 +00:00
Marius Balteanu
042adf30f9
Fixes rubocop offenses ( #41952 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23568 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-26 22:10:41 +00:00
Marius Balteanu
6328fba8c2
The collapse arrow for assignee and owner sections in @/workflows/edit@ now correctly reflects the open/closed state when rules are configured ( #41947 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23567 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-26 21:55:33 +00:00
Marius Balteanu
c5ccad0c70
Replace legacy icons with SVG icons in tabs left / right buttons ( #41833 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23566 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-26 21:42:45 +00:00
Marius Balteanu
aec053387e
Replaces legacy icon with SVG icon in conflict warning ( #41952 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23565 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-26 21:21:50 +00:00
Marius Balteanu
18e93c085b
Improves flash notice SVG icons compatibility with rtl languages ( #41952 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23564 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-26 21:20:57 +00:00
Marius Balteanu
a531f805f8
Replaces legacy icons with SVG icons in error explanation ( #41952 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23563 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-26 21:08:50 +00:00
Marius Balteanu
f8292b56df
Replaces legacy icons in flash notices with SVG icons ( #41952 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23562 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-26 20:45:43 +00:00
Go MAEDA
bacdb72670
Missing thousands separator in Integer and Float custom field totals ( #42342 ).
...
Patch by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23559 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-26 02:38:56 +00:00
Go MAEDA
ed1370a40a
Fix project selector focus by explicitly targeting the first selected item ( #42440 ).
...
Patch by [Agileware]Haruka Asakura (user:asakura-agileware).
git-svn-id: https://svn.redmine.org/redmine/trunk@23558 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-25 23:56:44 +00:00
Go MAEDA
e02d265f2c
Changes issue watch button icon to eye image to align icon with function and improve visual clarity ( #42305 ).
...
Patch by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23557 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-25 08:44:23 +00:00
Marius Balteanu
2ed9e46b78
Replace SCM action icons in the tree view of the repository browser ( #41967 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-24 20:39:09 +00:00
Marius Balteanu
c4afdec5f6
Replaces legacy arrow right icon in context menus with SVG icon ( #42286 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23552 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-22 07:03:25 +00:00
Marius Balteanu
137df4915b
Fixes some issues where both legacy and SVG icons are displayed when an RTL language is used ( #42465 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23551 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-22 06:54:02 +00:00