Commit Graph

231 Commits

Author SHA1 Message Date
Go MAEDA
40dedd82de Remove deprecated method ApplicationHelper#render_if_exist (#43321).
git-svn-id: https://svn.redmine.org/redmine/trunk@24040 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-08 05:23:11 +00:00
Marius Balteanu
0da90f00e1 Support automatic list marker insertion in textareas (#43095).
Patch by Mizuki ISHIKAWA (user:ishikawa999).



git-svn-id: https://svn.redmine.org/redmine/trunk@24003 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-21 16:42:07 +00:00
Go MAEDA
bda20bad30 Remove unused tooltip variables from reactions_helper_test.rb (#42630).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23981 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-18 06:39:28 +00:00
Go MAEDA
f465577b78 Improve consistency and visibility of reaction buttons with reactions (#42630).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23980 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-18 06:36:41 +00:00
Marius Balteanu
343a2b4f2e Adds specific classes for anonymous and group avatars (#29824).
git-svn-id: https://svn.redmine.org/redmine/trunk@23954 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-07 06:59:25 +00:00
Marius Balteanu
81d647e34d Render anonymous and group avatars also when gravatar is disabled (#29824).
git-svn-id: https://svn.redmine.org/redmine/trunk@23940 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-06 22:11:58 +00:00
Marius Balteanu
30880b861f Run Setting.clear_cache after each test in order to decrease the number of random failing tests (#43130).
Patch by Katsuya HIDAKA (user:hidakatsuya).

git-svn-id: https://svn.redmine.org/redmine/trunk@23915 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-08-13 05:31:26 +00:00
Marius Balteanu
458072ab7d When the Gravatar service is disabled, display the user's initials as a fallback avatar. This provides a consistent user interface than the generic icon (#29824).
git-svn-id: https://svn.redmine.org/redmine/trunk@23903 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-08-07 19:07:33 +00:00
Marius Balteanu
c1115fea4a Fixes @icon-only@ class for quote reply button and test assertions that are always true (#42515).
git-svn-id: https://svn.redmine.org/redmine/trunk@23853 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-04 05:28:34 +00:00
Go MAEDA
8c10cf3f30 Fix render_flash_messages method to ignore non-string flash values and prevent errors (#42073).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23821 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-06 06:34:26 +00:00
Marius Balteanu
7645774634 Change quote note icon to quotation marks (#31531).
Patch by Mizuki ISHIKAWA (user:ishikawa999) and Marius BALTEANU (user:marius.balteanu).

git-svn-id: https://svn.redmine.org/redmine/trunk@23809 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-30 20:04:46 +00:00
Go MAEDA
9beb9d9c5c "Edit this section" button is missing for headings rendered as multiline HTML (#42332).
Patch by Abe Tomoaki (user:abetomo).


git-svn-id: https://svn.redmine.org/redmine/trunk@23802 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-27 01:55:37 +00:00
Go MAEDA
8d1ad3f239 Allow reactions on journals with property changes only (#42630).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23781 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-17 08:46:25 +00:00
Go MAEDA
48f09a5d87 Improve reaction button style to better highlight existing reactions (#42630):
* Hide count when zero
* Make non-zero count bold
* Remove underline on hover and active

Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23778 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-16 02:57:04 +00:00
Go MAEDA
e7703a0170 Show reaction counts and user names only for reactions visible to the logged-in user (#42630).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23768 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-15 05:01:54 +00:00
Marius Balteanu
66e2d1a9a9 Adds Initials to the list of default gratavar options (#42623).
git-svn-id: https://svn.redmine.org/redmine/trunk@23767 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-14 19:41:04 +00:00
Go MAEDA
403c10091f Introduce reactions feature (so-called "like button") to issues, notes, news, and forums (#42630).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23755 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-11 07:59:16 +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
Go MAEDA
09167d0b32 format_hours method produces incorrect output for negative time values when Setting.timespan_format is "minutes" (#42172).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-01-30 22:11:19 +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
4fb1e4bea0 Use fixtures :all to ensure consistent test data and improve test reliability (#41961).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23391 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-11 10:17:57 +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
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
d951636a01 Replaces two more occurrences of CommonMarker (#40197).
git-svn-id: https://svn.redmine.org/redmine/trunk@23251 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-11 19:48:32 +00:00
Marius Balteanu
d3d07db129 Fix failing test after r23230 (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23235 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-10 20:12:34 +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
ecee8ccaba Fixes broken @link_to_principal@ helper test caused by r23222 (#41711, #23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23227 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-10 11:36:23 +00:00
Go MAEDA
624f9bf3d1 Fixed duplicate "disabled" class in the context_menus_helper result (#23980, #41720).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23226 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-10 06:45:26 +00:00
Go MAEDA
44408dcf1b Added tests for context_menu_link helper (#23980, #41720).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23225 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-10 06:43:10 +00:00
Go MAEDA
49a84f263c Fix RuboCop Layout/TrailingEmptyLines in test/helpers/icons_helper_test.rb (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23207 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-04 01:29:05 +00:00
Marius Balteanu
92a1699afe Adds tests for @IconsHelper@ (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23205 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-03 23:05:04 +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
8ca5d2fa1a Partial quoting feature for Issues and Forums (#41294).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23107 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-09 21:51:52 +00:00
Marius Balteanu
dfbb1b6856 Merges fav and fav-off icons in only one icon and fill the collor from CSS (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23089 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-29 19:16:15 +00:00
Marius Balteanu
ae57e3d6df Moves stroke, stroke-width and fill attributes from icons to CSS (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23087 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-28 09:55:20 +00:00
Marius Balteanu
b9f72246c9 Fixes failing test (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23086 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-28 09:26:46 +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
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
Marius Balteanu
b2a9928c3a Fixes rubocop offenses introduced by r22991 (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@22992 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-30 15:59:59 +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
Go MAEDA
9b1cb0eea3 Fix RuboCop offense Layout/EmptyLinesAroundClassBody (#36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22966 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-20 08:39:40 +00:00
Marius Balteanu
3ac9d0d75e Updates test environment config to mark assertionless tests as failed (#36320).
Patch by Takashi Kato (user:tohosaku).


git-svn-id: https://svn.redmine.org/redmine/trunk@22962 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-20 06:02:05 +00:00
Go MAEDA
c96ef014dd Fix issue where minutes part of a time entry is displayed as 60 instead of being carried over (#36897).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@22946 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-08 04:24:44 +00:00
Go MAEDA
abacac918b Add missing fixture journal_details to JournalsHelperTest (#40801).
Patch by Mizuki ISHIKAWA (@ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@22874 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-06-12 07:19:58 +00:00