Moxie Marlinspike
422b4c345b
Catch IllegalArgumentException thrown internally on some devices
...
// FREEBIE
2017-08-10 12:17:05 -07:00
Moxie Marlinspike
47901e4198
Disallow alpha chars in country code field
...
// FREEBIe
2017-08-07 12:40:40 -07:00
Moxie Marlinspike
25a30d63a5
A blocked contact doesn't necessarily have to be a number
...
// FREEBIE
2017-08-07 12:27:34 -07:00
Moxie Marlinspike
c5a7d320f7
Don't query contacts DB if we have nothing to query
...
// FREEBIE
2017-08-04 09:28:20 -07:00
Moxie Marlinspike
8de9261081
MMS addresses can be email addresses
...
Fixes #6853
// FREEBIE
2017-08-04 09:22:58 -07:00
Moxie Marlinspike
cb4303ac23
Handle migration case where recipient_ids is completely empty
...
No idea how a DB is in that state, but apparently it's possible
Fixes #6850
// FREEBIE
2017-08-03 09:32:56 -07:00
Moxie Marlinspike
9a78615991
Switch regexp matcher to find() in order to handle alpha addresses
...
Any address with an alpha character anywhere in it should be used
as-is.
Fixes #6849
// FREEBIE
2017-08-03 09:24:08 -07:00
Moxie Marlinspike
7f46e99f9c
Use SIM country code when registered number is unavailable
...
Convert directory operations to Addresses
Fixes #6845
// FREEBIE
2017-08-02 12:51:46 -07:00
Moxie Marlinspike
4838fade6c
Fix typo
...
// FREEBIE
2017-08-02 11:15:58 -07:00
Moxie Marlinspike
1e934f6146
Escape addresess in thread and recipient pref migrations
...
For clients that have not yet migrated
// FREEBIE
2017-08-02 11:08:38 -07:00
Moxie Marlinspike
aacf50316d
Escape addresses in thread, recipient pref, and group databases
...
Fixes #6847
// FREEBIE
2017-08-02 11:04:10 -07:00
Moxie Marlinspike
24c48afd2e
Fix typo in migration constraint resolution
...
Fixes #6846
// FREEBIE
2017-08-02 08:02:15 -07:00
Moxie Marlinspike
9a55632202
During migration, support recipient id of "-1"
...
Fixes #6843
// FREEBIE
2017-08-01 18:45:13 -07:00
Moxie Marlinspike
6ed549cfb2
If two recipient ids get canonicalized to the same thing, drop one
...
There's not a great way for me to know which of them is the "real"
entry, which means that I could be deleting the wrong one. In the
case of recipient "preferences," it's hopefully not a huge loss,
and there aren't any other great options.
Fixes #6838
// FREEBIE
2017-08-01 14:52:03 -07:00
Moxie Marlinspike
8a5c89244a
Be more liberal with migration addresses.
...
Anything alpha is an address as-is.
// FREEBIE.
2017-08-01 14:46:38 -07:00
Moxie Marlinspike
a67d0b18ff
Be more liberal with external address formatting
...
A string like "bonbon" should just be "bonbon". That is apparently
a valid SMS source address.
// FREEBIE
2017-08-01 14:04:51 -07:00
Moxie Marlinspike
abea2d0bdf
Fix for MediaOverviewActivity NPE
...
// FREEBIE
2017-08-01 10:00:55 -07:00
Moxie Marlinspike
5f9a3b7930
Only lookup contact address by number if address is a phone number
...
// FREEBIE
2017-08-01 09:57:50 -07:00
Moxie Marlinspike
4229c21bdc
Fix NPE on contact update request
...
Fixes #6840
// FREEBIE
2017-08-01 08:57:26 -07:00
Moxie Marlinspike
0ae60da68b
Fix some bugs that would mis-label threads in migration
...
// FREEBIE
2017-07-31 14:04:47 -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
Moxie Marlinspike
e452862813
Catch unsatisfied link error on start if webrtc so isn't found
...
// FREEBIE
2017-07-21 16:29:03 -07:00
Moxie Marlinspike
5be246ec8f
Fix NPE for SMS pdus that could potentially be null
...
// FREEBIE
2017-07-21 16:11:55 -07:00
Moxie Marlinspike
72afb33c1b
Add Moto G5 to hardware AEC blacklist
...
For #6241
// FREEBIE
2017-07-21 16:03:31 -07:00
Moxie Marlinspike
0b39224d88
getMemoryClass -> getLargeMemoryClass
...
Fixes #6812
// FREEBIe
2017-07-21 16:01:32 -07:00
Moxie Marlinspike
82b5b35d3b
Eliminate MediaNetworkRequirement style attachment job handling
...
// FREEBIE
2017-07-21 15:59:27 -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
9dd508b6f5
Track pending incoming ice updates in addition to outgoing
...
// FREEBIE
2017-07-12 11:15:28 -07:00
Moxie Marlinspike
34443b059c
Revert "We can now send trickle ice candidates immediately"
...
Need to hold off on this for some iOS changes.
This reverts commit 338f8de7874c31b862af7da1bea0a4cd8472e6af.
2017-07-12 10:59:10 -07:00
Moxie Marlinspike
526d510423
Start creating "persistent" blobs in cache directory
...
Helps #5515
// FREEBIE
2017-07-06 12:58:05 -07:00
Gavin Howard
381237a315
Make plaintext export more compatible with SMS Backup and Restore
...
This commit adds the contact name and the readable date (and time) to
the plaintext export of every message. That's because that is how SMS
Backup and Restore does it, so this commit makes Signal more compatible.
Closes #6452
// FREEBIE
2017-07-06 12:19:12 -07:00
FeuRenard
512c6dc581
Keep screen off after end of audio playback
...
Fixes #6654
Closes #6669
// FREEBIE
2017-07-05 18:31:14 -07:00
Christian Ascheberg
d0bb68e137
Fix group creation through group info request
...
Closes #6763
// FREEBIE
2017-07-05 14:19:55 -07:00
Christian Ascheberg
95d48bd3e9
Improve wording of joined contact notification
...
Fixes #6757
Closes #6764
// FREEBIE
2017-07-05 14:18:07 -07:00
Moxie Marlinspike
338f8de787
We can now send trickle ice candidates immediately
...
// FREEBIE
2017-07-05 14:06:31 -07:00
Moxie Marlinspike
2c4c0f1349
Archive sessions and generate new registration id on re-register
...
Fixes #6703
// FREEBIE
2017-07-05 13:13:53 -07:00
Moxie Marlinspike
39b95ca4ed
Do more to keep MessageRetrievalService alive
...
Closes #6456
2017-07-03 11:36:31 -07:00
Moxie Marlinspike
074e46b2d9
Enable verification syncing
...
// FREEBIE
2017-06-23 13:59:06 -07:00
Moxie Marlinspike
f193723182
Don't display verified marker in conversation if unregistered
...
Closes #6755
// FREEBIE
2017-06-22 10:37:26 -07:00
Moxie Marlinspike
a0e23612d4
We need to disable this until push notifications contain more info
...
This could be a sync message, delivery receipt, or some other
message that isn't user-visible. The push notification content
would need to indicate whether that's the case in order to be
able to accurately display a notification
// FREEBIE
2017-06-20 10:57:11 -07:00
Moxie Marlinspike
04f364942e
Don't update thread state for groups w/ verified/default SNs
...
Fixes #6744
// FREEBIE
2017-06-19 11:20:15 -07:00
Moxie Marlinspike
0cc5618ba9
Only offer share/compare options when SN calculation is complete
...
Now that we're loading this asynchronously, these options need
to respond asynchronously as well
Fixes #6739
// FREEBIE
2017-06-19 10:39:15 -07:00
Moxie Marlinspike
8208bbf3c0
Remove stale identity approval preference (no longer used)
...
Fixes #6745
// FREEBIE
2017-06-19 09:27:35 -07:00
Moxie Marlinspike
1c8077a7fe
Switch from a hardware AEC whitelist back to a blacklist
...
Disabling OpenSL ES seems to make the hardware AEC "work" on
devices where it was previously causing problems.
Using the WebRTC-based software AEC *without* OpenSL ES seems to
be causing new problems.
Fixes #6737
Related #6432
Related #6241
// FREEBIE
2017-06-19 09:22:07 -07:00
Moxie Marlinspike
ec240a94e6
Fix capitalization (innocuous)
...
// FREEBIE
2017-06-15 12:04:50 -07:00
Moxie Marlinspike
666be5f358
Preserve unverified status if aleady unverified on update
...
// FREEBIE
2017-06-14 11:01:24 -07:00
Moxie Marlinspike
7f76bcc976
Don't attempt to fetch profiles for SMS contacts
...
// FREEBIE
2017-06-14 09:53:22 -07:00
Moxie Marlinspike
2dbeebac77
Maintain placeholder encrypted body to avoid processing error
...
// FREEBIE
2017-06-14 09:45:38 -07:00
Moxie Marlinspike
0f6823d37e
Null check just in case the profile comes back empty
...
// FREEBIE
2017-06-14 09:35:32 -07:00
Moxie Marlinspike
f92d768be5
Correctly handle ice candidate for stale call
...
Fixes #6373
Fixes #6305
// FREEBIE
2017-06-13 09:21:42 -07:00
Moxie Marlinspike
1eccc07673
Temporarily disable synchronization messages
...
Until desktop catches up
// FREEBIE
2017-06-12 09:47:58 -07:00
Moxie Marlinspike
76c28cfa7a
Add support for SN verification
...
// FREEBIE
2017-06-09 19:58:01 -07:00
Moxie Marlinspike
58273997b9
Explicitly check for disabled play services if needs update
...
Fixes #6381
// FREEBIE
2017-06-02 09:59:23 -07:00
Moxie Marlinspike
5672701a60
Add uncaught exception handler to message retrieval thread
...
Related #6644
// FREEBIE
2017-06-02 09:49:44 -07:00
Moxie Marlinspike
711740d156
Update to libsignal-service 2.5.10
...
// FREEBIE
2017-06-02 09:49:29 -07:00
Moxie Marlinspike
b50a3fa2b8
Actually handle busy signal correctly
...
// FREEBIE
2017-06-01 13:11:48 -07:00
Moxie Marlinspike
7e40204eb2
Fix migration
...
Fixes #6695
// FREEBIE
2017-06-01 10:57:45 -07:00
Moxie Marlinspike
d413b80b15
Canonicalize number when retrieving profile
...
// FREEBIE
2017-05-31 14:51:48 -07:00
Moxie Marlinspike
73410f64b5
Display a notification when unable retrieve messages for push
...
Fixes #6684
// FREEBIE
2017-05-31 14:51:48 -07:00
Moxie Marlinspike
cd55feb2b9
Update signal-service to 2.5.9
...
// FREEBIE
2017-05-31 14:51:48 -07:00
FeuRenard
a9ea672888
Resolve media message race condition
...
Fixes #6677
Closes #6681
2017-05-31 14:51:48 -07:00
Moxie Marlinspike
5455bdffb2
Make sure existing identity entries are approved in migration
...
// FREEBIE
2017-05-31 14:51:48 -07:00
Moxie Marlinspike
0367bf0de4
Update signal-service to 2.5.8
...
// FREEBIE
2017-05-31 14:51:48 -07:00
Moxie Marlinspike
e9ae439b70
Fix for out of bounds on last seen search
...
Fixes #6661
Fixes #6660
// FREEBIE
2017-05-31 14:51:48 -07:00
Paride Legovini
99d229bb45
Don't connect to server if !isPushRegistered
...
Partial fix for #6620 .
Closes #6627
// FREEBIE
2017-05-31 14:51:48 -07:00
Nicholas Rizzio
3d7331159f
Set the advanced menu icon correctly
...
Fixes #6638
Closes #6639
// FREEBIE
2017-05-31 14:51:48 -07:00
Christian Ascheberg
662fe826cb
Fix conversation list safety number change snippet for groups
...
Fixes #5985
Closes #6655
// FREEBIE
2017-05-31 14:51:48 -07:00
FeuRenard
ec1a0547d6
Don't show sent checkmark for outgoing calls
...
Fixes #6502
Closes #6667
// FREEBIE
2017-05-31 14:51:48 -07:00
Moxie Marlinspike
d507756821
Some identity key handling changes
...
1) Prefetch identity keys when possible
2) Always accept prefetched keys or keys from incoming messages
3) Block sending only if it's a recent change, or if always
block is enabled
// FREEBIE
2017-05-31 14:51:48 -07:00
Moxie Marlinspike
4509077338
Lollipop MMS API doesn't seem to work reliably until L_MR1
...
Fixes #6663
Fixes #6668
// FREEBIE
2017-05-24 10:52:08 -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
782bd6003b
Actually fallback to manual MMS receiving when system fails
...
Should resolve #6668 for tmobile users on older lollipop phones
// FREEBIE
2017-05-23 18:23:47 -07:00
Moxie Marlinspike
b78c05e70b
Keep track of when audio attachments are voice notes
...
// FREEBIE
2017-05-11 22:46:35 -07:00
Moxie Marlinspike
e96bf2bdc7
Allow share intents for arbitrary file types
...
Fixes #6608
// FREEBIE
2017-05-10 15:21:52 -07:00
Moxie Marlinspike
1c8c6d5f85
Be sure to canonicalize numbers when updating groups
...
// FREEBIE
2017-05-09 17:46:07 -07:00
Moxie Marlinspike
1525d0833c
Enforce ordered data channel
...
// FREEBIE
2017-05-09 12:13:42 -07:00
Moxie Marlinspike
3fd5e58bd5
Disable OpenSL ES by default
...
Fixes #6432
// FREEBIE
2017-05-09 11:03:32 -07:00
Moxie Marlinspike
51d6144591
Significant MMS changes
...
1) Remove all our PDU code and switch to the PDU code from the
klinker library
2) Switch to using the system Lollipop MMS library by default,
and falling back to our own custom library if that fails.
3) Format SMIL differently, using code from klinker instead of
what we've pieced together.
4) Pull per-carrier MMS media constraints from the XML config
files in the klinker library, instead of hardcoding it at 280kb.
Hopefully this is an improvement, but given that MMS is involved,
it will probably make things worse instead.
2017-05-08 18:14:55 -07:00
Audric Ackermann
165fae5734
Display contact custom label instead of phone number
...
Fixes #6211
2017-05-07 19:23:55 -07:00
AndHell
dc18f73594
update contact query
...
update query to remove duplicated numbers
Fixes #4191
Closes #6475
2017-05-07 19:18:26 -07:00
Moxie Marlinspike
12ce92bb83
Fix super call
...
// FREEBIE
2017-05-07 18:59:35 -07:00
Moxie Marlinspike
b0b08a37db
Rename "other" to "sms"
...
// FREEBIE
2017-05-07 18:59:18 -07:00
FeuRenard
1b75d00de5
Color registration buttons correctly <API21
...
Fixes #6604
Closes #6605
// FREEBIE
2017-05-07 18:23:19 -07:00
Jonas Vautherin
dd3cef5ec2
Refactor storage management to have a centralized,
...
clearer way to get the Signal output directories
Closes #6476
// FREEBIE
2017-05-06 14:06:04 -07:00
Moxie Marlinspike
757ccd0c36
Updated emoji set
...
Fixes #4279
Fixes #6587
2017-05-05 19:42:23 -07:00
Moxie Marlinspike
e340f85258
Tint devices icon too
...
Fixes #6601
// FREEBIE
2017-04-28 16:30:20 -07:00
Mateo Hernandez
a93fb1a0e5
Fix font size preference
...
Closes #6597
// FREEBIE
2017-04-28 14:51:56 -07:00
Christian Juner
1c94137f7a
Fall back to Camera1Enumerator on exceptions
...
If Camera2Enumerator.isSupported() throws, consider Camera2Enumerator to
not be supported, log the Throwable, and use Camera1Enumerator instead.
Before this patch, an exception thrown by Camera2Enumerator.isSupported
would crash any Signal call (even if video was not enabled).
Fixes #6537
// FREEBIE
2017-04-27 20:51:31 +02:00
Moxie Marlinspike
2e8250f25e
Add LG G3 to OpenSLES blacklist
...
// FREEBIE
2017-04-27 11:38:49 -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
4d889a45e2
Blacklist Nexus 5 from OpenSL ES
...
Fixes #6432
// FREEBIE
2017-04-26 10:26:32 -07:00
Moxie Marlinspike
66d1d88686
Fix file push media constraint
...
// FREEBIE
2017-04-25 10:01:09 -07:00
Moxie Marlinspike
31a549449b
Mutate Drawables we tint
...
Fixes #6575
// FREEBIE
2017-04-24 16:37:13 -07:00
Moxie Marlinspike
9bf198bb81
Add media constraints for arbitrary file types
...
Fixes #6573
// FREEBIE
2017-04-24 15:53:22 -07:00
Ahmed Ibrahim Khalil
c2796285d5
Fix copying links when scrolling in #6343
...
Closes #6565
// FREEBIE
2017-04-23 16:25:57 -07:00
Moxie Marlinspike
25c7459464
Add support for notification priority preference
...
Fixes #6315
// FREEBIE
2017-04-21 23:05:59 -07:00
Moxie Marlinspike
2dceef50b7
Slim down some preference screens
...
// FREEBIE
2017-04-21 23:05:59 -07:00
Moxie Marlinspike
438a78ed30
Switch jobs with network requirement to timed wakelock
...
// FREEBIE
2017-04-21 23:05:59 -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
ad4657df1f
Fix video selection support with extra mime type
...
// 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
f07ce7b1f1
Move SMS/MMS pref hiding logic to onCreate
...
Closes #6528
// FREEBIE
2017-04-21 23:05:59 -07:00
Mateo Hernandez
a353ebd834
Add tint to preference icons
...
Closes #6540
// FREEBIE
2017-04-21 23:05:59 -07:00
Moxie Marlinspike
ddf6126abf
Fix VideoPlayer Build.VERSION minimum
...
// FREEBIE
2017-04-16 11:11:08 -07:00
Mateo Hernandez
c389a9d3ce
Support non-BMP chars (e.g. emojis) in avatars
...
Closes #6527
Fixes #6522
// FREEBIE
2017-04-16 10:35:08 -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
5f5db5ded7
Support for message body text size preference
...
// FREEBIE
2017-04-14 22:59:30 -07:00
Moxie Marlinspike
e5a287b4e5
Add preference for SMS invitation prompt
...
// FREEBIE
2017-04-14 20:51:22 -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
4fd41080ac
Use exoplayer for playing video on API 16+ devices
...
// FREEBIE
2017-04-13 14:15:06 -07:00
Moxie Marlinspike
fad697ba2a
Fix CipherInputStream seek behavior
...
Fixes #6518
// FREEBIE
2017-04-13 12:21:38 -07:00
Moxie Marlinspike
51f27631ef
Switch from hardware AEC blacklist to whitelist
...
Related #6241
// FREEBIE
2017-04-12 15:12:13 -07:00
Taylor Kline
04153a3869
Grey 'LED blink pattern' when LED Color is None
...
Add BooleanListPreference to allow pref_led_blink to depend on
pref_led_color being non-None.
Closes #6480
2017-04-12 15:01:35 -07:00
Simon
b0b1cdef35
Add Redmi Note 4 to HARDWARE_AEC_BLACKLIST
...
See #6241
Closes #6516
// FRЕЕBIЕ
2017-04-10 14:31:45 -07:00
Moxie Marlinspike
6b7174bb35
Add OnePlus One to AEC blacklist
...
// FREEBIE
2017-04-10 09:29:46 -07:00
Moxie Marlinspike
92ea7549d4
Make UpdateApkJob use a timed wakelock
...
Fixes #6514
// FREEBIE
2017-04-10 09:25:52 -07:00
Moxie Marlinspike
0a4d1569fb
Clean up file name some on save
...
Rusty Bird points out that we don't want the save action to create
files outside the parent or hidden files.
// FREEBIE
2017-04-10 09:14:59 -07:00
Moxie Marlinspike
7c5df81840
Fix for busted OpenSSL JCE provider on older versions of android
...
Fixes #6477
// FREEBIE
2017-04-03 17:23:56 -07:00
Moxie Marlinspike
2ce9eeabed
Fix for broken attachments
...
Fixes #6467
// FREEBIE
2017-04-02 09:29:26 -07:00
Paride Legovini
c97fa0d3d1
Blacklist OnePlus X from hardware AEC
...
Closes #6465
// FREEBIE
2017-03-31 16:54:22 -07:00
Moxie Marlinspike
b0bd6ad729
Fix for crash when opening group conversation
...
Fixes #6464
// FREEBIE
2017-03-31 16:52:50 -07:00
FeuRenard
07c8db824e
Disable screen during earpiece voice note playback
...
Fixes #6437
Closes #6445
// FREEBIE
2017-03-31 09:13:00 -07:00
Moxie Marlinspike
75782affd1
Adjust joined signal string
...
// FREEBIE
2017-03-31 08:54:07 -07:00
Moxie Marlinspike
3aae86d20c
Update registration activity style
...
// FREEBIE
2017-03-30 18:18:04 -07:00
Moxie Marlinspike
ad0f2830c8
Raise max gif limit to 25MB
...
// FREEBIE
2017-03-30 16:12:55 -07:00
Moxie Marlinspike
056f2717ed
Remove duplicate column in SQL query
...
// FREEBIE
2017-03-30 16:12:42 -07:00
Moxie Marlinspike
f67eb5f9f3
Support for receiving arbitrary attachment types
...
// FREEBIE
2017-03-29 18:17:34 -07:00
Moxie Marlinspike
c69efbffd2
Don't enable speakerphone when video enabled if headset on
...
Fixes #6431
// FREEBIE
2017-03-24 11:11:48 -07:00
Moxie Marlinspike
01d66087aa
Blacklist Nexus 6 from hardware AEC
...
Remove all blacklisting from library
// FREEBIE
2017-03-23 16:18:07 -07:00
Moxie Marlinspike
e0e932df02
Add Samsung Galaxy S7 and Sony Xperia SP to AEC blacklist
...
Related #6241
// FREEBIE
2017-03-23 16:18:07 -07:00
Moxie Marlinspike
3ca653627d
Add LG G3 to hardware AEC blacklist
...
Helps #6241
// FREEBIE
2017-03-23 16:18:07 -07:00
Moxie Marlinspike
f4acaad407
Add Pixel, S5, Redmi Note 3, and Xiaomi Mi4 to AEC blacklist
...
Make these application-level changes
Helps #6241
// FREEBIE
2017-03-23 16:18:07 -07:00
Moxie Marlinspike
93e7a626bf
Make voice note playback proximity aware
...
1) Play audio through earpiece if placed to ear
2) Stop playing audio if removed from ear
Fixes #6195
// FREEBIE
2017-03-23 16:18:07 -07:00
Moxie Marlinspike
7ad68296dd
Fix for crash when call initiated from contacts
...
Fixes #6428
// FREEBIE
2017-03-22 09:49:06 -07:00
Moxie Marlinspike
0d11b3dd26
Lets limit GCM refresh to every 6hrs, and only retry once
...
// FREEBIE
2017-03-17 10:40: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
FeuRenard
a421630789
Update input after enabling SMS
...
Fixes #6363
Closes #6387
// FREEBIE
2017-03-16 15:22:02 -07:00
FeuRenard
0f548a431b
Fallback to SMS app for invitations
...
Fixes #6369
Closes #6400
// FREEBIE
2017-03-16 14:29:41 -07:00
Benedikt Constantin Radtke
742b54f32d
fix ContactUpdates for non-e164 contacts
...
convert every number to e164 before sending it to slaves/siblings.
Closes #6310
2017-03-16 14:25:47 -07:00
Paride Legovini
1c9715f700
More RedPhone cleanup
...
Closes #6393
// FREEBIE
2017-03-15 16:59:46 -07:00
Moxie Marlinspike
9273f5cc67
Switch import/export activity from tabs to cards
...
// FREEBIE
2017-03-15 16:53:15 -07:00
Moxie Marlinspike
a8366387ab
Fix the build
...
// FREEBIE
2017-03-14 15:47:08 -07:00
Admir Ireiz
5e02715a2c
Change the app icon
...
Closes #6189
2017-03-14 15:46:19 -07:00
Christian Ascheberg
3506f2db12
Improve group update descriptions
...
Closes #5416
// FREEBIE
2017-03-14 14:26:14 -07:00
haffenloher
66c9fd44df
Honor synced end session messages
...
Fixes #5174
Closes #5178
2017-03-14 14:07:18 -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
2f46c6ca1f
Don't redisplay notifications after they have been dismissed
...
Fixes #5751
Fixes #6218
// FREEBIE
2017-03-14 10:09:24 -07:00
Moxie Marlinspike
bb5e7db57e
We don't need to refresh attributes in redphone any longer
...
// FREEBIE
2017-03-13 11:50:10 -07:00
Moxie Marlinspike
3127fda7fe
Actually show the GMS update dialog
...
// FREEBIE
2017-03-12 10:56:51 -07:00
Christian Ascheberg
12b27cc56b
Fix WebRTC capability check for unregistered users
...
Fixes #6358
Closes #6368
// FREEBIE
2017-03-12 10:50:13 -07:00
mcloo
1683bb4636
Choose AudioManager SCO action device depended
...
Closes #6367
//FREEBIE
2017-03-12 10:47:35 -07:00
mcloo
9d13b9437c
Fix NPE crash when no bluetooth is available
...
Fixes #6355
Closes #6366
2017-03-12 10:45:52 -07:00
Christian Ascheberg
97c3e8fa3f
Inform about timed out incoming calls
...
Closes #6344
// FREEBIE
2017-03-12 10:43:55 -07:00
Moxie Marlinspike
6866a74d95
Don't display the last seen divider for outgoing calls
...
// FREEBIE
2017-03-09 17:31:07 -08:00
Moxie Marlinspike
cbba8c0d76
Update signal-service
...
// FREEBIE
2017-03-09 17:31:03 -08:00
Max Muth
2c1a5aef1c
Fix occasional crash on Android 7 direct reply
...
Fixes #6185
Closes #6322
//FREEBIE
2017-03-06 14:08:25 -08:00
FeuRenard
0095e00bc7
Keep screen on during voice note recording
...
Closes #6239
Fixes #4646
// FREEBIE
2017-03-06 13:45:34 -08:00
Moxie Marlinspike
ed5faa4ba9
Add video calling intro screen
...
// FREEBIE
2017-03-06 12:32:09 -08:00
Moxie Marlinspike
1e02d70052
Make webrtc calling default
...
// FREEBIE
2017-03-06 12:10:26 -08:00
Moxie Marlinspike
b110c8a2cb
Reregister GCM on every app start
...
Fixes #5531
// FREEBIE
2017-03-06 11:50:51 -08:00
Moxie Marlinspike
bdcfabf1ee
Silence incoming ringer when power button is pressed
...
// FREEBIE
2017-03-05 10:36:01 -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
Moxie Marlinspike
3904c76261
Some additional debug logging
...
Related #6305
// FREEBIE
2017-02-28 17:06:05 -08:00
Moxie Marlinspike
cb6e048070
Don't try to unregister for GCM if Play Services doesn't exist
...
Fixes #6314
// FREEBIE
2017-02-28 16:59:15 -08:00
Moxie Marlinspike
9b8719e2d5
Support for website distribution build with auto-updating APK
...
// FREEBIE
2017-02-27 23:53:36 -08:00
Moxie Marlinspike
79e925051a
Support for attachment digests
...
// FREEBIE
2017-02-26 11:16:01 -08:00
Moxie Marlinspike
a37d2f568c
Update webrtc to M57
...
// FREEBIE
2017-02-26 11:16:01 -08:00
Moxie Marlinspike
e92b51ed98
Run webrtc calls as foreground service
...
Should hopefully stop performance degredation when in background
Fixes #6249
// FREEBIE
2017-02-26 11:16:01 -08:00
Moxie Marlinspike
cb9f225f59
Don't start VideoCapturer until video enabled.
...
Should help with battery consumption on audio-only calls
Fixes #6259
// FREEBIE
2017-02-26 11:16:01 -08:00
Moxie Marlinspike
8f96cff104
Don't let outgoing messages trigger last seen divider
...
Closes #6306
// FREEBIE
2017-02-26 10:49:48 -08:00
Christian Ascheberg
25daf01307
Fix unread messages timestamp comparison
...
Closes #6302
// FREEBIE
2017-02-26 10:11:37 -08:00
Christian Ascheberg
44bb2c7c72
Do not call Notification.setSound with empty ringtone
...
Closes #6293
// FREEBIE
2017-02-24 17:27:25 -08:00
Moxie Marlinspike
65c05e0388
Fix outbound calls for non-play-services users
...
Fixes #6272
// FREEBIE
2017-02-23 10:07:12 -08:00
Moxie Marlinspike
8cd50d1e82
Update last seen state on desktop sync send
...
// FREEBIE
2017-02-22 15:05:35 -08:00
Moxie Marlinspike
bdc464193d
Adjust last seen divider on read sync
...
Fixes #6273
// FREEBIE
2017-02-21 22:33:16 -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
eddb97013a
Disable proximity lock when local video is enabled
...
Fixes #6179
// FREEBIE
2017-02-19 12:29:33 -08:00
Moxie Marlinspike
a075bf7505
Don't scroll to last seen until the recyclerview has been measured
...
// FREEBIE
2017-02-19 12:29:33 -08:00
Moxie Marlinspike
acca4a72d3
Improve default SMS subscription id intelligence
...
Fixes #5266
// 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
d5b7ff58e2
Fix for last_seen crash when archive placeholder is visible
...
// FREEBIE
2017-02-19 12:29:33 -08:00
Moxie Marlinspike
d2eebbc55a
Little bit of extra SmsListener logging
...
Related #5253
// FREEBIE
2017-02-19 12:29:33 -08:00
Moxie Marlinspike
cf891edce9
Should fix "locked message" on reminder notification issue
...
Fixes #5782
// FREEBIE
2017-02-19 12:29:33 -08:00
Moxie Marlinspike
f541e33356
Publish TURN-only ICE candidates in some situations
...
1) Incoming call is from a number not in user's address book
2) Turn-only preference is enabled for all incoming/outgoing calls
// FREEBIE
2017-02-19 12:29:33 -08:00
Moxie Marlinspike
aa30f3e410
Revert "Don't use SHA1 for stable IDs"
...
This reverts commit 7286fd9b06ec582bfd4ed83dd81a461564806250.
Fixes #6223
// FREEBIE
2017-02-19 12:29:33 -08:00
haffenloher
83e31cac07
Show videos in media overview
...
Fixes #5941
Closes #6152
// FREEBIE
2017-02-19 12:29:33 -08:00
FeuRenard
98d223f094
Don't display date for drafts in media preview
...
Closes #6208
// FREEBIE
2017-02-19 12:29:33 -08:00
RiseT
917389131c
Fix some wording for group conversations
...
Closes #6204
Fixes #6193
// FREEBIE
2017-02-19 12:29:33 -08:00
Nicholas Rizzio
e1f09e0437
Debloat ConversationAdapter's tag
...
getName() includes the full package name, which adds a ridiculous
amount of text to the debug log. Using getSimpleName() is in line with
the rest of the repository.
Closes #6202
// FREEBIE
2017-02-19 12:29:33 -08:00
Mattias Eriksson
e2d94adfdb
Add Intent.FLAG_INCLUDE_STOPPED_PACKAGES
...
Add Intent.FLAG_INCLUDE_STOPPED_PACKAGES to Android Auto intents to
match https://developer.android.com/training/auto/messaging/index.html
// FREEBIE
2017-02-19 12:29:33 -08:00
brumsel
c594691b93
Fix resend buttons being shown when they shouldn't
...
Correctly set the IS_PUSH_GROUP_EXTRA flag for MessageDetailsActivities
started by selecting a message and pressing the (i) icon in the action
bar
Closes #6171
Fixes #3582
// FREEBIE
2017-02-19 12:29:33 -08:00
haffenloher
9395f7faa0
Correct PushGroupUpdateJob's TAG
...
Closes #6166
// FREEBIE
2017-02-19 12:29:33 -08:00
haffenloher
9c1f7f1657
Make VideoPlayer toast error message translatable
...
Closes #6150
// FREEBIE
2017-02-19 12:29:33 -08:00
Christian Ascheberg
1aa2d546d2
enable silent per recipient ringtone preference
...
Closes #4957
// FREEBIE
2017-02-19 12:29:33 -08:00
Moxie Marlinspike
143fb1fe21
Make header decorations play well together
...
// 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
0075940050
Delete archived sessions on identity change
...
// FREEBIE
2017-02-19 12:29:08 -08:00
Moxie Marlinspike
7d10560575
Workaround android SurfaceView bug
...
Fixes #6225
// FREEBIE
2017-02-16 13:01:45 -08:00
Moxie Marlinspike
e25d31ceb6
Disable webrtc calling for Gingerbread users
...
Fixes #6220
// FREEBIE
2017-02-13 22:55:06 -08:00
Moxie Marlinspike
0efd6d9341
Don't use AsyncTask for beta calling capabilities refresh
...
Also, actually store the result in the directory db.
Fixes #6212
// FREEBIE
2017-02-12 11:27:26 -08:00
Moxie Marlinspike
f3e47f7b60
Support for minimized controls during video call
...
// FREEBIE
2017-02-11 20:48:42 -08:00
Moxie Marlinspike
fb8440f886
Correctly manage busy state for (webrtc, redphone, pstn) tuple
...
Fixes #6156
// FREEBIE
2017-02-05 12:38:08 -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
5cfd7477ab
Keep websocket connection open during call
...
// FREEBIE
2017-02-03 11:59:10 -08:00
Moxie Marlinspike
0992d6545e
Don't sleep screen in calls
...
Fixes #6141
// FREEBIE
2017-02-02 19:02:26 -08:00
Moxie Marlinspike
7d644ae9c6
Run local hangup events through view model
...
Fixes #6143
// FREEBIE
2017-02-02 18:53:45 -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
8dc6f2b15b
Mark egl resources as freed in webrtc terminate
...
Fixes #6138
// FREEBIE
2017-02-01 22:55:19 -08:00
Moxie Marlinspike
2408bd4d65
Fix for groups crash when beta calling enabled
...
Fixes #6137
// FREEBIE
2017-02-01 18:30:53 -08:00
Benedikt Constantin Radtke
85aa5c5b97
use canonical number when sending blocked updates
...
MultiDeviceBlockedUpdates now send e164 numbers instead
of localized ones.
Fixes #6093
Closes #6109
// FREEBIE
2017-02-01 13:55:52 -08:00
FeuRenard
c88a0ba324
Fix linkifying in selection mode
...
Fixes #6106
Closes #6108
// FREEBIE
2017-02-01 13:55:52 -08:00
Moxie Marlinspike
53d590947e
Force capability refresh on conversation load if in webrtc beta
...
// FREEBIE
2017-02-01 13:55:52 -08:00
Moxie Marlinspike
ea0945d406
Beta support for webrtc video and voice calling
...
// FREEBIE
2017-02-01 13:55:52 -08:00
Moxie Marlinspike
9afbdaa2be
Don't let failed capability retrieval erroneously disable SMS
...
Fixes #6135
// FREEBIE
2017-01-31 21:46:20 -08:00
Moxie Marlinspike
4fb8d1fa49
Fix for NPE when MMS From is absent
...
Fixes #6115
// FREEBIE
2017-01-29 13:16:51 -08:00
Moxie Marlinspike
67cab3ce86
Fix illegalargumentexception on rotate
...
Fixes #6118
// FREEBIE
2017-01-29 13:02:59 -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
b575b4e6ae
Fix for intermittent crash
...
// 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
b677370597
Apparently this doesn't work in Cuba
...
// FREEBIE
2017-01-23 10:46:57 -08:00
Benedikt Constantin Radtke
4461ebf662
check if image decoding succeeded before using the result
...
Fixes #6061
Closes #6080
// FREEBIE
2017-01-22 22:05:27 -08:00
Moxie Marlinspike
21a0fe3a48
Don't return unresolved asynchronous recipients for non-async callers
...
Fixes #6082
// FREEBIE
2017-01-22 21:57:23 -08:00
Moxie Marlinspike
dadc8d0183
Refactor "unnamed" group logic
...
// FREEBIE
2017-01-22 21:23:51 -08:00
Moxie Marlinspike
7e51d61c79
Ignore duplicate signal messages
...
Fixes #5579
// FREEBIE
2017-01-22 14:47:02 -08:00
Nicholas Rizzio
da05cf9192
Use HTTPS for all support links
...
support.whispersystems.org is now available through TLS, but is not
included in the HSTS preload list. Hence, these links are vulnerable
to SSL stripping until the user visits the site over HTTPS for the
first time. Changing these links to https:// ensures that the user
always gets the encrypted version of the support website.
Closes #6056
// FREEBIE
2017-01-21 10:20:58 -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
86df150374
Update ShortcutBadger
...
Fixes #6069
// FREEBIE
2017-01-21 10:06:49 -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
7286fd9b06
Don't use SHA1 for stable IDs
...
// FREEBIE
2017-01-19 19:06:46 -08:00
Moxie Marlinspike
f2a9b02b5e
Add a little timing information
...
// FREEBIE
2017-01-19 11:47:02 -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
Moxie Marlinspike
4906bdbdcc
Make default SMS provider lookup asynchronous
...
// FREEBIE
2017-01-18 11:01:13 -08:00
Moxie Marlinspike
bbb8ac113b
Disable image keyboards for SDK < 5.0
...
Fixes #6045
// FREEBIE
2017-01-17 20:46:20 -08:00
Moxie Marlinspike
360c2b2a50
This attempts to work around a ROM crash bug
...
getActiveNotifications() seems to throw an NPE on some Motorola
ROMs, all of which appear to be 6.0.1. This change just swallows
the exception.
6.0 doesn't support bundled notifications, so I think it's alright
if they don't get canceled, since the summary notification will
still be displayed correctly.
This would only affect users who have an android wear device
attached to one of these buggy ROMs. By swallowing this exception,
they would not always get notifictions dismissed on their wear
device.
Fixes #6043
// FREEBIE
2017-01-17 20:41:24 -08:00
Moxie Marlinspike
edac0e85c7
Fix non-thread-safe operations on canonical id cache
...
// FREEBIE
2017-01-12 16:06:14 -08:00
Moxie Marlinspike
fd3d02d818
Fix typo
...
// FREEBIE
2017-01-12 12:26:50 -08:00
Veeti Paananen
25f9bef74c
Display elapsed voice recording time in user language
...
Closes #6011
// FREEBIE
2017-01-12 11:49:47 -08:00