Commit Graph

599 Commits

Author SHA1 Message Date
Greyson Parrelli
0449647cf9 Implemented full-text search.
You can now use the search bar on the conversation list to find
conversations, messages, and contacts.
2018-05-21 16:36:59 -04:00
Greyson Parrelli
e6c16cf28d Allow editing of contact names.
Took care to properly format CJK names.
2018-05-21 15:45:22 -04:00
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.
2018-05-21 15:45:22 -04:00
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.
2018-05-21 15:45:22 -04:00
Niklas Hambüchen
f1c79eaebf Add button to flip camera (front vs rear). Fixes #6279 2018-05-21 15:45:22 -04:00
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.
2018-04-26 17:43:35 -07:00
Greyson Parrelli
63a3b1acb9 Also make author text EmojiTextView. 2018-04-24 12:18:33 -07:00
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.
2018-04-24 12:18:33 -07:00
RiseT
29af1669e1 Export strings from registration_call_me_view
Export strings from webrtc_call_screen

Closes #7543
2018-04-19 18:03:45 -07:00
Greyson Parrelli
fa99e8f0d0 Updated reply-to UI.
All UI components are now properly styled and functioning according to
spec.
2018-04-16 17:33:26 -07:00
Moxie Marlinspike
d567534609 replies 2018-04-16 17:33:26 -07:00
Moxie Marlinspike
4669c45ff7 Perpetuate the original sin of dark theme
Fixes #7614
2018-04-16 17:33:26 -07:00
Moxie Marlinspike
e86a9ce7eb Add phone number and direct dial to recipient preferences 2018-04-16 17:33:26 -07:00
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
2018-03-31 02:14:02 -07:00
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).
2018-03-31 02:14:02 -07:00
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.
2018-03-31 02:14:02 -07:00
Moxie Marlinspike
aff65abe91 Hide keyboard after backup passphrase entered
Fixes #7508
2018-03-13 09:28:27 -07:00
Moxie Marlinspike
b39820dcb6 Clarify Registration Lock reminder
Fixes #7484
2018-03-09 10:40:29 -08:00
Moxie Marlinspike
1a24885110 Fix issue "home button" issue with screen lock
Fixes #7475
2018-03-09 10:25:29 -08:00
Moxie Marlinspike
56c95d1d1b Extract string resource 2018-03-07 09:36:15 -08:00
Moxie Marlinspike
2beb1dd8d9 Layout adjustments 2018-03-07 09:08:13 -08:00
art1fa
feee09cd28 Fix color in toolbars 2018-03-06 10:14:23 -08:00
art1fa
6dd8300c73 Add standard elevation to Toolbars 2018-03-06 10:14:23 -08:00
art1fa
4281097828 Decrease back button padding / margin 2018-03-06 10:00:44 -08:00
art1fa
1e62934220 Reduce avatar size in ConversationView 2018-03-06 10:00:44 -08:00
Moxie Marlinspike
110d33ddf8 Support for Registration Lock PINs 2018-03-05 16:13:56 -08:00
Moxie Marlinspike
d28dc670ea Migrate to Android fingerprints and auth for Signal screen lock 2018-03-05 16:11:49 -08:00
Moxie Marlinspike
24e573e537 Support for full backup/restore to sdcard 2018-03-05 16:11:49 -08:00
Moxie Marlinspike
23aee53c7d Add determinte progress and foreground service for sqlcipher migration 2018-02-01 16:01:24 -08:00
Moxie Marlinspike
bc64230a65 Switch to HackyViewPager for media preview
Fixes #7344
Fixes #7335
2018-01-18 10:16:35 -08:00
Moxie Marlinspike
94e2b9e66e Make video player in media player control a view stub 2018-01-16 11:21:58 -08:00
Moxie Marlinspike
8bba45f396 Add swipe gestures to media view
Fixes #2355
Closes #6632
2018-01-04 11:11:49 -08:00
Moxie Marlinspike
34424a9b3e Fix crash when signal messages disabled in group conversation
Fixes #6419
Closes #6803
2017-12-25 15:57:33 -08:00
Moxie Marlinspike
23e9b3a61e Fix colors in all images toolbar
Fixes #7242
2017-12-05 12:07:37 -08:00
Moxie Marlinspike
64c8b4b2ef Support for selective permissions 2017-11-30 10:26:41 -08:00
Moxie Marlinspike
e9a82502b9 Fix up converstion list empty state look 2017-11-30 10:26:41 -08:00
Moxie Marlinspike
19d49ed281 Add slight drop shadow to slide up / slide down answer button text 2017-11-19 18:47:24 -08:00
Moxie Marlinspike
86bd2351bc Replace answer/decline button and action for incoming calls
Fixes #7199
2017-11-19 16:32:22 -08:00
Moxie Marlinspike
cf81815bf6 Add recent chats to top of share list 2017-11-16 15:21:46 -08:00
Moxie Marlinspike
e31ce39967 Fix background on attachment manager 2017-11-16 12:26:23 -08:00
Moxie Marlinspike
2da47c3bb3 Fix share list crash and update look/feel
Fixes #7195
2017-11-16 12:22:09 -08:00
Moxie Marlinspike
909c0c544c Make sure thread preview text is to left of unread indicator 2017-11-15 15:49:45 -08:00
Moxie Marlinspike
1986e58c5f Remove unused resources
According to Android Studio
2017-11-14 11:43:25 -08:00
Moxie Marlinspike
b88069f396 Revert "Remove unused resources"
AS seems to have miscalculated

