Matthew Chen
61f8d68231
Respond to CR.
2021-03-25 14:43:08 -03:00
Matthew Chen
6b2e8dc359
Respond to CR.
2021-03-25 14:32:53 -03:00
Matthew Chen
98d0149095
Fix broken tests.
2021-03-25 14:28:27 -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
Jordan Rose
e4dc5ee9b3
Remove 'SignalClient.' prefixes where no longer needed
2021-03-22 16:19:46 -07:00
Jordan Rose
1a55d29922
Prefix AxolotlKit session model classes with "Legacy"
...
PreKeyRecord, PreKeyBundle, and SignedPreKeyBundle are still used
outside of serialized sessions, so it doesn't make sense to mark them
"Legacy" just yet. Additionally, the keyed archiver overrides have to
be set up before any instances are unarchived, which is trickier for
these remaining model types.
2021-03-22 16:19:31 -07:00
Jordan Rose
57eb94cf60
Strip out unneeded parts of the AxolotlKit model classes
...
- Remove Chain protocol
- Delete most SessionState mutators
- Expose SessionState.receivingChains directly
- Remove ChainAndIndex class
2021-03-22 16:19:05 -07:00
Jordan Rose
f4c39827a2
Pre-compute some of SessionMigrationPerfTest's AxolotlKit input data
...
In migrating off AxolotlKit we no longer have the capability to set up
AxolotlKit sessions from scratch. To replicate that, load a keyed
archive created from AxolotlKit data.
2021-03-22 16:18:30 -07: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
5f8f048202
Fix tests
2021-02-23 10:45:50 -08:00
Nora Trapp
91d2953843
Begone OWSMessageReceiver
2021-02-23 10:45:50 -08:00
Nora Trapp
4b2be0b8fa
Get rid of obsolte SSKMessageDecryptJobQueue
2021-02-23 10:45:50 -08:00
Nora Trapp
3991802fa8
Add appropriate restrictions to when message processing can run.
2021-02-23 10:45:50 -08:00
Nora Trapp
16708b9dd7
Batch message decryption and processing
2021-02-23 10:45:50 -08:00
Nora Trapp
ad6583facb
Eliminate usage of decrypt job queue
2021-02-23 10:45:50 -08:00
Jordan Rose
14c93cbd20
Preserve orientation when stripping image metadata
2021-02-11 10:10:16 -08:00
Nora Trapp
ad19838ee2
Fix message processing perf tests
2021-02-10 17:13:21 -08:00
Jordan Rose
07c20a5f6f
Rename the SignalClient test protocol to avoid conflicts
2021-01-28 12:03:50 -08:00
Jordan Rose
77257beacc
Implement AxolotlKit<->SignalClient SessionRecord migration
...
This is accomplished by serializing into and out of the protobuf
format used by SignalClient.
2021-01-28 12:03:50 -08:00
Nora Trapp
d0da9422ec
System message wallpaper styling.
2021-01-21 17:00:17 -08:00
Matthew Chen
6762ce8452
Update design of conversation list view cells.
2021-01-21 20:27:31 -03:00
Nora Trapp
3bf19501cd
Fix tests
2021-01-12 20:28:36 -08:00
Nora Trapp
6f096e85db
Fix text measurement bug
2020-12-23 10:49:48 -08: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
Nora Trapp
53c56d3ce6
Fix text measurement
2020-12-22 12:27:07 -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
5cee24cef9
Refine group migrations.
2020-10-30 09:20:51 -03:00
Matthew Chen
bcc7995a7b
Migrate groups from v1 to v2, part 3.
...
* Pull out GroupMigrationActionSheet.
* Add group migration action sheets.
* Make changes to enable testing migrations.
* Rewrite banners in Swift.
* Refine group migration logic; add support for testability.
2020-10-30 09:06:40 -03:00
Matthew Chen
ed9ae2ec9f
Migrate groups from v1 to v2.
2020-10-30 09:04:12 -03:00
Matthew Chen
13e7456d22
Fix some of the performance tests.
2020-10-16 10:15:16 -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
Matthew Chen
22c90550b7
Respond to CR.
2020-09-01 17:11:08 -03:00
Matthew Chen
410b62f508
Add perf test around group membership serialization.
2020-09-01 17:11:08 -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
Fumiaki Yoshimatsu
e57724fa23
Wait async calls complete before moving on.
2020-08-28 09:42:44 -07:00
Matthew Chen
4c6f2c22b4
Use protocol contexts in prekey stores.
2020-08-25 21:31:56 -03:00
Matthew Chen
80792a8443
Respond to CR.
2020-08-13 08:59:56 -03:00
Matthew Chen
a3ea215c30
Add performance test around UnfairLock.
2020-08-13 08:59:56 -03:00
Matthew Chen
ae0f5e4a9d
Add performance test around UnfairLock.
2020-08-13 08:59:56 -03:00
Matthew Chen
73c8839061
Convert ContactsViewHelper to singleton.
2020-08-11 17:51:40 -03:00