Commit Graph

1754 Commits

Author SHA1 Message Date
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
Veeti Paananen
4dae4444bc Fix right-to-left language support for voice recording
Bug: fixes #5999

// FREEBIE
2017-01-12 11:47:43 -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
Niklas Wenzel
770026d4ee Fix the faulty tests in AttachmentDatabaseTest.java
Fixes #5948
Closes #5952
2017-01-12 10:23:35 -08:00
Moxie Marlinspike
7b928476a2 Make sure recipients are fully resolved, limit size of results
// FREEBIE
2017-01-12 09:52:24 -08:00
Moxie Marlinspike
a125fcb8fa Support for direct share targets
Fixes #4333
// FREEBIE
2017-01-11 19:54:58 -08:00
FeuRenard
bd819d7d10 Disable verify button if no message was exchanged
Fixes #5878
Closes #5951
// FREEBIE
2017-01-11 18:51:11 -08:00
Piotr Prucia
e5fcc465c9 Fixed action bar title not being translated after language change
Fixes #6009
Closes #6010
// FREEBIE
2017-01-11 18:46:08 -08:00
Moxie Marlinspike
94a29e375f Specify ConnectionSpecs for domain fronts
// FREEBIE
2017-01-11 15:37:51 -08:00
Moxie Marlinspike
ec5ac44cd3 Update okhttp and support for transmitting messages over websocket
// FREEBIE
2017-01-10 13:59:32 -08:00
Moxie Marlinspike
4ad989cc38 Fix rounded corners bitmap double free
Fixes #4732
// FREEBIE
2017-01-08 13:06:11 -08:00
Moxie Marlinspike
5804213152 Eliminate item animations in ConversationFragment
Experience feels faster this way too

// FREEBIE
2017-01-08 10:16:23 -08:00
Moxie Marlinspike
d599c058c6 No choice but to multiDex
// FREEBIE
2017-01-08 09:58:01 -08:00
Moxie Marlinspike
d280604f1f Fix compileSdk 25 problems with GIF search
For #5965
// FREEBIE
2017-01-07 11:02:18 -08:00
AsamK
7817e38e5f Fix crash when clicking on a gif image
For gif images, the dimensions is always null.

Closes #6021
//FREEBIE
2017-01-07 10:40:22 -08:00
Moxie Marlinspike
c3451d19db This doesn't work in Iran
// FREEBIE
2017-01-06 09:40:04 -08:00
Moxie Marlinspike
bb5dcb7131 Start increasing frequency of signed prekey rotation
// FREEBIE
2017-01-06 09:19:58 -08:00
Moxie Marlinspike
884d8b7f72 Store display name in Signal contacts
Fixes #5974
// FREEBIE
2017-01-05 12:42:28 -08:00
Moxie Marlinspike
57cdbaedd6 Remove EXTRA_SUBJECT from safety number share.
Negatively impacts share through email slightly, positively
impacts share through a few other mechanisms somewhat
significantly.

Fixes #5959
// FREEBIE
2017-01-03 13:57:09 -08:00
Moxie Marlinspike
3861084ea2 Disable expiration menu on inactive group
Fixes #6007
// FREEBIE
2017-01-03 13:51:29 -08:00
Piotr Prucia
bb1ab2e929 Added Iran to domain fronting list
Fixes #5992
Closes #6006
// FREEBIE
2017-01-02 17:22:24 -08:00
Ali Makki
5a6e75a7e1 +968 uses google.com.om +53 uses google.com.cu
Closes #6001
2017-01-02 17:18:42 -08:00
Moxie Marlinspike
d2be49af42 Support for tiling image view and large image viewing
Fixes #5949
Fixes #5574
Fixes #4380
// FREEBIE
2017-01-02 17:17:48 -08:00
Benedikt Constantin Radtke
a6488b3652 fix zero length attachments crashing signal
Fixes #5331
Closes #5926
2017-01-02 17:17:48 -08:00
FeuRenard
cde92256a6 Convert file save toast string to plural
Closes #5961
// FREEBIE
2017-01-02 17:17:48 -08:00
Moxie Marlinspike
a3019be7b6 Support for image keyboards
// FREEBIE
2017-01-02 17:17:48 -08:00
Moxie Marlinspike
373a0f9527 Support for Android N direct reply notifications
// FREEBIE
2017-01-02 17:17:48 -08:00
Moxie Marlinspike
a9bd84c69c Support for bundled notifications (Android wear and Android N)
// FREEBIE
2017-01-02 17:17:48 -08:00
Moxie Marlinspike
0c6bfdbd0d Improve canonical address database caching
// FREEBIE
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
ae40715526 Support for expanded domain fronting strategies
// FREEBIE
2016-12-29 20:54:05 -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
71f8e9eb31 Revert support library update, the future wasn't all we hoped for
Fixes #5965
// FREEBIE
2016-12-18 19:06:39 -08:00
Moxie Marlinspike
899f3af5e4 Scale down bitmap during scribble rendering on lowmem devices
Fixes #5969