This reverts commit 344af622b7.
2017-11-14 11:29:20 -08:00
Moxie Marlinspike
344af622b7 Remove unused resources
Or so says Android Studio
2017-11-14 11:15:03 -08:00
Moxie Marlinspike
534dec282f Brighten light theme
1) Brighten background color

2) Add unread indicator in conversation list

3) Eliminate some conversation list overdraw
2017-11-14 10:50:17 -08:00
Moxie Marlinspike
1cee253b41 Fix contact list search cursor color 2017-11-14 10:50:17 -08:00
Moxie Marlinspike
405ee3b741 Improve search bar visibility 2017-11-14 10:50:17 -08:00
Moxie Marlinspike
9a75f49aa1 Add an empty state for search 2017-11-14 10:50:17 -08:00
Moxie Marlinspike
9c50057909 Add an empty state for archived 2017-11-14 10:50:17 -08:00
Moxie Marlinspike
bb878f8a67 Adjust Conversation List toolbar to match RecyclerView alignment 2017-11-14 10:50:17 -08:00
Moxie Marlinspike
3097c2855e Add empty state for conversation list 2017-11-14 10:50:17 -08:00
Moxie Marlinspike
90ff0e58b0 Update registration flow 2017-11-14 10:50:17 -08:00
Moxie Marlinspike
10f224ede5 Update to glide 4.x
// FREEBIE
2017-10-11 17:47:12 -07:00
Moxie Marlinspike
5be1a5e3d5 Fix "no media" text alignment in conversation gallery
Fixes #7066
// FREEBIE
2017-10-08 17:46:35 -07:00
Moxie Marlinspike
9fa4ba126b Fix non-collapsing layout when scrolled from horiz recyclerview
Fixes #7042
// FREEBIE
2017-10-08 17:36:35 -07:00
Moxie Marlinspike
ac282ccf70 Display contact color in background for generated avatars
Fixes #7028
// FREEBIE
2017-10-04 15:24:04 -07:00
Moxie Marlinspike
0a3ede7c32 Fix expiring messages timer colors in dark theme
Fixes #5759
// FREEBIE
2017-10-04 14:08:56 -07:00
Moxie Marlinspike
5ad7e3b48a Make avatar in conversation activity tappable
Fixes #7025
// FREEBIE
2017-10-04 14:04:04 -07:00
Moxie Marlinspike
10e305d204 Remove elevation
Helps #6894

