Commit Graph

492 Commits

Author SHA1 Message Date
Alan Evans
286b64274c Replace Avatar Cropper. 2019-03-18 15:09:50 -07:00
Greyson Parrelli
0a8bbf14a6 Merge camera into send flow. 2019-03-14 16:25:35 -07:00
Greyson Parrelli
55699e27bc Added ability to receive long messages.
Send support is in here too. We'll enable it in a future release after
enough people have updated.
2019-03-01 14:15:08 -08:00
Greyson Parrelli
bf28e109d3 Update registration UI. 2019-03-01 14:15:01 -08:00
Greyson Parrelli
1f79808cf0 Remove unneccesary FCM manifest attribute.
`firebase_analytics_collection_enabled` is used for temporarily
enabling/disabling analytics.

We already use `firebase_analytics_collection_deactivated`, which is
used for permanently disabling analytics.
2019-02-18 11:46:53 -08:00
Greyson Parrelli
02b0800b22 Support requesting a CAPTCHA during registration. 2019-02-14 20:19:07 -08:00
Greyson Parrelli
cfff10622a Move conversation classes to their own package. 2019-02-14 14:29:12 -08:00
Greyson Parrelli
d482c60a98 Switch from GCM to FCM. 2019-01-30 16:10:47 -08:00
Greyson Parrelli
6fa7eca60b Implement new media send flow.
Update our media send flow to allow users to send multiple images/videos
at once. This change includes:

- New in-app media picker flow.
- Ability to caption images and videos.
- Image editing tools are made more prominent in the flow.
- Some fixes to the image editing tools.
2019-01-14 11:25:06 -08:00
Greyson Parrelli
3b67382f67 Remove call log permissions, use SMS Retriever API during registration.
This is to adhere to the Play Store policy updates.

See: https://play.google.com/about/privacy-security-deception/permissions/
2019-01-13 19:25:40 -08:00
Greyson Parrelli
4ebca9ddde Register RotateSenderCertificateListener in the manifest. 2018-11-13 10:35:02 -08:00
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