531 Commits

Author SHA1 Message Date
Greyson Parrelli
45e0bb281f Turn MessageRetrievalService into IncomingMessageObserver.
Due to an Android P bug, we basically need to stop calling
startService() in onResume()/onPause(). That means I had to turn
MessageRetrieval service into a singlton instead of a service. I also
moved the offending KeyCachingService calls into static methods that
didn't have to start the service.
2018-10-17 13:58:47 -07:00
Greyson Parrelli
07d7af6e75 Initialize WorkManager ourself.
This gives us more control over when it happens, as well as lets us set
things like the debug level. Also let's us get rid of the synchronized
block we had in Application#onCreate().
2018-10-04 09:09:04 -07:00
Greyson Parrelli
87e6aa48bb Schedule jobs with WorkManager.
Should help solve most of our pressing targetSdk=26 migration issues.
2018-10-01 12:12:50 -07:00
Greyson Parrelli
08ace15f95 Implemented new camera capture flow.
A new, fullscreen camera capture flow that easily allows you to capture
and edit a photo before sending it. Replaces the current half-screen
camera button.
2018-09-27 10:35:56 -07:00
Greyson Parrelli
c3bdc48ee3 Create placeholder ContentProviders for database observations.
Required for the API 26 migration.

See https://developer.android.com/about/versions/oreo/android-8.0-changes#ccn
2018-09-08 07:48:20 -07:00
Greyson Parrelli
e9b85a10a6 Add per-contact notification channels.
Fixes #8119
Fixes #8121
Fixes #8122
2018-08-17 15:51:01 -07:00
Greyson Parrelli
5cdf5499d0 Clean up shortcut code. 2018-08-13 18:38:59 -04:00
Leonard Ehrenfried
c3c44e324b Allow users to add conversation shortcuts to the home screen. 2018-08-13 18:38:59 -04:00
Greyson Parrelli
dbd42c4af2 Add notification channel support.
Bucket our notifications into channels. Required to target API 26.
2018-08-13 18:38:53 -04:00
Greyson Parrelli
e3bf91b99b Get rid of old references to @drawable/icon.
Fixes #7957
2018-07-09 14:56:31 -07:00
Greyson Parrelli
3134837d56 Remove plaintext backup import option.
We have our own secure backup solution built into the app now.
No need to support plaintext backups.
2018-07-02 17:11:13 -07:00
Greyson Parrelli
a50edc3d25 Keep retrying message sends for 24 hours.
Previously, we retried based on a count. Now we've added the ability to
keep retrying for a specified time, using exponential backoff to
throttle attempts.
2018-06-22 10:59:53 -07:00
Greyson Parrelli
62c42a3513 Fix disappearing message corner case.
We never properly registered the ExpirationListener, meaning we were
relying on the wait-notify loop of ExpirationManager to delete things.
This normally works, but fails when your phone goes to sleep. So I
properly registered the receiver, and then added a failsafe to re-run
the ExpirationManager if we're about to render an expired message.

Fixes #7906
2018-06-22 10:59:53 -07:00
Greyson Parrelli
0999359454 Improve the image editor.
A variety of improvements to the image editor, such as:

- New, fullscreen styling
- Smoother lines
- Better text and sticker handling
- Improved color picker with a history pallette
- New highlighter tool
2018-06-18 14:32:45 -07:00
Greyson Parrelli
eed2c6ec4c Added adaptive icon support.
Also moved our non-adaptive app icon into the mipmap folders, which is
where they should be.

