Greyson Parrelli
9cf7eec247
Log sent timestamps when hitting message processing errors.
2020-09-24 12:26:18 -04:00
Greyson Parrelli
dc9124f291
Fix crash in RetrieveProfileJob.
2020-09-24 10:46:56 -04:00
Greyson Parrelli
f2b10c0ba8
Always include ourselves in optimistic profile fetches.
2020-09-23 16:54:38 -04:00
Greyson Parrelli
f182be2d79
Inline CDS feature flag.
2020-09-23 16:54:38 -04:00
Greyson Parrelli
41b10630bb
Default to WEBP for sticker contentTypes.
2020-09-23 16:54:38 -04:00
Alan Evans
45915bed90
Inline GV2 feature flag.
2020-09-23 16:54:38 -04:00
Greyson Parrelli
a2c2ab428a
Fallback to profile fetches for unlisted contacts.
2020-09-23 16:54:38 -04:00
Alan Evans
74e94f3a97
Separate capability reads from writes and introduce gv2-2 write flag.
2020-09-23 16:54:38 -04:00
Greyson Parrelli
97b7b4a501
Fix crash when receiving SMS before finishing registration.
...
If someone has set Signal as the default SMS but has cleared data or
otherwise reset the app's storage state, it can get into a weird
situation. Notably, it'll crash because SmsReceiveJob.onRun() expects
Recipient.self() to be available.
However, it also makes it impossible to get the registration SMS,
because the app won't post a notification for the code.
This change will post notifications and SmsRetriever broadcasts for
relevant SMS messages.
2020-09-23 16:54:38 -04:00
Dan
1116502bc0
Add vCard support for received MMS.
2020-09-23 16:54:38 -04:00
Greyson Parrelli
19cc43c442
Add a charging constraint to the backup job.
2020-09-23 16:54:38 -04:00
Greyson Parrelli
9dc33eff3a
Remove thumbnails from the AttachmentDatabase.
...
Glide can do everything for us now, including video thumbnails.
2020-09-23 16:54:38 -04:00
Jim Gustafson
d7ff635445
RingRTC: Update to v2.6.0
...
Co-authored-by: Peter Thatcher <peter@signal.org>
2020-09-23 16:54:38 -04:00
Alan Evans
aff57fb54e
Create the temporary backup file hidden in the final location.
...
Fixes #10003
2020-09-23 16:54:38 -04:00
Greyson Parrelli
e89285a219
Reduce log noise.
2020-09-23 16:54:38 -04:00
Greyson Parrelli
706f43caa8
Remove AttachmentsV3 feature flag.
2020-09-23 16:54:38 -04:00
Greyson Parrelli
d0dfcaaad5
Fix issue with storage key intersections.
...
- When doing the intersection, ignore keys that have type mismatches (same storageId, different types)
- If we detect that scenario, schedule a force push to happen afterwards
- Also schedule a force push afterwards if we detect that there's keys in the manifest that don't have any storage item on the service
2020-09-10 14:01:41 -04:00
Cody Henthorne
867e95eef1
Re-download sticker if backing file data no longer exists.
2020-09-09 11:15:34 -04:00
Alan Evans
2ee04bd1b6
Insert placeholder group on GV2 storage service sync.
2020-09-09 11:59:09 -03:00
Greyson Parrelli
2784285d47
Add support for fetching remote deprecation.
2020-09-08 18:03:56 -04:00
Greyson Parrelli
a870ef0030
Set isRecipientUpdate based on delivery status, not address count.
...
We were setting isRecipientUpdate to `true` incorrectly if there were
unregistered people in the group, resulting in the message not being
rendered on linked devices. Instead of using the address count, we can
just look at the current receipt status of the message.
Fixes #9981
2020-09-08 09:47:57 -04:00
Alan Evans
43ed9e7310
Set discoverable account attribute.
2020-09-08 09:47:57 -04:00
Cody Henthorne
bcd27355f9
Add trim conversations by time option.
2020-09-08 09:47:57 -04:00
Alan Evans
7b24e66ed3
Phone number privacy settings and certificate support behind feature flag.
2020-09-03 20:23:26 -04:00
Greyson Parrelli
2fd46b196b
Show sticker emoji in notification.
2020-09-03 20:23:26 -04:00
Greyson Parrelli
12dfcaf7e7
Log sent timestamp with message sends.
2020-09-03 20:23:26 -04:00
Greyson Parrelli
f4a199f621
Add support for animated stickers.
2020-09-03 20:23:26 -04:00
Greyson Parrelli
4714895c59
Do not attempt to send to unregistered users when using CDS flag.
...
CDS is slow, and unregistered users will always trigger a CDS lookup on
send (since we can't get their UUID).
This starts skipping sends to unregistered users and shortens the time
window to do a full CDS lookup from every 12 hours to every 6 hours.
2020-08-31 11:33:57 -04:00
Alan Evans
e8be1ad752
Handle GV2 sync messages.
2020-08-31 12:07:03 -03:00
Alex Hart
1425b651d4
Update username UX and UI.
2020-08-27 12:12:44 -03:00
Greyson Parrelli
dd8b9ff8fb
Add support for article dates in link previews.
2020-08-26 17:25:54 -03:00
Alan Evans
860f06ec9e
Join group via invite link.
2020-08-26 12:51:25 -03:00
Greyson Parrelli
c78e098cb4
Add support for link preview descriptions.
2020-08-25 16:05:39 -04:00
Greyson Parrelli
f29f25822b
Have DatabaseFactory.getMmsDatabase() return MessageDatabase.
2020-08-24 16:40:47 -04:00
Greyson Parrelli
190ca9eddd
Have DatabaseFactory.getSmsDatabase() return MessageDatabase.
...
Slowly moving towards a single interface.
2020-08-24 11:16:41 -03:00
Alan Evans
09d167c16d
Group link preview and info display bottom sheet.
2020-08-19 16:32:01 -04:00
Greyson Parrelli
ace1b8ee71
Update link preview settings and add some UI polish.
2020-08-14 15:54:05 -04:00
Greyson Parrelli
6e6105af05
Open up link previews to work with all sites.
2020-08-14 15:54:05 -04:00
Greyson Parrelli
5923fa0cd5
Block sends on CDS lookups.
2020-08-06 20:57:50 -04:00
Cody Henthorne
b2d4c5d14b
Add mentions for v2 group chats.
2020-08-06 20:57:50 -04:00
Greyson Parrelli
3664e6f96d
Fix processing of unsupported messages.
2020-08-04 17:37:25 -04:00
Alex Hart
4c30b39e71
Add section to recent reactions page listing emoji already applied to message.
2020-07-30 23:32:19 -04:00
Jim Gustafson
a942293a74
RingRTC v2.4.0 Release Integration.
...
Co-authored-by: Peter Thatcher <peter@signal.org>
2020-07-29 23:43:06 -04:00
Greyson Parrelli
5c110ca359
Remove UUIDs from GV1 membership lists.
2020-07-29 23:19:21 -04:00
Alan Evans
8cb9ab3204
Fetch newly found profiles on Groups V2 inline.
2020-07-28 15:20:20 -04:00
Alan Evans
12533d1414
Ensure profile key is up to date on Group V2 conversation open.
2020-07-28 15:20:20 -04:00
Alan Evans
9c54e39eae
Adjust scope of Groups V2 feature flag.
2020-07-28 15:19:52 -04:00
Alan Evans
f140f054e5
Ignore typing indicators from blocked group members.
2020-07-24 14:31:06 -04:00
Greyson Parrelli
5cd4726e23
Do not show profile name changes if names are visually identical.
...
Fixes #9860
2020-07-24 14:30:58 -04:00
Greyson Parrelli
813c820227
Fix issue with GV1 avatars using attachmentsV3.
2020-07-21 15:31:53 -04:00