Developer Area/Plugins/Third party

From Mahara Wiki

< Developer Area‎ | Plugins
Revision as of 13:34, 28 February 2020 by Rebeccablundell (talk | contribs)

A list of the third party plugins within Mahara.

A helpful way to update this list is to go:

 find ./htdocs -type f -iname "README.Mahara" -exec grep 'Version' -B1 {} \; -print

on the current codebase.

Note: another thing to keep in sync is the country names we use for 'Country' dropdowns. To check what the current state of play is

 perl -MLocale::Country -le 'print join("\n", sort map { country2code($_) . " => " . country2code($_, LOCALE_CODE_ALPHA_3) . ", // " . $_ } all_country_names())'

and check the results against htdocs/lib/country.php and htdocs/lang/en.utf8/mahara.php files For any confusion you can also check against

Indicating what version they are on in Mahara and what they currently are on at time of publishing 09 Jan 2019:

Current versions marked in Red indicate the plugin needs updating/upgrading.

Name Readme file URL License Current version Latest version Latest branch version Requirements of latest version Note Estimated upgrade time
ADODB ./htdocs/lib/adodb/README.mahara Dual-licensed under the BSD and Lesser GPL license, with the BSD License having priority. 5.20.14 5.20.16   We need to update to version 5.21 for PHP 7.4 compatibility, but this has not been released as at 28 Feb (Bug 1859528) ?
Bootstrap ./htdocs/lib/bootstrap/README.Mahara MIT License 4.3.1 4.4.1 3.3.7 There have been 2 minor point releases since we upgraded Liam would need to check this
Bootstrap Datetimepicker ./htdocs/js/bootstrap-datetimepicker/README.mahara MIT License 4.17.47 4.17.47 runs using bootstrap and moment.js Current at Feb 2020 n/a
Chart.js ./htdocs/js/chartjs/README.mahara MIT License 2.7.3 2.9.3 PHP 5.3+ We're a couple of versions behind
- no security patches
Clipboard js ./htdocs/js/clipboard/README.Mahara MIT License 2.0.4 2.0.4 Current at February 2020, last updated Nov 2018
Cookie consent ./htdocs/js/cookieconsent/README.mahara MIT License 3.1.1 3.1.1 Current at February 2020
NB: Has changed ownership, but there is still an OS version, which we are using
CSS Tidy ./htdocs/lib/csstidy/README.Mahara LGPL 1.6.5 1.7.1 PHP 5.4+ Bug 1840099: Update csstidy to 1.7.1, patch in review n/a
Dragon-drop ./htdocs/js/dragondrop/README.mahara MIT License 3.2.1 3.2.1 Up to date at Feburary
last updated Feb 2018
Dropzone ./htdocs/js/dropzone/README.mahara MIT License 5.5.0 5.5.0 Current at February 2020
NB: last updated Aug 2018
Dwoo ./htdocs/lib/dwoo/README.Mahara Modified BSD License: 1.3.7 1.3.7 PHP 5.3+ Current at February 2020
Last updated Apr 2018
Elastic Search ./htdocs/lib/elasticsearch/README.Mahara Apache v2.0 6.1.0 7.5 PHP 7.1
Patch in review to upgrade to 7.5, (Bug 1840101: update elasticsearch-php to 7.5) which currently works with ES server 6.8, but not 7.Note that our code needs to be upgraded so we can connect to ES server 7.6, which is a separate issue.
Investigation in process to upgrade our code.
fancybox3 ./htdocs/js/fancybox/README.Mahara GPL 3.0 3.5.6 3.5.7 no significant changes n/a
gridstack ./htdocs/js/gridstack/README.Mahara MIT License 0.4.0 1.0 A lot of activity in the past few months - looks to be significant structural changes, including removing jquery. Cecilia would need to confirm amount of work to upgrade, but probably significant
HTML Purifier ./htdocs/lib/htmlpurifier/README.Mahara LGPL v2.1+ 4.11.0 4.12.0 PHP >5.3 New version supports PHP 7.4 looks like a small piece of work to update
Javascript templates ./htdocs/js/javascript-templates/README.Mahara MIT License 3.11.0 3.13.0 node.js They made some formatting changes, but no real changes. We don't need to upgrade n/a
jQuery ./htdocs/js/jquery/README.Mahara MIT License 3.4.1 3.4.1 Current at February 2020
jQuery mobile ./htdocs/js/jquery/jquery-mobile/README.Mahara MIT License 1.4.5 1.4.5 is not currently being maintained
jQuery UI ./htdocs/js/jquery/jquery-ui/README.Mahara MIT License 1.12.1 1.12.1 jquery 1.6+ is not currently being maintained
jQuery UI plugin touch-punch ./htdocs/js/jquery/jquery-ui/jquery-ui-touch-punch.min.js MIT or GPL Version 2 licenses 0.2.3 0.2.3 jquery, jquery-ui is not currently being maintained
JS Color ./htdocs/js/jscolor/README.Mahara GPL 3 2.0.5 2.0.5 Current at August 2019
Json editor ./htdocs/js/jsoneditor/README.Mahara MIT License 1.3.0 1.3.5 1.4.0 We should update when 1.4 (currently beta in Aug 2019) is stable
jTLine .htdocs/js/jTLine/README.Mahara MIT License 1.0 1.0 No changes
Lodash ./htdocs/js/lodash/README.Mahara MIT License 4.17.15 4.17.15
Marked ./htdocs/js/marked/README.Mahara MIT License 0.7.0 0.7.0
Masonry ./htdocs/js/masonry/README.Mahara MIT License 4.2.2 4.2.2 Current at August 2019
Mobile detect ./htdocs/lib/mobile_detect/README.Mahara MIT License 2.8.33 2.8.33   Current at August 2019
Moment.js ./htdocs/js/momentjs/README.Mahara MIT License 2.24.0 2.24.0 used in conjunction with the bootstrap datetimepicker