Fixes #7607
2018-06-18 14:32:45 -07:00
Greyson Parrelli
e6c16cf28d Allow editing of contact names.
Took care to properly format CJK names.
2018-05-21 15:45:22 -04:00
Greyson Parrelli
54dbffaf30 Added ability to share contacts.
The "contact" option in the attachments tray now brings you through an
optimized contact sharing flow, allowing you to select specific fields
to share. The contact is then presented as a special message type,
allowing you to interact with the card to add the contact to your system
contacts, invite them to signal, initiate a signal message, etc.
2018-05-21 15:45:22 -04:00
Moxie Marlinspike
5006b36e2d Show lock notification immediately after setting is toggled
Fixes #7659
Closes #7678
2018-05-21 15:45:22 -04:00
Moxie Marlinspike
e20b973872 Add local backup listener to manifest 2018-05-06 23:52:36 -07:00
Win Ribeka
c5e495bfe5 Adding task affinity to the share activity. Fixes #7312.
Closes #7371
2018-03-07 09:44:11 -08:00
Moxie Marlinspike
d28dc670ea Migrate to Android fingerprints and auth for Signal screen lock 2018-03-05 16:11:49 -08:00
Moxie Marlinspike
23aee53c7d Add determinte progress and foreground service for sqlcipher migration 2018-02-01 16:01:24 -08:00
Moxie Marlinspike
4cb2ac7b27 Use FileProvider for external camera capture Uri on L+
Fixes #7237
2017-12-01 11:06:37 -08:00
Moxie Marlinspike
d5cb804f90 Switch from PACKAGE_REPLACED to MY_PACKAGE_REPLACED
As part of the Oreo 'no more implicit intents' thing
2017-11-30 10:26:41 -08:00
Moxie Marlinspike
c8104a91a4 Remove dead code 2017-11-30 10:26:41 -08:00
Moxie Marlinspike
64c8b4b2ef Support for selective permissions 2017-11-30 10:26:41 -08:00
Moxie Marlinspike
2da47c3bb3 Fix share list crash and update look/feel
Fixes #7195
2017-11-16 12:22:09 -08:00
Moxie Marlinspike
bb878f8a67 Adjust Conversation List toolbar to match RecyclerView alignment 2017-11-14 10:50:17 -08:00
Moxie Marlinspike
90ff0e58b0 Update registration flow 2017-11-14 10:50:17 -08:00
Moxie Marlinspike
10f224ede5 Update to glide 4.x
// FREEBIE
2017-10-11 17:47:12 -07:00
Moxie Marlinspike
4c2269175b Improve profile upload animation
// FREEBIE
2017-10-01 22:36:52 -07:00
Moxie Marlinspike
8ce914a344 Refactor media overview activity to display documents
// FREEBIE
2017-10-01 22:36:52 -07:00
Moxie Marlinspike
a1c276f70b Update to V7 PreferencesCompat library
// FREEBIE
2017-10-01 22:36:52 -07:00
Moxie Marlinspike
2add02c62f Add splash screen for setting profiles
// FREEBIE
2017-09-03 19:45:43 -07:00
Moxie Marlinspike
c11f2eddf5 Display user profile information in settings activity
Allow for editing

// FREEBIE
2017-08-28 10:30:50 -07:00
Moxie Marlinspike
1893047a78 Profile creation activity
// FREEBIE
2017-08-28 10:30:50 -07:00
Moxie Marlinspike
39b95ca4ed Do more to keep MessageRetrievalService alive
Closes #6456
2017-07-03 11:36:31 -07:00
Moxie Marlinspike
e96bf2bdc7 Allow share intents for arbitrary file types
Fixes #6608
// FREEBIE
2017-05-10 15:21:52 -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
AQNOUCH Mohammed
6f6632c08a fix warning: XML has empty body
Closes #6473
2017-04-10 11:07:55 -07:00
Moxie Marlinspike
7ad68296dd Fix for crash when call initiated from contacts
Fixes #6428
// FREEBIE
2017-03-22 09:49:06 -07:00
Admir Ireiz
5e02715a2c Change the app icon
Closes #6189
2017-03-14 15:46:19 -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
9b8719e2d5 Support for website distribution build with auto-updating APK
// FREEBIE
2017-02-27 23:53:36 -08:00
Moxie Marlinspike
f4a7f354c5 Bump version to 3.30.4
// FREEBIE
2017-02-26 10:51:13 -08:00
Moxie Marlinspike
741066a10e Bump version to 3.30.3
// FREEBIE
2017-02-24 17:28:49 -08:00
Moxie Marlinspike
2395b79bfc Bump version to 3.30.2
// FREEBIE
2017-02-22 12:48:01 -08:00
Moxie Marlinspike
d9659219de Bump version to 3.30.1
// FREEBIE
2017-02-21 22:34:46 -08:00
Moxie Marlinspike
a0489a9f48 Bump version to 3.30.0
// FREEBIE
2017-02-20 16:45:03 -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
Mattias Eriksson
0f820e6beb Re-add Android Auto manifest entry
Voice reply is now verified to work,
so it should be safe to re-add the
Android Auto manifest entry.

