Commit Graph

91 Commits

Author SHA1 Message Date
Nora Trapp
a365b45522 Add support for viewed receipts 2021-04-29 18:01:18 -07:00
Michelle Linington
054c7a0b0c MP4 looping media support
- Fetch mp4s from Giphy for showing previews
- Fetch mp4s from Giphy for sending (behind featuree flag)
- A new flag on attachments to tag a video as "looping media"
- Videos tagged with this flag will be shown on repeat
2021-04-22 14:53:47 -07:00
Matthew Chen
24802f75bd Sign public payment address. 2021-04-06 13:57:10 -03:00
Matthew Chen
3ddeb4fae0 Reduce size of payment sync messages, enforce more model invariants, fill in missing ledger block timestamps in reconciliation. 2021-04-06 13:57:08 -03:00
Matthew Chen
94bcff84e7 Defragmentation. 2021-04-06 13:57:07 -03:00
Matthew Chen
87ace3779d Respond to CR and proto schema/reconciliation review. 2021-04-06 13:57:06 -03:00
Matthew Chen
2d0fdff372 Payments: Update proto schema. 2021-04-06 13:57:06 -03:00
Matthew Chen
111338b59d Rewrite conversation view. 2020-12-10 12:44:13 -03:00
Michelle Linington
8998b1e767 Add eraId to GroupCallUpdate messages
By including eraId in GroupCallUpdate messages, we're able to identify
separate group calls after the fact. Each unique eraId will result in a
new entry in the database, even if the group call has since ended.
2020-11-24 20:59:37 -08:00
Matthew Chen
62723c9b64 Update service protos. 2020-11-24 13:49:08 -03:00
Michelle Linington
2054d49f91 Add GroupCallUpdate proto definition 2020-11-19 16:02:22 -08:00
Nora Trapp
723ea9c95f Allow RingRTC to send/receive opaque call messages 2020-11-05 12:25:49 -08:00
Nora Trapp
898155b794 Merge branch 'release/3.16.0' 2020-09-03 18:56:52 -07:00
Michelle Linington
be9b96bf4b PR Feedback: align proto definition 2020-09-03 18:19:20 -07:00
Michelle Linington
1405e46e62 IOS-823: Add description/date to link preview model
Updates the proto definition to add a preview description and date
field. Date and description metadata from fetched content will be sent
over the wire. We can't render it locally yet, but at least this will
allow supporting recipients to display the content.

Also, made some minor changes to HTMLMetadata to better handle article
publish/modified date tags.
2020-09-03 18:19:20 -07:00
Matthew Chen
7a25466287 Update proto schema for animated stickers. 2020-09-02 13:44:12 -03:00
Michelle Linington
d20011aeb8 IOS-791: Megaphone for updated link previews
This change:
- Disables link previews on upgrade
- Introduces a new megaphone to prompt users to re-enable link previews
- Updates sync message proto to add a v2 link previews flag
2020-08-26 16:44:51 -07:00
Nora Trapp
9696671f8a Add trustLevel to SignalServiceAddress 2020-08-05 14:36:43 -07:00
Nora Trapp
ecdc9b63c1 Mention protos 2020-07-30 11:23:45 -07:00
Matthew Chen
a5697ec16f Update Cocoapods. 2020-07-30 09:22:21 -03:00
Jim Gustafson
e052054592 Update protobufs for opaque and adjust APIs 2020-07-29 14:09:34 -03:00
Nora Trapp
a4673cc86a Fix group v1 membership for desktop 2020-07-27 11:38:12 -07:00
Nora Trapp
05d6b57616 Render memoji, bitmoji, etc. as stickers 2020-07-06 11:43:35 -07:00
Nora Trapp
1a8fb3b2e6 Update protos with need permission hangup type 2020-07-06 11:41:28 -07:00
Jim Gustafson
e2fc8bc47f Add minor changes to protocol buffer definition 2020-05-08 15:50:50 -07:00
Jim Gustafson
6806bd4d9f Adjust protocol definitions
Added a new field destinationDeviceId to the protocol buffer for
CallMessage.

Added supporting logic of setting it when sending.

Added a catch when receiving: If the field is defined, then use it
and check the local deviceId and if not a match, drop the message
since it is not for this device.

Changed naming to be more explicit.

Removed the FeatureLevel definition from the protocol since proto enums
won't be backwards compatible if updated. Instead, adding boolean flags
instead. For this release, the feature supported is multi-ring, so a
multiRing flag is defined instead of a feature level.

