Actions

Developer Area/Plugins/Third party: Difference between revisions

From Mahara Wiki

< Developer Area‎ | Plugins
No edit summary
No edit summary
Line 25: Line 25:
! Support
! Support
! Upgrade type
! Upgrade type
! Security
! Sec.
! 21.10<br />
! 21.10<br />
! Notes
! Notes
Line 32: Line 32:
| ./htdocs/lib/adodb/
| ./htdocs/lib/adodb/
| - https://adodb.org/dokuwiki/doku.php<br />- https://github.com/ADOdb/ADOdb<br />- https://github.com/ADOdb/ADOdb/blob/<br />v5.21.0/docs/changelog.md<br />
| - https://adodb.org/dokuwiki/doku.php<br />- https://github.com/ADOdb/ADOdb<br />- https://github.com/ADOdb/ADOdb/blob/<br />v5.21.0/docs/changelog.md<br />
| BSD 3-Clause<br /><br />GNU Lesser General Public Licence
| BSD 3-Clause<br />GNU Lesser General Public Licence
| 5.20.20
| 5.20.20
| style="color:#000000;" | 5.21.1
| style="color:#000000;" | 5.21.1
Line 176: Line 176:
| ./htdocs/js/fancybox/
| ./htdocs/js/fancybox/
| https://github.com/fancyapps/ui - in BETA stage<br />https://fancyapps.com/docs/ui/installation
| https://github.com/fancyapps/ui - in BETA stage<br />https://fancyapps.com/docs/ui/installation
| Creative Commons: CC BY-SA 4.0 license
| CC BY-SA 4.0 license
| 3.5.6
| 3.5.6
| 3.5.7
| 3.5.7
Line 209: Line 209:
| https://github.com/ezyang/htmlpurifier/blob/v4.13.0/NEWS
| https://github.com/ezyang/htmlpurifier/blob/v4.13.0/NEWS
|-
|-
| Javascript templates
| Javascript <br />templates
| ./htdocs/js/javascript-templates/
| ./htdocs/js/javascript-templates/
| https://github.com/blueimp/JavaScript-Templates
| https://github.com/blueimp/JavaScript-Templates
Line 243: Line 243:
|  
|  
|  
|  
| https://blog.jquerymobile.com - lack of resources but wish to maintain.<br />❗Find out if we are still using this.
| https://blog.jquerymobile.com <br />- lack of resources but wish to maintain.<br />❗Find out if we are still using this.
|-
|-
| jQuery UI
| jQuery UI
Line 255: Line 255:
|  
|  
|  
|  
| https://blog.jqueryui.com/ - lack of resources but with to maintain.
| https://blog.jqueryui.com/ <br />- lack of resources but with to maintain.
|-
|-
| jQuery UI plugin <br />touch-punch
| jQuery UI plugin <br />touch-punch
Line 270: Line 270:
|-
|-
| JS Color
| JS Color
| ./htdocs/js/jscolor/README.Mahara
| ./htdocs/js/jscolor/
| http://jscolor.com/
| http://jscolor.com/
| GPL 3
| GPL 3
Line 282: Line 282:
|-
|-
| Json editor
| Json editor
| ./htdocs/js/jsoneditor/README.Mahara
| ./htdocs/js/jsoneditor/
| https://github.com/json-editor/json-editor
| https://github.com/json-editor/json-editor
| MIT License
| MIT License
Line 294: Line 294:
|-
|-
| jTLine
| jTLine
| .htdocs/js/jTLine/README.Mahara
| .htdocs/js/jTLine/
| https://naadydev.github.io/jTLine/
| https://naadydev.github.io/jTLine/
| MIT License
| MIT License
Line 306: Line 306:
|-
|-
| Lodash
| Lodash
| ./htdocs/js/lodash/README.Mahara
| ./htdocs/js/lodash/
| https://github.com/lodash/lodash
| https://github.com/lodash/lodash
| MIT License
| MIT License
Line 318: Line 318:
|-
|-
| Marked
| Marked
| ./htdocs/js/marked/README.Mahara
| ./htdocs/js/marked/
| https://github.com/markedjs/marked
| https://github.com/markedjs/marked
| MIT License
| MIT License
Line 330: Line 330:
|-
|-
| Masonry
| Masonry
| ./htdocs/js/masonry/README.Mahara
| ./htdocs/js/masonry/
| https://masonry.desandro.com/<br />https://github.com/desandro/masonry
| https://masonry.desandro.com/<br />https://github.com/desandro/masonry
| MIT License
| MIT License
Line 341: Line 341:
|  
|  
|-
|-
| TinyMCE -Mathslate
| TinyMCE<br />Mathslate
| ./htdocs/js/tinymce/plugins/mathslate/
| ./htdocs/js/tinymce/plugins/mathslate/
| https://github.com/dthies/tinymce4-mathslate
| https://github.com/dthies/tinymce4-mathslate
Line 351: Line 351:
|  
|  
|  
|  
| Our version is now forked to keep make it work with Tinymce 5
| Our version is now forked to keep <br />make it work with Tinymce 5
|-
|-
| Moment.js
| Moment.js
Line 411: Line 411:
|  
|  
| 1.16.1
| 1.16.1
| https://dev.to/fezvrasta/smarter-tooltips-and-popovers-with-popper-2-44bh<br />
| https://dev.to/fezvrasta/smarter-tooltips-and<br />-popovers-with-popper-2-44bh<br />
|-
|-
| ReCaptcha
| ReCaptcha
Line 449: Line 449:
|  
|  
|-
|-
| Aurulent Sans (font)
| Aurulent Sans <br />(font)
| /htdocs/lib/fonts/README.Mahara
| /htdocs/lib/fonts/
| http://www.fontsquirrel.com/fonts/Aurulent-Sans
| http://www.fontsquirrel.com/fonts/Aurulent-Sans
| SIL Open Font License v1.10
| SIL Open Font License v1.10
Line 461: Line 461:
|  
|  
|-
|-
| Deja Vu Sans (font)
| Deja Vu Sans <br />(font)
| /htdocs/lib/fonts/README.Mahara
| /htdocs/lib/fonts/
| http://www.fontsquirrel.com/fonts/DejaVu-Sans
| http://www.fontsquirrel.com/fonts/DejaVu-Sans
| DejaVu Fonts License v1.00
| DejaVu Fonts License v1.00
Line 512: Line 512:
| ./htdocs/theme/raw/fonts/
| ./htdocs/theme/raw/fonts/
| - http://sourceforge.net/projects/gs-fonts/<br />- https://www.ghostscript.com/releases.html
| - http://sourceforge.net/projects/gs-fonts/<br />- https://www.ghostscript.com/releases.html
| https://www.ghostscript.com/license.html
| https://www.ghostscript.com/<br />license.html
| 8.11
| 8.11
| 9.54.0
| 9.54.0
Line 522: Line 522:
|-
|-
| Charis SIL (fonts)
| Charis SIL (fonts)
| /htdocs/lib/fonts/README.Mahara
| /htdocs/lib/fonts/
| - http://scripts.sil.org/cms/scripts/page.php<br />?item_id=CharisSIL<br />- https://software.sil.org/charis/download/
| - http://scripts.sil.org/cms/scripts/page.php<br />?item_id=CharisSIL<br />- https://software.sil.org/charis/download/
| SIL Open Font License (OFL)
| SIL Open Font License (OFL)
Line 534: Line 534:
|-
|-
| TinyMCE
| TinyMCE
| ./htdocs/js/tinymce/README.Mahara
| ./htdocs/js/tinymce/
| https://www.tiny.cloud/<br />https://www.tiny.cloud/get-tiny/self-hosted
| https://www.tiny.cloud/<br />https://www.tiny.cloud/get-tiny/self-hosted
| LGPL 2.1
| LGPL 2.1
Line 546: Line 546:
|-
|-
| Video.js
| Video.js
| ./htdocs/artefact/file/blocktype/internalmedia/<br />videojs/
| ./htdocs/artefact/file/blocktype/<br />internalmedia/videojs/
| http://videojs.com/<br />https://github.com/videojs/video.js
| http://videojs.com/<br />https://github.com/videojs/video.js
| Apache License 2.0
| Apache License 2.0

