Commit Graph

70 Commits

Author SHA1 Message Date
Matthew Chen
9176ce6309 Add SignalUI framework target. 2021-10-19 09:39:54 -03:00
Matthew Chen
976fbace2e Whitelist sender key requests for websocket. 2021-09-09 16:04:50 -03:00
Matthew Chen
9271f83624 Remove databaseChangesWillUpdate. 2021-09-08 21:41:13 -03:00
Nora Trapp
2814ab7629 Convert to new Promise library 2021-09-03 11:41:34 -07:00
Michelle Linington
c7444cb01d Remove isHidden column, use recordType instead 2021-08-26 20:57:06 -07:00
Michelle Linington
4eeb4e34be Tests should be runnable in Profiling scheme 2021-08-26 20:57:06 -07:00
Michelle Linington
914b909e93 Testing 2021-08-26 20:57:06 -07:00
Matthew Chen
e13657952b Respond to CR; fix broken tests. 2021-08-18 14:26:20 -03:00
Matthew Chen
4682248117 Clean up ahead of PR. 2021-08-18 14:26:18 -03:00
Matthew Chen
67d9eeab5b Clean up ahead of PR. 2021-08-18 14:26:18 -03:00
Matthew Chen
fcdca12cf5 Deprecate REST, Part 1
* Port socket manager to Swift.
* Clean up HTTP request success/failure state & errors.
* Rework network manager.
* Rework HTTP errors.
* Rework errors "properties": isRetryable, etc.
* Fix test breakage.
2021-08-18 14:25:36 -03:00
Matthew Chen
f2b76e60f9 Refine names. 2021-07-02 22:08:53 -03:00
Matthew Chen
8b73e93be2 Remove uiRead(). 2021-07-02 22:04:58 -03:00
Matthew Chen
f06b72bc2a Remove uiRead(). 2021-07-02 22:04:58 -03:00
Matthew Chen
75de56236b Remove uiRead(). 2021-07-02 22:04:58 -03:00
Matthew Chen
4e23a9349d Respond to CR. 2021-07-01 15:53:59 -07:00
Matthew Chen
6613f8562e Respond to CR. 2021-07-01 15:53:59 -07:00
Nora Trapp
e439bb619e Move isArchived, isMarkedUnread, and mutedUntilDate off of TSThread 2021-05-13 12:54:33 -07: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
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
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
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
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
Matthew Chen
13e7456d22 Fix some of the performance tests. 2020-10-16 10:15:16 -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
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
3cedd3ccdf Overhaul database observation. 2020-06-18 09:28:49 -03:00
Matthew Chen
f8b9b209ff Respond to CR. 2020-05-11 10:19:52 -03:00
Michael Kirk
032feb3b9c speed up FTS deletes/updates 2020-01-14 09:40:45 -07:00
Michael Kirk
884f09ea5a Windowed conversation loading 2019-12-31 14:29:32 -08:00
Matthew Chen
6b73cc08f6 Merge tag '3.0.6.0' 2019-12-07 19:17:20 -03:00
Matthew Chen
12baeea389 Respond to CR. 2019-12-06 18:33:56 -03:00
Matthew Chen
0e96c585ce Add perf test around enumerating special messages. 2019-12-06 17:18:42 -03:00
Matthew Chen
e39375c944 Add perf test around enumerating special messages. 2019-12-06 17:06:34 -03:00
Matthew Chen
e46eefe50e Remove readReturningResult(). 2019-11-14 10:39:33 -03:00