Commit Graph

8 Commits (849a4074335a76224dbc6508ef3f971c0f8df985)

Author SHA1 Message Date
Tara Vancil 074bb66a4c Add tests for messages model.
Closes #222
10 years ago
Tara Vancil d65e0e5eda Add tests for message and conversation models
Closes #218
10 years ago
lilia 90140556e4 Fix tests 10 years ago
lilia d107c3b839 Fix tests 10 years ago
lilia 1a4811fcef Fix tests 10 years ago
lilia bf22da209f Fix tests 11 years ago
lilia 470346c9c4 Save incoming messages and pass to frontend asynchronously
After a message is saved asynchronsly, fire an event and pass the
message attributes to frontend listeners via the chrome-runtime API.

This behavior is similar to the 'storage' event fired by localStorage.
11 years ago
lilia ced295a630 Move message and conversation storage to IndexedDB
Getting up and running with IndexedDB was pretty easy, thanks to
backbone. The tricky part was making reads and writes asynchronous.
In that process I did some refactoring on Whisper.Threads, which
has been renamed Conversations for consistency with the view names.

This change also adds the unlimitedStorage permission.
11 years ago