The supportsMultiRing value is persisted through to RingRTC. There is
no more need to translate between the enumerations anymore.

Added prefix naming for proto enums since the namespace is shared.

Removed defaults since they are already the desired default values.

When sending messages, using a nullable unsigned integer type instead
of a flag and value pair. This simplifies the function calls, although
some NSNumber extensions were required on the Swift side.
2020-05-08 15:50:49 -07:00
Jim Gustafson
60e619562e Update protocol buffer and behavior for multi-ring
Add type for Hangup messages, to reflect either normal hangup or hangup
because the call was accepted elsewhere.

Add type to Offer messages, which is used to indicate the type of call
that is being originated, either an audio call (the same as all legacy
calls) or a video call.

Add level for all messages, which is used to filter feature support,
either legacy or multi-ring behavior.

If the feature level for the Call Message is detected as legacy, AND if
the device is NOT the primary, drop the incoming Call Message.

Always mark outgoing Call Messages as multi-ring capable.

Adjust RingRTC interfaces to support:
- Call Media Type (default is always audioCall for now)
- The Hangup Type, which can be either normal (i.e. regular hangup) or
  accepted, replacing the removed Accepted message.

Hangups can now be sent out as a legacy messages or new messages. The
format is the same so that legacy clients will ignore 'new' hangups
sent to squelch ringing if they were actually the 'winner'.

Passing information for receivedOffer and receivedAnswer APIs to
indicate if the sender is a legacy sender or not. Legacy here means
someone using the protocol before the FeatureLevel was added to the
prototol for Call Messages.

Passing information to receivedOffer to indicate if the local device
is primary or not. As a result, if the device is receiving the offer
from a legacy device and is non-primary, the offer shall be ignored.
In this case, a new event is fired:

endedIgnoreCallsFromNonMultiringCallers

Co-authored-by: Michael Kirk <michael@signal.org>
2020-05-08 15:50:49 -07:00
Ehren Kret
510a32b98a Enable receiving attachments on CDN 2 2020-04-14 08:54:06 -07:00
Nora Trapp
36bf106730 Proto changes 2020-04-13 12:48:28 -07:00
Ehren Kret
4738201be1 Add CDN key and number to AttachmentPointer proto message 2020-04-09 12:47:23 -07:00
Matthew Chen
74ae71002d Add expiration to attachment pointer protos. 2020-04-02 13:39:01 -03:00
Nora Trapp
153f8cadc0 Add block+delete message request action. 2020-02-21 16:57:38 -08:00
Nora Trapp
e7591df991 Sync message request response 2020-02-20 17:06:24 -08:00
Nora Trapp
87e6cb3d41 Keys sync message protos 2019-11-19 18:06:18 -08:00
Nora Trapp
29059328e0 Reaction protos 2019-11-14 13:24:55 -08:00
Matthew Chen
7d00f55434 Update service proto schema for groups v2. 2019-11-14 10:31:50 -03:00
Michael Kirk
d86b0f82f3 update proto 2019-11-06 21:24:53 -07:00
Nora Trapp
235b1aa377 Update protos 2019-11-04 13:01:20 -08:00
Matthew Chen
3389e96b93 Add blurhash to attachment protos. 2019-10-08 09:17:27 -03:00
Matthew Chen
fc77b0fa2d Merge remote-tracking branch 'private/release/2.44.0' 2019-09-27 11:31:22 -03:00
Michael Kirk
20c39a4f36 view-once video proto 2019-09-26 12:39:26 -07:00
Matthew Chen
7eda1b88ba Fix proto formatting. 2019-08-09 21:06:06 -03:00
Matthew Chen
eccfad0f46 Merge remote-tracking branch 'private/release/2.41.0' 2019-08-06 12:12:39 -03:00
Matthew Chen
4f03f969fc Rework "view once" messages. 2019-08-01 16:13:37 -03:00
Matthew Chen
1e811c7a2c Make sticker pack proto parsing robust to nil emoji strings. 2019-07-31 18:35:45 -03:00
Nora Trapp
56377e6cd7 protos 2019-07-10 13:31:03 -07:00
Nora Trapp
dfc79163e0 Update protos for group UUID membership 2019-07-10 13:27:36 -07:00
Nora Trapp
74734ba6f4 Proto updates 2019-07-08 11:44:39 -07:00
Nora Trapp
9527efebe2 Update protos 2019-07-02 18:33:14 -07:00
Nora Trapp
7b7a6de02e Update protos for blocked sync message 2019-07-02 11:19:50 -07:00