Nora Trapp
9494498d70
Add support for sending group replies to stories
2022-03-31 00:34:32 -07:00
Jordan Rose
2e39dab9b2
Support two SignalProtocolStores in SSKEnvironment
...
'sessionStore', 'preKeyStore', and 'signedPreKeyStore' are no longer
directly accessible; you have to go through
'signalProtocolStore(for:)' instead. This commit mechanically changes
all use sites to use `signalProtocolStore(for: .aci)`, with the
understanding that they will need cleanup in the future.
This is not enough to actually support multiple stores; they still
store in the database under the same keys. That's coming in the next
commit.
2022-03-16 14:31:06 -07:00
Nora Trapp
a2f51dc4a3
Cleanup old feature flags
2022-01-24 10:53:55 -08:00
Matthew Chen
079bb08067
Move MobileCoin SDK to SignalUI.
2021-11-02 14:26:02 -03:00
Matthew Chen
5d780d1589
Apply script to normalize includes and imports.
2021-10-21 09:21:10 -03:00
Michelle Linington
aad8af1ef4
Lint
2021-08-27 16:12:24 -07:00
Michelle Linington
94f3d297a4
Fixes a few final sender key issues:
...
- The excludePlaceholders parameter was inverted, but the DebugFlag
wasn't
- Fix an issue with how we detect content-less sync messages
2021-08-27 16:12:24 -07: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
Michelle Linington
2871ff351c
Lint
2021-08-06 10:04:23 -07:00
Michelle Linington
2bd671d66a
IOS-1616: Resent messages with attachments fail to show attachment
...
Fixes a bug where attachment albumMessageId is assigned before we check
to see if an incoming message should inherit the id of an existing
interaction.
Before, we'd construct a new incoming message (automatically assigning a
unique id), then build the attachments, then -insertOrReplace, updating
the unique id in the replace case.
Now, we wait until after -insertOrReplace to construct the
albumMessageId.
2021-08-06 10:04:23 -07:00
Michelle Linington
d17a78245d
PR Feedback: Tweaks to how interaction replacement operates
2021-07-21 22:58:51 -07:00
Nora Trapp
709528bcec
Don't download attachments outside of the main app
2021-06-24 12:20:46 -07:00
Matthew Chen
37052a302a
Fix build warnings around imports.
2021-06-07 11:11:30 -04:00
Nora Trapp
a365b45522
Add support for viewed receipts
2021-04-29 18:01:18 -07:00
Matthew Chen
87ace3779d
Respond to CR and proto schema/reconciliation review.
2021-04-06 13:57:06 -03:00
Matthew Chen
02fbe33779
Payments: SSK Business Logic
2021-04-06 13:57:06 -03:00
Matthew Chen
d0cbf8cfd0
Rework dependency access.
2021-03-25 09:24:27 -03:00
Jordan Rose
05725078f1
SSK: Migrate SSKSessionStore to Swift
...
This is a no-change migration /except/ that I've dropped entry points
that are unused in the app or tests.
2021-01-28 12:03:50 -08:00
Jordan Rose
65cbcca821
Ignore message transcripts for null messages
...
This can happen when your primary device has used a null message to
reset a session and your secondary device gets it via sync.
2021-01-25 17:05:49 -08:00
Matthew Chen
a25d29aa6f
Overhaul attachment downloads pipeline.
2021-01-21 20:41:08 -03:00
Matthew Chen
3e71eb4cd5
Overhaul attachment downloads pipeline.
2021-01-21 20:41:08 -03:00
Matthew Chen
025fc61cd7
Port attachment downloads logic to Swift.
2021-01-21 20:40:24 -03:00
Matthew Chen
75f6d8b60c
Add auto-download settings for media.
2021-01-12 19:28:15 -03:00
Matthew Chen
6f3c92dedd
Add auto-download settings for media.
2021-01-12 19:28:15 -03:00
Matthew Chen
252e8425ab
Add auto-download settings for media.
2021-01-12 19:28:14 -03:00
Nora Trapp
ed69da32aa
After a session reset, archive previous sessions instead of deleting them
2020-11-12 17:31:10 -08:00
Matthew Chen
7c5043e163
Touch less; touch more carefully.
2020-09-17 17:31:23 -03:00
Matthew Chen
37bc3a7b97
Avoid races when processing incoming messages or sync transcripts around attachment download.
2020-09-01 17:08:59 -03:00
Michelle Linington
02578d7dc0
Fix bracing error
2020-08-31 17:32:17 -07:00
Michelle Linington
4203a50e78
Explicitly touch the interaction on download success
2020-08-31 17:26:45 -07:00
Michelle Linington
5f5549a167
Pull request feedback:
...
- This changes the `allAttachments` fetch flow to include non-body
attachments.
- Quoted thumbnail fetching for sync messages now happens with the rest
of attachment fetching
2020-08-31 16:36:50 -07:00
Michelle Linington
0b3847f530
IOS-820: Link preview attachments not received on linked device
...
Fixes an issue where sync transcript messages with "other attachments"
(e.g. link preview attachments and others) would not be downloaded when
handling a received sync transcript message.
This change adopts similar attachment handling to what is performed when
handling a data message. See, -[OWSMessageManager
handleReceivedEnvelope:withDataMessage...].
2020-08-31 15:16:49 -07:00
Nora Trapp
cb3fe88e1b
Fix mentions in sent transcripts
2020-08-06 09:58:12 -07:00
Matthew Chen
c49a977d3e
Merge branch 'release/3.10.3' into release/3.11.0
2020-06-07 15:01:54 -03:00
Nora Trapp
ad64727ecc
Evacuate early message cache after memory warning
2020-06-07 10:05:07 -07:00
Matthew Chen
ba801f05ce
Label the "slow write transactions" logging with the source of the transaction.
2020-06-07 10:37:55 -03:00
Matthew Chen
9a19a5c18a
Respond to CR.
2020-05-11 10:34:16 -03:00
Matthew Chen
f8b9b209ff
Respond to CR.
2020-05-11 10:19:52 -03:00
Matthew Chen
5d8f3513a1
Add TSIncomingMessageBuilder.
2020-05-11 09:28:13 -03:00
Nora Trapp
f0d7a9cb9c
Add early message handling for delivery receipts, reactions, and delete for everyone
2020-04-16 19:44:45 -07:00
Matthew Chen
ee3db29c93
Revert to old DM "become consistent" behavior for sync transcripts.
2020-03-20 20:04:42 -03:00
Matthew Chen
e216b5a615
Integrate group updates and disappearing message configuration updates.
2020-02-21 13:05:20 -03:00
Michael Kirk
f198d9037d
Merge tag '3.5.0.5'
2020-02-19 19:26:05 -07:00
Nora Trapp
ac35c96f21
Don't download attachments when there's a pending message request.
2020-02-17 18:38:57 -08:00
Michael Kirk
c62205cb75
remove sticker feature flags
2020-02-12 15:19:56 -07:00
Matthew Chen
00508fb18b
Respond to CR.
2020-02-12 15:36:31 -03:00
Matthew Chen
7c0077cf48
Modify sync transcript processing to handle messages in v2 groups.
2020-02-12 15:36:31 -03:00
Matthew Chen
17f32b1fbe
Respond to CR.
2020-02-06 10:26:02 -03:00
Matthew Chen
596e78c7c5
Add additional recipients for v2 group updates.
2020-02-06 10:26:02 -03:00
Matthew Chen
bc0359268e
Rework outgoing messages; embed change protos in outgoing change messages for groups v2.
2020-01-27 11:47:44 -03:00