summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
* Mark CommonMark Markdown (GitHub Flavored) as experimental (#32424).Marius Balteanu2021-08-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21160 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds CommonMark Markdown (GitHub Flavored) as third text formatting option ↵Marius Balteanu2021-08-119-0/+449
| | | | | | | | (#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
* Remove 'edit' action from :manage_wiki permission definition in ↵Marius Balteanu2021-07-261-1/+1
| | | | | | | | Redmine::AccessControl. Wikis#edit is removed by r17018. (#35610). Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@21086 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