Actions

Difference between revisions of "Developer Area/Plugins/Third party"

From Mahara Wiki

< Developer Area‎ | Plugins
Line 70: Line 70:
 
| style="font-weight:bold;" |Date time
 
| style="font-weight:bold;" |Date time
 
picker
 
picker
|=4.17.47
+
|4.17.47
 
|6.2.4
 
|6.2.4
 
|TBC
 
|TBC
Line 80: Line 80:
 
|.../js/bootstrap-datetimepicker/
 
|.../js/bootstrap-datetimepicker/
 
|MIT
 
|MIT
|[https://github.com/Eonasdan/tempus-dominus GitHub]<br />[https://getdatepicker.com/6/change-log.html https://getdatepicker.com/]
+
|[https://github.com/Eonasdan/tempus-dominus GitHub]<nowiki> | </nowiki>[https://getdatepicker.com/6/change-log.html Get Date Picker]
  
 
Latest release: rewrite (beta)
 
Latest release: rewrite (beta)
Line 108: Line 108:
 
|[https://clipboardjs.com/ Clipboard JS]<nowiki> | </nowiki>[https://github.com/zenorocha/clipboard.js GitHub]<br />Latest release: the version number system isn't used.
 
|[https://clipboardjs.com/ Clipboard JS]<nowiki> | </nowiki>[https://github.com/zenorocha/clipboard.js GitHub]<br />Latest release: the version number system isn't used.
 
|-
 
|-
| style="font-weight:bold;" |Cookie <br />consent
+
| style="font-weight:bold;" |Cookie consent
|=3.1.1
+
|3.1.1
 
|4.0
 
|4.0
 
|TBC
 
|TBC
Line 121: Line 121:
 
|[https://www.osano.com/cookieconsent Download]<nowiki> | </nowiki>[https://github.com/osano/cookieconsent GitHub]
 
|[https://www.osano.com/cookieconsent Download]<nowiki> | </nowiki>[https://github.com/osano/cookieconsent GitHub]
  
Open source version is not updated. 💡 Should keep using this?
+
Open source version is not updated. 🚨
 
|-
 
|-
 
| style="font-weight:bold;" |CSS Tidy
 
| style="font-weight:bold;" |CSS Tidy
Line 265: Line 265:
 
|http://jquerymobile.com
 
|http://jquerymobile.com
  
https://blog.jquerymobile.com <br />❗Are still using this?
+
https://blog.jquerymobile.com <br />🚨 Are we still using this?
 
|-
 
|-
 
| style="font-weight:bold;" |jQuery UI
 
| style="font-weight:bold;" |jQuery UI
Line 277: Line 277:
 
|.../js/jquery/jquery-ui/
 
|.../js/jquery/jquery-ui/
 
|MIT
 
|MIT
|http://jqueryui.com/
+
|[http://jqueryui.com/ jQuery UI] Security and compatibility fixes
Security and compatibility fixes
 
 
|-
 
|-
 
| style="font-weight:bold;" |jQuery UI plugin <br />touch-punch
 
| style="font-weight:bold;" |jQuery UI plugin <br />touch-punch
Line 292: Line 291:
 
|[http://touchpunch.furf.com/ Touch Punch]<nowiki>  | </nowiki>[https://github.com/furf/jquery-ui-touch-punch GitHub]
 
|[http://touchpunch.furf.com/ Touch Punch]<nowiki>  | </nowiki>[https://github.com/furf/jquery-ui-touch-punch GitHub]
  
❗Is it merged into jquery?
+
🚨 Is it merged into jQuery?
 
|-
 
|-
 
| style="font-weight:bold;" |JS Color
 
| style="font-weight:bold;" |JS Color
Line 361: Line 360:
 
|n/a
 
|n/a
 
|n/a
 
|n/a
|Forked version, 2015
+
|Forked, 2015
 
|.../js/tinymce/plugins/mathslate/
 
|.../js/tinymce/plugins/mathslate/
 
|GPL 3
 
|GPL 3
|Our version is now [[GitHub|forked]]<br />make it work with Tinymce 5
+
|Our version is [[GitHub|forked]].<br />make it work with Tinymce 5
 
|-
 
|-
 
| style="font-weight:bold;" |Moment.js
 
| style="font-weight:bold;" |Moment.js
Line 376: Line 375:
 
|.../js/momentjs/
 
|.../js/momentjs/
 
|MIT
 
|MIT
|[http://momentjs.com/ Moment JS]
+
|[http://momentjs.com/ Moment JS] 🆕 [https://moment.github.io/luxon/#/ Luxon GitHub]
 
 
Succeeded by [https://moment.github.io/luxon/#/ Luxon GitHub]
 
  
 
Connected to jquery date-picker
 
Connected to jquery date-picker
Line 392: Line 389:
 
|.../webservice/libs/oauth-php/
 
|.../webservice/libs/oauth-php/
 
|MIT
 
|MIT
|[https://code.google.com/archive/p/oauth-php/ Code] - We should replace with an oauth2 php library <br />https://oauth.net/code/php<br />checkout what Moodle does (old comment)
+
|[https://code.google.com/archive/p/oauth-php/ Code] - We should replace with an [https://oauth.net/code/php oauth2 php library] checkout what Moodle does (old comment)
 
|-
 
|-
 
| style="font-weight:bold;" |PDFjs
 
| style="font-weight:bold;" |PDFjs
Line 480: Line 477:
 
|.../lib/fonts/
 
|.../lib/fonts/
 
|SIL OFL v1.10
 
|SIL OFL v1.10
|[https://www.fontsquirrel.com/fonts/aurulent-sans http://www.fontsquirrel.com/fonts/]
+
|[https://www.fontsquirrel.com/fonts/aurulent-sans Font Squirrel Aurulent Sans]
 
|-
 
|-
 
| style="font-weight:bold;" |Deja Vu Sans <br />(font)
 
| style="font-weight:bold;" |Deja Vu Sans <br />(font)
Line 492: Line 489:
 
|.../lib/fonts/
 
|.../lib/fonts/
 
|DejaVu Fonts  
 
|DejaVu Fonts  
|[http://www.fontsquirrel.com/fonts/DejaVu-Sans Font Squirrel]
+
|[http://www.fontsquirrel.com/fonts/DejaVu-Sans Font Squirrel Deja Vu Sans]
 
|-
 
|-
 
| style="font-weight:bold;" |Open Sans <br />(font)
 
| style="font-weight:bold;" |Open Sans <br />(font)
Line 503: Line 500:
 
|Unknown
 
|Unknown
 
|.../theme/raw/fonts/
 
|.../theme/raw/fonts/
|Apache License <br />version 2.0
+
|Apache License  
 
|[https://www.google.com/fonts/specimen/Open+Sans Google Fonts Open Sans]
 
|[https://www.google.com/fonts/specimen/Open+Sans Google Fonts Open Sans]
 
|-
 
|-
Line 516: Line 513:
 
|.../theme/raw/fonts/
 
|.../theme/raw/fonts/
 
|MIT
 
|MIT
|[https://www.google.com/fonts/specimen/Roboto+Slab Google Fonts Roboto]<br />
+
|[https://www.google.com/fonts/specimen/Roboto+Slab Google Fonts Roboto]
 
|-
 
|-
 
| style="font-weight:bold;" |Fontawesome
 
| style="font-weight:bold;" |Fontawesome
Line 528: Line 525:
 
|.../theme/raw/sass/lib/font-awesome/
 
|.../theme/raw/sass/lib/font-awesome/
 
|SIL OFL 1.1
 
|SIL OFL 1.1
|http://fontawesome.io<br />[https://github.com/FortAwesome/Font-Awesome GitHub]<nowiki> | </nowiki>[https://fontawesome.com/docs/web/setup/upgrade/ Upgrade steps]
+
|[http://fontawesome.io Font Awesome]<nowiki> | </nowiki>[https://github.com/FortAwesome/Font-Awesome GitHub]<nowiki> | </nowiki>[https://fontawesome.com/docs/web/setup/upgrade/ Upgrade steps]<nowiki> | </nowiki>[https://fontawesome.com/docs/changelog/ Changelog]
 
 
[https://fontawesome.com/docs/changelog/ Changelog]
 
 
|-
 
|-
 
| style="font-weight:bold;" |Charis SIL <br />(fonts)
 
| style="font-weight:bold;" |Charis SIL <br />(fonts)

Revision as of 15:36, 5 October 2022

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

Third-party libraries (PHP and JS)

Legend

  • Mahara version = the README.Mahara file for the library | SemVer Info - explaining the symbols in the Mahara version column
  • Latest version = the most recent available version
  • 22.10 = Will this need to be updated for this release? | 🚧: In progress/there is a working patch in Gerrit
  • Security = is there a new security patch available?
  • Upgrades/updates = what upgrades are available for this plugin?
  • Support = Is there a community supporting this library?
    • Active: There is ongoing work being put into the library
    • Inactive: Maintained but not actively making releases
    • Archived: Not being maintained
    • Deprecated (officially): All maintainers have left, and site may not exist in extreme cases.
  • PHP8 = is the latest version of this plugin compatible with PHP8?
  • README location = where it can be found in Mahara
  • License = software license for the library
  • URL/Notes = extra information, e.g. resources, notes, and news
Name Mahara
version
Latest
version
22.10 Security Upgrades/Updates PHP8 Support README location
(./htdocs/...)
License URL/Notes
ADODB 5.22.0 5.22.3 TBC No Patch Yes 8.1 Active .../lib/adodb/ BSD 3-Clause
LGPL
Official site | GitHub | Twitter
Wish-list: extract $SESSION
Bootstrap 5.0.1 5.2.2 TBC No Minor n/a Active .../lib/bootstrap/assets/javascripts/
MIT Releases | GitHub

bootstrap versions

Date time

picker

4.17.47 6.2.4 TBC N/A Major n/a Active - 6

Inactive - 4

.../js/bootstrap-datetimepicker/ MIT GitHub | Get Date Picker

Latest release: rewrite (beta)

Chart.js 3.7.1 3.9.1 TBC No Minor n/a Active .../js/chartjs/ MIT Chart JS | GitHub
Clipboard js 2.0.10 May 2022 TBC No Minor n/a Active .../js/clipboard/ MIT Clipboard JS | GitHub
Latest release: the version number system isn't used.
Cookie consent 3.1.1 4.0 TBC No n/a n/a Inactive .../js/cookieconsent/ MIT Download | GitHub

Open source version is not updated. 🚨

CSS Tidy 2.0.1 2.0.3 TBC No Patch Yes Active .../lib/csstidy/ LGPL GitHub
Dragon-drop 3.2.1 3.6.1 TBC No Minor n/a Inactive

2021

..../js/dragondrop/ MIT GitHub
Datatables 1.11.4 1.12.1 TBC No Minor n/a Active .../js/DataTables/ MIT Data Tables |Download

Release notes CDN

Dropzone 5.7.6 5.9.3 TBC No Minor n/a Active .../js/dropzone/ MIT GitHub releases 6.0.0 in beta
Dwoo 1.3.7 1.3.7 n/a n/a Replace n/a Deprecated .../lib/dwoo/ LGPL Dead site | GitHub project
Elastic Search 7.14 v8 - 8.4.0

v7 - 7.17.1

TBC n/a Major |Minor No Active .../lib/elasticsearch/ Apache v2.0
LGPL v2.1
GitHub | Changelog

PHP 8 milestone 83%

Gridstack 4.3.1 v6 - 6.0.2

v5 - 5.1.1

v4 - 4.4.1

TBC No Major | Minor |Patch n/a Active .../js/gridstack/ MIT GitHub | Website
HTML Purifier 4.14.0 4.16.0 TBC No Minor Yes .../lib/htmlpurifier/ LGPL v2.1+ HTML Purifier | GitHub
Javascript
templates
3.20.0 3.20.0 n/a n/a n/a n/a Archived, 2021 .../js/javascript-templates/ MIT GitHub
jQuery 3.6.0 3.6.1 TBC No Patch n/a Active .../js/jquery/ MIT Website | GitHub | Blog post
Forum | Twitter

3.6.1 maintenance release

jQuery mobile 1.5.0-alpha.1 1.5.0-rc1 n/a n/a n/a n/a Deprecated .../js/jquery/jquery-mobile/ MIT http://jquerymobile.com

https://blog.jquerymobile.com
🚨 Are we still using this?

jQuery UI 1.13.1 1.13.2 TBC No Patch n/a Active .../js/jquery/jquery-ui/ MIT jQuery UI Security and compatibility fixes
jQuery UI plugin
touch-punch
0.2.3 0.2.3 n/a n/a n/a n/a Deprecated .../js/jquery/jquery-ui/
jquery-ui-touch-punch.min.js
MIT or GPL
Version 2
Touch Punch | GitHub

🚨 Is it merged into jQuery?

JS Color 2.4.7 2.5.0 TBC No Minor n/a Active .../js/jscolor/ GPL 3 http://jscolor.com/
Json editor 2.6.1 2.8.0 TBC No Minor n/a Active .../js/jsoneditor/ MIT GitHub |Changelog
jTLine 1.0 1.0 n/a n/a n/a n/a Inactive, 2018 .../js/jTLine/ MIT GitHub | Twitter
Marked 4.0.12 4.1.1 TBC No Minor n/a Active .../js/marked/ MIT GitHub
Masonry 4.2.2 4.2.2 n/a n/a n/a n/a Inactive, 2018 .../js/masonry/ MIT Masonry |GitHub
TinyMCE
Mathslate
1.1 1.1 n/a n/a n/a n/a Forked, 2015 .../js/tinymce/plugins/mathslate/ GPL 3 Our version is forked.
make it work with Tinymce 5
Moment.js 2.29.1 2.29.4 TBC No Patch n/a Active .../js/momentjs/ MIT Moment JS 🆕 Luxon GitHub

Connected to jquery date-picker

Oauth PHP 175 175 n/a n/a Replace No Archived, 2010 .../webservice/libs/oauth-php/ MIT Code - We should replace with an oauth2 php library checkout what Moodle does (old comment)
PDFjs 2.13.216 2.16.105 TBC No Minor n/a Active .../artefact/file/blocktype/pdf/js/pdfjs/ Apache License 2 Getting started | GitHub
PHPMailer 6.6.0 6.6.4 TBC No Patch Yes Active
.../lib/phpmailer/ LGPL GitHub
Popper 2.10.2 2.11.6 TBC No Minor n/a Active .../js/popper/ MIT https://popper.js.org/
GitHub issue | tooltips
ReCaptcha 1.2.4 1.2.4 TBC No None WIP

PHP8

Idle? .../lib/recaptcha/ BSD-3 GitHub 2020 last release

This client supports both v2 and v3. PHP 8 support branch

simplesamlphp 1.18.7 final 1.19.6

v2 - RC

TBC No Minor Yes Active ../auth/saml/extlib/modules GPL 2.1 GitHub RC for 2.0.0 has PHP 8. Sounds like it should work on 1.19.1 though.
Select2 4.0.13 4.1 TBC No Major n/a Active .../js/select2/ MIT Select2 | Releases

Latest: breaking changes

Aurulent Sans
(font)
2007.05.04 2007.05.04 n/a n/a n/a n/a n/a .../lib/fonts/ SIL OFL v1.10 Font Squirrel Aurulent Sans
Deja Vu Sans
(font)
2.37 2.37 n/a n/a n/a n/a n/a .../lib/fonts/ DejaVu Fonts Font Squirrel Deja Vu Sans
Open Sans
(font)
1.10 1.10 n/a n/a n/a n/a Unknown .../theme/raw/fonts/ Apache License Google Fonts Open Sans
Roboto Slab
(font)
1.100263 1.100263 n/a n/a n/a n/a Unknown .../theme/raw/fonts/ MIT Google Fonts Roboto
Fontawesome 6.1.1 6.2.0 TBC No Minor n/a Active .../theme/raw/sass/lib/font-awesome/ SIL OFL 1.1 Font Awesome | GitHub | Upgrade steps | Changelog
Charis SIL
(fonts)
6.001 6.001 n/a n/a n/a n/a Active .././lib/fonts/ SIL OFL About font | Download
TinyMCE 5.10.2 5.10.5 TBC No Patch n/a Active .../js/tinymce/ LGPL 2.1 Tiny Cloud | Downloads | Changelog |News

📲 Test on mobile

Video.js 7.17.0 7.20.3 TBC No Minor n/a Active .../artefact/file/blocktype/
internalmedia/videojs/
Apache License 2.0 Video JS | GitHub
zxcvbn 4.4.2 4.4.2 n/a n/a n/a n/a Inactive, 2017 .../js/zxcvbn/ MIT GitHub

Composer.json dependencies

Resources: https://git.mahara.org | /mahara/mahara/-/blob/ | mahara/external/composer.json

Run composer external/outdated to check for updates.