Commit Graph

1346 Commits (de60d4d37f2ca432b980cd8740c5a3d83bc80f9d)

Author SHA1 Message Date
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
Greyson Parrelli 3134837d56 Remove plaintext backup import option.
We have our own secure backup solution built into the app now.
No need to support plaintext backups.
6 years ago
unknown 69ea116b2b Updated authenticator icons (Fixes #7908) 6 years ago
Greyson Parrelli 708cd5335d Updated language translations. 6 years ago
Greyson Parrelli 8af076a796 Restore res/values-be/strings.xml 6 years ago
Greyson Parrelli 7fb53edc3c Updated language translations. 6 years ago
Greyson Parrelli f72f75ee61 Show a link for privacy policy. 6 years ago
Greyson Parrelli 20cc6f4d0e Return registration permission string to previous value. 6 years ago
riyapenn-signal b9c337d0b7 Updated for small copy change 6 years ago
riyapenn-signal 3654856be5 Updated strings.xml to include minor copy changes
- Permission prompt to include text about backups
- Updated support email
- Updated domain to signal.org in a link
6 years ago
Greyson Parrelli 4f72f4c649 Remove unused string. 6 years ago
Greyson Parrelli cc1350ba5b Updated language translations. 6 years ago
Greyson Parrelli 542e962be9 Fixed crash when ScribbleView failed to save.
Previously, if an operation failed, we set the result to "null".
However, this was a mistake. Setting the result at all assumes success.
Instead, we need to set an exception so the ListenableFuture knows that
the operation failed.
6 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.
6 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
6 years ago
Greyson Parrelli eed2c6ec4c Added adaptive icon support.
Also moved our non-adaptive app icon into the mipmap folders, which is
where they should be.

Fixes #7607
6 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.
6 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
6 years ago
Greyson Parrelli 3a827d1c48 Fix dark theme in search.
Fixed #7821
6 years ago
Moxie Marlinspike 32b608ff2f Updated language translations 6 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.
6 years ago
Greyson Parrelli e6c16cf28d Allow editing of contact names.
Took care to properly format CJK names.
6 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.
6 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.
6 years ago
Niklas Hambüchen f1c79eaebf Add button to flip camera (front vs rear). Fixes #6279 6 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.
6 years ago
Moxie Marlinspike aa33be6b03 Updated language translations 6 years ago
Greyson Parrelli 43622e603d Save replies in drafts.
Previously, quotes were not saved to drafts, meaning they would be lost
when leaving the conversation or app. Now, a QuoteId (which represents
the necessary data to restore the QuoteModel) is serialized and stored
in the DraftDatabase.

Fixes #7716
Closes #7729
6 years ago
RiseT 7100030c22 Export string conversation_context__menu_reply_to_message
Additionally changed from "Reply" to "Reply to message" as other
related strings are more comprehensive as well.

Closes #7732
6 years ago
Greyson Parrelli 63a3b1acb9 Also make author text EmojiTextView. 6 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.
6 years ago
Greyson Parrelli cbe394025d Fix reply-to colors in dark mode to increase contrast.
Fixes #7705
6 years ago
RiseT 29af1669e1 Export strings from registration_call_me_view
Export strings from webrtc_call_screen

Closes #7543
6 years ago
Nicholas Rizzio e6f76159b0 Export "creating backup" string
Closes #7656
6 years ago
Henning Dodenhof e0603abdd3 Use FileProvider for update file handling
Fixes #7654
Closes #7658
6 years ago
Moxie Marlinspike 8452fc6c58 Correctly avoid displaying about category in groups
Fixes #7702
6 years ago
Moxie Marlinspike 8e2ae6c288 Updated language translations 6 years ago
Greyson Parrelli fa99e8f0d0 Updated reply-to UI.
All UI components are now properly styled and functioning according to
spec.
6 years ago
Moxie Marlinspike d567534609 replies 6 years ago
Moxie Marlinspike 4669c45ff7 Perpetuate the original sin of dark theme
Fixes #7614
6 years ago
Moxie Marlinspike e86a9ce7eb Add phone number and direct dial to recipient preferences 6 years ago
Moxie Marlinspike 8da8867bac Update language translations 6 years ago
Moxie Marlinspike 90f2398219 Updated language translations 6 years ago
Greyson Parrelli 18039bc3f4 Show groups when searching for contacts.
Currently, if you're searching for a contact to start a conversation
with or send a share to (via the Android sharing system), groups do not
appear. With this change, groups will now appear when searching, located
under their own  heading.

Fixes #7202.
Closes #7577
6 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
6 years ago
Greyson Parrelli a573ab7c76 Setup alternate domain front.
In preparation for Google shutting down domain fronting.

Closes #7584
6 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).
6 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.
6 years ago
Greyson Parrelli 0c768a24e4 Allow deletion of media through preview.
When viewing a media in the media preview, you can delete it by pressing
a delete button on the action bar. It will then ask you to confirm your
choice. If you confirm, it will delete the attachment from the database
and from disk. If it was the only attachment for that message, the
message itself will also be deleted.
6 years ago
Moxie Marlinspike aff65abe91 Hide keyboard after backup passphrase entered
Fixes #7508
6 years ago
平民·寻梦(Pingmin Fenlly Liu) cc288d1e43 Just update to the new repo path "github.com/signalapp"
Closes #7469
6 years ago
FeuRenard 150601c51e Replace '1' with '%d' in plural strings
Fixes #7470
Closes #7471
6 years ago
RiseT 375ebeb661 Update Transifex locales as per 2018-03-01
Remove:
- Kannada

Add (>= 90% of strings translated):
- Burmese
- Galician
- Khmer
- Lithuanian
- Thai

