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 338f8de787
.
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