Go MAEDA
d09d914fa3
Remove broken and unused options handling from AttachmentsHelper#render_api_attachment ( #43661 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@24421 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-17 07:50:09 +00:00
Go MAEDA
bf2e86da80
Show 'text-plain' icon for Markdown and Textile files ( #43805 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@24412 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-14 08:50:04 +00:00
Go MAEDA
34a7812b71
Add file-type icons for audio, image, and video media types ( #43805 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@24411 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-14 08:48:10 +00:00
Marius Balteanu
d7d3b6ac9b
Simplify code ( #43745 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@24407 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-12 02:52:52 +00:00
Marius Balteanu
8bf7f09112
Refactors parse_hires_images and parse_inline_attachments methods from ApplicationHelper to scrubbers ( #43745 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@24406 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-12 02:52:28 +00:00
Go MAEDA
2dee4a95ab
Rename IconsHelper#mype_type_icon to file_type_icon ( #43797 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@24403 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-09 03:34:21 +00:00
Go MAEDA
1c08b5b7a1
Update attachments list to show file-type icons instead of clip icons ( #43797 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@24402 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-09 02:46:13 +00:00
Go MAEDA
b69a9397c6
Change IconsHelper#icon_for_mime_type to accept raw MIME types instead of CSS class names ( #43797 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@24401 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-02-09 02:42:21 +00:00
Go MAEDA
56a8b5a13a
Project selector does not indent subprojects in RTL layout ( #43715 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@24375 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-26 23:55:37 +00:00
Marius Balteanu
da5245ea06
Add stimulus clipboard_controller and render copy button on the backend using copypre_scrubber ( #43643 ).
...
Patch by Takashi Kato (user:tohosaku).
git-svn-id: https://svn.redmine.org/redmine/trunk@24360 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-23 16:14:04 +00:00
Marius Balteanu
acf0f9019e
Support Loofah for textile ( #43643 ):
...
* Add TablesortScrubber to both CommonMark and Textile Formatters. It will now be determined on the server-side whether to use tablesort.
* Migrate tablesort to Stimulus controller.
* Update tablesort to v5.7.0.
* Switch tablesort to ESM.
Patch by Takashi Kato (user:tohosaku).
git-svn-id: https://svn.redmine.org/redmine/trunk@24357 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-23 16:05:42 +00:00
Go MAEDA
dde02f3b99
Remove context_menu_rtl.css by integrating it into context_menu.css using logical properties ( #43515 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@24330 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-19 07:56:18 +00:00
Go MAEDA
ecdff6e23e
Add "Color" to to the list of default gratavar options ( #43658 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@24296 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-11 06:52:28 +00:00
Go MAEDA
6f728d71c0
Reorder gravatar_default_setting_options to match Gravatar's developer docs ( #43658 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@24295 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-11 06:50:57 +00:00
Go MAEDA
29bad5d405
Change the way commits are indexed for revision graph ( #42762 ).
...
The original curve design made it difficult to identify which commits were connected, when several commits existed between the connected ones on the branches.
Now, connections between commits on different branches are more easily recognizable in typical scenarios.
The new curves connect from the left or right side to commit that already have vertical connections, and from the top or bottom to the last or first commit on a branch, respectively.
<pre>
| | | | |
* /-* * * *-\
| | | | | | |
*-/ * *-/ * *
| | | | |
</pre>
Patch by Leonid Murin (user:murin).
git-svn-id: https://svn.redmine.org/redmine/trunk@24258 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-05 03:52:14 +00:00
Go MAEDA
fc9d1145be
Change the way commits are indexed for revision graph ( #42762 ).
...
The original approach resulted in orphan commits on the page being displayed on the first branch, and in unnecessary offsets.
Solution: Always begin indexing from the latest commit, then index the heads present on the page, and finally index the orphan commits present on the page.
Patch by Leonid Murin (user:murin).
git-svn-id: https://svn.redmine.org/redmine/trunk@24257 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-05 03:50:57 +00:00
Go MAEDA
26fb9102d5
Fix revision graph canvas width calculation on repository page ( #42762 ).
...
When multiple branches point to the same subset of commits, the width of the revision graph canvas increases unnecessarily.
Solution: Avoid indexing branches that reference commits which already have the "space" attribute assigned.
Patch by Leonid Murin (user:murin).
git-svn-id: https://svn.redmine.org/redmine/trunk@24256 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-05 03:50:22 +00:00
Marius Balteanu
b88b61444c
Update Rails to 8.1.1 ( #43428 , #43205 ).
...
Patches by Takashi Kato (user:tohosaku).
git-svn-id: https://svn.redmine.org/redmine/trunk@24248 e93f8b46-1217-0410-a6f0-8f06a7374b81
2026-01-01 18:35:05 +00:00
Marius Balteanu
11612e5174
Fixes error executing the include macro (Page not found) in projects list ( #43526 ).
...
Patch by Mizuki ISHIKAWA (user:ishikawa999).
git-svn-id: https://svn.redmine.org/redmine/trunk@24234 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-12-28 02:55:01 +00:00
Go MAEDA
e2043110ce
Right column in issue view uses splitcontentleft CSS class instead of splitcontentright ( #43588 ).
...
Contributed by Yasu Saku (user:skys).
git-svn-id: https://svn.redmine.org/redmine/trunk@24224 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-12-20 02:16:40 +00:00
Go MAEDA
84804dd8b8
Unexpected file name shown when hovering over a link in the Files column ( #43504 ).
...
Patch by Mizuki ISHIKAWA (user:ishikawa999) and Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@24182 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-11-26 06:21:24 +00:00
Go MAEDA
2c71209740
Fix RuboCop Style/RedundantRegexpCharacterClass ( #43437 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@24121 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-11-05 06:58:38 +00:00
Go MAEDA
e37d288df0
File format custom fields use legacy download icon instead of SVG icon ( #43422 ).
...
Patch by Mizuki ISHIKAWA (user:ishikawa999).
git-svn-id: https://svn.redmine.org/redmine/trunk@24089 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-31 01:27:45 +00:00
Go MAEDA
3775bb31d6
Extract Gantt view structure and wire Stimulus controllers ( #43397 ).
...
Patch by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@24085 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-29 02:35:11 +00:00
Go MAEDA
56b7dc10c6
Remove avatars-on / avatars-off classes from body element ( #43390 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@24083 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-28 09:47:01 +00:00
Marius Balteanu
8669c87b94
Updates propshaft to 1.3.
...
Patch by Takashi Kato (user:tohosaku).
git-svn-id: https://svn.redmine.org/redmine/trunk@24074 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-27 20:36:32 +00:00
Marius Balteanu
31ce3c99c2
Allow administrators to disable webhooks from settings ( #29664 ).
...
Patch by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@24073 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-27 20:35:17 +00:00
Go MAEDA
25d6a2d555
Column headers are slightly shifted to the right in tables in list views ( #43378 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@24065 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-24 06:19:15 +00:00
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
4837c0fbe3
Replaces the use of text_area with textarea ( #43276 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@24030 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-10-06 22:45:02 +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
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
Go MAEDA
47bfd69f33
Add svg icons sample view accessible at /rails/info/svg_icons in development mode ( #41725 ).
...
Patch by Takashi Kato (user:tohosaku).
git-svn-id: https://svn.redmine.org/redmine/trunk@23934 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-08-30 07:45:27 +00:00
Marius Balteanu
1a5fb1325b
Refactor avatar helper method ( #29824 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23907 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-08-07 20:33:50 +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
ae3cb747bb
Adds method @initials@ to @Principal@ and return @nil@ by default ( #42623 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-15 05:20:23 +00:00
Marius Balteanu
e940540e2e
Refactor, refresh UI and unify the structure of journals, replies and comments ( #42972 , #40744 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23887 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-14 21:33:33 +00:00
Marius Balteanu
bcf6352783
Do not add attribute "icon" to attachment elements when the icon option is passed ( #42953 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23862 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-05 22:10:19 +00:00
Marius Balteanu
e29a4f73e6
Hide action buttons when printing ( #42794 ).
...
Patch by Luc Luc (user:iq2luc).
git-svn-id: https://svn.redmine.org/redmine/trunk@23860 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-05 12:10:15 +00:00
Marius Balteanu
a531b4fe80
Reimplement partial quote feature using Stimulus JS ( #42515 ).
...
Patch by Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23854 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-07-04 05:45:29 +00:00
Go MAEDA
40ab48325e
Replace nil check using ternary operator with safe navigation operator when accessing hashes ( #41884 ).
...
Using the ternary operator for nil checking caused a runtime error in the Style/SafeNavigation cop during `rubocop --regenerate-todo` with RuboCop 1.76.0. Replacing it with the safe navigation operator avoids the error.
git-svn-id: https://svn.redmine.org/redmine/trunk@23824 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-08 02:12:29 +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
6824ee98f4
Adjust margin around icons in project list descriptions ( #42818 ).
...
Patch by Mizuki ISHIKAWA (user:ishikawa999) and Katsuya HIDAKA (user:hidakatsuya).
git-svn-id: https://svn.redmine.org/redmine/trunk@23820 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-05 03:56:02 +00:00
Marius Balteanu
3aecd67e36
Replaces custom CSS rules with the @style: filled@ parameter to render the thumbs up icon as filled ( #42630 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23814 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-06-01 21:01:21 +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