48 Commits

Author SHA1 Message Date
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
251ba63bc2 Japanese translation update (jstoolbar-ja.js) for 6.0-stable (#43490).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@24152 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-11-21 00:31:16 +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
3932ddc28c Remove unused files related to the quote reply feature (#43257).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@24015 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-28 01:43:31 +00:00
Marius Balteanu
368a1532fd Fixes typo in JavaScript function name 'toggleExpendCollapseIcon' (#42408).
git-svn-id: https://svn.redmine.org/redmine/trunk@24010 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-21 20:41:31 +00:00
Marius Balteanu
81ee533651 Replaces loading and hourglass icons with SVG versions rendered in HTML on attachment upload (#42966).
Patch by Mizuki ISHIKAWA (user:ishikawa999).

git-svn-id: https://svn.redmine.org/redmine/trunk@23987 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-18 19:01:05 +00:00
Marius Balteanu
4cad9613d0 Reverts r23984 and r23985 due to wrong issue ID (#34709).
git-svn-id: https://svn.redmine.org/redmine/trunk@23986 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-18 18:57:36 +00:00
Marius Balteanu
d59caced27 Replace loading and hourglass icons with SVG versions rendered in HTML on attachment upload (#34709).
Patch by Mizuki ISHIKAWA (user:ishikawa999).

git-svn-id: https://svn.redmine.org/redmine/trunk@23984 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-18 18:33:47 +00:00
Go MAEDA
7d6224979f Reduce requests for issue ID, username, and Wiki page name autocomplete with debounce (#43208).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23978 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-16 23:41:08 +00:00
Go MAEDA
e1129f237d Adjust scrolling to keep Edit heading visible (#42684, #43143).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23970 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-09-11 04:05:19 +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
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
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
319724fed4 Restrict copy button scope to .wiki pre tags (#29214, #42697).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23775 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-15 05:59:52 +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
Marius Balteanu
3407711118 Introduces Stimulus as a Javascript framework (#42510):
* old @application.js@ from @app/assets/javascripts@ become @application-legacy.js@ in favour of @application.js@ provided by Stimulus
 * adds @importmap@ gem to handle JavaScript modules using logical names that map to versioned/digested files
 
 Stimulus will be used for new functionality and, over time, to migrate existing features from JQuery / JQuery UI.

git-svn-id: https://svn.redmine.org/redmine/trunk@23697 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-21 05:48:38 +00:00
Marius Balteanu
727edd15a6 Replaces legacy del and attachment icons with SVG in attachments form (#42576).
git-svn-id: https://svn.redmine.org/redmine/trunk@23667 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-18 11:43:31 +00:00
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
Marius Balteanu
99cc321840 Add/remove @icon-rtl@ class when switching between angle-down / angle-right SVG icons (#42465).
git-svn-id: https://svn.redmine.org/redmine/trunk@23656 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-13 20:57:15 +00:00
Marius Balteanu
95ddae6e2c Use toggleExpendCollapseIcon function in Collapse all/Expand all (#42369).
git-svn-id: https://svn.redmine.org/redmine/trunk@23606 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-07 20:09:17 +00:00
Marius Balteanu
ec41a38e6e Fixes expander icon not working in repository tree (#42532).
git-svn-id: https://svn.redmine.org/redmine/trunk@23605 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-07 20:00:45 +00:00
Go MAEDA
ed1370a40a Fix project selector focus by explicitly targeting the first selected item (#42440).
Patch by [Agileware]Haruka Asakura (user:asakura-agileware).


git-svn-id: https://svn.redmine.org/redmine/trunk@23558 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-25 23:56:44 +00:00
Marius Balteanu
d3ce7578ff Fixes expander icons not switch in Collapse all/Expand all (#42369).
Patch by Anton Nekrasov (user:antror).


git-svn-id: https://svn.redmine.org/redmine/trunk@23547 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-13 20:58:00 +00:00
Go MAEDA
11b949c574 Replace legacy PNG icons with SVG icons for multiselect toggles (#42130).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23464 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-01-28 05:32:21 +00:00
Go MAEDA
66c40b579d Context menu submenus close unexpectedly on Gantt chart due to z-index conflict (#41925).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23424 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-30 05:58:51 +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
Go MAEDA
096fcbf4aa Scale pasted images to appropriate size on HiDPI displays using devicePixelRatio (#38504).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23344 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-01 07:26:45 +00:00
Go MAEDA
0b2b45f063 Fix: Prevent sidebar toggle icons from affecting unrelated elements in responsive mode (#41822).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23307 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-25 01:41:04 +00:00
Go MAEDA
3c53715262 Fix redundant tooltip appearing after clicking the ellipsis button in the action menus (#41818).
Patch by Takenori TAKAKI (user:takenory).


git-svn-id: https://svn.redmine.org/redmine/trunk@23306 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-25 00:57:43 +00:00
Marius Balteanu
5bbab5f8e6 Makes the sidebar collapsible and stateful (#21808).
Patch inspired from user:jkraemer.

git-svn-id: https://svn.redmine.org/redmine/trunk@23218 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-06 23:08:15 +00:00
Marius Balteanu
0e877c081f Fixes duplicate spacer id in jsToolBar (#38915).
Patch by Yasu Saku (user:skys).



git-svn-id: https://svn.redmine.org/redmine/trunk@23192 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-03 12:57:58 +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
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
Go MAEDA
52d215de43 Add underline button to CommonMark Markdown toolbar (#40939).
Contributed by Yasu Saku (user:skys).


git-svn-id: https://svn.redmine.org/redmine/trunk@23106 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-09 14:04:57 +00:00
Marius Balteanu
a8c9e91245 Fixes gantt collapse/expand buttons are not available after switching to SVG icons (#41447, #23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23104 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-08 21:19:29 +00:00
Go MAEDA
b135db0916 Replace for loops with forEach in buildFilterRow function (#32523).
Patch by Yuichi HARADA (user:yui.har).


git-svn-id: https://svn.redmine.org/redmine/trunk@23102 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-03 22:36:56 +00:00
Marius Balteanu
5b546ef960 Fixes for scm entry to switch between folder and folder-open icons and adjusts the padding for file icons (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23090 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-29 19:17:51 +00:00
Go MAEDA
0078387dbc Brazilian Portuguese jstoolbar translation update (#41249).
Patch by Rodrigo Candido (user:rodrigo_candido).


git-svn-id: https://svn.redmine.org/redmine/trunk@23056 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-14 06:07:33 +00:00
Go MAEDA
1d214102c3 Revert r23046 (#32523).
The change broke filters.


git-svn-id: https://svn.redmine.org/redmine/trunk@23054 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-12 01:55:53 +00:00
Go MAEDA
053326b660 Replace for loops with forEach in buildFilterRow function (#32523).
Patch by Yuichi HARADA (user:yui.har).


git-svn-id: https://svn.redmine.org/redmine/trunk@23046 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-09 14:31:23 +00:00
Marius Balteanu
166540d743 Replaces icon-expanded and icon-collapsed with SVG icons (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23041 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-08 17:25:02 +00:00
Go MAEDA
622bfcde9d Refactor: Remove jQuery usage in inlineAutoComplete function (#41096).
git-svn-id: https://svn.redmine.org/redmine/trunk@23016 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-05 06:06:58 +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
ab4eac416a "##" syntax auto complete does not work (#41096).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23008 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-01 05:15:09 +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
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
dd2f80bd24 Fixes error in autocomplete (@ActionController::BadRequest (Invalid query parameters: invalid %-encoding (%)@) (#40237).
Patch by Abe Tomoaki (@abetomo).

git-svn-id: https://svn.redmine.org/redmine/trunk@22740 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-26 21:32:54 +00:00
Marius Balteanu
34f1c52e23 Move public assets (images, javascripts, stylesheets, themes) to app/assets (#39111).
git-svn-id: https://svn.redmine.org/redmine/trunk@22696 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-02-07 20:55:00 +00:00