Closes #6180
//FREEBIE
2017-02-19 12:29:33 -08:00
Moxie Marlinspike
0adce89eec Bumped version to 3.29.6
// FREEBIE
2017-02-13 23:01:43 -08:00
Moxie Marlinspike
70d94c0130 Bump version to 3.29.5
// FREEBIE
2017-02-12 20:24:22 -08:00
Moxie Marlinspike
42211ccca6 Bump version to 3.29.4
// FREEBIE
2017-02-12 16:54:31 -08:00
Moxie Marlinspike
6b737a3d48 Bump version to 3.29.3
// FREEBIE
2017-02-11 21:11:28 -08:00
Moxie Marlinspike
f3e47f7b60 Support for minimized controls during video call
// FREEBIE
2017-02-11 20:48:42 -08:00
Moxie Marlinspike
739ee89fb1 Bump version to 3.29.2
// FREEBIE
2017-02-05 13:02:55 -08:00
Moxie Marlinspike
f148ff8bfa Bump version to 3.29.1
// FREEBIE
2017-02-01 18:37:57 -08:00
Moxie Marlinspike
94c61f8af9 Bump version to 3.29.0
// FREEBIE
2017-02-01 13:57:19 -08:00
Moxie Marlinspike
ea0945d406 Beta support for webrtc video and voice calling
// FREEBIE
2017-02-01 13:55:52 -08:00
Moxie Marlinspike
a9651e2e9c Bump version to 3.28.4
// FREEBIE
2017-01-31 21:55:33 -08:00
Moxie Marlinspike
bdc8618889 Bump version to 3.28.3
// FREEBIE
2017-01-30 19:19:26 -08:00
Moxie Marlinspike
a2de60a75c Remove Android Auto manifest entry to get past the reviewers
(There are reviewers now?)