// FREEBIE
2017-10-04 12:35:17 -07:00
Moxie Marlinspike
b430be9759 Fix color for shared media in dark theme
ugh dark theme

Fixes #7024
// FREEBIE
2017-10-04 12:26:03 -07:00
FeuRenard
d71fb4c958 Adjust dark themed NoActionBar activities
// FREEBIE
2017-10-04 11:50:55 -07:00
Moxie Marlinspike
4ebf97550c Fix unlocked icon color in dark theme
Fixes #7036
// FREEBIE
2017-10-04 11:15:02 -07:00
Moxie Marlinspike
b3147aad55 Make "Shared media" string translatable
// FREEBIE
2017-10-03 16:29:11 -07:00
Moxie Marlinspike
b34eb08088 Fix look of default group photo in conversation preferences view
Fixes #7022
// FREEBIE
2017-10-03 14:01:02 -07:00
Moxie Marlinspike
9389fe47bd Fix call screen FAB being off-center
Fixes #7021
// FREEBIE
2017-10-03 13:32:08 -07:00
Moxie Marlinspike
4c2269175b Improve profile upload animation
// FREEBIE
2017-10-01 22:36:52 -07:00
Moxie Marlinspike
285947eb66 Show per-member delivery/read status on message info in groups
// FREEBIE
2017-10-01 22:36:52 -07:00
Moxie Marlinspike
2b4064f3b7 Add splash screen for read receipts
// FREEBIE
2017-10-01 22:36:52 -07:00
Moxie Marlinspike
8d08f3969a Switch from secure indicator to insecure indicator
Instead of cluttering Signal messages with a little padlock,
let's highlight the insecurity of SMS messages instead.

// FREEBIE
2017-10-01 22:36:52 -07:00
Moxie Marlinspike
8ce914a344 Refactor media overview activity to display documents
// FREEBIE
2017-10-01 22:36:52 -07:00
Moxie Marlinspike
c6b2e785a5 Reorganize conversation media activity to have sticky headers
// FREEBIE
2017-10-01 22:36:52 -07:00
Moxie Marlinspike
4828a8a274 Add conversation media photo rail to recipient preferences
// FREEBIE
2017-10-01 22:36:52 -07:00
Moxie Marlinspike
a1c276f70b Update to V7 PreferencesCompat library
// FREEBIE
2017-10-01 22:36:52 -07:00
Moxie Marlinspike
cb9bc9659b Support for read receipts
// FREEBIE
2017-10-01 22:36:52 -07:00
Moxie Marlinspike
65124fd1f2 Redesign conversation and conversation preferences layouts
Remove avatars from conversation items unless in a group chat.

// FREEBIE
2017-10-01 22:36:52 -07:00
Moxie Marlinspike
0f65bf08b8 Align info graphic with text
Fixes #6949
// FREEBIE
2017-09-10 11:48:27 -07:00
Moxie Marlinspike
844ffdad54 Add padding to finish button for non-english languages
Fixes #6930
// FREEBIE
2017-09-06 17:58:01 -07:00
Moxie Marlinspike
19be527370 Fix recursive experience upgrade activity problem
// FREEBIE
2017-09-06 00:29:49 -07:00
Moxie Marlinspike
7197d513a3 Add target for 'who can see this' profile link
// FREEBIE
2017-09-05 12:52:50 -07:00
Moxie Marlinspike
2add02c62f Add splash screen for setting profiles
// FREEBIE
2017-09-03 19:45:43 -07:00
Moxie Marlinspike
beed9d8034 Add length limit feedback when setting profile name
// FREEBIE
2017-08-28 10:30:50 -07:00
Moxie Marlinspike
3e22c37425 Allow conversation subtitle to support emoji
// FREEBIE
2017-08-28 10:30:50 -07:00
Moxie Marlinspike
64ad9ec9dd Add group profile sharing logic
// FREEBIE
2017-08-28 10:30:50 -07:00
Moxie Marlinspike
1b2f52209d Display unknown sender footer for unknown senders
// FREEBIE
2017-08-28 10:30:50 -07:00
Moxie Marlinspike
c11f2eddf5 Display user profile information in settings activity
Allow for editing

