Commit Graph

2019 Commits

Author SHA1 Message Date
Go MAEDA
efe6f15276 Fix: Avoid "literal string will be frozen in the future" warning on Ruby 3.4 (#41976).
Patch by Go MAEDA (user:maeda) and Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23611 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-08 10:04:59 +00:00
Marius Balteanu
40d51e1a1a Fix rubocop offence "Layout/LineLength: Line is too long" (#42145, #42514).
Patch by Katsuya HIDAKA (user:hidakatsuya).

git-svn-id: https://svn.redmine.org/redmine/trunk@23598 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-04 14:50:19 +00:00
Marius Balteanu
2f99823b0e Ignores @imagemagick_convert_command@ option when generating an image in Gantt module (#42145).
git-svn-id: https://svn.redmine.org/redmine/trunk@23597 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-04-03 20:32:10 +00:00
Go MAEDA
2b26027982 "Progress bar" custom field format (#42335).
Patch by Jens Krämer (user:jkraemer).


git-svn-id: https://svn.redmine.org/redmine/trunk@23560 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-26 10:33:46 +00:00
Marius Balteanu
9f26c417b6 Updates for 6.0.4 release.
git-svn-id: https://svn.redmine.org/redmine/trunk@23540 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-10 23:16:49 +00:00
Marius Balteanu
4fd86cc7c1 Fixes the request method filtering in sudo mode (#42194),
Patch by Holger Just (user:hjust),


git-svn-id: https://svn.redmine.org/redmine/trunk@23520 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-06 21:45:46 +00:00
Marius Balteanu
40b6dce2de Correctly handle exception messages in macros (#42326).
Patch by Holger Just (user:hjust).


git-svn-id: https://svn.redmine.org/redmine/trunk@23519 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-03-06 21:42:27 +00:00
Go MAEDA
7ff2e37c46 Update Mercurial repository support to be compatible with Python 3 and remove support for Mercurial < 5.1 (#33784).
Patch by Harald Klimach (user:haraldkl), Olivier Houdas (user:olivier.houdas@geoconcept.com), Jakob Haufe (user:sur5r), and Sean Baggaley (user:NotTheActualSean).


git-svn-id: https://svn.redmine.org/redmine/trunk@23513 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-02-16 08:43:24 +00:00
Go MAEDA
005f7d2166 Fix: Float custom values with ',' as decimal separator are not converted to '.' and cause SQL errors when sorting or summing (#42233).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23495 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-02-08 06:42:11 +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
c1560c7832 Updates for 6.0.3 release.
git-svn-id: https://svn.redmine.org/redmine/trunk@23472 e93f8b46-1217-0410-a6f0-8f06a7374b81
2025-01-29 07:34:22 +00:00
Go MAEDA
3d516456c9 Allow IMAP4 email receiving to skip SSL certificate verification with ssl=force option (#41738).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23415 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-20 08:42:07 +00:00
Marius Balteanu
c78b394e12 Sets version to 6.0.2.
git-svn-id: https://svn.redmine.org/redmine/trunk@23393 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-11 18:12:00 +00:00
Marius Balteanu
3a1357fcf0 Allows passing plugin parameter when registering activities from a plugin in order to look for the icon in plugin default icons file (#41880).
git-svn-id: https://svn.redmine.org/redmine/trunk@23377 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-12-10 21:59:58 +00:00
Go MAEDA
5e9b2e9d92 Update RuboCop to 1.69 (#41884).
git-svn-id: https://svn.redmine.org/redmine/trunk@23316 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-28 00:26:46 +00:00
Go MAEDA
f812b29201 Fix deprecation warning for IMAP4 email receiving: "Call Net::IMAP.new with keyword options" (#41737).
git-svn-id: https://svn.redmine.org/redmine/trunk@23268 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-14 06:59:29 +00:00
Marius Balteanu
d40b1ca792 Updates for 6.0.1 release.
git-svn-id: https://svn.redmine.org/redmine/trunk@23259 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-12 12:48:39 +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
5851f65bb8 Fixes rubocop offenses (#40197).
git-svn-id: https://svn.redmine.org/redmine/trunk@23250 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-11 18:41:12 +00:00
Marius Balteanu
c0bb500242 Disables @syntax_highlighter@ plugin shipped by commonmark (#40197).
git-svn-id: https://svn.redmine.org/redmine/trunk@23249 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-11 18:29:46 +00:00
Marius Balteanu
542a493352 Simplify code (#40197).
git-svn-id: https://svn.redmine.org/redmine/trunk@23248 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-11 18:29:12 +00:00
Marius Balteanu
a5d263dba8 Updates commonmark gem version to 1.1.5 which switches from libcmark-gfm to comrak/Rust (#40197).
git-svn-id: https://svn.redmine.org/redmine/trunk@23247 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-11 18:28:41 +00:00
Marius Balteanu
9302eeb149 Updates for 6.0.0 release.
git-svn-id: https://svn.redmine.org/redmine/trunk@23240 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-10 21:40:04 +00:00
Marius Balteanu
d8fa577550 Allows plugins to add custom SVG icons for menu items added by the plugin (#23980).
Patch by Takenori TAKAKI (user:takenory).

git-svn-id: https://svn.redmine.org/redmine/trunk@23234 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-10 15:54:34 +00:00
Marius Balteanu
7b41e94b5e Updates for 5.1.4 release.
git-svn-id: https://svn.redmine.org/redmine/trunk@23200 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-03 22:03:10 +00:00
Marius Balteanu
39401e4b95 Reverts r23190-r23187 because the CI build fails with error "ERROR: Failed to build gem native extension" (#40197).
git-svn-id: https://svn.redmine.org/redmine/trunk@23197 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-03 18:34:06 +00:00
Marius Balteanu
229d921391 Disable syntax_highlighter plugin shipped by commonmark (#40197).
git-svn-id: https://svn.redmine.org/redmine/trunk@23190 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-03 12:05:27 +00:00
Marius Balteanu
c630acfa6f Simplify code (#40197).
git-svn-id: https://svn.redmine.org/redmine/trunk@23189 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-03 12:03:32 +00:00
Marius Balteanu
da87320ebc Updates commonmark gem version to 1.1.5 which switches from libcmark-gfm to comrak/Rust.
git-svn-id: https://svn.redmine.org/redmine/trunk@23188 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-11-03 12:02:39 +00:00
Marius Balteanu
826980bc40 Upgrades propshaft to 1.1.0 (#39111).
Patch by Takashi Kato (user:tohosaku).


git-svn-id: https://svn.redmine.org/redmine/trunk@23174 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-31 08:17:01 +00:00
Go MAEDA
90f34d9d47 Fix reference to the deleted Redcarpet-based Redmine::WikiFormatting::Markdown::HtmlParser class by porting the HtmlParser class for the CommonMark formatter (#40149, #41513).
git-svn-id: https://svn.redmine.org/redmine/trunk@23154 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-21 05:45:37 +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
309e6a27f3 Replace "even" and "odd" CSS classes with "this-month" and "other-month" for calendar days (#41509).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23151 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-20 07:02:22 +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
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
f6b835119f Update MiniMagick to 5.0 (#41312).
Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23099 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-10-02 23:46:17 +00:00
Go MAEDA
9dae7a75f5 Gantt progress line misrendering for 0% progress issues/versions with future start dates beyond chart range (#41263).
Contributed by Minoru Maeda (user:maeda-m).


git-svn-id: https://svn.redmine.org/redmine/trunk@23068 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-23 01:33:40 +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
4675febf31 Refactor Calendar#first_wday method for improved readability and efficiency (#41188).
git-svn-id: https://svn.redmine.org/redmine/trunk@23032 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-07 06:34:35 +00:00
Go MAEDA
9e28bebbfc Fix RuboCop offense Layout/EndAlignment (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23030 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-07 04:07:41 +00:00
Marius Balteanu
a26d885a3a Replaces project, version and issue icons from Gantt view with SVG icons (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23029 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-06 20:48:16 +00:00
Marius Balteanu
794fe6a7cd Replaces icons in administration menu with SVG icons (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23028 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-06 20:40:27 +00:00
Go MAEDA
2fe36c4128 Fix RuboCop offense Style/RedundantInterpolationUnfreeze (#39887).
Since interpolated strings are always unfrozen in Ruby 3.0 and later, the use of `+""` is now redundant.


git-svn-id: https://svn.redmine.org/redmine/trunk@23001 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-09-01 00:38:01 +00:00
Go MAEDA
8da72cb712 Fix precision issues in TimeEntry#hours calculation by returning Rational instead of Float (#40914).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@23000 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-31 09:26:50 +00:00
Go MAEDA
fdd90bab2b Fix RuboCop offenses Style/NegatedIf and Style/NegatedWhile (#39887, #7770).
git-svn-id: https://svn.redmine.org/redmine/trunk@22987 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-25 08:44:33 +00:00
Go MAEDA
b1767ab637 Fix RuboCop offense Rails/PluralizationGrammar (#39889).
git-svn-id: https://svn.redmine.org/redmine/trunk@22985 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-25 05:08:12 +00:00
Go MAEDA
7cc62836b5 Add placeholder "h:mm" to hours field for better user guidance (#2464).
Patch by Go MAEDA (user:maeda).


git-svn-id: https://svn.redmine.org/redmine/trunk@22977 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-21 08:40:04 +00:00
Go MAEDA
93645a279e Use anonymous block forwarding introduced in Ruby 3.1 (#38585).
git-svn-id: https://svn.redmine.org/redmine/trunk@22973 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-21 00:46:15 +00:00