Greyson Parrelli
24b062d8dd
Improve the look of message bubbles.
2018-07-17 09:53:52 -07:00
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.
2018-06-22 10:59:53 -07:00
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.
2018-06-18 14:32:45 -07:00
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
2018-06-06 07:57:03 -07:00
Greyson Parrelli
f0e5aa312e
Allow EmojiTextView to redraw after changing emoji setting.
...
Also just fixed some minor formatting issues.
2018-05-28 17:20:28 -04:00
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.
2018-05-24 13:32:56 -04:00
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
2018-05-22 17:03:51 -04:00
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
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
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
Greyson Parrelli
cbe394025d
Fix reply-to colors in dark mode to increase contrast.
...
Fixes #7705
2018-04-20 17:35:48 -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
eb0af13887
Fix location URL encoding
...
Fixes #7604
2018-04-16 17:33:26 -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
Moxie Marlinspike
95d76638dc
Simple encrypted glide disk cache
2018-03-31 02:14:02 -07:00
Moxie Marlinspike
d6610f0dd0
Add profile avatars to backup
...
Fixes #7450
2018-03-19 14:10:21 -07:00
Moxie Marlinspike
43d7e99a50
Don't offer backup restore on reregistration
...
Fixes #7502
2018-03-11 17:12:42 -07:00
平民·寻梦(Pingmin Fenlly Liu)
cc288d1e43
Just update to the new repo path "github.com/signalapp"
...
Closes #7469
2018-03-11 17:06:22 -07:00
Andrew Gaul
10c1ee70e8
Make some inner classes static
...
Closes #7370
2018-03-07 09:51:05 -08:00
Moxie Marlinspike
110d33ddf8
Support for Registration Lock PINs
2018-03-05 16:13:56 -08:00
Moxie Marlinspike
24e573e537
Support for full backup/restore to sdcard
2018-03-05 16:11:49 -08:00
Moxie Marlinspike
2b651ee323
Prevent NPE in #7375
2018-02-05 12:08:40 -08:00
Moxie Marlinspike
3633d805c8
More MasterSecret cleanup
2018-02-01 19:22:48 -08:00
Moxie Marlinspike
f36b296e2e
Migrate from SQLite and ciphertext blobs to SQLCipher + KeyStore
2018-01-30 17:27:05 -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
f22186e6f4
Debounce call screen answer button
...
Fixes #7274
2017-12-15 15:27:23 -08:00
Moxie Marlinspike
acfc9d75e0
Use startForegroundService instead of startService on Android 8
2017-11-30 10:26:41 -08:00
Moxie Marlinspike
ed508a8def
Be more explicit with mastersecret passing
2017-11-30 10:26:41 -08:00
Moxie Marlinspike
64c8b4b2ef
Support for selective permissions
2017-11-30 10:26:41 -08:00
Moxie Marlinspike
ba5febd222
Fix some emoji rendering issues related to obsolete images
...
1) The "obsolete" images like "swimmer" need to alias to
"man_swimming" so that they can be rendered correctly.
2) There are a whole bunch of emoji-data elements
(like white_frowning_face) that have "unified" code points which
have changed to include a "terminator."
Fixes #7212
2017-11-20 19:11:26 -08:00
Moxie Marlinspike
c1b2098bd9
Fix race condition that would display end call button over answer
...
Fixes #7211
2017-11-20 11:17:50 -08:00
Moxie Marlinspike
58f1e68961
Update emoji
...
Fixes #6637
Fixes #7206
2017-11-19 18:11:25 -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
c5a9f27c31
Catch some activity not found exceptions for expired builds
2017-11-16 12:31:42 -08:00
Moxie Marlinspike
de812d3f0f
Extract string resources
2017-11-16 12:28:29 -08:00
Moxie Marlinspike
e37c06c563
Show dialog if another device registered with same number
2017-11-15 16:29:00 -08:00
Moxie Marlinspike
40caf20188
Make sure nav drawable is mutable before tinting
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
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
ad6ae10a41
Fix scaling issue when loading emoji sprites
...
Fixes #5973
// FREEBIE
2017-11-06 08:11:36 -08:00
Moxie Marlinspike
9a8d058051
Update to glide 4.3.0
...
// FREEBIE
2017-11-01 15:56:44 -07:00
Moxie Marlinspike
b80408bcb4
Use Glide for all contact photo caching
...
// FREEBIE
2017-10-11 17:47:12 -07:00
Moxie Marlinspike
10f224ede5
Update to glide 4.x
...
// FREEBIE
2017-10-11 17:47:12 -07:00
Moxie Marlinspike
17dd681dc8
Run all AsyncTasks on thread pool executor
...
Should Fix #7002
2017-10-23 13:03:32 -07:00
Moxie Marlinspike
4bd3094bad
Fix problem where recycled group avatar icons have stale listener
...
Fixes #7089
// FREEBIE
2017-10-13 09:51:37 -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
99b2149deb
Fixed avatar icons not rendering in contact selection view
...
// FREEBIE
2017-10-04 14:47:29 -07:00
Moxie Marlinspike
5ad7e3b48a
Make avatar in conversation activity tappable
...
Fixes #7025
// FREEBIE
2017-10-04 14:04:04 -07:00
Moxie Marlinspike
ba849bce2c
Add support for incognito keyboard preference
...
Closes #6985
// FREEBIE
2017-10-03 18:57:23 -07:00
Moxie Marlinspike
a929bf91f1
Show profile name in call screen
...
Fixes #7020
// FREEBIE
2017-10-03 13:29:49 -07:00
Moxie Marlinspike
893cf9c01d
Add support for setting empty profile names
...
// FREEBIE
2017-10-01 22:36:52 -07:00
Moxie Marlinspike
e5e0bc2333
Reorganize preference widgets
...
// 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
a39d9bf132
Fix for RTL layout detection crash on < API 17
...
Fixes #6987
// FREEBIE
2017-09-25 09:05:41 -07:00
Moxie Marlinspike
f3d943270c
Be more conservative with handlers and references
...
Expiring message timers could end up leaking references and
executing work even after their conversation item was no longer
visible
Maybe fixes #6898
// FREEBIE
2017-09-09 23:46:48 -07:00
Moxie Marlinspike
afed60f870
Handle recipient modification callbacks on main thread
...
// FREEBIE
2017-09-08 11:36:09 -07:00
Moxie Marlinspike
d1790dfe17
Rename RecipientPreferences -> RecipientSettings
...
// FREEBIE
2017-08-28 10:30:50 -07:00
Moxie Marlinspike
6924f0519e
No need for a RecipientFactory any longer
...
// 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
77a216b705
Support for retrieving and storing profile information
...
Initial support for sharing profile keys
// FREEBIE
2017-08-28 10:30:50 -07:00
Moxie Marlinspike
375207f073
Switch MMS groups to use the group database infrastructure
...
Eliminate the concept of 'Recipients' (plural). There is now just
a 'Recipient', which contains an Address that is either an individual
or a group ID.
MMS groups now exist as part of the group database, just like push
groups.
// FREEBIE
2017-08-28 10:30:50 -07:00
Moxie Marlinspike
737810475e
Remove the Canonical Address Database
...
This was a holdover from Signal's origins as a pure SMS app.
It causes problems, depends on undefined device specific behavior,
and should no longer be necessary now that we have all the
information we need to E164 all numbers.
// FREEBIE
2017-07-31 12:02:29 -07:00
AndHell
10de144b77
Trim message text to prohibit sending empty whitespace messages
...
Closes #6788
2017-07-12 18:15:49 -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
76c28cfa7a
Add support for SN verification
...
// FREEBIE
2017-06-09 19:58:01 -07:00
Moxie Marlinspike
4dd5a92817
Fix for NPE when place picker name is unavailable
...
Fixes #6671
// FREEBIE
2017-05-24 10:03:35 -07:00
Moxie Marlinspike
757ccd0c36
Updated emoji set
...
Fixes #4279
Fixes #6587
2017-05-05 19:42:23 -07:00
Mateo Hernandez
a93fb1a0e5
Fix font size preference
...
Closes #6597
// FREEBIE
2017-04-28 14:51:56 -07:00
Mateo Hernandez
b17cba621e
Show emoji-only messages larger
...
Closes #6531
// FREEBIE
2017-04-26 17:52:16 -07:00
Moxie Marlinspike
cb670d6783
Improve UI send latency
...
// FREEBIE
2017-04-26 10:27:30 -07:00
Moxie Marlinspike
31a549449b
Mutate Drawables we tint
...
Fixes #6575
// FREEBIE
2017-04-24 16:37:13 -07:00
Moxie Marlinspike
8e7c7a9c54
Improve video thumbnail generation and handling on send side
...
For direct attach only
// 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
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
f67eb5f9f3
Support for receiving arbitrary attachment types
...
// FREEBIE
2017-03-29 18:17:34 -07:00
RiseT
a41e82bb7d
Make WebRtcCallScreen_new_safety_numbers_title singular
...
Closes #6364
// FREEBIE
2017-03-14 13:42:39 -07:00
Moxie Marlinspike
94964474b2
So long redphone
...
// FREEBIE
2017-03-14 13:24:24 -07: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
Moxie Marlinspike
b27d829013
Extract some strings for localization
...
// FREEBIE
2017-02-20 13:59:23 -08:00
Moxie Marlinspike
1669731329
Support for using Signal without Play Services
...
This is now possible with beta calling, so non-GCM users are a
part of beta calling by default.
// FREEBIE
2017-02-20 12:00:03 -08:00
Moxie Marlinspike
4112f23f33
Remove item animations on conversation list recyclerview
...
// FREEBIE
2017-02-19 12:29:33 -08:00
Moxie Marlinspike
1b1470aae2
Upgrade to EventBus 3.X
...
// FREEBIE
2017-02-19 12:29:33 -08:00
Moxie Marlinspike
7d10560575
Workaround android SurfaceView bug
...
Fixes #6225
// FREEBIE
2017-02-16 13:01:45 -08:00
Moxie Marlinspike
f3e47f7b60
Support for minimized controls during video call
...
// FREEBIE
2017-02-11 20:48:42 -08:00
Moxie Marlinspike
d92cbfe305
More intelligent default behavior with speakerphone and wired headset
...
When video is enabled, speakerphone is now enabled unless
there's a wired headset. If speakerphone is enabled and
a wired headset gets plugged in, speakerphone is disabled.
If video is enabled and a wired headset is removed, speakerphone
is enabled.
Fixes #6153
// FREEBIE
2017-02-03 12:01:03 -08:00
Moxie Marlinspike
9a93a8b28d
Better support for building webrtc call view off of model
...
Fixes #6144
// FREEBIE
2017-02-02 18:46:34 -08:00
Moxie Marlinspike
ea0945d406
Beta support for webrtc video and voice calling
...
// FREEBIE
2017-02-01 13:55:52 -08:00
Moxie Marlinspike
dadc8d0183
Refactor "unnamed" group logic
...
// FREEBIE
2017-01-22 21:23:51 -08:00
Piotr Prucia
970448d43d
Disable AudioView controls clicks when message is selected
...
Fixes : #5898
Closes #6054
2017-01-21 10:18:18 -08:00
Moxie Marlinspike
41c9bed155
ViewStub for EmojiDrawer
...
// FREEBIE
2017-01-19 11:47:02 -08:00
Moxie Marlinspike
bbb8ac113b
Disable image keyboards for SDK < 5.0
...
Fixes #6045
// FREEBIE
2017-01-17 20:46:20 -08:00