Revision as of 17:35, 20 August 2021

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 https://www.iso.org

Indicating what version they are on in Mahara and what they currently are on at time of publishing 18 Feb 2021.

Inactive: Maintained but not actively making releases Deprecated: All maintainers have left and site may not exist in extreme cases.

Name README.Mahara file URL License Current version Latest version Support Upgrade type Sec. 21.10
Notes
ADODB ./htdocs/lib/adodb/ - https://adodb.org/dokuwiki/doku.php
- https://github.com/ADOdb/ADOdb
- https://github.com/ADOdb/ADOdb/blob/
v5.21.0/docs/changelog.md
BSD 3-Clause
GNU Lesser General Public Licence
5.20.20 5.21.1 End 5.20.20 Security - 5.21.0 incl.5.21.0-beta.1 - 2020-12-20
- adodb: prevent SQL injection in SelectLimit()
- session: add 'httponly' flag to cookie

Minor - Deprecation
- mysqli: Deprecate $optionFlags property in favor
of standard setConnectionParameter() method
Yes Yes News: https://twitter.com/ADOdb_announce first.
Bootstrap htdocs/lib/bootstrap/assets/javascripts/
- https://getbootstrap.com/
- https://github.com/twbs/release
MIT License 4.6.0 5.1.0 Ends 4.x (LTS)
- 01 Nov 2022
Major
Bootstrap
Datetimepicker
./htdocs/js/bootstrap-datetimepicker/ - https://getdatepicker.com/
- https://github.com/tempusdominus/bootstrap-4
MIT License 4.17.47 5.39.0 Inactive,
v4 not maintained
None runs using bootstrap and moment.js
There is a version 5 but not finished.
Chart.js ./htdocs/js/chartjs/ http://www.chartjs.org MIT License 2.9.3 3.5.1 LTS 2.x - 2.9.4
Active 3.x
Minor - 2.9.4: bug fixes