Closes #7490
6 years ago
Moxie Marlinspike c8dd62cecf Make it possible to set a zero value for screen lock timeout
Fixes #7485
6 years ago
Moxie Marlinspike b39820dcb6 Clarify Registration Lock reminder
Fixes #7484
6 years ago
Moxie Marlinspike 1a24885110 Fix issue "home button" issue with screen lock
Fixes #7475
6 years ago
Moxie Marlinspike 46e5d64857 Updated language translations 6 years ago
Moxie Marlinspike 9c63c6045d Export string 6 years ago
Moxie Marlinspike 3c0bbfe6f0 s/External Storage/Storage 6 years ago
FeuRenard 0efda2df91 Make toast after saving attachment translatable
Closes #7374
6 years ago
art1fa 4bdb2acd29 Batch selection mode improvements
Simplified and now the same for conversation and conversation list.

Added also some styling.

Closes #7410
6 years ago
Moxie Marlinspike 56c95d1d1b Extract string resource 6 years ago
Moxie Marlinspike d44bfc3ce3 s/password/passphrase 6 years ago
Moxie Marlinspike 2beb1dd8d9 Layout adjustments 6 years ago
art1fa feee09cd28 Fix color in toolbars 6 years ago
art1fa 6dd8300c73 Add standard elevation to Toolbars 6 years ago
art1fa 4281097828 Decrease back button padding / margin 6 years ago
art1fa 1e62934220 Reduce avatar size in ConversationView 6 years ago
Moxie Marlinspike 110d33ddf8 Support for Registration Lock PINs 6 years ago
Moxie Marlinspike d28dc670ea Migrate to Android fingerprints and auth for Signal screen lock 6 years ago
Moxie Marlinspike 24e573e537 Support for full backup/restore to sdcard 6 years ago
Moxie Marlinspike 71c7ef5b5e Support for custom call ringtone selection and per-chat ringtones 6 years ago
Moxie Marlinspike 43bb1d2290 Updated language translations 7 years ago
Moxie Marlinspike 7318236286 Delay processing SMS messages until after sqlcipher migration
When screen lock passphrase is enabled

Fixes #7390
7 years ago
Moxie Marlinspike 9d5d43cf3a Wait to process messages until after migration when screenlocked
Fixes #7390
7 years ago
Moxie Marlinspike e6a069af6d Remove unnecessary body model 7 years ago
Moxie Marlinspike 23aee53c7d Add determinte progress and foreground service for sqlcipher migration 7 years ago
Moxie Marlinspike 0403cbfd65 Updated language translations 7 years ago
Moxie Marlinspike bc64230a65 Switch to HackyViewPager for media preview
Fixes #7344
Fixes #7335
7 years ago
Moxie Marlinspike 94e2b9e66e Make video player in media player control a view stub 7 years ago
Moxie Marlinspike 97244e8624 Updated language translations 7 years ago
Moxie Marlinspike 8bba45f396 Add swipe gestures to media view
Fixes #2355
Closes #6632
7 years ago
Moxie Marlinspike 34424a9b3e Fix crash when signal messages disabled in group conversation
Fixes #6419
Closes #6803
7 years ago
vpo 05daa71977 Adjust permission request dialog colors in dark theme
Fixes #7252
Closes #7292
7 years ago
Moxie Marlinspike feaea32cdd Updated language translations 7 years ago
Moxie Marlinspike 0ec1ae4ed3 Request needed permissions for thread search 7 years ago
Moxie Marlinspike f315b1db80 Make save attachment task toast location instead of snackbar 7 years ago
Moxie Marlinspike 37092eee01 Externalize strings 7 years ago
Moxie Marlinspike bf70f830f3 Update language translations 7 years ago
Moxie Marlinspike 27d3dc918e s/External Storage/Storage 7 years ago
Moxie Marlinspike 23e9b3a61e Fix colors in all images toolbar
Fixes #7242
7 years ago
Moxie Marlinspike 27e11e9627 Make sure we have SEND_SMS permission before sending an SMS
Fixes #7246
7 years ago
Moxie Marlinspike 53e87562c1 Updated language translations 7 years ago
Moxie Marlinspike 3523952ef9 As of 'N' we can no longer offer external ringtone selection
1. Replace custom ringtone picker with system Intent, since we
   don't need it anymore. Fixes #7174

2. Make sure 'silent' ringtone selection is stored appropriately
   Fixes #7115 Closes #7141

3. Replace any existing file:// notification URIs with the system
   default Fixes #7234
7 years ago
Moxie Marlinspike 4cb2ac7b27 Use FileProvider for external camera capture Uri on L+
Fixes #7237
7 years ago
Moxie Marlinspike 81c7cb1a87 Updated language translations 7 years ago
Moxie Marlinspike 6f10de5e30 Fix trying to launch a dialog from an application context 7 years ago
Moxie Marlinspike 0dbcb1a49b Support for adaptive icons
Closes #6887
Fixes #6511
7 years ago
Moxie Marlinspike e7a9893e94 Fix string typo 7 years ago
Moxie Marlinspike acfc9d75e0 Use startForegroundService instead of startService on Android 8 7 years ago
Moxie Marlinspike c2dbb34b25 Extract string resource 7 years ago
Moxie Marlinspike 64c8b4b2ef Support for selective permissions 7 years ago
Moxie Marlinspike 886298674e Adjust inbox zero empty state 7 years ago
Moxie Marlinspike e9a82502b9 Fix up converstion list empty state look 7 years ago
Moxie Marlinspike 1ea913cea6 Updated language translations 7 years ago
Moxie Marlinspike 9004474748 Updated language translations 7 years ago
Moxie Marlinspike 19d49ed281 Add slight drop shadow to slide up / slide down answer button text 7 years ago