Commit Graph

533 Commits (08ace15f95d5d1b3fb87f97e63118d05235f67a2)

Author SHA1 Message Date
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 ad7dd7584e Fixed document display in media overview in dark theme.
Shoutout to @aleb2000 for working on this as well!

Fixes #8151
7 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
7 years ago
Greyson Parrelli 7370bbacea Fix inline animation toggle initial transition.
Fixes #8116
7 years ago
Greyson Parrelli eabaead700 Revert "Fingerprint unlock UX improvements"
This reverts commit 8441ac4091.

Fixes #8106
7 years ago
art1fa 8441ac4091 Fingerprint unlock UX improvements 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 4d565990c9 Add drop shadow under attachment drawer. 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 b7d83c7a1f Make libpaste a source dependency. 7 years ago
Greyson Parrelli 76428bd19b Fix issue with author names getting cut off. 7 years ago
art1fa faea8fd2ec Apply message bubble paddings to both top and bottom
Batch selecting messages now feels better. Fixes #8035.
7 years ago
Greyson Parrelli 1e895e960f Fix various padding and alignment issues. 7 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.
7 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.
7 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.
7 years ago
Greyson Parrelli 6fd10042fb Move expiration timer to be next to the date. 7 years ago
Greyson Parrelli aa25f39fe9 Fix footer icon tints. 7 years ago
Greyson Parrelli 860047c2d3 Remove CornerMaskingView. 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 1c023b5218 Remove unused resources. 7 years ago
RiseT 7960a5785d Export some strings from shared contact details activity 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 f074c7e5b7 Fixed FAB sometimes blocking shared contact toggle.
Fixes #7968
7 years ago
Greyson Parrelli 84e2fcad54 Update UI of toggling shared contact photo. 7 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.
7 years ago
Greyson Parrelli f72f75ee61 Show a link for privacy policy. 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 0999359454 Improve the image editor.
A variety of improvements to the image editor, such as:

- New, fullscreen styling
- Smoother lines
- Better text and sticker handling
- Improved color picker with a history pallette
- New highlighter tool
7 years ago
Greyson Parrelli 92a64f59a4 Switch search to use the existing header.
Probably best to not try out any possible new design changes just yet.
Let's stick with what we have.
7 years ago
Greyson Parrelli 07e8ae716c Fix EmojiTextView regression.
Using the singleLine attribute will make the TextView report that the
lineCount is always 1, regardless of actual text length. This breaks our
manual ellipsize calculation. Because you can't actually read the
singleLine attribute at runtime, I've switched relevant usages of
singleLine to use maxLines=1 (relevant usages are EmojiTextViews where
singleLine was set and ellipsize was set to 'end').

Fixes #7744
7 years ago
Greyson Parrelli 3a827d1c48 Fix dark theme in search.
Fixed #7821
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 e6c16cf28d Allow editing of contact names.
Took care to properly format CJK names.
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 f580edaf91 Fix voice recording UI when replying to a message.
Just had to relayer some of the views so the recording UI positions
correctly lined up at the bottom.
7 years ago
Greyson Parrelli 63a3b1acb9 Also make author text EmojiTextView. 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
RiseT 29af1669e1 Export strings from registration_call_me_view
Export strings from webrtc_call_screen

Closes #7543
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 4669c45ff7 Perpetuate the original sin of dark theme
Fixes #7614
7 years ago
Moxie Marlinspike e86a9ce7eb Add phone number and direct dial to recipient preferences 7 years ago
Greyson Parrelli 5dc5503896 Fixed 'All Media' toolbar color mismatch.
In landscape, you'd see that the tabs were a different color from the
toolbar. This has been corrected so they're all the same color now.

Fixes #7578
Closes #7579
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
Greyson Parrelli 10e5b24cfd Allow batch deletion of media.
It is now possible to batch-delete media in the "media overview" screen.
You can long press to enter multi-select mode. Then a delete button
appears on the menu bar. After pressing delete, you will get a
confirmation, and if the user confirms, the items will delete while a
progres dialog shows.
7 years ago