Commit Graph

1628 Commits

Author SHA1 Message Date
Michael Kirk
92135af8be Merge branch 'release/2.32.0' 2018-11-15 10:38:43 -06:00
Michael Kirk
12b916ad36 Merge tag '2.31.0.37' into release/2.32.0 2018-11-15 10:35:03 -06:00
Matthew Chen
dacccccf74 Remove UD websocket. 2018-11-14 18:03:10 -05:00
Matthew Chen
c2cc74f387 Fix build break. 2018-11-14 16:43:05 -05:00
Matthew Chen
949225d525 Respond to CR. 2018-11-14 16:35:11 -05:00
Matthew Chen
bbdeeffc76 Use persistent HTTP connection for UD requests. 2018-11-14 14:54:37 -05:00
Matthew Chen
c0e57bb35b Use persistent HTTP connection for UD requests. 2018-11-14 14:48:47 -05:00
Matthew Chen
11f8fcc80f Use persistent HTTP connection for UD requests. 2018-11-14 14:45:11 -05:00
Matthew Chen
b865b91147 Use REST for UD requests. 2018-11-14 08:30:25 -05:00
Matthew Chen
b583e96a04 Tweak clearMayHaveLinkedDevices. 2018-11-13 16:40:34 -05:00
Matthew Chen
d71a4c6ff3 Revert "Randomly fail half of all websocket requests."
This reverts commit cae430bac9.
2018-11-13 16:40:16 -05:00
Matthew Chen
901f58c7e3 Fix bug when sending non-body attachments (e.g. group avatars). 2018-11-13 13:15:11 -05:00
Matthew Chen
860eb44edc Fix breakage in share extension. 2018-11-13 13:15:11 -05:00
Michael Kirk
b25a704039 Fix: Compose thread picker doesn't show self 2018-11-13 10:38:08 -06:00
Michael Kirk
7eaaab7be4 restrict self device id in message building, not in recipient data model 2018-11-13 10:38:08 -06:00
Matthew Chen
cae430bac9 Randomly fail half of all websocket requests. 2018-11-13 09:37:11 -05:00
Michael Kirk
b79860ae0f fix compiler doc warning 2018-11-12 09:45:06 -06:00
Michael Kirk
c50b8dd0d3 fix compiler warning 2018-11-12 09:44:01 -06:00
Michael Kirk
10af14d965 Remove legacy built in test runner from SSK.
You can run the SSK test suite by adding to your cocoaopods file:

    pod 'SignalServiceKit', git: 'https://github.com/signalapp/Signal-iOS.git', testspecs: ["Tests"]
2018-11-11 11:31:57 -06:00
Michael Kirk
7cba367c0a reconcile jobqueue tests with NSTimer based retry 2018-11-11 11:31:57 -06:00
Michael Kirk
4971be5c26 Fix DESIGNATED_INITIALIZER syntax 2018-11-11 11:31:57 -06:00
Michael Kirk
2f3d875dcf fixup ud manager tests 2018-11-11 11:31:57 -06:00
Michael Kirk
79bed93b2d reconcile jobqueue with new readiness based setup 2018-11-11 11:28:59 -06:00
Michael Kirk
2c44cbccfd avoid assertion when deliberately testing for failure 2018-11-11 11:28:59 -06:00
Michael Kirk
24668fa790 update to reflect id assignment on build 2018-11-11 11:28:59 -06:00
Michael Kirk
4b0fc51933 update test to reflect correct behavior 2018-11-11 11:28:59 -06:00
Michael Kirk
e2ad9d81bb attachment factory
flesh out other factory builders
2018-11-11 11:28:59 -06:00
Michael Kirk
4d860bb9c7 fixup job queue test 2018-11-11 11:28:59 -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
Michael Kirk
d492816664 Fixup certificate parsing tests
Skip failure when running tests when we're explicitly testing failure cases.

Be more specific about failure conditions via NSError param
2018-11-11 11:16:37 -06:00
Michael Kirk
f45908c89d fixup spk deletion test 2018-11-11 11:13:05 -06:00
Michael Kirk
06b763dfc4 Remove unused methods/tests 2018-11-11 11:13:05 -06:00
Michael Kirk
8472801c4b fix link error when launching SSK tests 2018-11-11 11:13:05 -06:00
Michael Kirk
c710b7f8f2 Fixup certificate parsing tests
Skip failure when running tests when we're explicitly testing failure cases.

Be more specific about failure conditions via NSError param
2018-11-11 11:13:05 -06:00
Matthew Chen
da4f41defc Fix missing albumMessageId. 2018-11-09 17:49:08 -05:00
Michael Kirk
5da525ce2e Merge remote-tracking branch 'origin/release/2.31.0' 2018-11-09 15:49:53 -06:00
Matthew Chen
1be757788b Prevent long version strings from being scrubbed in the logs. 2018-11-09 15:17:53 -05:00
Matthew Chen
29b4702311 Fix build break. 2018-11-09 14:10:15 -05:00
Michael Kirk
366b228c01 use UUID for TSInteractions.uniqueId 2018-11-09 14:02:23 -05:00
Matthew Chen
c9c9d35d19 Discard receipts for unregistered users. 2018-11-09 13:08:56 -05:00
Matthew Chen
cd224a1590 Render single media as albums. 2018-11-08 15:44:22 -05:00
Matthew Chen
654325c6dc Add download progress indicators. 2018-11-08 15:35:14 -05:00
Matthew Chen
3daf7d4744 Add OWSAttachmentDownloads. 2018-11-08 15:31:00 -05:00
Michael Kirk
03aba93985 CR: use id for hashvalue, make clearer that we don't expect to use incrementing ID's for uniqueId 2018-11-08 13:11:30 -06:00
Michael Kirk
7cf53293da restore Share/Delete functionality to gallery items in the post multi-attachment world 2018-11-08 12:52:09 -06:00
Michael Kirk
42bf267607 fixup plumbing for incoming messages/synced transcripts 2018-11-08 12:52:09 -06:00
Michael Kirk
e096406e56 migrate existing attachments to album-compatible gallery schema 2018-11-08 12:52:09 -06:00
Michael Kirk
57681bd6f3 Gallery supports album messages 2018-11-08 12:52:09 -06:00
Michael Kirk
27cb91e9c8 Plumb through messageAlbumId so an Attachment knows what album (if any) it
belongs to.
2018-11-08 12:52:08 -06:00