// FREEBIE
2017-08-28 10:30:50 -07:00
Moxie Marlinspike
e7c20499ec Display profile name in when appropriate
Display in conversation list, conversation actionbar, group
messages, and group members list when address is not in system
contacts

// FREEBIE
2017-08-28 10:30:50 -07:00
Moxie Marlinspike
1893047a78 Profile creation activity
// FREEBIE
2017-08-28 10:30:50 -07:00
Moxie Marlinspike
c36db03a3a Prevent audio control click handler feedback loops
Fixes #6356
Fixes #6406
Fixes #6169

Closes #6800
// FREEBIE
2017-07-12 16:18:54 -07:00
Moxie Marlinspike
59d3e666fe Rename 'verify safety number' to 'view safety number'
// FREEBIE
2017-06-09 19:58:05 -07:00
Moxie Marlinspike
76c28cfa7a Add support for SN verification
// FREEBIE
2017-06-09 19:58:01 -07:00
FeuRenard
1b75d00de5 Color registration buttons correctly <API21
Fixes #6604
Closes #6605
// FREEBIE
2017-05-07 18:23:19 -07:00
Mateo Hernandez
da6a00c4dc Tweak reminder layout
Closes #6586
// FREEBIE
2017-04-27 17:56:21 -07:00
Shenka
58a5e1f33c Fix vertical space in import_export_fragment
Fixes #6590
// FREEBIE
2017-04-27 17:47:09 -07:00
Mateo Hernandez
31e78f5fae Tweak contact selection layout
Fixes #6588

// FREEBIE
2017-04-27 18:42:25 -05:00
Mateo Hernandez
f4f0a97fc6 Revert "Tweak contact selection layout"
This reverts commit 59a2bf8a.
(wrong commit merged)

// FREEBIE
2017-04-27 18:41:18 -05:00
Mateo Hernandez
59a2bf8ae7 Tweak contact selection layout
Closes #6563
// FREEBIE
2017-04-26 18:05:07 -07:00
Mateo Hernandez
b17cba621e Show emoji-only messages larger
Closes #6531
// FREEBIE
2017-04-26 17:52:16 -07:00
Mateo Hernandez
869630b7f4 Tint and resize import/export icons
Closes #6567
// FREEBIE
2017-04-26 10:27:30 -07:00
Mateo Hernandez
291dafa5c8 Switch import/export activity from cards to a list
Add touch ripple to items

Closes #6564
// FREEBIE
2017-04-26 10:27:30 -07:00
Moxie Marlinspike
03e347bfd9 s/Document/File
// FREEBIE
2017-04-23 16:28:10 -07:00
Moxie Marlinspike
2dceef50b7 Slim down some preference screens
// FREEBIE
2017-04-21 23:05:59 -07:00
Moxie Marlinspike
bc33f8ec02 Remove unused resources
// FREEBIE
2017-04-21 23:05:59 -07:00
Moxie Marlinspike
d00671e7a5 Tweak attachment type selector look
// FREEBIE
2017-04-21 23:05:59 -07:00
Moxie Marlinspike
2b79e131a7 Support for sending arbitrary file types
// FREEBIE
2017-04-21 23:05:59 -07:00
Ahmed Ibrahim Khalil
c3164a8e84 Support copying links on long click.
Fixes #6343
Closes #6454
2017-04-21 23:05:59 -07:00
Mateo Hernandez
9716849bb9 Fix preference divider crash on KitKat
Closes #6546
Fixes #6544
// FREEBIE
2017-04-19 18:08:44 -07:00
Moxie Marlinspike
cd56f03e07 Adjust conversation list look
// FREEBIE
2017-04-15 11:19:06 -07:00
Moxie Marlinspike
fe1cc3d6d1 Adjust compose field look
1) Align top of compose bubble with top of attach/send icon

