summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Improve SVG icon compatibility with RTL languages by adding the @rtl@ ↵Marius Balteanu2025-04-131-1/+1
| | | | | | 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
* Update RuboCop to 1.74 (#41884).Go MAEDA2025-04-121-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23637 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop Lint/UselessConstantScoping (#41884).Go MAEDA2025-04-111-0/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23635 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop Style/ComparableBetween (#41884).Go MAEDA2025-04-111-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23634 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix RuboCop Lint/SuppressedExceptionInNumberConversion (#41884).Go MAEDA2025-04-111-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23626 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix: Avoid "literal string will be frozen in the future" warning on Ruby 3.4 ↵Go MAEDA2025-04-081-1/+1
| | | | | | | | | (#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
* Fix rubocop offence "Layout/LineLength: Line is too long" (#42145, #42514).Marius Balteanu2025-04-041-1/+3
| | | | | | Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23598 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ignores @imagemagick_convert_command@ option when generating an image in ↵Marius Balteanu2025-04-031-1/+7
| | | | | | Gantt module (#42145). git-svn-id: https://svn.redmine.org/redmine/trunk@23597 e93f8b46-1217-0410-a6f0-8f06a7374b81
* "Progress bar" custom field format (#42335).Go MAEDA2025-03-261-0/+56
| | | | | | | Patch by Jens Krämer (user:jkraemer). git-svn-id: https://svn.redmine.org/redmine/trunk@23560 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates for 6.0.4 release.Marius Balteanu2025-03-101-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23540 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes the request method filtering in sudo mode (#42194),Marius Balteanu2025-03-061-1/+1
| | | | | | | Patch by Holger Just (user:hjust), git-svn-id: https://svn.redmine.org/redmine/trunk@23520 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Correctly handle exception messages in macros (#42326).Marius Balteanu2025-03-061-1/+1
| | | | | | | Patch by Holger Just (user:hjust). git-svn-id: https://svn.redmine.org/redmine/trunk@23519 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update Mercurial repository support to be compatible with Python 3 and ↵Go MAEDA2025-02-162-90/+108
| | | | | | | | | 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
* Fix: Float custom values with ',' as decimal separator are not converted to ↵Go MAEDA2025-02-082-2/+3
| | | | | | | | | '.' 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
* `format_hours` method produces incorrect output for negative time values ↵Go MAEDA2025-01-301-2/+3
| | | | | | | | | 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
* Updates for 6.0.3 release.Go MAEDA2025-01-291-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23472 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allow IMAP4 email receiving to skip SSL certificate verification with ↵Go MAEDA2024-12-202-1/+11
| | | | | | | | | `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
* Add description for `ssl=force` option to rake task ↵Go MAEDA2024-12-201-0/+2
| | | | | | `redmine:email:receive_pop3` (#41738). git-svn-id: https://svn.redmine.org/redmine/trunk@23414 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Sets version to 6.0.2.Marius Balteanu2024-12-111-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23393 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allows passing plugin parameter when registering activities from a plugin in ↵Marius Balteanu2024-12-101-2/+9
| | | | | | 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
* Update RuboCop to 1.69 (#41884).Go MAEDA2024-11-281-0/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23316 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix deprecation warning for IMAP4 email receiving: "Call Net::IMAP.new with ↵Go MAEDA2024-11-141-1/+1
| | | | | | keyword options" (#41737). git-svn-id: https://svn.redmine.org/redmine/trunk@23268 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates for 6.0.1 release.Marius Balteanu2024-11-121-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23259 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes "Unresolved or ambiguous specs during Gem::Specification.reset" (#41729).Marius Balteanu2024-11-121-2/+2
| | | | | | Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23256 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaces two more occurrences of CommonMarker (#40197).Marius Balteanu2024-11-111-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23251 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes rubocop offenses (#40197).Marius Balteanu2024-11-112-3/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23250 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Disables @syntax_highlighter@ plugin shipped by commonmark (#40197).Marius Balteanu2024-11-112-1/+8
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23249 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Simplify code (#40197).Marius Balteanu2024-11-111-7/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23248 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates commonmark gem version to 1.1.5 which switches from libcmark-gfm to ↵Marius Balteanu2024-11-113-22/+23
| | | | | | comrak/Rust (#40197). git-svn-id: https://svn.redmine.org/redmine/trunk@23247 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates for 6.0.0 release.Marius Balteanu2024-11-101-3/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23240 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix path for plugin assets in icons rake task (#23980, #41712).Marius Balteanu2024-11-101-1/+1
| | | | | | Patch by Takenori TAKAKI (user:takenory). git-svn-id: https://svn.redmine.org/redmine/trunk@23237 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allows plugins to add custom SVG icons for menu items added by the plugin ↵Marius Balteanu2024-11-101-2/+3
| | | | | | | | (#23980). Patch by Takenori TAKAKI (user:takenory). git-svn-id: https://svn.redmine.org/redmine/trunk@23234 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates for 5.1.4 release.Marius Balteanu2024-11-031-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23200 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reverts r23190-r23187 because the CI build fails with error "ERROR: Failed ↵Marius Balteanu2024-11-034-31/+27
| | | | | | to build gem native extension" (#40197). git-svn-id: https://svn.redmine.org/redmine/trunk@23197 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Disable syntax_highlighter plugin shipped by commonmark (#40197).Marius Balteanu2024-11-032-1/+8
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23190 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Simplify code (#40197).Marius Balteanu2024-11-031-7/+3
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23189 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates commonmark gem version to 1.1.5 which switches from libcmark-gfm to ↵Marius Balteanu2024-11-034-23/+24
| | | | | | comrak/Rust. git-svn-id: https://svn.redmine.org/redmine/trunk@23188 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Upgrades propshaft to 1.1.0 (#39111).Marius Balteanu2024-10-311-9/+9
| | | | | | | Patch by Takashi Kato (user:tohosaku). git-svn-id: https://svn.redmine.org/redmine/trunk@23174 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix missing deletion of custom field attachments upon issue deletion (#38966).Go MAEDA2024-10-261-0/+13
| | | | | | | Patch by Takenori TAKAKI (user:takenory). git-svn-id: https://svn.redmine.org/redmine/trunk@23161 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix reference to the deleted Redcarpet-based ↵Go MAEDA2024-10-211-1/+27
| | | | | | 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
* Drop deprecated Redcarpet based Markdown formatter (#40149).Go MAEDA2024-10-206-232/+1
| | | | | | | Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23153 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace "even" and "odd" CSS classes with "this-month" and "other-month" for ↵Go MAEDA2024-10-201-1/+1
| | | | | | | | | calendar days (#41509). Patch by Go MAEDA (user:maeda). git-svn-id: https://svn.redmine.org/redmine/trunk@23151 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Renames and improves methods provided by @IconsHelper@ (#23980).Marius Balteanu2024-10-193-4/+4
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23145 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Partial quoting feature for Issues and Forums (#41294).Go MAEDA2024-10-091-0/+87
| | | | | | | Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23107 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add underline button to CommonMark Markdown toolbar (#40939).Go MAEDA2024-10-091-0/+3
| | | | | | | Contributed by Yasu Saku (user:skys). git-svn-id: https://svn.redmine.org/redmine/trunk@23106 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds rake task to download SVG icons from Tabler Github repository using ↵Marius Balteanu2024-10-081-0/+142
| | | | | | | | | | | | | | | config/icon_source.yml as source and to generate a sprite file with all the SVG icons (#23980): * @icons:download@: downloads the default icons * @icons:sprite@: generates the SVG sprite file for the default icons * @icons:generate@: runs @icons:download@ and @icons:sprite@ tasks * @icons:plugin:download@: downloads the icons for a specific plugin if the plugin provides a @icon_source.yaml@ in plugin config directory. * @icons:plugin:sprite@: generates the SVG sprite for the plugin. * @icons:plugin:generate@: runs @icons:plugin:download@ and @icons:plugin:sprite@ tasks git-svn-id: https://svn.redmine.org/redmine/trunk@23105 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes gantt collapse/expand buttons are not available after switching to SVG ↵Marius Balteanu2024-10-081-3/+3
| | | | | | icons (#41447, #23980). git-svn-id: https://svn.redmine.org/redmine/trunk@23104 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update MiniMagick to 5.0 (#41312).Go MAEDA2024-10-021-2/+2
| | | | | | | Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23099 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Gantt progress line misrendering for 0% progress issues/versions with future ↵Go MAEDA2024-09-231-2/+2
| | | | | | | | | 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
* Replaces icon-expanded and icon-collapsed with SVG icons (#23980).Marius Balteanu2024-09-081-2/+2
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@23041 e93f8b46-1217-0410-a6f0-8f06a7374b81