Related #6124
// FREEBIE
2017-01-30 19:17:17 -08:00
Moxie Marlinspike
b2e93ec502 Bump version to 3.28.2
// FREEBIE
2017-01-29 13:34:51 -08:00
Moxie Marlinspike
3be55e36d9 Bump version to 3.28.1
// FREEBIE
2017-01-26 12:08:23 -08:00
Moxie Marlinspike
2e16c6cf41 Bump version to 3.28.0
// FREEBIE
2017-01-24 18:31:35 -08:00
Moxie Marlinspike
9f2328457e Mark application largeHeap
// FREEBIE
2017-01-19 18:42:17 -08:00
Moxie Marlinspike
f0b615eda6 Bump version to 3.27.1
// FREEBIE
2017-01-17 20:57:22 -08:00
Moxie Marlinspike
cfef855d99 Bump version to 2.27.0
// FREEBIE
2017-01-13 18:06:41 -08:00
Moxie Marlinspike
a125fcb8fa Support for direct share targets
Fixes #4333
// FREEBIE
2017-01-11 19:54:58 -08:00
Moxie Marlinspike
ac2626437e Bump version to 3.26.2
// FREEBIE
2017-01-09 08:00:53 -08:00
Moxie Marlinspike
6eef1a6ee4 Bump version to 3.26.1
// FREEBIE
2017-01-08 13:11:48 -08:00
Moxie Marlinspike
30633c9672 Bump version to 3.26.0
// FREEBIE
2017-01-06 11:48:49 -08:00
Moxie Marlinspike
bb5dcb7131 Start increasing frequency of signed prekey rotation
// FREEBIE
2017-01-06 09:19:58 -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
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
4e32fb21fe Bump version to 3.25.4
// FREEBIE
2016-12-30 08:47:10 -08:00
Moxie Marlinspike
fd00298930 Bump version to 3.25.3
// FREEBIE
2016-12-21 09:59:40 -08:00
Moxie Marlinspike
d35133b3bc Bump version to 3.25.2
// FREEBIE
2016-12-20 09:56:38 -08:00
Moxie Marlinspike
777aeea138 Bump version to 3.25.1
// FREEBIE
2016-12-19 11:10:42 -08:00
Moxie Marlinspike
d6d3d1fee4 Bump version to 3.25.0
// FREEBIE
2016-12-16 09:59:19 -08:00
Moxie Marlinspike
1b44bdcd3c Support for stickers and scribbles
// FREEBIE
2016-12-12 17:37:00 -08:00
Moxie Marlinspike
c8fe671f9c Bump version to 3.24.1
// FREEBIE
2016-12-04 18:13:35 -08:00
Moxie Marlinspike
5d341e175d Bump version to 3.24.0
// FREEBIE
2016-12-01 12:03:34 -08:00
FeuRenard
09ff8d5865 Add gallery button to MediaPreview
// FREEBIE
2016-11-28 09:42:26 -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
Moxie Marlinspike
ce812ed8ba Bump version to 3.23.0
// FREEBIE
2016-11-24 09:11:37 -08:00
Moxie Marlinspike
7947222ac5 Bump version to 3.22.2
// FREEBIE
2016-11-14 19:55:19 -08:00
Moxie Marlinspike
ca3337232b Bump version to 3.22.1
// FREEBIE
2016-11-14 13:41:12 -08:00
Moxie Marlinspike
fd0acf4e00 Bump version to 3.22.0
// FREEBIE
2016-11-13 18:18:39 -08:00
Moxie Marlinspike
0396494d57 Bump version to 3.21.3
// FREEBIE
2016-11-01 09:03:21 -07:00
Moxie Marlinspike
80a96aa83c Bump version to 3.21.2
// FREEBIE
2016-10-29 11:06:07 -07:00
Moxie Marlinspike
9170020141 Bump version to 3.21.1
// FREEBIE
2016-10-27 11:51:29 -07:00
Moxie Marlinspike
2bcbbb0601 Bump version to 3.21.0
// FREEBIE
2016-10-25 13:41:33 -07:00
Moxie Marlinspike
69d0242574 Giphy integration
// FREEBIE
2016-10-18 10:28:42 -07:00
Moxie Marlinspike
8e9e3847b6 Bump version to 3.20.4
// FREEBIE
2016-10-10 13:36:25 -07:00
Moxie Marlinspike
c4fd050b09 Bump version to 3.20.3
// FREEBIE
2016-10-08 14:32:35 -07:00
Moxie Marlinspike
338c0d82e1 Bump version to 3.20.2
// FREEBIE
2016-10-07 18:55:15 -07:00
Moxie Marlinspike
dbc59bc682 Bump version to 3.20.1
// FREEBIE
2016-10-06 21:48:51 -07:00
Moxie Marlinspike
e6dd5db860 Bump version to 3.20.0
// FREEBIE
2016-10-05 13:00:36 -07:00
Moxie Marlinspike
65b482c7b0 Remove missing string
// FREEBIE
2016-10-05 12:58:38 -07:00
paolo.ingls@gmail.com
4cb4a76e33 Added Samsung multi window support
Closes #5714
//FREEBIE
2016-09-25 19:22:36 -07:00
Moxie Marlinspike
852634b294 Support for updated fingerprint format
// FREEBIE
2016-09-25 14:23:52 -07:00
Moxie Marlinspike
0619a4d3cd Bump version to 3.19.1
// FREEBIE
2016-09-20 01:28:43 -07:00
Moxie Marlinspike
3ede281e5e Bump version to 3.19.0
// FREEBIE
2016-09-14 17:03:55 -07:00
Moxie Marlinspike
0a569676f7 Bump version to 3.18.3
// FREEBIE
2016-09-09 11:54:50 -07:00
Moxie Marlinspike
530b93c318 Bump version to 3.18.2
// FREEBIE
2016-09-06 18:43:44 -07:00
Moxie Marlinspike
54fc3c5690 Bump version to 3.18.1
// FREEBIE
2016-09-01 20:58:10 -07:00
Moxie Marlinspike
8266730551 Bump version to 3.18.0
// FREEBIE
2016-09-01 17:06:52 -07:00
Hans-Christoph Steiner
9a671783c9 respond to generic panic trigger Intent by locking
PanicKit provides a common framework for creating "panic button"
apps that can trigger actions in "panic responder" apps.  In this
case, the response is to lock the app, if it has been configured
to do so.

As previously discussed in #5341

Closes #5550

