summaryrefslogtreecommitdiffstats
path: root/lib/redmine
Commit message (Collapse)AuthorAgeFilesLines
* Move @lib/diff.rb@ to @lib/redmine/string_array_diff@ and extract @Diffable@ ↵Marius Balteanu2021-10-273-1/+327
| | | | | | class to its own file (#29914, #32938). git-svn-id: http://svn.redmine.org/redmine/trunk@21262 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove extra blank line (#29914, #32938).Marius Balteanu2021-10-241-1/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21261 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Extract @Shell@ and @DateCalculation@ classes from @lib/redmine/utils.rb@ to ↵Marius Balteanu2021-10-243-81/+129
| | | | | | their own files (#29914, #32938). git-svn-id: http://svn.redmine.org/redmine/trunk@21260 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Extract @Diff@ and @DiffTable@ from @lib/redmine/unified_diff.rb@ to their ↵Marius Balteanu2021-10-243-242/+282
| | | | | | own files (#29914, #32938). git-svn-id: http://svn.redmine.org/redmine/trunk@21259 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Move custom DateValidator from @lib/redmine/core_ext/active_record.rb@ to ↵Marius Balteanu2021-10-241-29/+0
| | | | | | @app/validators/date_validator.rb@ (#29914, #32938). git-svn-id: http://svn.redmine.org/redmine/trunk@21258 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update .rubocop_todo and fix Style/AndOr offense (#29914, #32938).Marius Balteanu2021-10-201-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21253 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Split multiple classes and modules that existed in the same file (#29914, ↵Marius Balteanu2021-10-202-83/+107
| | | | | | | | #32938). Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@21252 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates for 4.2.3 release.Go MAEDA2021-10-101-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21243 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Explicitly specify escape character using an ESCAPE on SQLite (#35073).Marius Balteanu2021-10-091-1/+3
| | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21240 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Tokenize search parameter in order to allow multiple search terms in:Marius Balteanu2021-10-051-9/+17
| | | | | | | | | * the "contains" operator of text filters * in issue autocomplete Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Append two spaces to lines when importing an email on CommonMark with ↵Marius Balteanu2021-10-032-1/+31
| | | | | | | | hardbreaks disabled (#32424). Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21228 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Make hardbreaks behaviour configurable in config/configuration.yml (#32424).Marius Balteanu2021-10-032-3/+8
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21227 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix Layout/ClosingParenthesisIndentation offense (#35683).Marius Balteanu2021-09-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21220 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Disable Lint/DuplicateBranch in lib/redmine/export/pdf.rb#107 (#35683).Marius Balteanu2021-09-111-0/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21219 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Interpret thumbnail macro in description, notes and formatted custom fields ↵Marius Balteanu2021-09-062-19/+25
| | | | | | | | in issues list PDF export (35683). Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21213 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Retrieve filenames of thumbnails when rendering a PDF (#35683).Marius Balteanu2021-09-061-0/+4
| | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21212 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Expand macros in full-width custom fields when exporting issue to PDF (#35683).Marius Balteanu2021-09-061-2/+7
| | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21211 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove unused argument from Redmine::Helpers::TimeReport (#33079).Go MAEDA2021-08-191-2/+1
| | | | | | | Patch by Kevin Fischer. git-svn-id: http://svn.redmine.org/redmine/trunk@21196 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Unify code block and add "data-language" attribute with the user-supplied ↵Marius Balteanu2021-08-152-6/+10
| | | | | | | | language for Textile and Markdown formaters (#35104). Patch by Martin Cizek. git-svn-id: http://svn.redmine.org/redmine/trunk@21183 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "data-language" attribute to code block with the user-supplied language ↵Marius Balteanu2021-08-152-2/+5
| | | | | | | | for CommonMark formater (#35104, #32424). Patch by Martin Cizek. git-svn-id: http://svn.redmine.org/redmine/trunk@21182 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Preserve the code block and remove the class from it when the language is ↵Marius Balteanu2021-08-151-2/+2
| | | | | | not supported in CommonMark formatter (#35765, 32424). git-svn-id: http://svn.redmine.org/redmine/trunk@21181 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed Replace class var @@allowlist with a class instance var (#32424).Marius Balteanu2021-08-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21166 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace deprecated Sanitize keywords (#32424).Marius Balteanu2021-08-111-17/+17
| | | | | | Patch by Martin Cizek. git-svn-id: http://svn.redmine.org/redmine/trunk@21162 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Relax allowed protocols in links by denying specific protocols for ↵Marius Balteanu2021-08-112-5/+36
| | | | | | | | CommonMark text formatting (#32424). Patch by Martin Cizek. git-svn-id: http://svn.redmine.org/redmine/trunk@21161 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds CommonMark Markdown (GitHub Flavored) as third text formatting option ↵Marius Balteanu2021-08-118-0/+441
| | | | | | | | (#32424). Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21156 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates for 4.2.2 release.Marius Balteanu2021-08-011-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21125 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Progress bar for a shared version on gantt disappears when the tree is ↵Go MAEDA2021-07-311-1/+6
| | | | | | | | | collapsed and then expanded (#34694). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21115 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes unused column trackers.is_in_chlog (#31132).Marius Balteanu2021-07-281-3/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21106 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Inline image in Textile is not displayed if the image URL contains ↵Go MAEDA2021-07-281-1/+1
| | | | | | | | | ampersands (#35441). Contributed by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21101 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Unhandled exception when a YAML syntax error is detected in ↵Go MAEDA2021-07-011-2/+2
| | | | | | | | | configuration.yml (#35421). Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21057 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Possible double includes in issue query in gantt helper (#33381).Go MAEDA2021-06-061-1/+0
| | | | | | | Contributed by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@21028 e93f8b46-1217-0410-a6f0-8f06a7374b81
* PDF thumbnails support on Windows (#32898).Go MAEDA2021-05-251-9/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21008 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove deprecated WikiContent::Version (#35031).Go MAEDA2021-05-151-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21002 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Markdown text sections broken by thematic breaks (horizontal rules) (#35036).Go MAEDA2021-05-141-1/+1
| | | | | | | Patch by Martin Cizek. git-svn-id: http://svn.redmine.org/redmine/trunk@20998 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates for 4.2.1 release.Go MAEDA2021-04-261-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20974 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Stricter validation of given revisions of repositories (#35085).Go MAEDA2021-04-233-0/+29
| | | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@20962 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Prevent hash type URLs from being namespaced in MenuManager (#35076).Go MAEDA2021-04-151-2/+11
| | | | | | | Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@20945 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace pluck().first with pick() (#32909).Go MAEDA2021-04-032-3/+3
| | | | | | | Patch by Pavel Rosický and Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20907 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix "DEPRECATION WARNING: Calling '<<' to an ActiveModel::Errors message ↵Go MAEDA2021-04-011-1/+1
| | | | | | array in order to add an error is deprecated." (#29914, #34985). git-svn-id: http://svn.redmine.org/redmine/trunk@20898 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix "ArgumentError: wrong number of arguments (given 1, expected 2) on ↵Go MAEDA2021-04-011-5/+5
| | | | | | | | | Redmine::PluginTest#test_migrate_redmine_plugin" (#29914, #32939). Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@20888 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix "ActionView::Template::Error (wrong number of arguments (given 2, ↵Go MAEDA2021-04-011-1/+1
| | | | | | | | | expected 1))" (#29914). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20886 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix sending mail with DeliveryJob is deprecated (#29914, #32908).Go MAEDA2021-04-011-1/+1
| | | | | | | Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@20882 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set version to 4.2.0.Go MAEDA2021-03-281-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20865 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replace MimeMagic with Marcel (#34969).Go MAEDA2021-03-271-3/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@20862 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove duplicate code in Redmine::Thumbnail.generate (#34969).Go MAEDA2021-03-271-5/+1
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@20861 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support for Git repositories with default branch "main" (#34942).Go MAEDA2021-03-261-7/+9
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@20851 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-2575-75/+75
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set trackers in the default data as defaults for new projects (#33733).Go MAEDA2021-03-251-3/+10
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20841 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates for 4.1.2 release.Go MAEDA2021-03-201-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20833 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Only show currently visible projects in the project jump box (#34595).Go MAEDA2021-03-161-0/+1
| | | | | | | Patch by Holger Just and Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20803 e93f8b46-1217-0410-a6f0-8f06a7374b81