Major - 3.0.0 breaking changes
- https://www.chartjs.org/docs/next/
getting-started/v3-migration
- https://www.npmjs.com/package/chart.js
- https://www.chartjs.org/docs/next/typedoc/
- https://www.chartjs.org/samples/next/
- https://www.chartjs.org/docs/next/
2.9.4
Clipboard js ./htdocs/js/clipboard/ https://clipboardjs.com/ MIT License 2.0.6 2.0.8 Active Patch fix 2.0.8
Cookie consent ./htdocs/js/cookieconsent/ - https://www.osano.com/cookieconsent
- https://github.com/osano/cookieconsent
MIT License 3.1.1 3.1.1 New updates are
proprietary.
None Site talks about versions 2021.6 and 2021.2.3
which are not available on GitHub.

Check if we should keep using this - licences.
CSS Tidy ./htdocs/lib/csstidy/ https://github.com/Cerdic/CSSTidy LGPL 1.7.1 1.7.3 Inactive, 2020 Patch fix 1.7.3
Dragon-drop ./htdocs/js/dragondrop/ https://github.com/schne324/dragon-drop MIT License 3.2.1 3.6.1 Active Minor - changelog not available. 3.6.1
Datatables https://datatables.net/
https://datatables.net/download/index
MIT License 1.10.20 1.10.25 Active
Patch fix Yes
Dropzone ./htdocs/js/dropzone/ https://github.com/dropzone/dropzone/release


