Commit Graph

18846 Commits

Author SHA1 Message Date
Go MAEDA
444a94c7cb Make commonmarker gem required to avoid runtime error (#37394).
Although the commonmarker gem is marked as optional in the Gemfile, Redmine fails to start without it, raising a NameError: "uninitialized constant Redmine::WikiFormatting::CommonMark::HTML". This patch makes the gem required to ensure Redmine starts correctly.


git-svn-id: https://svn.redmine.org/redmine/trunk@23734 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-01 10:28:14 +00:00
Go MAEDA
2ec9ee5a32 Text in project jump box is vertically misaligned (#42654).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23731 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-01 06:04:05 +00:00
Go MAEDA
5ad773e95b Fix StyleLint "declaration-block-no-shorthand-property-overrides" (#42603).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23730 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-01 05:41:55 +00:00
Go MAEDA
1262676655 Noto Sans fonts are not applied on Wiki syntax help pages due to change in r23275 (#42644).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23729 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-01 04:54:42 +00:00
Marius Balteanu
e25f391677 Fixes rubocop offenses (#42648, #42603).
git-svn-id: https://svn.redmine.org/redmine/trunk@23728 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-30 22:56:45 +00:00
Marius Balteanu
acb6ae97c2 Fixes rubocop offense "Prefer assert_not_includes over refute_includes" (#42603).
git-svn-id: https://svn.redmine.org/redmine/trunk@23727 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-30 22:46:39 +00:00
Marius Balteanu
e6f00370ee Fixes broken references for multiple footnote usage (#42648).
git-svn-id: https://svn.redmine.org/redmine/trunk@23726 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-30 22:40:18 +00:00
Marius Balteanu
2b9c6f64b1 Fixes failing test (#42603).
git-svn-id: https://svn.redmine.org/redmine/trunk@23725 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-30 22:30:14 +00:00
Marius Balteanu
8fa4c44581 Enable CommonMark alert extension (#42603).
Patch by Mizuki ISHIKAWA (user:ishikawa999).

git-svn-id: https://svn.redmine.org/redmine/trunk@23724 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-29 21:13:55 +00:00
Go MAEDA
0dc7337c7d Fix RuboCop Layout/EmptyLinesAroundMethodBody (#42602).
git-svn-id: https://svn.redmine.org/redmine/trunk@23723 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-27 09:37:30 +00:00
Go MAEDA
9052d4d05b Optimize watchers list rendering by eager loading email addresses (#42589).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23722 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-27 08:27:08 +00:00
Go MAEDA
a29d511580 Adjust padding of the copy-to-clipboard button in pre tag (#29214, #42625).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23719 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-27 08:09:32 +00:00
Marius Balteanu
6faaf3d038 Replaces deckar01-task_list gem with commonmarks tasklist extension (#42602).
git-svn-id: https://svn.redmine.org/redmine/trunk@23718 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-27 06:58:32 +00:00
Marius Balteanu
235179d13a Improves SVG contrast when an item is selected in administration sidebar (#42641).
git-svn-id: https://svn.redmine.org/redmine/trunk@23714 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-26 11:22:46 +00:00
Marius Balteanu
b1ed2630df Align query totals to left when an RTL language is used (#42640).
git-svn-id: https://svn.redmine.org/redmine/trunk@23713 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-26 11:14:37 +00:00
Go MAEDA
646bb36874 Joining both atom_token and api_token on the User model causes an error due to the ambiguous column name "action" (#42622).
Patch by Lorin Thwaits (user:lorint).


git-svn-id: https://svn.redmine.org/redmine/trunk@23712 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-25 04:37:30 +00:00
Go MAEDA
38274c06e7 Add missing allowed CSS properties to the CommonMark Markdown help (#42618).
Patch by Kenta Kumojima (user:kumojima).


git-svn-id: https://svn.redmine.org/redmine/trunk@23710 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-24 06:02:03 +00:00
Go MAEDA
7374912f03 Japanese translation update (#42485).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23705 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-23 08:14:45 +00:00
Go MAEDA
293e7c22fe Suppress "Change your password" popup for stable system tests (#42600).
Patch by Mizuki ISHIKAWA (user:ishikawa999).


git-svn-id: https://svn.redmine.org/redmine/trunk@23704 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-23 00:50:57 +00:00
Marius Balteanu
9a0fc14754 Fixes Rubocop offenses (#42510).
git-svn-id: https://svn.redmine.org/redmine/trunk@23699 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-21 07:21:40 +00:00
Go MAEDA
a1b5495e89 Fix Rubocop Style/ArgumentsForwarding (#42496).
git-svn-id: https://svn.redmine.org/redmine/trunk@23698 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-21 05:57:01 +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
524a41eb6c Disable header_ids, tasklist, shortcodes extensions and github_pre_lang render option that are now enabled by default in commonmark (#40197).
git-svn-id: https://svn.redmine.org/redmine/trunk@23696 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-21 05:29:13 +00:00
Marius Balteanu
320ed9c3d8 Updates commonmarker to 2.3.0 (#40197).
git-svn-id: https://svn.redmine.org/redmine/trunk@23695 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-21 05:26:03 +00:00
Marius Balteanu
29872344b3 Drop support for Ruby 3.1 (#42496).
git-svn-id: https://svn.redmine.org/redmine/trunk@23694 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-20 07:55:11 +00:00
Marius Balteanu
9a9ba1d217 Updates for 6.0.5 release.
git-svn-id: https://svn.redmine.org/redmine/trunk@23689 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-20 07:15:47 +00:00
Go MAEDA
abbaaf73fa Add missing _filters.html.erb view file that was not included in r23686 (#42335).
git-svn-id: https://svn.redmine.org/redmine/trunk@23688 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-20 03:33:53 +00:00
Go MAEDA
18909613f0 Ensure Mercurial uses Python >= 3.5 (#33784).
Redmine no longer supports Python 2.7.
Mercurial does not support Python 3.0 to 3.4.

Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23687 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-20 02:22:18 +00:00
Go MAEDA
ce94a1d71a Adds interval ratio setting to progressbar custom field (#42335).
Patch by Marius BĂLTEANU (user:marius.balteanu) and Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23686 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-19 08:46:02 +00:00
Marius Balteanu
d76cf64516 Fixes rubocop offense "Layout/SpaceAroundBlockParameters: Space before first block parameter detected" (#42509).
git-svn-id: https://svn.redmine.org/redmine/trunk@23684 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-19 07:31:03 +00:00
Marius Balteanu
ae566b3bf9 Fixes plugin activity SVG icons broken when multiple plugins are loaded (#42509).
Patch by Stefan Rinkes (user:srinkes).

git-svn-id: https://svn.redmine.org/redmine/trunk@23683 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-19 07:24:46 +00:00
Marius Balteanu
de96d418b1 Add "editable" attribute in the custom fields API response (#41935).
git-svn-id: https://svn.redmine.org/redmine/trunk@23678 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-18 14:44:17 +00:00
Marius Balteanu
33ce711f99 Fix tests after r23672 (#42545).
git-svn-id: https://svn.redmine.org/redmine/trunk@23675 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-18 14:10:01 +00:00
Marius Balteanu
5f29dd87b2 Replaces legacy atom icon with file-rss filled (#42577).
git-svn-id: https://svn.redmine.org/redmine/trunk@23673 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-18 13:41:05 +00:00
Marius Balteanu
e0403f99b1 Fixes commit message in issue history might be rendered in incorrect context (#42545).
Patch by Felix Schäfer (user:felix).

git-svn-id: https://svn.redmine.org/redmine/trunk@23672 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-18 13:04:37 +00:00
Marius Balteanu
b9bb441dc6 Hide user icon in add watchers modal when gravatar is disabled (#42596).
git-svn-id: https://svn.redmine.org/redmine/trunk@23668 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-18 12:19:05 +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
41ed48fd7d NoMethodError when creating a user with an invalid email address and domain restrictions are enabled (#42584).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23666 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-18 07:43:14 +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
Go MAEDA
113d7f50a9 Optimize autocomplete issue listing triggered by typing "##" by eager loading trackers (#42574).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23660 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-16 06:50:26 +00:00
Go MAEDA
c3f4d90ad7 Updates translations for Array#to_sentence (#42580).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23659 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-16 00:15:47 +00:00
Marius Balteanu
5c0525a459 Prevent delete relation icon overflow with long related issue subjects on related issues sections on an issue page in mobile view (#41828).
git-svn-id: https://svn.redmine.org/redmine/trunk@23658 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-15 06:23:07 +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
6951e569c4 Improve SVG icon compatibility with RTL languages by adding the @rtl@ parameter to @sprite_icon@ method. When it is @true@, it adds the 'icon-rtl' class to SVG icons, flipping their direction if an RTL language is used (#42465).
git-svn-id: https://svn.redmine.org/redmine/trunk@23654 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-13 20:30:19 +00:00
Marius Balteanu
e85cd113fe Do not show legacy bullet add icon in search for watchers if SVG is rendered for RTL languages (#42465).
git-svn-id: https://svn.redmine.org/redmine/trunk@23652 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-13 07:49:44 +00:00
Marius Balteanu
40c7203b08 Replaces magnifier legacy icon with SVG icon for RTL language (#42465).
git-svn-id: https://svn.redmine.org/redmine/trunk@23651 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-13 07:47:56 +00:00
Marius Balteanu
6c5136e2f3 Removes extra padding in administration menu icons for RTL languages (#42465).
git-svn-id: https://svn.redmine.org/redmine/trunk@23650 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-13 07:21:40 +00:00
Marius Balteanu
33384d74a5 Fixes sidebar switch button display in RTL language (#42575).
git-svn-id: https://svn.redmine.org/redmine/trunk@23649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-13 07:13:06 +00:00
Go MAEDA
b5dbbc98ee Update versions of Ruby standard gems to match those bundled with Ruby 3.4 (#41976).
git-svn-id: https://svn.redmine.org/redmine/trunk@23648 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-12 05:23:26 +00:00
Go MAEDA
3d0a5dd763 Disable RuboCop Style/BarePercentLiterals (#41884).
git-svn-id: https://svn.redmine.org/redmine/trunk@23647 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-12 05:09:41 +00:00