[TikiWiki-commits] [Git][tikiwiki/tiki][master] 2 commits: [FIX][DOC][REF] Emergency refactor of javascript.

Benoit Grégoire (@benoitg) via TikiWiki-cvs <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <69b1806bd915c_3bac6e1c37932@gitlab-sidekiq-low-urgency-cpu-bound-v2-fc764d97d-2qzwf.mail>

Benoit Grégoire pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
c1bfdf09 by Benoit Grégoire at 2026-03-11T09:25:11-04:00
[FIX][DOC][REF] Emergency refactor of javascript.
* Fix js emiting more modules than they should because af bug introduced in 5776, and made much worse by people polluting src/jquery-tiki with non jquery related javascript.
* Stop compiling modules we can put in common-externals for nothing, which is at least partly why compilation is using up so much CPU and ram recently.
* RAM use dropped from 4.5 GB to below 2GB.  Compile time was divided by 3
* Provide some of the very basic documentation devs are supposed to provide about their modules
* Note:  Most of the change are in relatively recent code.  Some of it is otherwise broken, such as PluginModel3DViewer that seems to generate invalid file gallery URLs.

- - - - -
1d13271a by Benoit Grégoire at 2026-03-11T10:26:54-04:00
[ENH] CI: devtools/check_alphabetical_list.php.  Return what is sorted out of order.  If we are going to force developers to do anything, we should help them do it...

- - - - -


37 changed files:

- doc/devtools/check_alphabetical_list.php
- package-lock.json
- package.json
- path_js_importmap_generator.php
- src/js/jquery-tiki/plugins/bigbluebutton.js → src/js/MOVE_THIS_CONTENT_ELSEWHERE/bigbluebutton.js
- src/js/jquery-tiki/plugins/cypht.js → src/js/MOVE_THIS_CONTENT_ELSEWHERE/cypht.js
- src/js/jquery-tiki/plugins/dialog.js → src/js/MOVE_THIS_CONTENT_ELSEWHERE/dialog.js
- src/js/jquery-tiki/plugins/pagetabs.js → src/js/MOVE_THIS_CONTENT_ELSEWHERE/pagetabs.js
- + src/js/MOVE_THIS_CONTENT_ELSEWHERE/plugin-edit.js
- src/js/jquery-tiki/plugin-edit/buttons.js → src/js/MOVE_THIS_CONTENT_ELSEWHERE/plugin-edit/buttons.js
- src/js/jquery-tiki/plugin-edit/edit.js → src/js/MOVE_THIS_CONTENT_ELSEWHERE/plugin-edit/edit.js
- src/js/jquery-tiki/tracker-fields/all.dirtyCheck.js → src/js/MOVE_THIS_CONTENT_ELSEWHERE/tracker-fields-all.dirtyCheck.js
- src/js/jquery-tiki/tracker-fields/emailFolder.js → src/js/MOVE_THIS_CONTENT_ELSEWHERE/tracker-fields-emailFolder.js
- src/js/jquery-tiki/tracker-fields/files.js → src/js/MOVE_THIS_CONTENT_ELSEWHERE/tracker-fields-files.js
- src/js/jquery-tiki/plugins/wysiwyg.js → src/js/MOVE_THIS_CONTENT_ELSEWHERE/wysiwyg.js
- src/js/README.md
- src/js/avatar-generator/package.json
- + src/js/common-externals-legacy-cjs/README.md
- + src/js/common-externals-legacy-cjs/package.json
- + src/js/common-externals/README.md
- src/js/common-externals/package.json
- src/js/common-reexported/jspdf/index.js → src/js/common-reexported/jspdf.js
- src/js/common-reexported/package.json
- src/js/jquery-tiki/eventcalendar_to_pdf.js
- src/js/jquery-tiki/package.json
- − src/js/jquery-tiki/plugin-edit/index.js
- src/js/jquery-tiki/tiki-svgedit_draw.js
- src/js/tiki-lottie/package.json
- src/js/tiki-mermaid/mermaid.js
- src/js/tiki-mermaid/package.json
- src/js/tiki-model3dviewer/package.json
- src/js/tiki-sentry-browser/package.json
- src/js/tiki-toast-ui/package.json
- src/js/vite.config.mjs
- src/js/vue-widgets/element-plus-ui/package.json
- + src/js/wysiwyg/package.json
- tiki-setup.php


The diff was not included because it is too large.


View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/compare/6f65c5a29fca2b43cec68de1648617f28bb5043d...1d13271a0b79993b252d1c78a2212c1b99972ab3

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/compare/6f65c5a29fca2b43cec68de1648617f28bb5043d...1d13271a0b79993b252d1c78a2212c1b99972ab3
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.