Commit Graph

431 Commits (4063ef39a44070db9369d8cec1df9a95acb43eb7)

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.
6 years ago
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().
6 years ago
Greyson Parrelli 87e6aa48bb Schedule jobs with WorkManager.
Should help solve most of our pressing targetSdk=26 migration issues.
6 years ago
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.
6 years ago
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
6 years ago
Greyson Parrelli e9b85a10a6 Add per-contact notification channels.
Fixes #8119
Fixes #8121
Fixes #8122
6 years ago
Greyson Parrelli 5cdf5499d0 Clean up shortcut code. 6 years ago
Leonard Ehrenfried c3c44e324b Allow users to add conversation shortcuts to the home screen. 6 years ago
Greyson Parrelli dbd42c4af2 Add notification channel support.
Bucket our notifications into channels. Required to target API 26.
6 years ago
Greyson Parrelli e3bf91b99b Get rid of old references to @drawable/icon.
Fixes #7957
6 years ago
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.
6 years ago
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.
6 years ago
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
6 years ago
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
6 years ago
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
6 years ago
Greyson Parrelli e6c16cf28d Allow editing of contact names.
Took care to properly format CJK names.
6 years ago
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.
6 years ago
Moxie Marlinspike 5006b36e2d Show lock notification immediately after setting is toggled
Fixes #7659
Closes #7678
6 years ago
Moxie Marlinspike e20b973872 Add local backup listener to manifest 6 years ago
Win Ribeka c5e495bfe5 Adding task affinity to the share activity. Fixes #7312.
Closes #7371
6 years ago
Moxie Marlinspike d28dc670ea Migrate to Android fingerprints and auth for Signal screen lock 6 years ago
Moxie Marlinspike 23aee53c7d Add determinte progress and foreground service for sqlcipher migration 7 years ago
Moxie Marlinspike 4cb2ac7b27 Use FileProvider for external camera capture Uri on L+
Fixes #7237
7 years ago
Moxie Marlinspike d5cb804f90 Switch from PACKAGE_REPLACED to MY_PACKAGE_REPLACED
As part of the Oreo 'no more implicit intents' thing
7 years ago
Moxie Marlinspike c8104a91a4 Remove dead code 7 years ago
Moxie Marlinspike 64c8b4b2ef Support for selective permissions 7 years ago
Moxie Marlinspike 2da47c3bb3 Fix share list crash and update look/feel
Fixes #7195
7 years ago
Moxie Marlinspike bb878f8a67 Adjust Conversation List toolbar to match RecyclerView alignment 7 years ago
Moxie Marlinspike 90ff0e58b0 Update registration flow 7 years ago
Moxie Marlinspike 10f224ede5 Update to glide 4.x
// FREEBIE
7 years ago
Moxie Marlinspike 4c2269175b Improve profile upload animation
// FREEBIE
7 years ago
Moxie Marlinspike 8ce914a344 Refactor media overview activity to display documents
// FREEBIE
7 years ago
Moxie Marlinspike a1c276f70b Update to V7 PreferencesCompat library
// FREEBIE
7 years ago
Moxie Marlinspike 2add02c62f Add splash screen for setting profiles
// FREEBIE
7 years ago
Moxie Marlinspike c11f2eddf5 Display user profile information in settings activity
Allow for editing

// FREEBIE
7 years ago
Moxie Marlinspike 1893047a78 Profile creation activity
// FREEBIE
7 years ago
Moxie Marlinspike 39b95ca4ed Do more to keep MessageRetrievalService alive
Closes #6456
7 years ago
Moxie Marlinspike e96bf2bdc7 Allow share intents for arbitrary file types
Fixes #6608
// FREEBIE
7 years ago
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.
7 years ago
AQNOUCH Mohammed 6f6632c08a fix warning: XML has empty body
Closes #6473
7 years ago
Moxie Marlinspike 7ad68296dd Fix for crash when call initiated from contacts
Fixes #6428
// FREEBIE
7 years ago
Admir Ireiz 5e02715a2c Change the app icon
Closes #6189
7 years ago
Moxie Marlinspike 2f46c6ca1f Don't redisplay notifications after they have been dismissed
Fixes #5751
Fixes #6218
// FREEBIE
7 years ago
Moxie Marlinspike 9b8719e2d5 Support for website distribution build with auto-updating APK
// FREEBIE
7 years ago
Moxie Marlinspike f4a7f354c5 Bump version to 3.30.4
// FREEBIE
7 years ago
Moxie Marlinspike 741066a10e Bump version to 3.30.3
// FREEBIE
7 years ago
Moxie Marlinspike 2395b79bfc Bump version to 3.30.2
// FREEBIE
7 years ago
Moxie Marlinspike d9659219de Bump version to 3.30.1
// FREEBIE
7 years ago
Moxie Marlinspike a0489a9f48 Bump version to 3.30.0
// FREEBIE
7 years ago
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
7 years ago