Moqui 4.0 - Update Javascript Libraries in runtime

There are a bunch of javascript libraries in runtime: moqui-runtime/base-component/webroot/build.gradle at 84a234ac6f41a08105105884553feadcbf38f3d3 · moqui/moqui-runtime · GitHub we’ll need to upgrade and test them to ensure they’ll work.

This also includes any of the once off screens that use javascript from a cdn like Code search results · GitHub

This does not include vue 3 and quasar 2 changes. We will need these libraries to be backwards compatible with vue 2 and quasar 1 for the old qapps / vapps render modes. If there is a new version that REQUIRES vue 3 / quasar 2, then that should be added to the vue3quasar2 branch.

Notable things to figure out:

  • For our wysiwig html editor, we’re currently using CKEditor 4 which is end of life. I tried upgrading to 4.22.1, but it shows a red warning. The latest version 4.25.1-lts isn’t even open source anymore and is under a commercial license with a license key required!
    It’s gone completely commercial, and we’ll have to find another solution. I’d suggest: GitHub - fastmail/Squire: The rich text editor for arbitrary HTML. This update is probably worth pushing upstream ASAP. The files used are:
    • webrootvue.qvt.js line 1916
    • DefaultScreenMacros.html.ftl line 2224
    • DefaultScreenMacros.vuet.ftl line 1857
    • DefaultScreenMacros.qvt.ftl line 202
  • The calendar widget is showing it’s age. We should update fullcalendar to a later version for html and vuet, but I suggest we use the quasar calendar to replace it for qapps and qapps2.
  • The file picker widget Elfinder is also showing it’s age. I looked for a bit to find a better alternative, but couldn’t find one. We should for sure update this, but an alternative would be ideal.

If @f.karim @shahbaz or @zhangwei would like to volunteer for this, that would be great!

The block-style editor Editor.js https://editorjs.io/ looks better, what do you think?