Commit Graph

69 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
6b78e702aa rename for clarity 2019-06-17 10:51:40 -06:00
Matthew Chen
1eef9443d1 Respond to CR. 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
Matthew Chen
96239c439a Respond to CR. 2019-05-31 12:39:50 -04: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
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
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
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
9348187dca Sticker previews using emoji. 2019-04-30 09:13:23 -04: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
Michael Kirk
e42192624f fixup tests 2019-03-29 15:43:08 -06:00
Michael Kirk
a7e8f9713c Try to account for variability in network backed tests 2019-02-25 13:44:03 -07:00
Michael Kirk
cdb8663c81 fix up selecting after url case 2019-02-20 09:38:52 -07:00
Matthew Chen
c68eee5bfe Accept newlines in link preview titles. 2019-01-25 12:57:17 -05:00
Matthew Chen
957a733838 Yet more link preview refinements. 2019-01-25 11:33:09 -05:00
Matthew Chen
4c5b9001c3 Elaborate the link preview tests. 2019-01-24 16:51:39 -05:00
Matthew Chen
2e9f2e6154 Elaborate the link preview tests. 2019-01-24 16:17:31 -05:00
Matthew Chen
744d3074ac Fix link preview tests. 2019-01-24 14:34:31 -05:00
Matthew Chen
f13c1de738 Respond to Cr. 2019-01-15 10:36:21 -05:00
Matthew Chen
55376975f5 Add link preview parsing and validation logic. 2019-01-14 17:06:47 -05:00
Matthew Chen
a477e01a4a Apply LinkPreview model. 2019-01-14 16:20:54 -05:00
Michael Kirk
2f3d875dcf fixup ud manager tests 2018-11-11 11:31:57 -06:00
Michael Kirk
24f57cedda add missing method to FakeContactsManager, convert to Swift to avoid missing
protocol methods in the future.
2018-11-11 11:28:59 -06:00
Michael Kirk
ca58bb00f7 fixup tests from throws_ audit 2018-11-11 11:16:37 -06:00
Matthew Chen
40aa78e001 Merge remote-tracking branch 'origin/release/2.31.0' 2018-10-31 11:42:41 -04:00
Matthew Chen
ee87f1b489 Fix test breakage. 2018-10-30 16:18:22 -04:00
Matthew Chen
2541be1619 Apply refinements to UD logic. 2018-10-30 16:18:22 -04:00
Matthew Chen
deafc749d1 Fix UD manager tests. 2018-10-29 16:41:02 -04:00
Michael Kirk
3560f3be5c Durable send operation
TODO
-[x] respect order of queue
-[x] replacements
  -[x] those w/o completion handler
  -[x] basic send+log operation persists
  -[x] send+ui completion
  -[x] share extension
  -[x] update state jobs
-[x] App Lifecyle
  -[x] settable
  -[x] Mark as ready on startup
  -[x] Fail appropriate jobs on startup

NICE TO HAVE
-[x] concurrent per senders
-[ ] longer retry (e.g. 24hrs)
-[ ] App Lifecyle
  -[x] retry failed jobs on startup?
  -[ ] reachability

DONE
-[x] basic passing test
-[x] datamodel
-[x] queue/classes
2018-10-25 11:54:59 -06:00
Matthew Chen
c6ef7f18e7 Improve test logging. 2018-10-16 13:01:24 -04:00