Go MAEDA
1b9698df2c
Add a sticky issue header to issue page ( #42684 ).
...
Patch by Mizuki ISHIKAWA (user:ishikawa999).
git-svn-id: https://svn.redmine.org/redmine/trunk@23752 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-10 01:00:13 +00:00
Go MAEDA
b408b59d99
Optimize Gantt chart rendering by reducing version-related queries ( #42663 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23750 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-07 06:54:08 +00:00
Go MAEDA
3c0faad370
Optimize the rendering of versions on the roadmap by preloading the email addresses of issue assignees ( #42682 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23749 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-07 04:39:24 +00:00
Go MAEDA
2a6bfbd184
Update RBPDF to 1.21.4 to fix missing JPEG images in exported PDF files when using mini_magick >= 5.0 ( #42558 ).
...
Contributed by Jun NAITOH (user:naitoh).
git-svn-id: https://svn.redmine.org/redmine/trunk@23748 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-07 03:02:02 +00:00
Go MAEDA
7e4acb6b23
Optimize Version::FixedIssuesExtension#issues_progress by avoiding repeated Issue#closed? calls ( #42673 ).
...
Since the issues are already filtered by open or closed status using the `open` argument through the `self.open(open)` scope, the call to expensive method `Issue#closed?` can be safely replaced with a check of the `open` argument.
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23747 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-06 06:45:36 +00:00
Go MAEDA
c227b006e1
Avoid unnecessary SQL queries by reordering conditions in Gantt version subject rendering ( #42681 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-06 02:34:06 +00:00
Go MAEDA
2d064e6952
Avoid unnecessary SQL query for subprojects in ProjectsController#show when project has no children ( #42671 ).
...
Patch by Go MAEDA (user:maeda).
git-svn-id: https://svn.redmine.org/redmine/trunk@23745 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-06 02:16:37 +00:00
Go MAEDA
52ded33986
Reorder "Also available in" links to place Atom at the end ( #42598 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23744 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-05 02:31:38 +00:00
Go MAEDA
c88d14d389
Drop Atom icon in "Also available in" links ( #42598 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23743 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-05 02:29:29 +00:00
Go MAEDA
ff5673fbf5
Update net-imap gem version constraint to '~> 0.5.7' ( #42662 ).
...
git-svn-id: https://svn.redmine.org/redmine/trunk@23740 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-05 01:47:39 +00:00
Go MAEDA
8dce4c0a12
Fix a typo in doc/UPGRADING regarding the config.assets.redmine_detect_update flag ( #42657 ).
...
Patch by Kota Uchino (user:uchinokot).
git-svn-id: https://svn.redmine.org/redmine/trunk@23738 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-02 09:49:04 +00:00
Go MAEDA
13cbba889e
Update outdated Wiki links in doc/INSTALL and doc/UPGRADING ( #42657 ).
...
Patch by Kota Uchino (user:uchinokot).
git-svn-id: https://svn.redmine.org/redmine/trunk@23737 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-05-02 09:39:38 +00:00
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