Commit Graph

524 Commits

Author SHA1 Message Date
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
Matthew Chen
9e62160abe Fix perf problems around observation of addressing mapping changes. 2020-08-11 16:44:32 -03:00
Nora Trapp
9696671f8a Add trustLevel to SignalServiceAddress 2020-08-05 14:36:43 -07:00
Matthew Chen
587b8f2c36 Resumable attachment download. 2020-08-01 12:18:13 -03: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
Nora Trapp
c5214e38b6 Add Codable adherance to proto wrappers 2020-07-22 14:34:24 -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
Michelle Linington
e2a8244bbe Review feedback: Better handling of cast failures in ParamParser
This adds a new ParamParser private error constructor to be used on a
failed cast. It will populate the description of the thrown error with
information about the destination type of the failed cast.
2020-06-29 23:03:35 -07:00
Matthew Chen
154805cf68 Fix broken tests. 2020-06-23 10:04:39 -03:00
Matthew Chen
3cedd3ccdf Overhaul database observation. 2020-06-18 09:28:49 -03:00
Matthew Chen
28ff9ac453 Rework model read caches. 2020-06-06 17:37:30 -03:00
Matthew Chen
7298549e98 Resolve issues related to groups v2 in test suites. 2020-06-04 09:40:38 -03:00
Nora Trapp
57a810658a Goodbye iOS 10 2020-05-27 17:34:32 -07:00
Matthew Chen
6b4f192b1b Remove usage of retainUntilComplete. 2020-05-22 09:51:12 -03:00
Nora Trapp
879fe738cf Fix tests 2020-05-18 20:48:08 -07:00
Matthew Chen
a58ea46ac1 Fix broken tests. 2020-05-18 13:32:52 -03:00
Matthew Chen
f8b9b209ff Respond to CR. 2020-05-11 10:19:52 -03:00