Commit Graph

21 Commits (d7f241ddee0f51fc81553a29e66a2d1bbfd3721a)

Author SHA1 Message Date
2-4601 60fe1e2cea i18n 'Received message with unknown identity key'
// FREEBIE
9 years ago
2-4601 52992a8f12 i18n 'Secure session ended'
// FREEBIE
9 years ago
Blake Griffith 39091fca80 Add tests for message.getContact
FREEBIE
9 years ago
Blake Griffith e07e3a53c9 Test message.*ImageUrl methods.
FREEBIE
9 years ago
lilia 173e037fa6 Fix minor style errors
And keep it that way, by making jscs config more opinionated.

// FREEBIE
9 years ago
lilia b09cb228f7 Disallow trailing whitespace
// FREEBIE
9 years ago
lilia 11cedcce6e Add model-level search tests
// FREEBIE
10 years ago
lilia a258f1a66b Refactor number parsing and validation
Refactor libphonenumber.validateNumber into libphonenumber.parseNumber,
which encapsulates the try-catch pattern used in number parsing and
returns an object of info about the input number rather tha throwing
since we expect to get some invalid number inputs the user is typing.

In the conversation model,
  * Separate phone number validation from search token updating.
  * Perform token update before save if the number was valid.
  * Stop storing unneeded number variants as conversation properties.

// FREEBIE
10 years ago
lilia 0b95606eff Display nicely formatted phone numbers
In conversation headers and as titles for contacts with no name. Updated
tests accordingly.

// FREEBIE
10 years ago
lilia 69bbaac3b9 Fix conversation model test
// FREEBIE
10 years ago
lilia f764445c86 Remove erroneous license file and headers
We only use GPLV3 around here.

// FREEBIE
10 years ago
lilia 9a4a91b5b5 Fix avatar test 10 years ago
lilia d0e262d7cb AxolotlStore stores groups in indexeddb 10 years ago
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