xmpp.chapril.org-conversejs/spec
JC Brand 1fa203c990 Support for IndexedDB. updates #1105
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.
2019-10-30 13:02:23 +01:00
..
autocomplete.js Remove need to pass in spies to initConverse 2019-10-11 17:46:13 +02:00
bookmarks.js Support for IndexedDB. updates #1105 2019-10-30 13:02:23 +01:00
chatbox.js Support for IndexedDB. updates #1105 2019-10-30 13:02:23 +01:00
controlbox.js Support for IndexedDB. updates #1105 2019-10-30 13:02:23 +01:00
converse.js Support for IndexedDB. updates #1105 2019-10-30 13:02:23 +01:00
disco.js Remove need to pass in spies to initConverse 2019-10-11 17:46:13 +02:00
emojis.js Support for IndexedDB. updates #1105 2019-10-30 13:02:23 +01:00
eventemitter.js Fix linting errors (no-unused-vars) 2019-10-09 16:27:58 +02:00
headline.js Support for IndexedDB. updates #1105 2019-10-30 13:02:23 +01:00
http-file-upload.js Support for IndexedDB. updates #1105 2019-10-30 13:02:23 +01:00
login.js Support for IndexedDB. updates #1105 2019-10-30 13:02:23 +01:00
mam.js Update test to wait for IQ stanzas 2019-10-11 21:13:45 +02:00
messages.js Support for IndexedDB. updates #1105 2019-10-30 13:02:23 +01:00
minchats.js Support for IndexedDB. updates #1105 2019-10-30 13:02:23 +01:00
modtools.js Remove need to pass in spies to initConverse 2019-10-11 17:46:13 +02:00
muc_messages.js Support for IndexedDB. updates #1105 2019-10-30 13:02:23 +01:00
muc.js Support for IndexedDB. updates #1105 2019-10-30 13:02:23 +01:00
notification.js Support for IndexedDB. updates #1105 2019-10-30 13:02:23 +01:00
omemo.js Support for IndexedDB. updates #1105 2019-10-30 13:02:23 +01:00
ping.js converse-ping: Refactor and update to reconnect upon ping timeout 2019-08-10 12:26:07 +02:00
presence.js Support for IndexedDB. updates #1105 2019-10-30 13:02:23 +01:00
profiling.js Support for IndexedDB. updates #1105 2019-10-30 13:02:23 +01:00
protocol.js Support for IndexedDB. updates #1105 2019-10-30 13:02:23 +01:00
push.js Remove need to pass in spies to initConverse 2019-10-11 17:46:13 +02:00
register.js Support for IndexedDB. updates #1105 2019-10-30 13:02:23 +01:00
room_registration.js Remove need to pass in spies to initConverse 2019-10-11 17:46:13 +02:00
roomslist.js Support for IndexedDB. updates #1105 2019-10-30 13:02:23 +01:00
roster.js Support for IndexedDB. updates #1105 2019-10-30 13:02:23 +01:00
smacks.js Support for IndexedDB. updates #1105 2019-10-30 13:02:23 +01:00
spoilers.js Support for IndexedDB. updates #1105 2019-10-30 13:02:23 +01:00
transcripts.js Support for IndexedDB. updates #1105 2019-10-30 13:02:23 +01:00
user-details-modal.js Support for IndexedDB. updates #1105 2019-10-30 13:02:23 +01:00
utils.js Fix linting errors (no-unused-vars) 2019-10-09 16:27:58 +02:00
xmppstatus.js Fix linting errors (no-unused-vars) 2019-10-09 16:27:58 +02:00