MIT License 5.7.6 5.9.2 Active Minor
- moved the ./src/options.js previewTemplate
in its own
preview-template.html file
- Dropzone triggers custom events
on DOM using dropzone
Yes
Dwoo ./htdocs/lib/dwoo/ - http://dwoo.org/
- https://github.com/dwoo-project/dwoo
GNU Lesser General Public License 1.3.7 1.3.7 Deprecated
Replace
Elastic Search ./htdocs/lib/elasticsearch/ https://github.com/elastic/elasticsearch-php Apache v2.0
LGPL v2.1
6.1.0 7.11.0 Active
WIP - Gold
fancybox3 ./htdocs/js/fancybox/ https://github.com/fancyapps/ui - in BETA stage
https://fancyapps.com/docs/ui/installation
CC BY-SA 4.0 license 3.5.6 3.5.7 Inactive
- v3 deprecated
- v4 in beta stage
Patch fix Yes https://fancyapps.com/next/
Notifications: https://twitter.com/thefancyapps
gridstack ./htdocs/js/gridstack/ https://github.com/gridstack/gridstack.js MIT License 0.6.4 3.3.0 Active WIP - Robert
Slack channel can be found on https://gridstackjs.com
HTML Purifier ./htdocs/lib/htmlpurifier/ http://www.htmlpurifier.org/ LGPL v2.1+ 4.13.0 4.13.0 Inactive, 2020 None https://github.com/ezyang/htmlpurifier/blob/v4.13.0/NEWS
Javascript
templates
./htdocs/js/javascript-templates/ https://github.com/blueimp/JavaScript-Templates MIT License 3.19.0 3.19.0 Inactive, 2020 None
jQuery ./htdocs/js/jquery/ http://jquery.com/
https://github.com/jquery/jquery
MIT License 3.5.1 3.6.0 Active Minor Yes https://blog.jquery.com/2021/03/02/jquery-3-6-0-released/
News: - QA: https://forum.jquery.com/
Twitter: https://twitter.com/jquery
jQuery mobile ./htdocs/js/jquery/jquery-mobile/ http://jquerymobile.com MIT License 1.5.0-alpha.1 1.5.0-rc1 Inactive, 2017 None https://blog.jquerymobile.com
- lack of resources but wish to maintain.
❗Find out if we are still using this.
jQuery UI ./htdocs/js/jquery/jquery-ui/ http://jqueryui.com/ MIT License 1.12.1 1.12.1 Inactive, 2017 None https://blog.jqueryui.com/
- lack of resources but with to maintain.
jQuery UI plugin
touch-punch
./htdocs/js/jquery/jquery-ui/
jquery-ui-touch-punch.min.js
http://touchpunch.furf.com/
https://github.com/furf/jquery-ui-touch-punch
MIT or GPL Version 2 licenses 0.2.3 0.2.3 Deprecated None ❗Do we still need it - is it merged into jquery
JS Color ./htdocs/js/jscolor/ http://jscolor.com/ GPL 3 2.4.5 2.4.5 Active None
Json editor ./htdocs/js/jsoneditor/ https://github.com/json-editor/json-editor MIT License 1.3.5 2.5.4 Active Major 2.x Leave for for 22.04
jTLine .htdocs/js/jTLine/ https://naadydev.github.io/jTLine/ MIT License 1.0 1.0 Inactive, 2018 None Twitter: https://twitter.com/naadydev
Lodash ./htdocs/js/lodash/ https://github.com/lodash/lodash MIT License 4.17.15 4.17.21 Active Patch fix Lodash was brought in with gridstack- gridstack
v0.5.0 no longer have it as a requirement

Will be removed when gridstack 4+ gets merged.
Marked ./htdocs/js/marked/ https://github.com/markedjs/marked MIT License 2.0.0 3.0.0 Active Minor - v2.1.1, v2.1.2, v2.1.3
Major 3.x - breaking changes
2.1.3
Masonry ./htdocs/js/masonry/ https://masonry.desandro.com/
https://github.com/desandro/masonry
MIT License 4.2.2 4.2.2 Inactive, 2018 None
TinyMCE
Mathslate
./htdocs/js/tinymce/plugins/mathslate/ https://github.com/dthies/tinymce4-mathslate GPL 3 1.1 1.1 Forked version, 2015 None Our version is now forked to keep
make it work with Tinymce 5
Moment.js ./htdocs/js/momentjs/ http://momentjs.com/ MIT License 2.29.1 2.29.1 Inactive, 2020 None Connected with jquery date-picker
Oauth PHP ./htdocs/webservice/libs/oauth-php/ https://code.google.com/archive/p/oauth-php/ MIT License 175 175 Archived, 2010 Replace We should replace with an oauth2 php library
https://oauth.net/code/php
checkout what Moodle does (old comment)
PDFjs ./htdocs/artefact/file/blocktype/pdf/js/pdfjs/ http://mozilla.github.io/pdf.js/
getting_started/#download
https://github.com/mozilla/pdf.js
Apache License 2 2.8.335
2.9.359
Active Minor
- improving text layer rendering
- accessibility for screen readers
Yes
PHPMailer ./htdocs/lib/phpmailer/ https://github.com/PHPMailer/PHPMailer LGPL 6.2.0 6.5.1 Active
Minor 6.5.0 - security release
Minor 6.5.1 - maintenance release
Yes Yes
Popper ./htdocs/lib/popper/ https://popper.js.org/ MIT License 1.16.0 2.9.3 Active v2
LTS 1.16.1
w/o warnings
(when we use bootstrap 5 supporting v2.x)
Major 2.x - breaking 2020
2.9.3
(while we are still at bootstrap4)

