[TikiWiki-commits] [Git][tikiwiki/tiki][master] [UPD] Updating converse.js library to v.11

Benoit Grégoire (@benoitg) via TikiWiki-cvs <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <68913d20e5038_2cd5cdc14574@gitlab-sidekiq-low-urgency-cpu-bound-v2-58b475bb65-7g2d5.mail>

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


Commits:
345ea9e4 by Aksanti Bahiga at 2025-08-04T22:23:19+00:00
[UPD] Updating converse.js library to v.11
---
* regenerate package-lock.json with linux-specific dependencies and resolve versions conflict of the uuid package

* rewrite package-lock.json

* Update package-lock.json for converse.js v11 upgrade

* Fix: Package json lock)

* Update package-lock.json to sync with package.json after converse.js v11 update

- Fix CI/CD pipeline npm ci errors
- Resolve missing dependencies in lock file
- All packages now properly synchronized

* Fixing package-lock

* FIX: updating package.lock

* [UPD] Updating converse.js library to v.11

* Fixing package-lock

* FIX: updating package.lock

* [UPD] Updating converse.js library to v.11

* FIX: updating package.lock

* [UPD] Updating converse.js library to v.11

See merge request tikiwiki/tiki!8097

- - - - -


5 changed files:

- lib/xmpp/js/conversejs-tiki-oauth.js
- lib/xmpp/js/conversejs-tiki.js
- package-lock.json
- src/js/common-externals/package.json
- src/js/vue-mf/tiki-offline/package.json


Changes:

=====================================
lib/xmpp/js/conversejs-tiki-oauth.js
=====================================
@@ -35,8 +35,9 @@
 
         "force_oauth_mechanism": function() {
             return _converse.promises.initialized.then(function() {
-                delete _converse.connection.mechanisms.OAUTHBEARER.priority;
-                _converse.connection.mechanisms.OAUTHBEARER.priority = 100;
+                const connection = _converse.api.connection.get();
+                delete connection.mechanisms.OAUTHBEARER.priority;
+                connection.mechanisms.OAUTHBEARER.priority = 100;
                 console.log('Forced OAUTHBEARER mechanism');
             });
         },


=====================================
lib/xmpp/js/conversejs-tiki.js
=====================================
@@ -20,8 +20,9 @@
 
             if (_converse.api.settings.get('authentication') === "anonymous") {
                 _converse.promises.initialized.then(function() {
-                    delete _converse.connection.mechanisms.ANONYMOUS.priority;
-                    _converse.connection.mechanisms.ANONYMOUS.priority = 50;
+                    const connection = _converse.api.connection.get();
+                    delete connection.mechanisms.ANONYMOUS.priority;
+                    connection.mechanisms.ANONYMOUS.priority = 50;
                 });
             }
 


=====================================
package-lock.json
=====================================
The diff for this file was not included because it is too large.

=====================================
src/js/common-externals/package.json
=====================================
@@ -19,7 +19,7 @@
     "chart.js": "^4.4.2",
     "clipboard": "^2.0.11",
     "codemirror": "^5.65.17",
-    "converse.js": "^10.1.7",
+    "converse.js": "^11.0.0",
     "d3-milestones": "^1.5.0",
     "dompurify": "^2.3.3",
     "driver.js": "^1.3.1",


=====================================
src/js/vue-mf/tiki-offline/package.json
=====================================
@@ -8,7 +8,7 @@
   "dependencies": {
     "moment-timezone": "^0.5.45",
     "strftime": "^0.10.2",
-    "uuid": "^9.0.1",
+    "uuid": "^11.1.0",
     "vue-upload-component": "^3.1.15",
     "vuex": "^4.1.0"
   }



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/345ea9e45521ce36fd035de338d9af7f0b6dd1f2

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/345ea9e45521ce36fd035de338d9af7f0b6dd1f2
You're receiving this email because of your account on gitlab.com.

_______________________________________________
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.