More library updates

This commit is contained in:
Alexander Meindl 2019-10-01 11:21:49 +02:00
parent 67a5af38e1
commit 5399709084
7 changed files with 25 additions and 24 deletions

View File

@ -5,8 +5,9 @@ Changelog
++++++
- FontAwesome 5.11.2 support
- Mermaid 8.2 support
- Updated select2 to 4.0.9
- Mermaid 8.3.1 support
- Select2 4.0.10 support
- Chart.js Plugin datalabels 0.7.0 support
2.0.21
++++++

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -168,7 +168,7 @@ It provides :
* `bootstrap-datepicker 1.9.0 <https://github.com/uxsolutions/bootstrap-datepicker>`_
* `Chart.js 2.8.0 <https://www.chartjs.org/>`_
* `Chart.js Plugin datalabels 0.6.0 <https://github.com/chartjs/chartjs-plugin-datalabels>`_
* `Chart.js Plugin datalabels 0.7.0 <https://github.com/chartjs/chartjs-plugin-datalabels>`_
* `Chart.js Plugin stacked100 0.7.1 <https://github.com/y-takey/chartjs-plugin-stacked100>`_
* `Chart.js Plugin colorschemes 0.4.0 <https://github.com/nagix/chartjs-plugin-colorschemes>`_
* `clipboardJS 2.0.4 <https://clipboardjs.com/>`_
@ -176,9 +176,9 @@ It provides :
* `d3plus v2.0.0-alpha.19 <https://d3plus.org/>`_
* `d3plus-hierarchy v0.8.5 <https://github.com/d3plus/d3plus-hierarchy>`_
* `FontAwesome 5.11.2 <https://fontawesome.com/>`_
* `mermaid 8.2.3 <https://github.com/knsv/mermaid/>`_
* `mermaid 8.3.1 <https://github.com/knsv/mermaid/>`_
* `nvd3 1.8.6 <https://github.com/novus/nvd3>`_
* `Select2 4.0.9 <https://select2.org/>`_
* `Select2 4.0.10 <https://select2.org/>`_
* `ZeroClipboard 2.3.0 <https://github.com/zeroclipboard/zeroclipboard>`_
And a set of various Rails helper methods (see below).

View File

@ -29,11 +29,11 @@ module Additionals
Redmine::WikiFormatting.format_names.each do |format|
case format
when 'markdown'
Redmine::WikiFormatting::Markdown::HTML.send(:include, Patches::FormatterMarkdownPatch)
Redmine::WikiFormatting::Markdown::Helper.send(:include, Patches::FormattingHelperPatch)
Redmine::WikiFormatting::Markdown::HTML.include Patches::FormatterMarkdownPatch
Redmine::WikiFormatting::Markdown::Helper.include Patches::FormattingHelperPatch
when 'textile'
Redmine::WikiFormatting::Textile::Formatter.send(:include, Patches::FormatterTextilePatch)
Redmine::WikiFormatting::Textile::Helper.send(:include, Patches::FormattingHelperPatch)
Redmine::WikiFormatting::Textile::Formatter.include Patches::FormatterTextilePatch
Redmine::WikiFormatting::Textile::Helper.include Patches::FormattingHelperPatch
end
end
@ -42,13 +42,13 @@ module Additionals
WikiController.send(:helper, AdditionalsWikiPdfHelper)
# Static class patches
Redmine::AccessControl.send(:include, Additionals::Patches::AccessControlPatch)
Redmine::AccessControl.include Additionals::Patches::AccessControlPatch
# Global helpers
ActionView::Base.send :include, Additionals::Helpers
ActionView::Base.send :include, AdditionalsFontawesomeHelper
ActionView::Base.send :include, AdditionalsMenuHelper
ActionView::Base.send :include, Additionals::AdditionalsSelect2Helper
ActionView::Base.include Additionals::Helpers
ActionView::Base.include AdditionalsFontawesomeHelper
ActionView::Base.include AdditionalsMenuHelper
ActionView::Base.include Additionals::AdditionalsSelect2Helper
# Hooks
require_dependency 'additionals/hooks'