Commit Graph

140 Commits

Author SHA1 Message Date
Michael Kirk
9f046c5a82 adapt to lossless certs 2019-07-16 15:57:54 -06:00
Matthew Chen
f143c693b3 Revert "Merge branch 'mkirk/stub-uuid-receive'"
This reverts commit 4ba65bc7ea, reversing
changes made to 70d97e11c5.
2019-06-28 09:52:18 -04:00
Matthew Chen
e26a8e1bd4 Convert attachments to be any-only. 2019-06-24 15:34:02 -04:00
Michael Kirk
c34b21fa6a TSAccountManager holds uuid and red test for UUID work 2019-06-24 10:19:46 -06:00
Michael Kirk
e370848f08 Integration test for message processing.
Tests from `receivedEnvelopeData`, which is called by e.g. the websocket or the
messageFetcherJob through the message processing pipeline until the UIDatabase
is notified with the new message and thread.

Includes some test helpers to initialize sessions and encrypt/decrypt messages.
2019-06-24 10:19:46 -06:00
Michael Kirk
2523e8306f adapt to rename source -> sourceE164 2019-06-24 10:06:45 -06:00
Michael Kirk
a44f74a7bf fixup tests 2019-06-20 17:44:15 -06:00
Matthew Chen
a7a7499a8e Migrate more key-value stores. 2019-06-19 11:21:12 -04:00
Michael Kirk
6b78e702aa rename for clarity 2019-06-17 10:51:40 -06:00
Matthew Chen
04ac47089d Migrate preferences to use key-value store. 2019-06-17 11:13:15 -04:00
Matthew Chen
1eef9443d1 Respond to CR. 2019-06-14 10:41:15 -04:00
Matthew Chen
35fbc4418d Add PerMessageExpirationTest. 2019-06-14 10:41:15 -04:00
Matthew Chen
32076ea302 Rework the "is this a disappear message" accessors. 2019-06-10 11:41:39 -04:00
Michael Kirk
064438f1ca GRDB handles message send errors 2019-06-03 12:14:12 -06:00
Matthew Chen
96239c439a Respond to CR. 2019-05-31 12:39:50 -04:00
Michael Kirk
97c00bc919 add missing import to test 2019-05-30 18:45:58 -06:00
Michael Kirk
3b3a811f1a CR: constantize mimetype 2019-05-30 18:29:17 -06:00
Michael Kirk
7ddb20f00c MessageSenderJobQueueTest uses AnyTransactions 2019-05-30 18:28:06 -06:00
Michael Kirk
cd400e2912 convert factories to AnyWrite 2019-05-30 18:28:06 -06:00
Matthew Chen
27bdd499ac Fix test breakage. 2019-05-30 12:16:57 -04:00
Matthew Chen
6e32c9a79f Remove "ephemeral media" model changes. 2019-05-29 11:53:42 -04:00
Matthew Chen
fc25251dd8 Merge remote-tracking branch 'private/release/2.40.0' 2019-05-29 10:56:24 -04:00
Matthew Chen
47760f21c7 Fix test breakage. 2019-05-24 15:08:33 -04:00
Michael Kirk
373c3b0d61 method for testing only exists in iOS10+ 2019-05-22 16:03:07 -04:00
Matthew Chen
0cecce2e68 Use GRDB records for anyInsert() & anyUpdate(). Remove anySave(). Add handling of GRDB ids. 2019-05-22 09:18:42 -04:00
Michael Kirk
691209e25e Decrypt Messages with AnyTransaction
- Migrate protocol stores to KVStores
- Introduce AnyDatabaseQueue
- Move messaging pipeline to AnyTransactions
- Migrate specialized PushDecrypt job to generic JobQueue
2019-05-21 16:20:22 -04:00
Matthew Chen
a6629bfe63 Add EphemeralMedia model classes. 2019-05-20 17:05:49 -04:00
Michael Kirk
2ab50d28c6 require explicit default for getBool 2019-05-15 15:13:17 -06:00
Michael Kirk
fe65ff035f Sneaky Transaction audit for SDSKeyValueStore 2019-05-15 15:13:17 -06:00
Michael Kirk
46bb9de67e clear grdb between tests in SSK tests too 2019-05-14 15:10:02 -06:00
Michael Kirk
cb7a24aae2 fixup jobqueue test 2019-05-14 15:10:02 -06:00
Michael Kirk
c309c57c4c reset grdb between tests 2019-05-14 15:10:02 -06:00
Michael Kirk
fa184fd0b0 fixup message sender queue tests 2019-05-14 15:10:02 -06:00
Michael Kirk
662955832d fix jobqueue tests 2019-05-14 09:30:26 -06:00
Michael Kirk
43846f9a51 Merge tag '2.39.0.13' 2019-05-08 14:17:14 -06:00
Michael Kirk
32825535b3 update tests whose upstream data has changed 2019-05-08 14:14:17 -06:00
Michael Kirk
a1ee5feddc fixup tests 2019-05-08 14:14:17 -06:00
Matthew Chen
bfa40b84a3 Sticker refinements. 2019-05-08 09:26:39 -04:00
Michael Kirk
79e8725a56 fix up tests 2019-05-07 16:52:49 -06:00
Michael Kirk
116241df3f renames for clarity, fail hard on db error 2019-05-03 09:53:37 -06:00
Matthew Chen
b19062e44c Fix broken test. 2019-05-03 10:15:07 -04:00
Matthew Chen
43bfff7180 Cache suggested sticker results. 2019-05-03 10:06:27 -04:00
Matthew Chen
6394d80dc7 Respond to CR. 2019-05-03 09:53:19 -04:00
Matthew Chen
86a180e7be Add sticker suggestions for emoji input. 2019-05-03 09:22:41 -04:00
Matthew Chen
0024705254 Add sticker suggestions for emoji input. 2019-05-03 09:22:41 -04:00
Matthew Chen
b6b2c8af3b Track "known" sticker packs. 2019-04-30 09:15:08 -04:00
Matthew Chen
9348187dca Sticker previews using emoji. 2019-04-30 09:13:23 -04:00
Michael Kirk
81d5e09534 Merge tag '2.39.0.2' 2019-04-22 14:36:14 -07:00
Matthew Chen
85aa976101 Add Pinterest link previews. 2019-04-22 16:37:56 -04:00
Michael Walker
11af22432d Add pinterest domain and asset domains for link preview support 2019-04-22 16:36:44 -04:00