2) Simplify hint

3) Make hint size same as input size

// FREEBIE
2017-04-15 10:12:00 -07:00
Moxie Marlinspike
13d785894a Fix up preference screen a little
1) Remove phantom padding on left margin for all fragments

2) Move preferences around slightly

3) Add some card separators and style led list pref

// FREEBIE
2017-04-14 20:39:38 -07:00
Moxie Marlinspike
f7261cc9e7 Remove GV from registration problems list
// FREEBIE
2017-03-30 18:41:18 -07:00
Moxie Marlinspike
3aae86d20c Update registration activity style
// FREEBIE
2017-03-30 18:18:04 -07:00
Moxie Marlinspike
f67eb5f9f3 Support for receiving arbitrary attachment types
// FREEBIE
2017-03-29 18:17:34 -07:00
greenjoe
deb96646a3 Add action indicator when resending a message.
When message is being resent, "RESEND" button now disappears.
"Resending..." text is displayed instead of an error message.

Fixes #6307
Closes #6347
2017-03-16 15:27:26 -07:00
RiseT
4f0422ee94 Fixes misnamed string resource
Closes #6398
// FREEBIE
2017-03-16 15:19:04 -07:00
Moxie Marlinspike
9273f5cc67 Switch import/export activity from tabs to cards
// FREEBIE
2017-03-15 16:53:15 -07:00
Admir Ireiz
5e02715a2c Change the app icon
Closes #6189
2017-03-14 15:46:19 -07:00
Moxie Marlinspike
94964474b2 So long redphone
// FREEBIE
2017-03-14 13:24:24 -07:00
FeuRenard
defb173ffe Dark theme support for audio drafts
Fixes #4681
Closes #6251
// FREEBIE
2017-03-06 13:51:03 -08:00
Moxie Marlinspike
cd28cd172f Refactor webrtc audio management
Attempts to:

1) Successfully play ringtone through speaker instead of earpiece
   when possible.

2) Manage bluetooth headset connectivity as well as possible

3) Eliminate notification sounds while in-call when possible

4) Make sure audio is correctly setup when receiving calls

Fixes #6271
Fixes #6248
Fixes #6238
Fixes #6184
Fixes #6169

// FREEBIE
2017-03-05 10:35:55 -08:00
haffenloher
76ac95756f Fix last seen divider crash on Android <5.0
Apparently, it's not possible to reference an attribute in an xml
drawable on API <21, so we have to use separate light and dark theme
drawables instead.

Closes #6285
2017-02-22 17:57:42 +01:00
Moxie Marlinspike
b43beaab75 Reduce size of new message divider, adjust style slightly
// FREEBIE
2017-02-21 12:55:44 -08:00
Moxie Marlinspike
4ee607878c Fix unread message conversation separator for dark theme
Fixes #6265
// FREEBIE
2017-02-21 12:37:40 -08:00
Moxie Marlinspike
8aab9b0fc1 Fix build (grr)
// FREEBIE
2017-02-20 16:44:25 -08:00
haffenloher
83e31cac07 Show videos in media overview
Fixes #5941
Closes #6152
// FREEBIE
2017-02-19 12:29:33 -08:00
Moxie Marlinspike
d9b42c4369 Support for a "new messages" divider in conversations
// FREEBIE
2017-02-19 12:29:33 -08:00
Moxie Marlinspike
f3e47f7b60 Support for minimized controls during video call
// FREEBIE
2017-02-11 20:48:42 -08:00
Moxie Marlinspike
ea0945d406 Beta support for webrtc video and voice calling
// FREEBIE
2017-02-01 13:55:52 -08:00
Moxie Marlinspike
15a389c171 Don't calculate date header item for adapter header
Fixes #6098
// FREEBIE
2017-01-25 18:00:26 -08:00
Moxie Marlinspike
d46d3b72c8 Make the sticky date header only visible during scroll
// FREEBIE
2017-01-25 16:38:36 -08:00
Moxie Marlinspike
d9f19fe36c Move scroll-to-bottom arrow placement up slightly
// FREEBIE
2017-01-24 17:51:32 -08:00
Moxie Marlinspike
e2b81c9637 Update look and feel of fast-scroll-to-bottom
Closes #6086
// FREEBIE
2017-01-24 11:05:32 -08:00
Stuart Gilbert
aa9d8e4d14 Add scroll to bottom button in conversation view
Added a FloatingActionButton to the conversation_fragment
that appears and disappears using the same logic as the
existing compose divider: appear when the conversation list
is scrolled away from the bottom, disappear when the list is
scrolled to the bottom.

