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
7abfeeb2ae
Payments: Clean up.
2021-04-06 13:57:11 -03:00
Matthew Chen
f130126b5b
Update MC SDK; adopt new payment entropy derivation scheme; update auth credential handling.
2021-04-06 13:57:10 -03:00
Matthew Chen
bac99faa83
Configure for signal mainnet; tweak payments public address signature.
2021-04-06 13:57:10 -03:00
Matthew Chen
beee556eac
Fix rebase breakage.
2021-04-06 13:57:10 -03:00
Matthew Chen
532976bd76
Fix rebase breakage.
2021-04-06 13:57:10 -03:00
Matthew Chen
d95a65da02
Payments: integrate with SDK support for entropy & passphrases.
2021-04-06 13:57:09 -03:00
Matthew Chen
4c424d7510
Fix broken tests.
2021-04-06 13:57:08 -03:00
Matthew Chen
ea6f8a7f86
Clean up formatting of MOB values for display.
2021-04-06 13:57:08 -03:00
Matthew Chen
d77ae7d012
Fix broken tests, bugs.
2021-04-06 13:57:08 -03:00
Matthew Chen
afd2aeef5c
Payments UI.
2021-04-06 13:57:07 -03:00
Matthew Chen
ce84309224
Small improvements around payments.
2021-04-06 13:57:06 -03:00
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