// FREEBIE
2016-12-17 18:59:47 -08:00
Moxie Marlinspike
4ff8de0ca8 Remove superfluous icon and padding that came with sdk 24
Fixes #5965
// FREEBIE
2016-12-17 15:52:27 -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
Moxie Marlinspike
791cc4b4f8 Use downsampled GIFs for MMS messages
Fixes #5958
// FREEBIE
2016-12-14 11:58:47 -08:00
Moxie Marlinspike
a4c17e5325 Support for generating video thumbnails
// FREEBIE
2016-12-12 17:38:05 -08:00
Moxie Marlinspike
6308e6491a A slight foray into the modern era
// FREEBIE
2016-12-12 17:38:05 -08:00
Moxie Marlinspike
f7474362ff Updated emoji set
// FREEBIE
2016-12-12 17:37:27 -08:00
Moxie Marlinspike
1b44bdcd3c Support for stickers and scribbles
// FREEBIE
2016-12-12 17:37:00 -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
FeuRenard
10abd09239 Catch up on renaming 'All images' button
Closes #5896
// FREEBIE
2016-11-28 14:57:32 -08:00
FeuRenard
3136cadf59 Use Signal's language for media preview timestamp
Fixes #3449
Closes #5600

// FREEBIE
2016-11-28 09:45:44 -08:00
FeuRenard
09ff8d5865 Add gallery button to MediaPreview
// FREEBIE
2016-11-28 09:42:26 -08:00
RiseT
43e1d452c7 Change DateUtils string 'Now' to 'Just now'
Changes the DateUtils string 'Now' to 'Just now' which is a better fit
imho.
Used for messages in the conversation view that e. g. just have been
received.

// FREEBIE

Closes #5761
2016-11-28 09:16:38 -08:00
Moxie Marlinspike
ed8215de81 Move null recipients check
// FREEBIE

Closes #5800
2016-11-28 09:14:44 -08:00
Moxie Marlinspike
69b102bfe3 Support for playing video in-app
// FREEBIE

Closes #5892
2016-11-27 19:38:59 -08:00
Moxie Marlinspike
8b342ee18b Support for "recent photos" thumbnailsabove attachment selector
// FREEBIE

Closes #5893
2016-11-27 19:37:31 -08:00
RiseT
e8ae6d67b1 Change safety number strings to be singular
// FREEBIE

Closes #5894
2016-11-27 19:35:54 -08:00
Mattias Eriksson
9148b7da5f Initial Android Auto support
This adds android auto support accordign to
https://developer.android.com/training/auto/messaging/index.html#messaging
However, since android auto is not officially supported in my country,
the functionality is limited. Which means that I have not been able
to fully test everything yet.

What work is:
* Message notification is shown.
* When you click on it, the message is read.

Closes #5880
2016-11-27 19:33:11 -08:00
zaprice
794e2cb872 Do not disable multiline input when enter key sends
Fixes #5264
Closes #5783
2016-11-24 08:31:12 -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
8af9b7fd15 Improve animations on audio controls, enable push to talk
// FREEBIE
2016-11-21 18:58:10 -08:00
FeuRenard
3e008f6752 Hide linked devices pref for unregistered users
Fixes #4860
Closes #5872
// FREEBIE
2016-11-21 09:53:36 -08:00
Moxie Marlinspike
8fdcff9f20 If Signal isn't enabled for receiving SMS, don't allow sending SMS
Closes #5877
// FREEBIE
2016-11-21 08:56:21 -08:00