Fixes #5651
2017-01-24 11:05:03 -08:00
Moxie Marlinspike
4c815db076 Support for sticky date headers
Closes #4696
// FREEBIE
2017-01-23 16:44:38 -08:00
Moxie Marlinspike
235a8472d9 Remove dedicated MMS download controls
// FREEBIE
2017-01-20 15:26:17 -08:00
Moxie Marlinspike
183f8742a7 ViewStub for ThumbnailView in ConversationItem
// FREEBIE
2017-01-20 10:27:18 -08:00
Moxie Marlinspike
e270e8d429 ViewStub for AudioView in ConversationItems
// FREEBIE
2017-01-20 09:11:40 -08:00
Moxie Marlinspike
41c9bed155 ViewStub for EmojiDrawer
// FREEBIE
2017-01-19 11:47:02 -08:00
Moxie Marlinspike
508a666e76 ViewStub for ReminderView, lazy create AttachmentTypeSelector
// FREEBIE
2017-01-19 11:47:02 -08:00
Moxie Marlinspike
3d6cbdd775 ViewStub for entire AttachmentManager
// FREEBIE
2017-01-19 11:47:02 -08:00
Veeti Paananen
4dae4444bc Fix right-to-left language support for voice recording
Bug: fixes #5999

// FREEBIE
2017-01-12 11:47:43 -08:00
Moxie Marlinspike
4ad989cc38 Fix rounded corners bitmap double free
Fixes #4732
// FREEBIE
2017-01-08 13:06:11 -08:00
Moxie Marlinspike
d280604f1f Fix compileSdk 25 problems with GIF search
For #5965
// FREEBIE
2017-01-07 11:02:18 -08:00
Moxie Marlinspike
d2be49af42 Support for tiling image view and large image viewing
Fixes #5949
Fixes #5574
Fixes #4380
// FREEBIE
2017-01-02 17:17:48 -08:00
Moxie Marlinspike
71f8e9eb31 Revert support library update, the future wasn't all we hoped for
Fixes #5965
// FREEBIE
2016-12-18 19:06:39 -08:00
Moxie Marlinspike
4ff8de0ca8 Remove superfluous icon and padding that came with sdk 24
Fixes #5965
// FREEBIE
2016-12-17 15:52:27 -08:00
RiseT
e8555a84ac Make description strings in audio_view.xml translatable.
Closes #5916
// FREEBIE
2016-12-15 10:41:18 -08:00
Paul Lanctot
73bf75f65f Accessible content labels for attachment icons
Fixes #5908
Closes #5917
// FREEBIE
2016-12-14 20:56:37 -08:00
Moxie Marlinspike
a4c17e5325 Support for generating video thumbnails
// FREEBIE
2016-12-12 17:38:05 -08:00
Moxie Marlinspike
1b44bdcd3c Support for stickers and scribbles
// FREEBIE
2016-12-12 17:37:00 -08:00