Commit Graph

728 Commits

Author SHA1 Message Date
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
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
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
0e9753c9fd Refactor thumbnail markup for improved structure and semantics (#42133).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23460 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-01-23 01:41:22 +00:00
Go MAEDA
880e7a50b2 Fix rapid flickering of placeholder icon for non-existent thumbnails on hover (#42084).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23452 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-01-21 08:58:17 +00:00
Go MAEDA
9e80ee95e1 Abbreviate quoted text in descriptions in Activity view (#42043).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23428 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-01-02 02:44:39 +00:00
Go MAEDA
f55afcc4ad Increase the maximum description length to 240 characters in the Activity view (#42041).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23420 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-27 05:19:58 +00:00
Marius Balteanu
c065e4374a Adds global setting In Display tab to disable JS based table sort in wiki content (#40588).
Patch by Jens Krämer (user:jkraemer).

git-svn-id: https://svn.redmine.org/redmine/trunk@23401 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-11 19:08:27 +00:00
Marius Balteanu
910842a157 Fixes group icons not displayed only using the SVG icon (#41853).
git-svn-id: https://svn.redmine.org/redmine/trunk@23379 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-10 23:31:14 +00:00
Marius Balteanu
899a93af2a Replaces legacy magnifier icon with SVG icon in project jump and in search field from mobile view (#41714).
git-svn-id: https://svn.redmine.org/redmine/trunk@23368 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-08 23:52:31 +00:00
Marius Balteanu
9c5199f5f5 Reverts r23328 (#41853).
git-svn-id: https://svn.redmine.org/redmine/trunk@23342 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-30 10:51:51 +00:00
Marius Balteanu
018d89bf8a Fixes that group icons in Watchers box have both the old and the new icon style (#41853).
git-svn-id: https://svn.redmine.org/redmine/trunk@23328 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-29 07:58:59 +00:00
Marius Balteanu
6d0eba75e9 @principal_icon@ method should accept a Principal as argument (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23230 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-10 15:31:46 +00:00
Marius Balteanu
505981c682 Fixes double-escaping issue for a principal name with special chars (#41721, #23980).
Patch by Katsuya HIDAKA (user:hidakatsuya).

git-svn-id: https://svn.redmine.org/redmine/trunk@23228 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-10 11:37:38 +00:00
Marius Balteanu
8438deb8a6 Switches group icon in members box to SVG icon (#41711, #23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23222 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-07 21:38:43 +00:00
Marius Balteanu
49e48ce390 Switches checkmark icon in tables with SVG icon (#41710, #23980).
Patch by Bernhard Rohloff (user:cappumuc).

git-svn-id: https://svn.redmine.org/redmine/trunk@23221 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-07 16:32:38 +00:00
Go MAEDA
5407fea873 Drop deprecated Redcarpet based Markdown formatter (#40149).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23153 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-20 07:51:38 +00:00
Marius Balteanu
d1008280d8 Renames and improves methods provided by @IconsHelper@ (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23145 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-19 10:06:26 +00:00
Go MAEDA
ffb78c12c3 Fix invalid "theme-*" CSS class in body element when theme name contains spaces (#26778).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23144 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-19 08:21:18 +00:00
Go MAEDA
bf5ba9b24f Moves thumbnail title attribute from a to img (#41272).
Patch by Jens Krämer (user:jkraemer).


git-svn-id: https://svn.redmine.org/redmine/trunk@23065 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-20 10:24:53 +00:00
Go MAEDA
94d9a2337b Add "Author / Previous assignee" group to assignee dropdown in issue form (#16045).
Patch by Luka Lüdicke (user:dkd-luedicke), Mizuki ISHIKAWA (user:ishikawa999), and Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23059 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-15 06:31:30 +00:00
Marius Balteanu
e8879d891f Refactors toggle checkboxes link and switch to SVG icon (#23980).
Patch by Mizuki ISHIKAWA (user:ishikawa999)
 


git-svn-id: https://svn.redmine.org/redmine/trunk@23047 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-09 15:50:37 +00:00
Marius Balteanu
dfc5b2a13b Replaces various icons with SVG icons (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23039 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-08 17:23:06 +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
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
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
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
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
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
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
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
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