summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Return 406 status code instead of 500 when API request has an invalid format ↵Marius Balteanu2022-01-301-1/+3
| | | | | | | | | (#34766). Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@21392 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Enable task list items for Common Mark text formatting (#35742).Marius Balteanu2022-01-221-0/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21383 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Duplicate activities in time entry report when project-specific activies ↵Go MAEDA2022-01-191-1/+1
| | | | | | | | | exist (#20018). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@21371 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Custom I18n Pluralization rules are not applied correctly (#36396).Go MAEDA2022-01-151-2/+2
| | | | | | | Contributed by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@21365 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Auto guess file encoding when importing CSV file (#34718).Go MAEDA2022-01-071-0/+18
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21352 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes Markdown and CommonMark formatters independent of each other (#32424).Marius Balteanu2022-01-041-8/+21
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21345 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-02106-106/+106
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes for Performance/StringIdentifierArgument introduced in RuboCop ↵Go MAEDA2021-12-293-5/+5
| | | | | | Performance 1.13.0 (#35142). git-svn-id: http://svn.redmine.org/redmine/trunk@21330 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use File.exist? instead of deprecated File.exists? (#36358).Go MAEDA2021-12-274-7/+7
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21327 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Drop OpenID support (#35755).Go MAEDA2021-12-1421-1006/+0
| | | | | | | Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@21312 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add current theme and whether it includes JavaScript to Redmine::Info (#32116).Go MAEDA2021-12-121-0/+16
| | | | | | | Contributed by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@21308 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix redmine:plugins:assets rake task fails (#36287, #32938).Go MAEDA2021-12-082-3/+7
| | | | | | | Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@21300 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix plugin assets are no longer copied under plugin name (#36218, #29914, ↵Marius Balteanu2021-11-251-3/+6
| | | | | | #32938). git-svn-id: http://svn.redmine.org/redmine/trunk@21295 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove invalid require (#29914, #32938).Marius Balteanu2021-11-171-1/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21288 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Switch to zeitwerk autoloader (#29914, #32938).Marius Balteanu2021-11-172-5/+5
| | | | | | Patch by Takashi Kato. git-svn-id: http://svn.redmine.org/redmine/trunk@21287 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add core extensions in prepare method (#29914, #32938).Marius Balteanu2021-11-172-2/+3
| | | | | | Patch by Takashi Kato. git-svn-id: http://svn.redmine.org/redmine/trunk@21285 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Move preparation code to redmine/preparation.rb (#29914, #32938).Marius Balteanu2021-11-176-419/+409
| | | | | | Patch by Takashi Kato. git-svn-id: http://svn.redmine.org/redmine/trunk@21284 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Extract Redmine::PluginLoader from Redmine::Plugin (#32938).Marius Balteanu2021-11-172-81/+147
| | | | | | Patch by Takashi Kato. git-svn-id: http://svn.redmine.org/redmine/trunk@21283 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adopt 2FA emails to new Mailer interface (#36005).Go MAEDA2021-11-131-8/+8
| | | | | | | Patch by Felix Schäfer. git-svn-id: http://svn.redmine.org/redmine/trunk@21279 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix typo in class 'icon-expended' (#36149).Marius Balteanu2021-11-082-2/+2
| | | | | | Patch by Bernhard Rohloff. git-svn-id: http://svn.redmine.org/redmine/trunk@21275 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rename CoreExtensions to CoreExt (#29914, #32938).Marius Balteanu2021-10-273-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21267 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add require to acts_as_tree (#29914, #32938).Marius Balteanu2021-10-271-0/+1
| | | | | | Patch by Takashi Kato. git-svn-id: http://svn.redmine.org/redmine/trunk@21265 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use full full path for require (#29914, #32938).Marius Balteanu2021-10-272-2/+2
| | | | | | Patch by Takashi Kato. git-svn-id: http://svn.redmine.org/redmine/trunk@21264 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove extra blank line (#29914, #32938).Marius Balteanu2021-10-271-1/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21263 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Move @lib/diff.rb@ to @lib/redmine/string_array_diff@ and extract @Diffable@ ↵Marius Balteanu2021-10-274-283/+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
* Remove extra blank line.Marius Balteanu2021-10-211-1/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21255 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-203-83/+109
| | | | | | | | #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
* Use sanitize_sql_like on search tokens (#35073).Marius Balteanu2021-10-031-1/+1
| | | | | | Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@21230 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
* Fix that deleting a closed or archived projects not working anymore after ↵Marius Balteanu2021-09-061-1/+1
| | | | | | | | r20034 (#35827). Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@21210 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