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
Moxie Marlinspike
4044da849e
Replace all strings containing 'TextSecure' with 'Signal'
...
// FREEBIE
2015-09-30 14:30:10 -07:00
Moxie Marlinspike
7377e6c7da
Support for syncing and checking secure voice support.
...
// FREEBIE
2015-09-30 14:30:10 -07:00
Moxie Marlinspike
d83a3d71bc
Support for Signal calls.
...
Merge in RedPhone
// FREEBIE
2015-09-30 14:30:09 -07:00
Moxie Marlinspike
92593d459b
Remove the final vestiges of encrypted SMS
...
Fixes #4026
// FREEBIE
2015-09-24 14:12:09 -07:00
Jake McGinty
0e06e2de97
fix queuing of pending parts that had data already
...
fixes #4061
Closes #4073
// FREEBIE
2015-09-14 18:06:03 -07:00
Jake McGinty
21b7dccf1c
fix persistent stale attachment jobs
...
Closes #4041
// FREEBIE
2015-09-07 14:37:53 -07:00
Jake McGinty
923d9fb07b
fix crash on pending self-sent media
...
fixes #4016
Closes #4017
// FREEBIE
2015-09-04 11:42:58 -07:00
Jake McGinty
80ce83ef9d
Media download controls
...
Closes #3991
// FREEBIE
2015-09-03 11:40:55 -07:00
Sam Lanning
99adbe5784
Made some inner classes static (For Efficiency)
...
(and made one explicitly private)
Closes #3932
// FREEBIE
2015-09-02 12:46:56 -07:00
Jake McGinty
0c9d9e8dcf
use glide for encoding and resizing outgoing media
...
Closes #3915
// FREEBIE
2015-09-02 12:34:28 -07:00
Moxie Marlinspike
973ed7686b
Don't sync groups when there are no groups.
...
Fixes #3882
// FREEBIE
2015-08-06 10:20:13 -07:00
Moxie Marlinspike
f8bb065ffd
Support for images in notifications.
...
Closes #3859
Fixes #1858
// FREEBIE
2015-08-05 13:08:28 -07:00
Moxie Marlinspike
d2a728fc08
Display notification after upgrade migration w/ password.
...
// FREEBIE
2015-07-21 16:03:56 -07:00
Moxie Marlinspike
90d5e9dccd
Fix for double notification when locked.
...
Fixes #3702
// FREEBIE
2015-07-20 18:00:48 -07:00
Moxie Marlinspike
fda900e95d
Fix for receiving message after upgrade with no MS set.
...
// FREEBIE
2015-07-17 18:02:17 -07:00
Moxie Marlinspike
8d9ae731ef
Only use MasterSecret for local message encryption.
...
Not for the axolotl store.
// FREEBIE
2015-07-16 11:15:56 -07:00
Jake McGinty
1bdfb5f382
fix MMS part transfer indicator
...
make it less forever
Fixes #3546
Closes #3603
// FREEBIE
2015-07-10 12:38:43 -07:00
Moxie Marlinspike
59772504e3
Use attachment stream builders.
...
// FREEBIE
2015-07-01 15:39:18 -07:00
Jake McGinty
c2e5f4e80a
Add transfer indicators for attachments
...
Closes #3498
// FREEBIE
2015-07-01 15:38:55 -07:00
Moxie Marlinspike
c920146bff
Set serialVersionUID for all modified jobs.
...
At least this won't continue to fuck us up.
// FREEBIE
2015-06-24 18:30:55 -07:00
Moxie Marlinspike
2c9c9891c6
Support for multi-device group sync and group requests.
...
// FREEBIE
2015-06-24 18:30:55 -07:00
Moxie Marlinspike
bf3c1d3745
Support for device management, limits, and contact requests.
...
// FREEBIE
2015-06-24 18:30:55 -07:00
Moxie Marlinspike
3c41f27298
Support for multi-device contact sync.
...
// FREEBIE
2015-06-24 18:30:55 -07:00
Moxie Marlinspike
40af2a81db
Support for per-recipient muting, blocking, and ringtones.
...
Fixes #757
Fixes #354
Fixes #222
Closes #1815
Closes #3378
// FREEBIE
2015-06-11 11:09:02 -07:00
Moxie Marlinspike
26bcb590a7
Log retrieve exception.
...
// FREEBIE
2015-06-11 09:43:34 -07:00
Rhodey Orbits
e3760630bf
1) move PUSH_URL from Release.java into BuildConfig.java
...
2) use textsecure-service-staging.whispersystems.org for test build
// FREEBIE
hack
2015-06-03 12:17:24 -07:00
Moxie Marlinspike
ec60c24849
Slight cleanup for ConfirmIdentityDialog change.
...
Closes #3225
// FREEBIE
2015-06-03 11:11:23 -07:00
Moxie Marlinspike
9c2f14dade
Introduce unique part ID column for better cache accuracy.
...
Closes #3226
// FREEBIE
2015-05-21 12:17:42 -07:00
Moxie Marlinspike
2cfc714b64
Support for receiving incoming sync messages.
...
Closes #3188
// FREEBIE
2015-05-21 09:55:42 -07:00
Moxie Marlinspike
41cad291f9
Display a generated avatar icon rather than a single default.
...
If the contact doesn't have an image, render a color-coded
background and the first letter of the contact's name.
1) Don't display anything during recipient resolution.
2) Display a # icon in material gray for recipients with no name.
3) Display a material group icon in material gray for groups with
no avatar icon set.
Closes #3104
// FREEBIE
2015-05-07 10:36:54 -07:00
Jake McGinty
ab82ff0b69
use IPv6 routing API then fallback to Lollipop
...
1) Utilize the hidden API requestRouteToHostAddress that takes an
InetAddress (IPv6-capable) instead of a forced IPv4 integer-
encoded address. Will fallback to the IPv4 one if reflection
fails for whatever reason.
2) If on Lollipop and our manual MMS code doesn't work, will try
to use the Lollipop API and give it 60 seconds instead of 30,
since I did run into the timeout not being long enough in
certain conditions and I'm thinking maybe it just wasn't long
enough for some carriers.
Closes #3105
// FREEBIE
2015-05-04 18:29:30 -07:00
Moxie Marlinspike
efcdb7eb66
Add GroupId to PushNotificationReceivedJob
...
Pending message requests should probably be made sequentially.
// FREEBIE
2015-04-16 12:22:05 -07:00
Moxie Marlinspike
7ba75c3291
Use REST interface instead of WebSockets on GCM events.
...
Closes #2994
// FREEBIE
2015-04-16 11:50:40 -07:00
Moxie Marlinspike
262c1e47ad
Fix NPE when outgoing media message is deleted.
...
// FREEBIE
2015-04-14 10:01:33 -07:00
Jake McGinty
a28408b29f
enforce NonNull on incoming MMS content location
...
Fixes #2959
Closes #2975
// FREEBIE
2015-04-13 13:47:27 -07:00
Moxie Marlinspike
1c90b59bb8
Don't attempt send failure notifications for deleted messages.
...
Fixes #2963
// FREEBIE
2015-04-13 08:57:20 -07:00
Jake McGinty
e4e24f7ae5
Enforce media constraints on group messages
...
Fixes #2913
Closes #2917
// FREEBIE
2015-04-09 11:21:16 -07:00
Moxie Marlinspike
e70298e624
Catch malformed NOTIFY-IND
...
Fixes #2508
// FREEBIE
2015-03-31 09:12:22 -07:00
Jake McGinty
491440094b
Fix NPE when RetrieveConf is null
...
Fixes #2828
Closes #2829
// FREEBIE
2015-03-30 10:50:55 -07:00
Jake McGinty
349faf18fa
Fix missing timestamp in SendReq
...
// FREEBIE
2015-03-27 15:02:01 -07:00
Jake McGinty
427c9a6b21
Use new MMS APIs in Lollipop onwards
...
Fixes #1937
Closes #2727
2015-03-26 11:05:41 -07:00
Jake McGinty
073d019103
Fix SMIL regression
...
Closes #2654
// FREEBIE
2015-03-19 11:56:45 -07:00
Moxie Marlinspike
7a023b9fdc
Acquire wakelocks for incoming messages.
...
Closes #2717
// FREEBIE
2015-03-19 11:19:53 -07:00
Moxie Marlinspike
cc65fab226
Update message details activity display when resending SMS/MMS
...
// FREEBIE
2015-03-13 11:29:44 -07:00
Moxie Marlinspike
a4e18c515c
Remove encrypted SMS transport, simplify transport options.
...
Closes #2647
// FREEBIE
2015-03-12 17:53:38 -07:00
Jake McGinty
96896bf8f1
disconnect radio regardless of MMS exception
...
Fixes #2498
Closes #2544
// FREEBIE
2015-03-12 12:29:32 -07:00
Jake McGinty
b998c5f86c
Add missing MSISDN headers to MMS send request
...
Fixes #1935
Fixes #2451
Closes #2605
// FREEBIE
2015-03-12 11:18:20 -07:00
Moxie Marlinspike
41fadc3437
Use libtextsecure 1.2.2
...
// FREEBIE
2015-03-10 18:59:12 -07:00
Moxie Marlinspike
e7eb0ec2b3
Fix for missing messages bug
...
Fixes #2609
// FREEBIE
2015-03-07 09:02:59 -08:00
Moxie Marlinspike
5602a3dfc0
Update to latest version of libtextsecure for simplified interface.
...
1) Switch to new TextSecureAddress addressing, rather than mixing
long-based recipient IDs into libtextsecure.
2) Get rid of RecipientFormattingException throws in calls to
RecipientFactory.
Closes #2570
2015-03-03 12:25:09 -08:00