Commit Graph

3754 Commits (45c4eafbd79f3ba4234854d6fbd73c2593be0c9b)
 

Author SHA1 Message Date
Greyson Parrelli 45c4eafbd7 Add the ability to block groups.
This also fixes the situation where we block group-leave messages,
preventing blocked contacts from leaving groups.

Fixes #7970

Also, this forced us to upgrade libsignal-service, which fixes the
websocket timeout issues. Thanks to @dpapavas!

Fixes #6644
6 years ago
Greyson Parrelli 741b775d3e Ensure external camera blob is deleted. 6 years ago
Greyson Parrelli e09c99102e Clear Glide disk cache after image deletion. 6 years ago
Greyson Parrelli 1d4020ffc6 Disable forwarding for shared contacts.
Forwarding of shared contacts currently just creates an empty draft.
You can't preview a shared contact before you send, which would make the
forwarding flow inconsistent across media types. So it's easier to just
hide it for now.

Fixes #8195
6 years ago
Greyson Parrelli 5d11e321a8 Fix setting global notification sound to 'None'.
Fixes #8206
6 years ago
Greyson Parrelli 9dd3e50ebd Don't set subscriptionId for quick-reply push messages.
This could cause us to think push messages were actually sent with
a SIM. We also now prevent rendering SIM info on push messages in
the conversation view.

Fixes #8176
6 years ago
Greyson Parrelli ad7dd7584e Fixed document display in media overview in dark theme.
Shoutout to @aleb2000 for working on this as well!

Fixes #8151
6 years ago
Greyson Parrelli c1a827f6d4 Update WebRTC to M69. 6 years ago
Greyson Parrelli 440ad70d79 Allow submitting a debug log during registration. 6 years ago
Greyson Parrelli a1b2887bf3 Fixed off-by-one crash when navigating to message from FTS.
Related to #8145
6 years ago
Greyson Parrelli da60cac833 Fix PersistentBlobProvider problems with external storage.
If the user has an external SD card set as their default storage
(notably on a Huawei device, like the Huawei Mate 10 Lite), then
PersistentBlobProvider will try to write a file to the SD card, but
would fail to generate a URI for it due to us missing a line in our
FileProvider setup. This just adds that missing entry.

Special thanks to @aleb2000 for digging into this!

Fixes #8144
Fixes #7726
6 years ago
Greyson Parrelli db9bfb4b2f Update ExoPlayer to 2.8.4 6 years ago
Greyson Parrelli c3bdc48ee3 Create placeholder ContentProviders for database observations.
Required for the API 26 migration.

See https://developer.android.com/about/versions/oreo/android-8.0-changes#ccn
6 years ago
Greyson Parrelli 1c75f375c3 Bump version to 4.25.10 6 years ago
Greyson Parrelli 7c5e1db6a2 Fix NPE in MultiDeviceContactUpdateJob.
Fixes #8180
6 years ago
Greyson Parrelli 82c0ea792a Fix animation crash.
Shoutout to @bomba1990 for fixing this around the same time as me :)

Fixes #8182
6 years ago
Greyson Parrelli 70eecb754e Address bugs in notification channel backup restore. 6 years ago
Greyson Parrelli ad036b0d6a Fix backup restore issues from restoring newer Signal backups.
Fixes #8184
6 years ago
Greyson Parrelli 15b4517e35 Prevent restoring newer backups into older versions of Signal.
Relates to #8184
6 years ago
Greyson Parrelli d2a8abe769 Bump version to 4.25.9 6 years ago
Greyson Parrelli 8d43fb850d Make group notifications use the latest sender's ringtone. 6 years ago
Greyson Parrelli 11d34512a0 Fix double notifications in O+. 6 years ago
Greyson Parrelli 604e5d788e Bump version to 4.25.8 6 years ago
Greyson Parrelli 73b18fc1dd Fix NotificationChannel backup import.
We were recreating the channels before the database upgrade. We
have to do it after.

