Actions

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

From Mahara Wiki

< Developer Area‎ | Plugins
Line 49: Line 49:
 
|No
 
|No
 
| style="color:#333;" |Patch
 
| style="color:#333;" |Patch
-remove legacy SQL driver support
 
 
-PHP 8 support
 
 
|Yes 8.1
 
|Yes 8.1
 
|Active
 
|Active
Line 60: Line 57:
  
 
<br />Wish-list: [https://bugs.launchpad.net/mahara/+bug/1945264 extract $SESSION]
 
<br />Wish-list: [https://bugs.launchpad.net/mahara/+bug/1945264 extract $SESSION]
 +
 +
 +
Latest release:
 +
 +
-remove legacy SQL driver support
 +
 +
-PHP 8 support
 
|-
 
|-
 
| style="font-weight:bold;" |Bootstrap
 
| style="font-weight:bold;" |Bootstrap
Line 83: Line 87:
 
|N/A
 
|N/A
 
|Major (beta)
 
|Major (beta)
Rewrite
 
 
|n/a
 
|n/a
 
|Active - 6
 
|Active - 6
Line 90: Line 93:
 
|MIT License
 
|MIT License
 
|<nowiki>- </nowiki>[https://getdatepicker.com/ GitHub]<br />[https://getdatepicker.com/6/change-log.html https://getdatepicker.com/]
 
|<nowiki>- </nowiki>[https://getdatepicker.com/ GitHub]<br />[https://getdatepicker.com/6/change-log.html https://getdatepicker.com/]
 +
 +
 +
Latest release:
 +
 +
Major rewrite
 
|-
 
|-
 
| style="font-weight:bold;" |Chart.js
 
| style="font-weight:bold;" |Chart.js
Line 105: Line 113:
 
|-
 
|-
 
| style="font-weight:bold;" |Clipboard js
 
| style="font-weight:bold;" |Clipboard js
|^2.0.8
 
 
|2.0.10
 
|2.0.10
 +
|May 2022
 
|TBC
 
|TBC
 
|No
 
|No
|Patch fix
+
|Minor
 
|n/a
 
|n/a
 
|Active
 
|Active
 
|.../js/clipboard/
 
|.../js/clipboard/
 
|MIT License
 
|MIT License
|[https://clipboardjs.com/ ClipboardJS]
+
|[https://clipboardjs.com/ Clipboard JS]
 
[https://github.com/zenorocha/clipboard.js GitHub]
 
[https://github.com/zenorocha/clipboard.js GitHub]
 +
 +
 +
Latest release:
 +
 +
For some reason the version number system isn't used.
 
|-
 
|-
 
| style="font-weight:bold;" |Cookie <br />consent
 
| style="font-weight:bold;" |Cookie <br />consent
Line 129: Line 142:
 
|MIT License
 
|MIT License
 
|  - [https://www.osano.com/cookieconsent Download from site]<br />- [https://github.com/osano/cookieconsent GitHub]
 
|  - [https://www.osano.com/cookieconsent Download from site]<br />- [https://github.com/osano/cookieconsent GitHub]
 +
  
  
 
Open source version is not getting updates any more.
 
Open source version is not getting updates any more.
 
  
 
Site talks about versions 2021.6 and 2021.2.3 <br />which are not available on GitHub.<br />💡 Check if we should keep using this - licences.
 
Site talks about versions 2021.6 and 2021.2.3 <br />which are not available on GitHub.<br />💡 Check if we should keep using this - licences.
Line 518: Line 531:
 
|No
 
|No
 
|Major
 
|Major
(breaking changes)
 
 
|n/a
 
|n/a
 
|Active
 
|Active
Line 525: Line 537:
 
|https://select2.org/
 
|https://select2.org/
 
[https://github.com/select2/select2/releases Releases]
 
[https://github.com/select2/select2/releases Releases]
 +
 +
Latest: breaking changes
 
|-
 
|-
 
| style="font-weight:bold;" |Aurulent Sans <br />(font)
 
| style="font-weight:bold;" |Aurulent Sans <br />(font)

Revision as of 14:41, 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


Latest release:

-remove legacy SQL driver support

-PHP 8 support

Bootstrap 5.0.1 5.2.2 TBC No Minor n/a Active LTS .../lib/bootstrap/assets/javascripts/
MIT License - GitHub releases

- GitHub project

- bootstrap versions

Date time

picker

=4.17.47 6.2.4 TBC N/A Major (beta) n/a Active - 6

Inactive - 4

.../js/bootstrap-datetimepicker/ MIT License - GitHub
https://getdatepicker.com/


Latest release:

Major rewrite

Chart.js 3.7.1 3.9.1 TBC No Minor n/a Active .../js/chartjs/ MIT License - http://www.chartjs.org

- GitHub

Clipboard js 2.0.10 May 2022 TBC No Minor n/a Active .../js/clipboard/ MIT License Clipboard JS

GitHub


Latest release:

For some reason the version number system isn't used.

Cookie
consent
=3.1.1 4.0 TBC No n/a n/a Inactive .../js/cookieconsent/ MIT License - Download from site
- GitHub


Open source version is not getting updates any more.

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 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 License GitHub
Datatables 1.11.4 1.12.1 TBC No Minor n/a Active .../js/DataTables/ MIT License https://datatables.net/
Download

Release notes CDN

Dropzone 5.7.6 5.9.3 TBC No Minor n/a Active .../js/dropzone/ MIT License 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 http://dwoo.org/ - dead
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% complete

Architectural changes - 8.0.0

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 License - GitHub

- Website

HTML Purifier 4.14.0 4.16.0 TBC No Minor Yes .../lib/htmlpurifier/ LGPL v2.1+ http://www.htmlpurifier.org/

GitHub


4.14 includes PHP8 support

Javascript
templates
3.20.0 3.20.0 n/a n/a n/a n/a Archived, 2021 .../js/javascript-templates/ MIT License GitHub
jQuery 3.6.0 3.6.1 TBC No Patch n/a Active .../js/jquery/ MIT License Website
GitHub

https://blog.jquery.com/2021/03/02/
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 Inactive, 2017 .../js/jquery/jquery-mobile/ MIT License http://jquerymobile.com


https://blog.jquerymobile.com
- lack of resources but wish to maintain.
❗Find out if we are still using this.

jQuery UI 1.13.1 1.13.2 TBC No Patch n/a Active .../js/jquery/jquery-ui/ MIT License http://jqueryui.com/

In maintenance state
Only 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 licenses
http://touchpunch.furf.com/
GitHub


❗Do we still need it - 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 License GitHub

Changelog


Patch started, including child patch with Mahara customisations: https://bugs.launchpad.net/mahara/+bug/1962219

- Issue with select field dropdowns in SmartEvidence editor: possibly related to select2 plugin - leave for 22.10

jTLine 1.0 1.0 n/a n/a n/a n/a Inactive, 2018 .../js/jTLine/ MIT License GitHub

Twitter

Marked 4.0.12 4.1.1 TBC No Minor n/a Active .../js/marked/ MIT License GitHub
Masonry 4.2.2 4.2.2 n/a n/a n/a n/a Inactive, 2018 .../js/masonry/ MIT License Masonry
GitHub
TinyMCE
Mathslate
1.1 1.1 n/a n/a n/a n/a Forked version, 2015 .../js/tinymce/plugins/mathslate/ GPL 3 GitHub


Our version is now forked
make it work with Tinymce 5

Moment.js 2.29.1 2.29.4 TBC No Patch n/a Active .../js/momentjs/ MIT License http://momentjs.com/


Succeeded by Luxon: https://momeIn maintenance state

Only security and compatibility fixesnt.github.io/luxon/#/

Connected with jquery date-picker

Oauth PHP 175 175 n/a n/a Replace No Archived, 2010 .../webservice/libs/oauth-php/ MIT License https://code.google.com/archive/p/oauth-php/


We should replace with an oauth2 php library
https://oauth.net/code/php
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 License 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/simplesamlphp/ GPL 2.1 GitHub

/htdocs/auth/saml/extlib/
- Make a README.Mahara file
PHP 8 coming in v2.x. Sounds like it should work on 1.19.1 though.

Release candidate for 2.0.0

Select2 4.0.13 4.1 TBC No Major n/a Active .../js/select2/ MIT License https://select2.org/

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 http://www.fontsquirrel.com/fonts/
Deja Vu Sans
(font)
2.37 2.37 n/a n/a n/a n/a n/a .../lib/fonts/ DejaVu Fonts
License v1.00
Font Squirrel
Open Sans
(font)
1.10 1.10 n/a n/a n/a n/a Unknown .../theme/raw/fonts/ Apache License
version 2.0
https://www.google.com/fonts/
specimen/Open+Sans
Roboto Slab
(font)
1.100263 1.100263 n/a n/a n/a n/a Unknown .../theme/raw/fonts/ MIT License https://www.google.com/fonts/
specimen/Roboto+Slab
Fontawesome 6.1.1 6.2.0 TBC No Minor n/a Active .../theme/raw/sass/lib/font-awesome/ SIL OFL 1.1 http://fontawesome.io
GitHub

Upgrade steps

Changelog

Charis SIL
(fonts)
6.001 6.001 n/a n/a n/a n/a Active .././lib/fonts/ SIL OFL - http://scripts.sil.org/cms/scripts/page.php
?item_id=CharisSIL
- https://software.sil.org/charis/download/
TinyMCE 5.10.2 5.10.5 TBC No Patch n/a Active .../js/tinymce/ LGPL 2.1 https://www.tiny.cloud/
https://www.tiny.cloud/get-tiny/self-hosted


Changelog
📲 Test on mobile when updating
News and updates

Video.js 7.17.0 7.20.3 TBC No Minor n/a Active .../artefact/file/blocktype/
internalmedia/videojs/
Apache License 2.0 http://videojs.com/
GitHub
zxcvbn 4.4.2 4.4.2 n/a n/a n/a n/a Inactive, 2017 .../js/zxcvbn/ MIT License https://github.com/dropbox/zxcvbn

Composer.json dependencies

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

Run composer external/outdated to check for updates. Last run: 2022-10-5