//FREEBIE
2016-08-31 19:26:05 -07:00
Moxie Marlinspike
f03a086191 Bump version to 3.17.0
// FREEBIE
2016-08-22 19:06:08 -07:00
Moxie Marlinspike
643da569ec Bump version to 3.16.1
// FREEBIE
2016-08-08 18:31:05 -07:00
Moxie Marlinspike
975ae735dc Bump version to 3.16.0
// FREEBIE
2016-05-20 14:19:52 -07:00
Moxie Marlinspike
a307ff350c Bump version to 3.15.2
// FREEBIE
2016-03-25 17:10:01 -07:00
Moxie Marlinspike
f1bd2d9193 Bump version to 3.15.1
// FREEBIE
2016-03-25 10:21:59 -07:00
Moxie Marlinspike
df2e39f251 Bump version to 3.15.0
// FREEBIE
2016-03-24 14:52:44 -07:00
Moxie Marlinspike
ec63f7014e Bump version to 3.14.2
// FREEBIE
2016-03-15 21:21:28 -07:00
Moxie Marlinspike
aa3aa70c6c Bump version to 3.14.1
// FREEBIE
2016-03-14 11:12:56 -07:00
Moxie Marlinspike
6c995aa191 Bump version to 3.14.0
// FREEBIE
2016-03-13 16:06:21 -07:00
RiseT
ff1a5a5197 'Devices' & 'Manage linked devices' -> 'Linked devices'
Fixes #5201
Closes #5213
// FREEBIE
2016-03-09 14:05:16 -08:00
Moxie Marlinspike
432e229698 Bump version to 3.13.1
// FREEBIE
2016-03-02 17:55:37 -08:00
Moxie Marlinspike
24d103df8f Bump version to 3.13.0
// FREEBIE
2016-02-26 14:29:33 -08:00
Moxie Marlinspike
f5c90df780 Bump version to 3.12.0
// FREEBIE
2016-02-19 11:06:13 -08:00
Christian Ascheberg
8cf574bb32 exclude call screen from recents
Closes #5217
// FREEBIE
2016-02-18 17:52:01 -08:00
Moxie Marlinspike
02b8eabf57 Bump version to 3.11.1
// FREEBIE
2016-02-12 13:03:10 -08:00
Moxie Marlinspike
5cb7b7a981 Bump version to 3.11.0
// FREEBIE
2016-02-10 17:56:01 -08:00
Christian Ascheberg
694e6064bd Add message notification task stack
Closes #4893
// FREEBIE
2016-02-10 16:08:26 -08:00
Moxie Marlinspike
135762b222 Bump version to 3.10.0
// FREEBIE
2016-01-30 16:13:08 -08:00
Moxie Marlinspike
1e2a45d440 minSdk of 9 means that providers are exported by default
// FREEBIE
2016-01-15 22:09:58 -08:00
Moxie Marlinspike
df27fa47ed Bump version to 3.9.1
// FREEBIE
2016-01-04 13:21:43 -08:00
Moxie Marlinspike
83ec4e0627 Bump version to 3.9.0
// FREEBIE
2015-12-27 18:11:46 -08:00
Moxie Marlinspike
bcf95e50aa Support for location messages
Start with encoding as a simple image thumbnail for compatibility
with MMS and iOS

// FREEBIE
2015-12-24 07:47:25 -08:00
agrajaghh
4fa6680f83 RTL support
Closes #4916
Fixes #4714
2015-12-24 07:47:25 -08:00
Moxie Marlinspike
b80721ef4a Bump version to 3.8.1
// FREEBIE
2015-12-20 08:51:16 -08:00
Moxie Marlinspike
f7e5404cf7 Bump version to 3.8.0
// FREEBIE
2015-12-16 02:03:21 -08:00
RiseT
307578eb18 Wording ambiguity: Archived conversation -> Conversation archived
Closes #4802
// FREEBIE
2015-12-10 05:04:03 -08:00
Moxie Marlinspike
ef5a0a0ff3 Bump version to 3.7.2
// FREEBIE
2015-12-09 12:02:21 -08:00
Moxie Marlinspike
2cfc86307d Bump version to 3.7.1
// FREEBIE
2015-12-08 00:26:12 -08:00
Moxie Marlinspike
b99c4e3e39 Bump version to 3.7.0
// FREEBIE
2015-12-03 18:14:32 -08:00
Moxie Marlinspike
73acd1f3a2 Take people into Signal when they attempt to link w/ 3rd party scan
// FREEBIE
2015-12-03 14:39:13 -08:00
Geonu Kang
591ee92e45 Add string resource for unarchive button title
Fixes #4747
Closes #4748
// FREEBIE
2015-12-02 09:30:29 -08:00
Moxie Marlinspike
9fe1a7c38d Bump version to 3.6.1
// FREEBIE
2015-11-30 11:31:31 -08:00
Moxie Marlinspike
bde6c9092d Bump version to 3.6.0
// FREEBIE
2015-11-27 17:32:35 -08:00
Moxie Marlinspike
2ab0029d49 Support for archive actions
Fixes #1141
Closes #4698
// FREEBIE
2015-11-27 12:45:23 -08:00
Moxie Marlinspike
e4e8511b4c Bump version to 3.5.2
// FREEBIE
2015-11-24 12:08:13 -08:00
Moxie Marlinspike
6a188248a7 Bump version to 3.5.1
// FREEBIE
2015-11-23 12:03:14 -08:00
Moxie Marlinspike
d21fe517e4 Bump version to 3.5.0
// FREEBIE
2015-11-20 11:26:36 -08:00
Moxie Marlinspike
7c0bf0c871 Device provisioning
Closes #4553
// FREEBIE
2015-11-19 11:30:39 -08:00