Marius Balteanu
f2639e9038
Replace icons for files in repository view with SVG icons ( #23980 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23011 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-02 20:48:40 +00:00
Marius Balteanu
bcb9a1cd33
Replaces icon-folder and icon-folder-open in repository view with SVG icons ( #23980 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23010 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-02 20:47:55 +00:00
Go MAEDA
e26ae4f5be
Set UTF-8 as the default CSV export encoding ( #41202 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23007 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-01 04:25:23 +00:00
Go MAEDA
2fe36c4128
Fix RuboCop offense Style/RedundantInterpolationUnfreeze ( #39887 ).
...
Since interpolated strings are always unfrozen in Ruby 3.0 and later, the use of `+""` is now redundant.
git-svn-id: https://svn.redmine.org/redmine/trunk@23001 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-01 00:38:01 +00:00
Marius Balteanu
1bf607edb9
Replaces icon-email and icon-passwd icons with SVG icons ( #23980 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22999 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-31 08:11:18 +00:00
Marius Balteanu
93080bd1bb
Replaces zoom-in and zoom-out icons with SVG icons in Gantt ( #23980 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22994 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-31 07:33:34 +00:00
Marius Balteanu
768511f7cb
Removes extra spaces in icon classes introduced by r22988 ( #23980 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22993 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-31 07:24:16 +00:00
Marius Balteanu
dc68230e05
Fixes more tests.
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-30 15:50:22 +00:00
Marius Balteanu
6b327b8852
Add icon to attachment link only when icon variable is passed.
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22990 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-30 15:50:08 +00:00
Marius Balteanu
ee54f091cb
Fix failing tests by including IconsHelper in ApplicationHelper ( #23980 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22989 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-30 06:25:08 +00:00
Marius Balteanu
ffce07e785
Start working on replacing old icons with SVG icons ( #23980 ):
...
* Introduces IconsHelper with methods to render SVG icon from a sprite file.
* Adds SVG sprite file with icons mainly from Font Awesome, but also from Material Design Icons and Fluent UI System Icons (based on the work made by Takashi Kato (@tohosaku)).
* Replaces specific icons with new SVG icons.
* Temporarily keep all old CSS icon definitions for backard compatibility.
git-svn-id: https://svn.redmine.org/redmine/trunk@22988 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-29 21:46:40 +00:00
Go MAEDA
fdd90bab2b
Fix RuboCop offenses Style/NegatedIf and Style/NegatedWhile ( #39887 , #7770 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22987 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-25 08:44:33 +00:00
Go MAEDA
93645a279e
Use anonymous block forwarding introduced in Ruby 3.1 ( #38585 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22973 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-21 00:46:15 +00:00
Marius Balteanu
9d50075279
Replaces removed ActiveSupport::Deprecation.warn with custom deprecators ( #41141 , #36320 ).
...
Patch by Takashi Kato (user:tohosaku).
git-svn-id: https://svn.redmine.org/redmine/trunk@22961 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-20 05:58:38 +00:00
Go MAEDA
b3d1deeece
Fix RuboCop offense Layout/SpaceInsideParens, one of the offenses enabled in rubocop-rails-omakase ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22954 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-12 08:45:54 +00:00
Go MAEDA
79873291d7
Fix RuboCop offense Layout/EmptyLinesAroundModuleBody, one of the offenses enabled in rubocop-rails-omakase ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22951 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-12 07:51:45 +00:00
Go MAEDA
ee31bf8fe9
Add an option to render Integer and Float custom fields with thousands delimiters ( #39997 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22935 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-18 04:56:20 +00:00
Go MAEDA
4879302930
Refactor ApplicationHelper#format_object to accept options as a hash ( #39997 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22933 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-18 04:26:49 +00:00
Go MAEDA
6c8b04d6d5
Add configurable setting for copying attachments when copying an issue ( #36197 ).
...
Patch by Yuichi HARADA (user:yui.har).
git-svn-id: https://svn.redmine.org/redmine/trunk@22926 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-07-14 01:49:53 +00:00
Go MAEDA
578c53a932
Disable custom query links while loading to prevent multiple requests ( #40901 ).
...
Patch by Mizuki ISHIKAWA (@ishikawa999).
git-svn-id: https://svn.redmine.org/redmine/trunk@22901 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-27 08:41:45 +00:00
Go MAEDA
2706019f09
Upgrade jQuery to 3.7.1 and jQuery UI to 1.13.3 ( #40853 , #40864 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22887 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-20 04:11:39 +00:00
Marius Balteanu
38a8adb2a2
Adds description field to custom queries ( #9309 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22855 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-04 20:04:45 +00:00
Marius Balteanu
3acc94914f
Link "Last activity" column to project activity page ( #40706 , #23954 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22848 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-28 17:40:09 +00:00
Go MAEDA
c9fda88a40
Fix duplicated alt and title attributes for attached images in Textile formatter ( #40650 ).
...
Patch by Katsuya HIDAKA (@hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@22845 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-24 02:52:32 +00:00
Go MAEDA
b42d7984b1
Fix RuboCop offense Style/SuperArguments ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22842 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-23 11:25:16 +00:00
Go MAEDA
3761510af8
Fix slow display of projects list when including project description column ( #40610 ).
...
Patch by Go MAEDA (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22829 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-14 07:44:05 +00:00
Marius Balteanu
6fa12a95ab
Adds estimated remaining hours issue query column calculated based on estimated time and done ratio ( #37862 ).
...
Patch by Jens Krämer (@jkraemer).
git-svn-id: https://svn.redmine.org/redmine/trunk@22800 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-01 07:49:29 +00:00
Marius Balteanu
61c7d539dc
Adds Watcher list to the list of available query columns for issues ( #29894 ).
...
Patch by Felix Schäfer (@felix).
git-svn-id: https://svn.redmine.org/redmine/trunk@22793 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-04-28 07:26:29 +00:00
Marius Balteanu
ab2f00f2eb
Fixes that watcher groups on new issue form get dereferenced on validation error ( #40410 , #40555 ).
...
Patch by Felix Schäfer (@felix) and Kenta Kumojima (@kumojima).
git-svn-id: https://svn.redmine.org/redmine/trunk@22792 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-04-28 07:12:32 +00:00
Marius Balteanu
d03009e9a0
Fix incorrect icon image path for DatePicker button ( #40559 , #39111 ).
...
Patch by Katsuya HIDAKA (hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@22784 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-04-16 18:58:45 +00:00
Marius Balteanu
38d950df55
Remove current year from source file copyright headers and update year in footer to 2024 ( #40043 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-26 22:55:54 +00:00
Marius Balteanu
437e46aa45
Fix failing tests related to favicon in themes after r22692 ( #39111 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22705 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-13 22:14:34 +00:00
Marius Balteanu
a0035ba52a
Includes favicon in assets pipeline ( #39111 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22692 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-07 20:41:23 +00:00
Marius Balteanu
308e1c522f
Remove hardcoded version of rails-ujs and include the one provided by the asset pipeline ( #39111 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22629 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-25 05:44:07 +00:00
Marius Balteanu
c99bb27e27
Add Propshaft library to enable the asset pipeline without modifying existing assets ( #39111 ).
...
Patch by Takashi Kato (@tohosaku).
git-svn-id: https://svn.redmine.org/redmine/trunk@22626 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-25 05:38:33 +00:00
Marius Balteanu
28061fbcdb
Use @image_url@ for @favicon_url@ ( #40087 ).
...
Patch by Go Maeda (@maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@22618 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-23 01:23:29 +00:00
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
2024-01-08 01:04:37 +00:00
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
2024-01-04 07:01:09 +00:00
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
2024-01-04 06:55:14 +00:00
Marius Balteanu
2634d43c8c
Fix hardcoded string "auto" on user preferences page ( #39879 ).
...
Patch by @salmanmp.
git-svn-id: https://svn.redmine.org/redmine/trunk@22549 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-22 01:58:28 +00:00
Go MAEDA
380444f085
Fix RuboCop offense Performance/StringIdentifierArgument ( #39888 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22535 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 09:23:05 +00:00
Go MAEDA
c8640d7ffc
Fix RuboCop offense Style/HashEachMethods ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22532 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 08:13:48 +00:00
Go MAEDA
d9ef2d191c
Fix RuboCop offense Lint/SymbolConversion ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22531 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 07:16:35 +00:00
Go MAEDA
c51e4937e7
Fix RuboCop offense Style/SuperWithArgsParentheses ( #39887 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22530 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 07:15:11 +00:00
Marius Balteanu
f3b6c3a378
Update Rails UJS to 7.1.2 ( #36320 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@22526 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-20 04:35:51 +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
3abf021e4b
Fix query grouping filter not working for custom field relations ( #39714 ).
...
Patch Alexander Meindl.
git-svn-id: https://svn.redmine.org/redmine/trunk@22478 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-26 13:53:41 +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
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
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