Moxie Marlinspike
5be246ec8f
Fix NPE for SMS pdus that could potentially be null
...
// FREEBIE
2017-07-21 16:11:55 -07:00
Moxie Marlinspike
82b5b35d3b
Eliminate MediaNetworkRequirement style attachment job handling
...
// FREEBIE
2017-07-21 15:59:27 -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
074e46b2d9
Enable verification syncing
...
// FREEBIE
2017-06-23 13:59:06 -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
0f6823d37e
Null check just in case the profile comes back empty
...
// FREEBIE
2017-06-14 09:35:32 -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
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
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
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
b78c05e70b
Keep track of when audio attachments are voice notes
...
// FREEBIE
2017-05-11 22:46:35 -07:00
Moxie Marlinspike
1c8c6d5f85
Be sure to canonicalize numbers when updating groups
...
// FREEBIE
2017-05-09 17:46:07 -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
Moxie Marlinspike
cb670d6783
Improve UI send latency
...
// FREEBIE
2017-04-26 10:27:30 -07:00
Moxie Marlinspike
438a78ed30
Switch jobs with network requirement to timed wakelock
...
// FREEBIE
2017-04-21 23:05:59 -07:00
Moxie Marlinspike
92ea7549d4
Make UpdateApkJob use a timed wakelock
...
Fixes #6514
// FREEBIE
2017-04-10 09:25:52 -07:00
Moxie Marlinspike
f67eb5f9f3
Support for receiving arbitrary attachment types
...
// FREEBIE
2017-03-29 18:17:34 -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
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
a8366387ab
Fix the build
...
// FREEBIE
2017-03-14 15:47:08 -07:00
haffenloher
66c9fd44df
Honor synced end session messages
...
Fixes #5174
Closes #5178
2017-03-14 14:07:18 -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
cbba8c0d76
Update signal-service
...
// FREEBIE
2017-03-09 17:31:03 -08:00
Moxie Marlinspike
b110c8a2cb
Reregister GCM on every app start
...
Fixes #5531
// FREEBIE
2017-03-06 11:50:51 -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
8cd50d1e82
Update last seen state on desktop sync send
...
// FREEBIE
2017-02-22 15:05:35 -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
1b1470aae2
Upgrade to EventBus 3.X
...
// 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
haffenloher
9395f7faa0
Correct PushGroupUpdateJob's TAG
...
Closes #6166
// FREEBIE
2017-02-19 12:29:33 -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
Moxie Marlinspike
ea0945d406
Beta support for webrtc video and voice calling
...
// FREEBIE
2017-02-01 13:55:52 -08:00
Moxie Marlinspike
7e51d61c79
Ignore duplicate signal messages
...
Fixes #5579
// FREEBIE
2017-01-22 14:47:02 -08:00
Moxie Marlinspike
cb23e3a930
Untrusted identity is not always a legacy message content
...
Closes #5924
Fixes #5922
// FREEBIE
2017-01-12 10:33:23 -08:00
Moxie Marlinspike
bb5dcb7131
Start increasing frequency of signed prekey rotation
...
// FREEBIE
2017-01-06 09:19:58 -08:00
Benedikt Constantin Radtke
a6488b3652
fix zero length attachments crashing signal
...
Fixes #5331
Closes #5926
2017-01-02 17:17:48 -08:00
Moxie Marlinspike
cdf3a849e9
Reduce DB updates on send path, move support SDK up to 24
...
// FREEBIE
2017-01-02 17:17:48 -08:00
Moxie Marlinspike
f3f2f29b23
Fix avatar download crash bug
...
Fixes #5980
// FREEBIE
2016-12-21 09:58:45 -08:00
Moxie Marlinspike
541718fd11
Support for censorship circumvention in Egypt and UAE
...
// FREEBIE
2016-12-20 09:55:52 -08:00
Moxie Marlinspike
f871d83e68
No need to run this job on install
...
// FREEBIE
2016-12-16 09:10:44 -08:00
Moxie Marlinspike
01bc2ebde4
Don't print safety number changes in inactive groups
...
Fixes #5930
// FREEBIE
2016-12-14 16:20:09 -08:00
Benedikt Constantin Radtke
d9ff5b00b7
fix NPE in PushGroupUpdateJob
...
Fixes #5919
Closes #5921
// FREEBIE
2016-12-04 18:06:25 -08:00
Moxie Marlinspike
cf01959e16
Support recovering forgotten/unknown group info from sender
...
Closes #5876
// FREEBIE
2016-12-01 10:34:47 -08:00
Niklas Wenzel
0d493a3af9
Get the automated tests up and running again
...
* Fix the build.gradle file
* Use the correct VisibleForTesting class
* Fix the Android test setUp() logic
* Enable a test in DeliveryReceiptJobTest.java where the @Test anotation was missing
It should be noted that the tests in AttachmentDatabaseTest.java fail.
Fixes #3474
Closes #5882
2016-11-24 08:13:46 -08:00
Moxie Marlinspike
3787551878
Squelch notifications for active desktop converastions
...
Additionally, limit audible notifications to once every 2 seconds.
// FREEBIE
Fixes #4905
Fixes #3165
Closes #5813
2016-11-24 08:09:34 -08:00
Moxie Marlinspike
0abe56171a
Enable non-blocking safety number changes
...
// FREEBIE
2016-11-11 19:07:35 -08:00
Moxie Marlinspike
8d44a145f0
Start expiration timer when marked read from notification
...
// FREEBIE
2016-10-10 11:13:37 -07:00
Moxie Marlinspike
7d1c5a0d40
Don't transmit SMS contact information to multi-device on change
...
Fixes #5710
// FREEBIE
2016-10-05 16:57:52 -07:00
Moxie Marlinspike
5ed1c9c72b
Fix for expiration update sync sent messages
...
// FREEBIE
2016-10-03 12:48:30 -07:00
Christian Ascheberg
314dd9181c
Fix timer update group notification expiry
...
Closes #5727
// FREEBIE
2016-10-02 22:43:21 -07:00
Moxie Marlinspike
68b48ebe00
Start disappearing message timer on read sync messages
...
Fixes #5733
// FREEBIE
2016-10-02 12:08:30 -07:00
Moxie Marlinspike
848a25664b
Make fingerprint changes optionally non-blocking
...
Also complete the rename from "identity" to "safety numbers."
// FREEBIE
2016-09-25 14:27:40 -07:00
Moxie Marlinspike
cbbe25c852
Fix contact update NPE
...
Fixes #5704
// FREEBIE
2016-09-19 23:25:15 -07:00
Moxie Marlinspike
32f5bd5336
Support for syncing contact colors and block lists
...
Closes #5638
// FREEBIE
2016-09-14 16:37:28 -07:00
FeuRenard
792d4a5939
Resize group images
...
Fixes #5461
Closes #5597
// FREEBIE
2016-09-01 12:29:11 -07:00
Moxie Marlinspike
d7e4928f22
Support for disappearing messages
...
// FREEBIE
2016-08-28 17:03:23 -07:00
Moxie Marlinspike
7b589c4300
TextSecure is now SignalService
...
// FREEBIE
2016-03-24 14:05:56 -07:00
haffenloher
021942fd43
Don't issue errors when group members unregister
...
Fixes #2408
Fixes #4550
Closes #5318
// FREEBIE
2016-03-09 16:34:25 -08:00
Moxie Marlinspike
08e2221dc0
Support for synchronizing read state to/from desktop
...
// FREEBIE
2016-02-19 17:07:41 -08:00
Moxie Marlinspike
03efe02e65
Add active status to group multi-device sync messages
...
// FREEBIE
2016-02-18 17:52:01 -08:00
Moxie Marlinspike
6da86e482d
Support for dual-sim SMS/MMS functionality
...
Allow source selection for sending SMS/MMS, and display the
SIM that received SMS/MMS.
Fixes #555
Closes #5199
// FREEBIE
2016-02-09 16:53:15 -08:00
Moxie Marlinspike
4a261bcf68
Check result of bitmap size operation for failure
...
Fixes #5046
// FREEBIE
2016-01-30 15:22:55 -08:00
Colin Snover
50c432aaf0
Strip separators prior to validating non-email SMS recipients
...
Refs #1516 . Refs #3099 . Refs #4833 .
Closes #4861
2015-12-11 23:11:35 -08:00
Moxie Marlinspike
bde838d35a
Let's take this SMS number cleaning thing to its logical extreme
...
Fixes #4833
// FREEBIE
2015-12-10 18:49:58 -08:00
Moxie Marlinspike
e32736359b
Move group message to group after accepting new identity key
...
Fixes #2739
// FREEBIE
2015-12-10 05:04:03 -08:00
Moxie Marlinspike
371ef3ce95
Strip whitespace in addition to parentheses for outgoing SMS
...
Fixes #4833
// FREEBIE
2015-12-10 05:04:03 -08:00
Christian Ascheberg
4696837f2f
warn user before build expires
...
Closes #4322
// FREEBIE
2015-12-10 05:04:03 -08:00
Geonu Kang
8269047c88
Update attachment content type when updating attachment data
...
Fixes #4687
Closes #4688
2015-12-02 09:45:57 -08:00
Moxie Marlinspike
073be6696b
Mark threads as read when we get an outgoing sync message
...
// FREEBIE
2015-11-26 07:24:57 -08:00
Jake McGinty
e51e5cdfd4
fail faster in FileNotFoundException case
...
Fixes #3053
Closes #4499
// FREEBIE
2015-11-12 15:20:17 -08:00
Moxie Marlinspike
b136fed6f7
Update contact DB on incoming messages
...
When we receive a Signal message from a previously unregistered
user, reflect that in the contact DB.
Fixes #3949
Closes #4492
// FREEBIE
2015-11-12 15:20:16 -08:00
Moxie Marlinspike
b5b564cfe1
Make sure the number we add canonicalizes to the number we know.
...
Fixes #4406
// FREEBIE
2015-11-06 10:50:47 -08:00
Stefan Seide
e808ae0ddc
remove brackets from recipient numbers as not allowed for dialing
...
Closes #3450
2015-11-05 10:07:52 -08:00
Moxie Marlinspike
004a87eba9
Lower SMS retry count to 15
...
Closes #4296
// FREEBIE
2015-11-04 17:56:20 -08:00
Moxie Marlinspike
5b6f49c993
Switch RedPhone view<->service interaction to use event bus
...
Fixes #4234
// FREEBIE
2015-11-04 17:56:20 -08:00
Moxie Marlinspike
d0e852f19f
Retry on network failures during media message sends.
...
Fixes #4332
// FREEBIE
2015-11-04 17:56:20 -08:00
Moxie Marlinspike
8d82033855
Notify when contacts join Signal
...
Closes #4314
// FREEBIE
2015-11-04 17:56:20 -08:00
Moxie Marlinspike
751fa21f60
Ignore envelopes with unknown type
...
// FREEBIE
2015-11-04 17:56:19 -08:00
Moxie Marlinspike
11a93fabe5
Synchronize with paired devices when a contact changes.
...
// FREEBIE
2015-11-04 17:56:19 -08:00
Jake McGinty
758b306527
really fix crash from incorrect send job
...
Closes #4246
// FREEBIE
2015-10-26 11:44:45 -07:00
Moxie Marlinspike
a64dba8a7e
Correctly format numbers in outgoing MMS
...
// FREEBIE
2015-10-24 18:36:03 -07:00
Moxie Marlinspike
c258b4c7aa
Expand MMS-specific queries, properly parse incoming MMS.
...
// FREEBIE
2015-10-24 09:40:04 -07:00
Moxie Marlinspike
a5971da2ad
Revert "fix crash from incorrect send job"
...
This reverts commit 8fe5f35b13
.
2015-10-23 17:08:17 -07:00
Jake McGinty
8fe5f35b13
fix crash from incorrect send job
...
related to #4153
Clsoes #4246
// FREEBIE
2015-10-23 17:02:10 -07:00
Moxie Marlinspike
25e099a309
Fix two message ordering issues.
...
1) The group ID for jobs that process received messages was
previously set to the sender's e164. This guaranteed
serialization of messages per-recipient, while allowing
processing of multiple recipients in parallel. Unfortunately
in the case of groups, this results in out of order
conversations, since the "sender" for each message is
different. And we can't determine that it was a group
message until *after* we process it. So this change just
puts all message processing from all senders in one big queue.
2) Synchronization messages were always being displayed before
received messages, due to the "received time" for those
being set to the time they were sent.
Fixes #3618
Fixes #2385
// FREEBIE
2015-10-16 10:07:50 -07:00
Moxie Marlinspike
5fd9874ab6
Support for group update messages from paired devices.
...
Fixes #3566
// FREEBIE
2015-10-15 17:10:54 -07:00
Moxie Marlinspike
09e52834a6
Refactor "parts" to contain MMS/PDU madness to MMS code paths.
...
Closes #4248
// FREEBIE
2015-10-15 11:11:39 -07:00
Jake McGinty
cdf982a356
be safer when processing parts in AttachmentDownloadJob
...
Closes #4166
// FREEBIE
2015-10-01 12:36:54 -07:00
Moxie Marlinspike
0b20e99cd2
Refresh attributes to signal voice support on update.
...
// FREEBIE
2015-09-30 18:24:40 -07:00
Moxie Marlinspike
31e20ca87e
Distinguish between secure and insecure call in conversation menu.
...
// FREEBIE
2015-09-30 14:30:11 -07:00
Moxie Marlinspike
d9a3f5a3b8
Fix up security initialization stuff in ConversationActivity
...
// FREEBIE
2015-09-30 14:30:10 -07:00