Commit Graph

1817 Commits

Author SHA1 Message Date
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 7286fd9b06.

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