Current at August 2019

Oauth PHP ./htdocs/webservice/libs/oauth-php/README.Mahara MIT License 175 175 This package is not maintained and was last updated in 2010
PDFjs ./htdocs/artefact/file/blocktype/pdf/js/pdfjs/README.Mahara Apache License 2 2.2.288 2.2.288
PHPMailer ./htdocs/lib/phpmailer/README.Mahara LGPL 6.0.6 6.0.7 minor changes only
Popper ./htdocs/lib/popper/README.Mahara MIT License 1.15.0 1.16.0
ReCaptcha ./htdocs/lib/recaptcha/README.Mahara MIT License 1.2.1 1.2.2   5.5+ no significant changes
Select2 ./htdocs/js/select2/README.Mahara MIT License 4.0.9 4.0.9 includes compatibility with jQuery 3.4.1


simplesamlphp /htdocs/auth/saml/extlib/simplesamlphp/ GPL 2.1 1.16.3 1.17.5 plugin is not included in the code. There is a command included in the Makefile. To get the plugin we need to run "make ssphp" - Security fixes

a number of changes including security fixes:

Skin fonts /htdocs/lib/fonts/README.Mahara ,,, Multiple licenses n/a, 2.29, 5.000, 8.11 no changes, Should move to htdocs/theme/raw/fonts/skin
System fonts ./htdocs/theme/raw/fonts/README.Mahara, ./htdocs/theme/raw/sass/lib/font-awesome/README.Mahara,,, MIT License, Apache License, version 2.0 5.8.1, 1, 1, 1.9 5.10.1, 1, 1, 1.9 minor changes to font awesome
TinyMCE ./htdocs/js/tinymce/README.Mahara LGPL 5.0.13 5.0.13 Current as of October 2019

Test on mobile when updating

TinyMCE - Mathslate ./htdocs/js/tinymce/plugins/mathslate/README.Mahara GPL 3 1.1 1.1 no changes
Video.js ./htdocs/artefact/file/blocktype/internalmedia/videojs/README.Mahara Apache License 2.0 7.6.5 7.6.5  
zxcvbn ./htdocs/js/zxcvbn/README.Mahara MIT License 4.4.2 4.4.2 Current at August 2019