Commit Graph

374 Commits (48ff9673b925a9cd74b026b74aa885770a422f82)

Author SHA1 Message Date
Greyson Parrelli 48ff9673b9 Allow the selection of fitzpatrick emoji. 7 years ago
Greyson Parrelli 1999d09901 Updated emoji set.
Includes display support for more genders, and more notably, skin tones.
These are not currently selectable in the UI, but they will be rendered
properly when other clients send them.
7 years ago
Greyson Parrelli 7cadb0d35a Properly set the document download icon tint. 7 years ago
Greyson Parrelli 710fa4a6f0 Switch the conversation color back to incoming messages. 7 years ago
Greyson Parrelli 5eec3c9541 Add hairline border to avatars. 7 years ago
Greyson Parrelli f725dd5a7e Show profile avatar in toolbar. 7 years ago
Greyson Parrelli 127505af0b Implement new color palette. 7 years ago
Greyson Parrelli 2f530dc970 Remove CameraView usage of JobManager.
WorkManager flat-out can't handle anonymous implementations of Worker
classes due to it using reflection to instantiate them.
7 years ago
Greyson Parrelli 87e6aa48bb Schedule jobs with WorkManager.
Should help solve most of our pressing targetSdk=26 migration issues.
7 years ago
Greyson Parrelli 84c71fce16 Disable tab switching in media overview during multiselect.
Multiselect only applies to items in the "media" tab, so people
shouldn't be able to switch tabs during multiselect.
7 years ago
Greyson Parrelli 08ace15f95 Implemented new camera capture flow.
A new, fullscreen camera capture flow that easily allows you to capture
and edit a photo before sending it. Replaces the current half-screen
camera button.
7 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
7 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
7 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.
7 years ago
Greyson Parrelli d0db6aa509 Added more logging around message sending and attachment downloads. 7 years ago
Greyson Parrelli 43068e0613 Reduce usage of Log.w() 7 years ago
Greyson Parrelli a498176043 Switch logs to use new Log class. 7 years ago
Greyson Parrelli 79830049c4 Fix emoji vertical positioning.
Fixes #8023
7 years ago
Greyson Parrelli a3115c14ac Use proper target for Glide bitmap requests.
Fixes #8042
7 years ago
Greyson Parrelli 67190774cc Jump to the oldest unread message after loading a draft. 7 years ago
Greyson Parrelli 214658b99e Fix recording not resetting properly after a send on older API's.
Apparently onAnimationEnd is not a reliable event on some Android
versions, so I've moved to instead using a simple postDelayed() that is
the same length as the animation.
7 years ago
Greyson Parrelli c9bb3dd469 Remove now-unnecessary thumbnail onMeasure(). 7 years ago
Greyson Parrelli aa25f39fe9 Fix footer icon tints. 7 years ago
Greyson Parrelli 860047c2d3 Remove CornerMaskingView. 7 years ago
Greyson Parrelli d0eaee60e9 Add additional safeguards for picking an expiration timer frame.
Fixes #8010
7 years ago
Greyson Parrelli d303a88803 Fix quote dismiss button not showing up.
Fixes #8006
7 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.
7 years ago
Greyson Parrelli 8579c30909 Styling improvements and code cleanup. 7 years ago
Greyson Parrelli 24b062d8dd Improve the look of message bubbles. 7 years ago
Greyson Parrelli 42f1baaf61 Imported JobManager as a source dependency.
We have to make some changes, and it's gotten to the point where
maintaining it as a separate library is more hassle than it's worth,
especially with Google releasing WorkManager as the preferred job
scheduling library.
7 years ago
Greyson Parrelli 2c17b54ef9 Show a banner in the event of a service outage.
We will now determine if there has been a service outage and render a
banner at the top of the conversation list if we detect that there has
been one.
7 years ago
Greyson Parrelli 3731e2a74a Fix jumbomoji rendering and EmojiTextView resizing.
Fixed an issue where jumbomoji were not properly being rendered
when using system emoji. Also fixed an issue where the text
content wasn't properly being recalculated when the view is
resized.

Fixes #7875
7 years ago
Greyson Parrelli f0e5aa312e Allow EmojiTextView to redraw after changing emoji setting.
Also just fixed some minor formatting issues.
7 years ago
Greyson Parrelli ceafb0d130 Reduce emoji flickering and other ellipsize woes.
1. Switch to using default text rendering if there's no emoji present in
the string.

2. Reduce redudant redraws by skipping of setText() calls for identical
strings.

Together, these two changes should reduce the vast majority of
flickering we see with EmojiTextView ellipsizing.
7 years ago
Greyson Parrelli a792a6e6ae Fixed ThumbnailView sizing problems.
Glide will use the dimensions of the target ImageView as the dimensions
for the image it's loading. This caused problems in the case of
ThumbnailView, as we were constantly changing the ImageView dimensions,
meaning Glide may not have the most recent values (it may be called in
between measure calls, for instance).

To solve this, we now will always override the default image dimensions
when we load an image. If no dimensions are present, we will default to
the layout_width and layout_height of the ThumbnailView.

Fixes #7810
7 years ago
Greyson Parrelli 0449647cf9 Implemented full-text search.
You can now use the search bar on the conversation list to find
conversations, messages, and contacts.
7 years ago
Greyson Parrelli 54dbffaf30 Added ability to share contacts.
The "contact" option in the attachments tray now brings you through an
optimized contact sharing flow, allowing you to select specific fields
to share. The contact is then presented as a special message type,
allowing you to interact with the card to add the contact to your system
contacts, invite them to signal, initiate a signal message, etc.
7 years ago
Greyson Parrelli ca8fecea9c Clean up camera flipping, handle having missing cameras.
Did a refactor to better organize the camera flipping code. Also, I
wanted to make sure we handle the cases where the user doesn't have two
cameras (or no cameras, for that matter). In these cases, we just don't
show the appropriate buttons.
7 years ago
Niklas Hambüchen f1c79eaebf Add button to flip camera (front vs rear). Fixes #6279 7 years ago
Greyson Parrelli 6fbbc9d078 Render emoji's properly in quote bubbles.
Unfortunately, the change wasn't as simple as just switching to use our
EmojiTextView. That view only supported single-line text. I added
support for multi-line text.

Fixes #7704.
7 years ago
Greyson Parrelli cbe394025d Fix reply-to colors in dark mode to increase contrast.
Fixes #7705
7 years ago
Greyson Parrelli fa99e8f0d0 Updated reply-to UI.
All UI components are now properly styled and functioning according to
spec.
7 years ago
Moxie Marlinspike d567534609 replies 7 years ago
Moxie Marlinspike eb0af13887 Fix location URL encoding
Fixes #7604
7 years ago
Greyson Parrelli ea374735e1 Render images in a conversation true-to-size.
Previously, we were always rendering images as squares. Instead of doing
that, we now render them as close to true-to-size as possible (within
reasonable min/max width/height boundaries).
7 years ago
Moxie Marlinspike 95d76638dc Simple encrypted glide disk cache 7 years ago
Moxie Marlinspike d6610f0dd0 Add profile avatars to backup
Fixes #7450
7 years ago
Moxie Marlinspike 43d7e99a50 Don't offer backup restore on reregistration
Fixes #7502
7 years ago
平民·寻梦(Pingmin Fenlly Liu) cc288d1e43 Just update to the new repo path "github.com/signalapp"
Closes #7469
7 years ago
Andrew Gaul 10c1ee70e8 Make some inner classes static
Closes #7370
7 years ago