Commit Graph

4098 Commits (de60d4d37f2ca432b980cd8740c5a3d83bc80f9d)
 

Author SHA1 Message Date
Greyson Parrelli e665252b86 Add more logging to GenericForegroundService. 6 years ago
Greyson Parrelli a3411072ba Remove MasterSecret job.
It's no longer necessary.
6 years ago
Greyson Parrelli 776b0e23ae Add support for typing indicators. 6 years ago
Greyson Parrelli 3f25fb7d5f Handle voice note media playback with ExoPlayer.
There are several (popular) phone models out there that have bugs in
their MediaPlayer implementation that cause them to be unable to play
voice notes. By moving to ExoPlayer, an application-level media player,
we should avoid most of these headaches and stardardize playback.

Fixes #7748
6 years ago
Greyson Parrelli 053e6fc223 Bump version to 4.30.7 6 years ago
Greyson Parrelli a2ea115650 Initialize jobs in the try block.
In the case where we add new fields to a Job's InputData, we want to
make sure that initialize() is called in the try block so that if it
fails, it simply fails the job (allowing the user to retry with the new
field) instead of crashing.
6 years ago
Greyson Parrelli 3f7e9cb46f Bump version to 4.30.6 6 years ago
Greyson Parrelli cefe50e8a9 Updated language translations. 6 years ago
Greyson Parrelli ff9d5df0e0 Dark theme support for emoji variation selector. 6 years ago
Greyson Parrelli 3716d69b0b Dismiss emoji variation popup when keyboard is dismissed.
Fixes #8372
6 years ago
Greyson Parrelli d5be43cc85 Bump version to 4.30.5 6 years ago
Greyson Parrelli 481ff5c81e Updated language translations. 6 years ago
Greyson Parrelli 3e26060e99 Updated libsignal-service-java to 2.12.2 6 years ago
Greyson Parrelli d93bfbf693 Prevent SendJobs from sending already-sent messages.
This is to guard against behavior WorkManager has where it may
re-enqueue a job that has already been completed (if, for instance, it
was preempted).

Fixes #8268
6 years ago
Greyson Parrelli a7e15dc21e Removed unused asset. 6 years ago
Greyson Parrelli bb566cb11f Bump version to 4.30.4 6 years ago
Greyson Parrelli 28081abe1c Split the 'people' emoji spritesheet into multiple chunks.
The aim of this is to help performance by breaking up the single massive
spritesheet into smaller ones. This will limit the amount of data that
needs to be kept in memory to render emoji.

(Hopefully) Fixes #8357
6 years ago
Greyson Parrelli e7c00a3066 Fix issue where we may oversend SMS messages.
Because SMS sending is split over two jobs, there's no max retry limit
respected if we find out about the failure in SmsSentJob -- it's
requeued as a new job with a fresh attempt counter.

This commit carries a retry count between the two jobs. It also verifies
that we have service before attempting to send a message at all.

Relates to #8268
6 years ago
Greyson Parrelli 446585ad68 Fix emoji variation selector on older devices.
Weird platform-specific bug was preventing the display of the
PopupWindow.
6 years ago
Greyson Parrelli 4ebca9ddde Register RotateSenderCertificateListener in the manifest. 6 years ago
Greyson Parrelli 4c6655bd9a Bump version to 4.30.3 6 years ago
Greyson Parrelli cbc7288242 Updated language translations. 6 years ago
Greyson Parrelli 78627ecb08 Updated libsignal-service-java to 2.12.1 6 years ago
Greyson Parrelli bf9582c97e Only set UNRESTRICTED mode if recipients have a non-null verifier.
Otherwise we could send UD messages to people with non-UD linked
devices.
6 years ago
Greyson Parrelli 1ab3d57378 Fix some places where we were using the Android Logger.
We pretty much always want to be using our own logger.
6 years ago
Greyson Parrelli b36d196873 Bump version to 4.30.2 6 years ago
Greyson Parrelli e31029da89 Update recipient's sealed sender status in more places. 6 years ago
Yassine El Khadiri 787bcf7752 Fix backup MAC checking.
if(MessageDigest.isEqual(ourMac, theirMac) was always returning false
since ourMac was of length 32 and theirMac was of length 10.
6 years ago
Greyson Parrelli 8c3d50c6dc Ignore messages without content. 6 years ago
Greyson Parrelli 532431b0ad Guard against notifying for errors on non-existent SMS threads.
All of the other send jobs do this already, just didn't do it here.
6 years ago
Greyson Parrelli cfeee25488 Use correct link for Sealed Sender blog post.
Fixes #8324
6 years ago
Moxie Marlinspike 608b7ef89a Bump version to 4.30.1 6 years ago
Moxie Marlinspike 4063ef39a4 Update release config 6 years ago
Greyson Parrelli eeb2e2e3af Bump version to 4.30.0 6 years ago
Greyson Parrelli 2573900c30 Updated language translations. 6 years ago
Greyson Parrelli 2acab563d9 Support for sealed sender - Part 2 6 years ago
Moxie Marlinspike 5f31762220 Support for sealed sender - Part 1 6 years ago
Greyson Parrelli b7b9554364 Prevent multiple instances of the same job running concurrently.
There are rare corner cases where a Job could be preempted by the
JobScheduler and then be rescheduled before the preempted job finished
running. This could create weird race conditions with bad consequences.

To fix this, we create a fun locking system that prevents two jobs with
the same UUID from running at the same time.
6 years ago
Greyson Parrelli f15fb904bf Fix desktop double notification bug.
There were situations where we were posting two notifications for messages
when you had an 'active desktop'. This removes that.
6 years ago
Greyson Parrelli 86e4221182 Use a unique notification icon for backups. 6 years ago
Greyson Parrelli dfe8b25dd7 Use a unique notification icon for the persistent background connection. 6 years ago
Greyson Parrelli 53050b3845 Fix issue with group avatar display.
Some legacy code was making the contact photo visible when it shouldn't
be.
6 years ago
Greyson Parrelli 6ce278114f Ensure profile photo in ConversationList is accurate.
Fixes #8270
6 years ago
Greyson Parrelli 48ff9673b9 Allow the selection of fitzpatrick emoji. 6 years ago
Greyson Parrelli 1999d09901 Updated emoji set.
Includes display support for more genders, and more notably, skin tones.
These are not currently selectable in the UI, but they will be rendered
properly when other clients send them.
6 years ago
Greyson Parrelli f93a79ae37 Bump version to 4.29.7 6 years ago
Greyson Parrelli fac56be499 Fix the build by listing google repo first.
Apparently jcenter() is lame and it broke our build. Listing the google
repo first fixes everything.
6 years ago
Greyson Parrelli 638012f3d0 Bump version to 4.29.6 6 years ago
Greyson Parrelli bf452dfa92 Slightly shorten time before we show a foreground notification for pushes.
There's some ANRs, not many, that are likely caused by us riding the
5-second ANR timeout a little too closely. Giving us a little buffer to
see if that helps.
6 years ago
Greyson Parrelli 2b14c98eb0 Do not call bluetooth state listener after service is destroyed. 6 years ago