Michelle Linington
21f0fcb2ff
Fixes broken tests related to the GroupMembers table
...
The TSGroupMember table is updated after every inserted interaction. It
asserts that the sender of the interaction is in the group membership.
Before, our tests would construct groups with mock membership and then
construct outgoing messages with the local address as the sender. This
would fail this new requirement.
The fix is to make sure that the local address is in the test group
membership if we'd like to "send" any messages.
2021-05-06 15:45:42 -07:00
Matthew Chen
523a189a18
Fix broken test.
2021-04-23 18:52:32 -03:00
Nora Trapp
927ae76821
Re-style conversation search results screen
2021-04-22 13:10:45 -07:00
Matthew Chen
ce84309224
Small improvements around payments.
2021-04-06 13:57:06 -03:00
Matthew Chen
86b8eb08b8
Remove YapDatabase.
...
Apply asset from design.
Fix rebase breakage.
2021-03-25 11:41:16 -03:00
Matthew Chen
211b93581b
Rework dependency access.
2021-03-25 09:24:27 -03:00
Matthew Chen
d0cbf8cfd0
Rework dependency access.
2021-03-25 09:24:27 -03:00
Matthew Chen
990f31f443
Respond to CR.
2021-02-24 18:08:59 -03:00
Matthew Chen
93fc3dd3db
Filter as e164.
2021-02-24 18:00:54 -03:00
Nora Trapp
4b2be0b8fa
Get rid of obsolte SSKMessageDecryptJobQueue
2021-02-23 10:45:50 -08:00
Matthew Chen
6762ce8452
Update design of conversation list view cells.
2021-01-21 20:27:31 -03:00
Matthew Chen
1e149fa2a2
Merge remote-tracking branch 'private/release/5.0.3' into release/5.1.0
2020-12-23 14:18:50 -03:00
Matthew Chen
3f3af2753f
Small fixes.
2020-12-22 18:04:49 -08:00
Matthew Chen
475bbc05a5
Small fixes.
2020-12-22 18:04:49 -08:00
Matthew Chen
625b45f4aa
Small fixes.
2020-12-22 18:04:49 -08:00
Michelle Linington
80c6a4e6be
Add support for lightweight generics in ObjC functional utilities
...
NSArray supports lightweight generics in ObjC. Our extension on NSArray
for map/filter/reduce does not. This change tweaks the interface to
better support generics.
Also, fixes some tests that weren't compiling.
2020-12-11 12:30:44 -08:00
Matthew Chen
111338b59d
Rewrite conversation view.
2020-12-10 12:44:13 -03:00
Matthew Chen
fc30b0084b
Enforce uniqueness when migrating SignalRecipients from YDB.
2020-10-02 09:47:42 -03:00
Matthew Chen
ad6bda8a44
Rename singleton accessors.
2020-09-17 21:11:07 -03:00
Nora Trapp
18e19088a5
Fix broken tests
2020-08-28 13:10:47 -07:00
Fumiaki Yoshimatsu
82f050c168
Adds a new mock method to the protocol implementation in the tests.
2020-08-28 09:43:54 -07:00
Fumiaki Yoshimatsu
ba63b6a3cf
A few lines in YDBToGRDBMigrationModelTest fails because of a call to SDSAnyReadTransaction.unwrapGrdbRead.
...
Work around the offending code but only in tests.
2020-08-28 09:42:45 -07:00
Matthew Chen
4c6f2c22b4
Use protocol contexts in prekey stores.
2020-08-25 21:31:56 -03:00
Nora Trapp
9696671f8a
Add trustLevel to SignalServiceAddress
2020-08-05 14:36:43 -07:00
Nora Trapp
f3b5d882c2
Group v1 state operates only in e164
2020-07-24 13:15:32 -07:00
Nora Trapp
d536c8ded0
PR Feedback
2020-07-24 13:15:32 -07:00
Matthew Chen
e0ec351c9c
Fetch missing and stale user profiles.
2020-07-08 11:04:01 -03:00
Matthew Chen
8cd3471ed2
Strict formatting of disappearing message durations.
2020-07-08 11:02:07 -03:00
Matthew Chen
154805cf68
Fix broken tests.
2020-06-23 10:04:39 -03:00
Matthew Chen
28ff9ac453
Rework model read caches.
2020-06-06 17:37:30 -03:00
Nora Trapp
57a810658a
Goodbye iOS 10
2020-05-27 17:34:32 -07:00
Matthew Chen
a58ea46ac1
Fix broken tests.
2020-05-18 13:32:52 -03:00
Matthew Chen
c2cb189e16
Add TSIncomingMessageBuilder.
2020-05-11 09:28:13 -03:00
Nora Trapp
f0d7a9cb9c
Add early message handling for delivery receipts, reactions, and delete for everyone
2020-04-16 19:44:45 -07:00
Matthew Chen
c7df10eb36
Apply CGSize(square:).
2020-04-06 11:34:21 -03:00
Matthew Chen
eb8b14ae98
Fix tests.
2020-04-06 11:01:04 -03:00
Matthew Chen
8ce7fce76b
Fix tests.
2020-04-06 11:00:57 -03:00
Matthew Chen
7e7322420a
Fix broken tests.
2020-04-03 16:33:02 -03:00
Nora Trapp
2e6612525a
Fix broken tests
2020-03-24 17:11:02 -07:00
Michael Kirk
f927ef1b4b
Batch Select / Delete
2020-03-20 19:36:48 -07:00
Nora Trapp
78c5c19def
fix some tests
2020-03-14 10:43:56 -07:00
Matthew Chen
529dbf09cd
Fix unit tests.
2020-02-28 16:30:54 -03:00
Matthew Chen
7624bcf13e
Fix unit tests.
2020-02-28 16:30:54 -03:00
Matthew Chen
81638f8b88
Fix unit tests.
2020-02-28 16:30:54 -03:00
Matthew Chen
91d100c792
Rework group updates; rework "update group" view to use GroupManager.
...
* Introduce GroupMembership & GroupAccess.
* Pull out GroupsV2Test.
* Fix issues in groups v2 logic.
2020-01-27 11:18:21 -03:00
Matthew Chen
3b17c39f2e
Fix tests.
2020-01-23 12:09:31 -03:00
Matthew Chen
8ecc50fb98
Fix tests.
2020-01-23 12:09:31 -03:00
Nora Trapp
b7411bcb40
Implement final KBS master key encryption
2020-01-20 16:16:57 -08:00
Matthew Chen
892ce5c135
Rework message processing to handle groups v2.
2020-01-17 17:34:37 -03:00
Matthew Chen
1ae6012ecb
Create and fetch groups v2; group update roundtrip.
2020-01-17 17:29:00 -03:00