Commit Graph

155 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
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
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
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
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
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
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
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
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
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
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
9293b72a45 Add tests for current alt attribute behavior in images (#40650).
Patch by Katsuya HIDAKA (@hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@22844 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-05-24 02:16:23 +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
d896a2d546 Fix failing tests related to favicon after r22692 (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22704 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-13 21:55:57 +00:00
Marius Balteanu
88a8234513 Fix tests after asset pipeline implementation (#39111).
Patch by Takashi Kato (@tohosaku).

git-svn-id: https://svn.redmine.org/redmine/trunk@22628 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-01-25 05:41:50 +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
07aab5a280 Fix deprecation warnings regarding the use of ActiveSupport::Deprecation.behavior (#39527, #36320).
git-svn-id: https://svn.redmine.org/redmine/trunk@22493 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-12-01 06:59:04 +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
d6b86ca53d Fix typo in test names in application_helper_test.rb: Change "redner" to "render" (#39527).
git-svn-id: https://svn.redmine.org/redmine/trunk@22465 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-11-19 07:30:08 +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
Go MAEDA
ba181c7328 HTML-escape the entire tag content of escaped HTML tags in textile (#38807).
Patch by Holger Just.


git-svn-id: https://svn.redmine.org/redmine/trunk@22302 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-09-18 07:45:03 +00:00
Go MAEDA
2b00670e4d Use Commonmarker instead of Redcarpet by default when rendering Markdown attachments (#36807, #38372).
Patch by Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22146 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-03-23 04:45:19 +00:00
Go MAEDA
dc50caf1be Update Rouge to 4.1 (#37236).
git-svn-id: https://svn.redmine.org/redmine/trunk@22111 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-02-15 00:56:37 +00:00
Go MAEDA
91705e083b Support for WebP images (#38168).
* Inline image
* Thumbnail
* Inserting markup for an image uploaded by drag and drop

Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22045 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-16 01:23:36 +00:00
Go MAEDA
025323f5ba Add guard clause to time_tag method to handle nil time (#38139).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22022 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-02 06:56:47 +00:00
Go MAEDA
1481c721a2 Use require_relative instead of require File.expand_path(..., __FILE__) (#38093).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@22016 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 07:13:39 +00:00
Go MAEDA
92bd67c279 Update copyright year to 2023 (#38141).
git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
2023-01-01 06:19:35 +00:00
Marius Balteanu
0b72c5bfa7 Fix mentioning users with certain characters renders incorrectly (#37755).
Patch Mizuki ISHIKAWA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21986 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-12-03 13:21:17 +00:00
Go MAEDA
47b17044d2 Fix RuboCop offense Style/RedundantStringEscape (#36919).
git-svn-id: https://svn.redmine.org/redmine/trunk@21920 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-10-26 13:14:08 +00:00
Go MAEDA
54f281fef9 Don't create two thumbnails of different resolutions for a single image (#37597).
Patch by Go MAEDA.


git-svn-id: https://svn.redmine.org/redmine/trunk@21784 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-08-28 06:35:42 +00:00
Marius Balteanu
23874fa913 Render mentioned users with leading @ and highlight (#36699, #13919).
git-svn-id: http://svn.redmine.org/redmine/trunk@21468 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-19 10:00:30 +00:00
Go MAEDA
b51d40fe38 Comments for Textile text formatting (#20511).
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@21457 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-03-17 03:55:24 +00:00
Marius Balteanu
fbca88afc4 Add class @user-mention@ to user classes when user is linked using @ (#36699, #13919).
git-svn-id: http://svn.redmine.org/redmine/trunk@21440 e93f8b46-1217-0410-a6f0-8f06a7374b81
2022-02-24 21:54:30 +00:00