Commit Graph

17 Commits

Author SHA1 Message Date
Emmanuel Gil Peyrot b7ae9f212c Replace http: with https: in conversejs.org links 2019-03-04 17:47:45 +01:00
André Berenguel 8dcb327ead Update contact nickname when receive a roster push 2019-02-18 20:23:20 +01:00
JC Brand c026dc8a86 New copyright year 2019-02-18 20:23:18 +01:00
JC Brand 9233087548 Don't hash web storage ids.
Makes debugging more difficult and uses up extra CPU cycles for no real security benefit.
2019-02-18 20:23:18 +01:00
JC Brand dfe9d301c6 Test that roster groups are fetched before contacts
updates #1405
2019-02-13 11:20:49 +01:00
laszlovl b172861d2c Dont run fetchRosterContacts async, to prevent processing presence before contacts are created
Fixes #1405
2019-02-13 09:13:45 +01:00
JC Brand 4c964c56c0 Filter out undefined 2019-02-01 15:05:13 +01:00
JC Brand 3cbc99a3f2 Roster fixes related to reconnecting
Avoid `An 'url' property must be specified` error by properly clearing
presence data upon teardown and then resetting the browserStorage upon
reconnection.

Store contact resources in a Backbone collection
2019-01-28 13:30:47 +01:00
JC Brand 4e9e532a06 Use async/await in populateRoster 2019-01-28 13:27:25 +01:00
JC Brand e38daf34f7 Remove coupling between converse-chatboxes and converse-roster
In embedded mode (singleton) we don't need or want the roster, so we
should be able to disable it.

updates #1374
2018-12-12 18:52:40 +01:00
JC Brand 9d0cfe8f43 Presence subscription bugfixes.
* Return the promise, so that we can wait.
* `sendContactAddIQ` now returns a promise and doesn't take a callback
* Don't call `destroy` on a contact that's already been removed.
2018-11-10 19:09:51 +01:00
JC Brand 2179255d0a Add button for resyncing roster contacts 2018-11-07 11:12:04 +01:00
JC Brand cc3735ff08 Use async/await 2018-11-05 21:12:12 +01:00
JC Brand 6bab16d834 New patreon backers 2018-10-29 11:44:25 +01:00
JC Brand c583678c86 Use `_coverse.api.sendIQ` instead of `_converse.connection.sendIQ`
So that we know an event will be emitted when the stanza is sent.
2018-10-25 18:29:29 +02:00
JC Brand 7b2d64b066 Use `_converse.api.send` instead of `_converse.connection.send`
so that we can emit an event when sending a stanza.
2018-10-23 16:06:43 +02:00
JC Brand a3040a45fc Move the `converse-roster` plugin to the @converse/headless build 2018-10-23 15:40:06 +02:00