- 04 Nov, 2019 1 commit
-
-
JC Brand authored
- Move headless one-on-one chat functionality into converse-chat - Split converse-headline into converse-headlines and converse-headlines-views - Add api in `_converse.api.chatboxes` for creating chatboxes - Add `_converse.api.controlbox.get` method
-
- 03 Nov, 2019 1 commit
-
-
JC Brand authored
-
- 31 Oct, 2019 2 commits
- 30 Oct, 2019 3 commits
-
-
JC Brand authored
VCards were being created before `fetch` was completed, so once fetch was done those VCards were unset from their collection. Add a new event and promise `VCardsInitialized` that triggers after successful fetching and wait for it before creating VCards.
-
JC Brand authored
Depend on latest backbone.browserStorage which has support for IndexedDB via localforage. Storage operations are now asynchronous and transactional. Bugs fixed (mostly by waiting for operations to complete): * Rooms are now fetched asynchronously, so wait before triggering `show` or when closing. * Make sure chat create/update transactions complete before firing events * Make sure chats and messages have been fetched before creating new ones. * When doing a `fetch` with `wait: false` on a collection and then creating a model in that collection, then once the read operation finishes (after creating the model), the collection is emptied again. * Patch and wait when saving. Otherwise we have previously set attributes overriding later ones. * Make sure api.roomviews.close returns a promise Test fixes: * Chats are now asynchronously returned, so we need to use `await` * Wait for the storage transaction to complete when creating and updating messages * Wait for all chatboxes to close Otherwise we get sessionStorage inconsistencies due to the async nature of localforage. * Wait for room views to close in spec/chatroom.js In the process, remove the `closeAllChatBoxes` override in converse-controlbox by letting the `close` method decide whether it should be closed or not.
-
JC Brand authored
-
- 29 Oct, 2019 3 commits
- 22 Oct, 2019 1 commit
-
-
JC Brand authored
-
- 18 Oct, 2019 1 commit
-
-
JC Brand authored
Also move some other methods out of `converse-core` into the plugins that use them.
-
- 17 Oct, 2019 8 commits
-
-
JC Brand authored
-
JC Brand authored
- Always try to first get local cache before requesting the roster. - Rename `roster_fetched` with `roster_cached`
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
Doesn't appear to be very useful. IIRC it was added as a workaround for slow roster issues.
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
-
- 16 Oct, 2019 1 commit
-
-
JC Brand authored
-
- 15 Oct, 2019 5 commits
- 14 Oct, 2019 1 commit
-
-
JC Brand authored
-
- 13 Oct, 2019 5 commits
- 11 Oct, 2019 8 commits
-
-
JC Brand authored
-
JC Brand authored
This is in anticipation of the localforage/IndexDB merge
-
JC Brand authored
They aren't used anymore.
-
JC Brand authored
Only XML is supported for now.
-
JC Brand authored
since we can't assume it's always available.
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
-