Minor 1.16.1, Mar 2020
1.16.1 https://dev.to/fezvrasta/smarter-tooltips-and
-popovers-with-popper-2-44bh
ReCaptcha ./htdocs/lib/recaptcha/ https://github.com/google/recaptcha BSD-3 1.2.1 1.2.4 Active Patch fix Yes This client supports both v2 and v3.
simplesamlphp /htdocs/auth/saml/extlib/simplesamlphp/ https://github.com/simplesamlphp/simplesamlphp GPL 2.1 1.19.1 1.19.1 Active /htdocs/auth/saml/extlib/ - Make a README.Mahara file
Select2 ./htdocs/js/select2/ https://select2.org/ MIT License 4.0.9 4.0.13 Active Patch fix Yes
Aurulent Sans
(font)
/htdocs/lib/fonts/ http://www.fontsquirrel.com/fonts/Aurulent-Sans SIL Open Font License v1.10 2007.05.04 2007.05.04 Unknown None
Deja Vu Sans
(font)
/htdocs/lib/fonts/ http://www.fontsquirrel.com/fonts/DejaVu-Sans DejaVu Fonts License v1.00 2.29 2.37 Unknown Patch fix Yes
Open Sans (font) ./htdocs/theme/raw/fonts/ https://www.google.com/fonts/specimen/Open+Sans Apache License version 2.0 1.10 1.10 Unknown None
Roboto Slab (font) ./htdocs/theme/raw/fonts/ https://www.google.com/fonts/specimen/Roboto+Slab MIT License 1.9 1.100263 Unknown Minor Yes
Fontawesome ./htdocs/theme/raw/sass/lib/font-awesome/ http://fontawesome.io
https://github.com/FortAwesome/Font-Awesome
http://fontawesome.io/license 5.8.1
5.15.4 Active Minor 5.8.2 - allow role attribute to be specified
Minor 5.9.0 - backward-incompatible changes
Minor 5.10.0 duo-tone icons 1600
Minor 5.11.0 - more icons
Minor 5.12.0
Minor 5.13.0 Covid icons + more
Minor 5.14.0 - backward-incompatible changes
Minor 5.15.0 - backward-incompatible changes
Yes https://github.com/FortAwesome/Font-Awesome
/blob/master/UPGRADING.md
Ghostscript fonts ./htdocs/theme/raw/fonts/ - http://sourceforge.net/projects/gs-fonts/
- https://www.ghostscript.com/releases.html
https://www.ghostscript.com/
license.html
8.11 9.54.0 Active Major ❗What do we use it for?
Charis SIL (fonts) /htdocs/lib/fonts/ - http://scripts.sil.org/cms/scripts/page.php
?item_id=CharisSIL
- https://software.sil.org/charis/download/
SIL Open Font License (OFL) 5.000 6.001 Active Major
TinyMCE ./htdocs/js/tinymce/ https://www.tiny.cloud/
https://www.tiny.cloud/get-tiny/self-hosted
LGPL 2.1 5.7.0 5.8.2 Active Minor - small Yes https://www.tiny.cloud/docs/changelog/
Test on mobile when updating
Blog: https://www.tiny.cloud/blog/category/news-and-updates/
Video.js ./htdocs/artefact/file/blocktype/
internalmedia/videojs/
http://videojs.com/
https://github.com/videojs/video.js
Apache License 2.0 7.11.4 7.14.3 Active Minor
- use setup-node cache and remove
individual cache step
- playbackRates() method
Yes
zxcvbn ./htdocs/js/zxcvbn/ https://github.com/dropbox/zxcvbn MIT License 4.4.2 4.4.2 Inactive, 2017 None
composer.json
dependencies
https://git.mahara.org/mahara/mahara/
-/blob/master/external/composer.json
Check for updates in the .json file.