Fixes #8174
6 years ago
Greyson Parrelli d9ba6962c7 Fixed NPE during channel update. 6 years ago
Greyson Parrelli 5cc91274d1 Bump version to 4.25.7 6 years ago
Greyson Parrelli 3da1a3e270 Restore notification channels after backup. 6 years ago
Greyson Parrelli e840dc6687 Move notification preferences back in-app for O+.
Fixes #8147
6 years ago
Greyson Parrelli 3f9ddaf409 Update the Android Transifex links in CONTRIBUTING.md. 6 years ago
Joshua Lund 005188735a Update the Transifex links in CONTRIBUTING.md. 6 years ago
Greyson Parrelli a6e4114151 Bump version to 4.25.6 6 years ago
Greyson Parrelli 5d91a94252 Fix shortcut images being too large.
We were hitting the transaction limit size. This change scales down
shortcut icons to be at most 300x300, which comes out to ~360kb, which
should be safely under the limit of 1mb.

Fixes #8139
6 years ago
Greyson Parrelli 25db207e24 Bump version to 4.25.5 6 years ago
Greyson Parrelli ab58eab9f4 Fix potential crash with recipient preferences. 6 years ago
Greyson Parrelli 96c39ec100 Updated language translations. 6 years ago
Greyson Parrelli c5309ce11e Bump version to 4.25.4 6 years ago
Greyson Parrelli cedab7f504 Fix migration of group names when creating Notification Channels. 6 years ago
Greyson Parrelli ca2efcac8a Added safeguards during NotificationChannel creation.
We were getting an IllegalArgumentException during channel creation on
some Samsung phones. Stack trace didn't give me much more than that, so
just adding in some additional safeguards that make sense based on
reading AOSP.
6 years ago
Greyson Parrelli f1efe2b589 Use correct in-thread message tone on O+.
We manually play the ringtone when in-thread notifications are enabled,
but we weren't using the sound specified by the channel in the system
settings. This fixes that problem by reading the NotificationChannel
setting.
6 years ago
Greyson Parrelli 54715e9c43 Bump version to 4.25.3 6 years ago
Greyson Parrelli e1f8e87327 Fix log submission OOM, improve log scrolling.
We were getting a TransactionTooLargeException when giving an
EditText a very large (1.5MB+) text block. This has been resolved
by switching to a RecyclerView to show the text line-by-line. As a
side-effect, this improves scroll performance on lower-end devices.

Also, I added a button to jump to the bottom of the log because I
really wanted one :)

Fixes #8124
6 years ago
Greyson Parrelli 88d94cad92 Substantially improve Scrubber performance.
Previously, we were making a new copy of the entire source string after
every scrubbed substitution. In the case of our new, larger log files,
this was very slow. It's been changed so we only ever create one new
copy.

In practice, on a Moto E (2014), scrubbing a 1.5MB log went from
>4000ms to ~100ms.
6 years ago
Greyson Parrelli 7370bbacea Fix inline animation toggle initial transition.
Fixes #8116
6 years ago
Greyson Parrelli e9b85a10a6 Add per-contact notification channels.
Fixes #8119
Fixes #8121
Fixes #8122
6 years ago
Greyson Parrelli e23fd9d491 Bump version to 4.25.2 6 years ago
Greyson Parrelli c49b0348bd Add failsafe for invalid shortcuts.
Some launchers may create broken shortcuts, so we just want to have
a smooth fallback in that scenario.

Fixes #8109
6 years ago
Greyson Parrelli 3c6b8bcf9b Hide inline attachment button when attachment present. 6 years ago
Greyson Parrelli a6473bc922 Link priority setting to message channel setting on Oreo+
When using notification channels, us setting priority actually has
no effect. So instead of having a non-functional setting, we've
routed the notification priority setting to go to the system
notification channel settings page for our Messages channel.
6 years ago
Greyson Parrelli 10a790df88 Fix notifications triggering too often. 6 years ago
Greyson Parrelli b79748bbb1 Change lock status channel name to 'lock status'. 6 years ago