Commit Graph

1252 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 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 440ad70d79 Allow submitting a debug log during registration. 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 15b4517e35 Prevent restoring newer backups into older versions of Signal.
Relates to #8184
6 years ago
Greyson Parrelli e840dc6687 Move notification preferences back in-app for O+.
Fixes #8147
6 years ago
Greyson Parrelli 96c39ec100 Updated language translations. 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 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 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 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 b79748bbb1 Change lock status channel name to 'lock status'. 6 years ago
Greyson Parrelli eabaead700 Revert "Fingerprint unlock UX improvements"
This reverts commit 8441ac4091.

Fixes #8106
6 years ago
art1fa 8441ac4091 Fingerprint unlock UX improvements 6 years ago
Greyson Parrelli 13c72779af Visually note quotes for messages you don't have.
We will now show a small footer under quotes for messages that you
don't have locally.

Also fixes #7850
6 years ago
Greyson Parrelli 4d565990c9 Add drop shadow under attachment drawer. 6 years ago
Greyson Parrelli 5cdf5499d0 Clean up shortcut code. 6 years ago
Leonard Ehrenfried c3c44e324b Allow users to add conversation shortcuts to the home screen. 6 years ago
Greyson Parrelli c7da83a702 Show attachment button while composing text.
Previously, we'd only show the attachment button when the user had
yet to enter any text. To add an attachment after text was entered,
you'd have to go to the three-dot menu. Now we just show a little
attach button in the text area.

I also took the opportunity to clean up other button paddings and
stuff in the compose area so things look better and react to text
sizes more predictably.
6 years ago
Greyson Parrelli dbd42c4af2 Add notification channel support.
Bucket our notifications into channels. Required to target API 26.
6 years ago
Greyson Parrelli b7d83c7a1f Make libpaste a source dependency. 6 years ago
Greyson Parrelli 76428bd19b Fix issue with author names getting cut off. 6 years ago
art1fa faea8fd2ec Apply message bubble paddings to both top and bottom
Batch selecting messages now feels better. Fixes #8035.
6 years ago
Greyson Parrelli 1e895e960f Fix various padding and alignment issues. 6 years ago
Greyson Parrelli 44856ca8cd Updated language translations. 6 years ago
Greyson Parrelli d5a9efa96a Reduce letter spacing on Preview text. 6 years ago
Greyson Parrelli d5753bc306 Fix spacing issue between short clustered group chats.
For short messages in a cluster, the contact photo was sometimes taller
than the actual bubble, leading to extra weird space. So instead we use
a container to hold the width of the cell, and set the avatar to be GONE
instead of INVISIBLE.
6 years ago
Christian Ascheberg 0bb44f2034 Improve disappearing message time strings
Fixes #7501
6 years ago
Greyson Parrelli 6a1fd8b1c6 Increase difference between read/unread conversations in list.
Updating to match the design.
6 years ago
Greyson Parrelli f82b2c0d3f Prevent author name from making media messages too wide.
The media size traditionally determines the bubble size, but the author
could make it wider, which would lead to rendering issues. In the case
of media attachments (images, videos, and shared contacts), we restrict
the width of the author name. When there's a number+profile name combo,
we split the space 50/50 between the two.
6 years ago
Greyson Parrelli 6a090bd5f1 Some visual tweak fixes.
- Use correct color action bar in contact name edit activity.
- Fix compose text height to match send button height.
6 years ago
Greyson Parrelli 6fd10042fb Move expiration timer to be next to the date. 6 years ago
Greyson Parrelli aa25f39fe9 Fix footer icon tints. 6 years ago
Greyson Parrelli 860047c2d3 Remove CornerMaskingView. 6 years ago
Greyson Parrelli d303a88803 Fix quote dismiss button not showing up.
Fixes #8006
6 years ago
Greyson Parrelli 8f551c8b32 Fix various redesign issues with Android 4.x.
In particular, there were many issues with drawing corners.
Unfortunately, there's no pretty way to get masking working on every
Android version, so we have to switch back to using custom backgrounds
and then using multiple masking methods depending on Android version.

Also, I had to remove attr references in drawables. They crash on 4.x.
6 years ago
Jonathan Fung 85d963047e Adding a long press icon description for the Search icon
Fixes #7836
6 years ago
Greyson Parrelli 99f7133afe Updated language translations. 6 years ago
Greyson Parrelli 1c023b5218 Remove unused resources. 6 years ago
RiseT 7960a5785d Export some strings from shared contact details activity 6 years ago
Greyson Parrelli 8579c30909 Styling improvements and code cleanup. 6 years ago
Greyson Parrelli 24b062d8dd Improve the look of message bubbles. 6 years ago
Greyson Parrelli 7cfcb62c25 Added colors and styles. 6 years ago
Greyson Parrelli e3bf91b99b Get rid of old references to @drawable/icon.
Fixes #7957
6 years ago
Greyson Parrelli f074c7e5b7 Fixed FAB sometimes blocking shared contact toggle.
Fixes #7968
6 years ago
Greyson Parrelli 84e2fcad54 Update UI of toggling shared contact photo. 6 years ago
Greyson Parrelli 6ce8516b93 Make contact photos optional when sharing contacts.
Previously, if you had a contact photo for a user, we'd always send it
Now you can choose whether or not it is sent.
6 years ago
RiseT e75822c6fd Remove unused strings
- Removed unused strings
- Removed some obsolete header comments
- Removed some whitespace
6 years ago
RiseT 6a465e6589 Update locales per 2018-06-23
Translation completion >= 90%, with the exception of Irish (80%), but they've been waiting for a rather long time.

Added:
- Irish
- Kurdish
- Telugu
- Ukrainian
6 years ago