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
0cb46951fa
Build (but don't run) the perf tests along with the regular tests
2021-03-22 16:18:30 -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
Jordan Rose
6ddd3ce184
SSK: Remove SPKProtocolContext
...
Brought over for convenience in the previous commit, but no longer
needed now that everything's in one framework.
2021-03-22 16:18:29 -07:00
Jordan Rose
68a27a76e2
Move AxolotlKit model classes into SSK and remove the dependency
...
We still need the AxolotlKit model classes to migrate old sessions,
but we don't need any of the actual protocol support. This also
means we can drop HKDFKit.
Additionally, we do still use some utilities from AxolotlKit:
- AxolotlExceptions.h: NSException names, should eventually be
replaced by NSErrors everywhere
- NSData+keyVersionByte.h: prepend/remove public key type byte,
should eventually be replaced by strong types (ECPublicKey)
- SPKProtocolContext.h: defines the SPKProtocol{Read,Write}Context
marker protocols, should be replaced by direct use of
SDSAny{Read,Write}Transaction
2021-03-22 16:17:47 -07:00
Jordan Rose
8849a0e4d8
Update SignalMetadataKit to remove AxolotlKit dependency
2021-03-22 16:15:12 -07:00
Jordan Rose
69d94a7719
SSK: Migrate TestProtocolRunner to SignalClient
...
Previously this manually initialized two sessions through an
AxolotlKit-provided helper. Rather than expose a similar helper for
SignalClient, TestProtocolRunner now sends an empty message in both
directions to initialize the sessions.
2021-03-22 16:10:42 -07:00
Matthew Chen
48bf0dcaf8
"Bump build to 5.9.0.5." (Internal)
2021-03-21 17:13:38 -03:00
Matthew Chen
275edc01a6
Merge branch 'charlesmchen/profileKeyRotationLoop'
2021-03-21 17:13:19 -03:00
Matthew Chen
df1dcb9e6c
Avoid profile key rotation loop.
2021-03-21 17:05:57 -03:00
Matthew Chen
6e0ef6f3a1
Avoid profile key rotation loop.
2021-03-21 16:56:09 -03:00
Matthew Chen
332d329773
"Bump build to 5.9.0.4." (Internal)
2021-03-20 10:10:42 -03:00
Matthew Chen
4f56778b92
"Bump build to 5.9.0.3." (Internal)
2021-03-20 10:10:24 -03:00
Matthew Chen
5e9581fded
Merge branch 'charlesmchen/profileKeyUpdateRaceChecks'
2021-03-19 22:27:34 -03:00
Matthew Chen
d60ca9f7f4
Improve logging around malformed group attribute blobs.
2021-03-19 22:11:13 -03:00
Matthew Chen
4a6d6db8e9
Fix "required revision" checks.
2021-03-19 22:07:57 -03:00
Matthew Chen
db8f8c1e76
"Bump build to 5.9.0.2." (Internal)
2021-03-18 11:30:01 -03:00
Matthew Chen
10e6b4fe4f
"Bump build to 5.9.0.1." (Internal)
2021-03-18 11:29:50 -03:00
Matthew Chen
f4483967a8
"Bump build to 5.9.0.0." (Internal)
2021-03-18 11:24:12 -03:00
Matthew Chen
9022042081
Update changelog for 5.8
2021-03-17 22:27:29 -03:00
Matthew Chen
e4248fca22
"Bump build to 5.8.0.24." (Internal)
2021-03-17 21:47:07 -03:00
Matthew Chen
78c2bc9090
Feature flags for .qa.
2021-03-17 21:47:04 -03:00
Matthew Chen
cf01e02dc9
"Bump build to 5.8.0.23."
2021-03-17 21:47:01 -03:00
Matthew Chen
20b75269b7
Feature flags for .beta.
2021-03-17 21:47:00 -03:00
Matthew Chen
32710032de
"Bump build to 5.8.0.22."
2021-03-17 21:46:54 -03:00
Matthew Chen
ce291aa84a
Feature flags for .production.
2021-03-17 21:46:50 -03:00
Matthew Chen
1ed8b108dd
Update l10n strings.
2021-03-17 21:46:05 -03:00
Matthew Chen
77e620d594
Merge branch 'charlesmchen/profileKeyUpdatesVsStaleGroupState'
2021-03-17 21:40:32 -03:00
Matthew Chen
03141a9ef5
Respond to CR.
2021-03-17 21:40:13 -03:00
Matthew Chen
f3f7eb3386
Fix issue around profile key updates for groups with stale group state.
2021-03-17 19:18:38 -03:00
Nora Trapp
fa6662403e
Revert "Merge branch 'nt/animations'"
...
This reverts commit 1ec4ae3b05 , reversing
changes made to 1ed1371c71 .
2021-03-17 13:17:17 -07:00
Nora Trapp
1042e0e169
Merge branch 'nt/little-fixes107'
2021-03-17 13:16:09 -07:00
Nora Trapp
303b3220d9
Actually thumbnail attachments on the attachment preview view
2021-03-17 13:15:51 -07:00
Nora Trapp
9511128ad9
Fix status bar issue
2021-03-17 13:15:51 -07:00
Nora Trapp
da59806acf
Update precommit.py for swiftlint 0.43.1
2021-03-17 13:15:51 -07:00
Michelle Linington
f3fc7c88a6
Merge branch 'mlin/PR/NameCollisionBugFixes'
2021-03-17 01:14:49 -07:00
Michelle Linington
5c7143b582
PR Feedback
...
Since we've moved action buttons into the same cell, there's no need for
this extra autolayout constraint on the avatar
2021-03-17 01:14:25 -07:00
Michelle Linington
f483ee2cac
Fixes some name collision bugs
...
- Fixes up content alignment issues from parallel changes to table view
styling.
- Re-adds view controller presentation within a nav controller (stemming
from parallel changes to table view styling)
- Fixes a bug around overzealous collision detection
Also fixes an unrelated issue. Setting up cv banners performs layout, which
can cause the conversation view controller's trait collection to change.
This can lead to us reenterantly setting up banners and updating trait
collection.
The workaround is to just call -ensureBannerState asynchronously from
-traitCollectionDidChange to break the synchronous chain.
2021-03-17 01:14:25 -07:00
Matthew Chen
86a60c95b0
"Bump build to 5.8.0.21." (Internal)
2021-03-16 20:02:12 -03:00
Matthew Chen
a322c1f25e
Feature flags for .qa.
2021-03-16 20:01:39 -03:00
Matthew Chen
7273c815b8
"Bump build to 5.8.0.20."
2021-03-16 20:00:34 -03:00
Matthew Chen
f589ad3461
Feature flags for .beta.
2021-03-16 20:00:03 -03:00
Matthew Chen
d58921c54b
Update l10n strings.
2021-03-16 19:59:43 -03:00
Matthew Chen
95a45c2845
"Bump build to 5.8.0.19." (Internal)
2021-03-16 19:49:47 -03:00
Matthew Chen
1ec4ae3b05
Merge branch 'nt/animations'
2021-03-16 19:49:13 -03:00
Nora Trapp
a19737c0bb
Tweak selection animations to be slide in / out
2021-03-16 19:48:59 -03:00
Nora Trapp
53d49f71b6
Block loads while animating selection change
2021-03-16 19:48:59 -03:00
Nora Trapp
70f6e62877
Animate quoted replies
2021-03-16 19:48:59 -03:00
Nora Trapp
39c851218d
Animate multi-select UI appearance/disappearance
2021-03-16 19:48:59 -03:00
Nora Trapp
1f7a592166
Animate message send and receive.
2021-03-16 19:48:59 -03:00