Alex Hart
fd9c420dc8
Split system names into first / last.
2021-03-03 09:37:30 -04:00
Greyson Parrelli
ce9d44d010
Move back to async message processing.
2021-02-26 15:24:04 -05:00
Greyson Parrelli
cb0e10c7ab
Inline group migration job feature flag.
2021-02-24 20:18:10 -05:00
Alan Evans
da56c2790f
Ensure no typing indicators can be sent to self or blocked recipients.
2021-02-24 16:04:29 -05:00
Greyson Parrelli
8950100bd7
Decrypt and process messages all in one transaction.
...
Giddy up
2021-02-23 18:34:18 -05:00
Greyson Parrelli
28f3ded4bd
Perform individual decryptions inside a database transaction.
...
Required a lot of random locking work to prevent deadlocking, but
overall this results in about a 2x speed increase for decryptions.
2021-02-20 14:45:36 -05:00
Greyson Parrelli
5cb54b9ad7
Only sync contact names in contact syncs.
2021-02-20 14:45:36 -05:00
Greyson Parrelli
afee8631e1
Do not compress stickers.
2021-02-17 12:33:38 -05:00
Greyson Parrelli
80f3504098
Move BlobProvider storage out of cache and into internal storage.
2021-02-11 13:26:12 -05:00
Cody Henthorne
dc6045ca8b
Fix crash when running shortcut update job on older APIs.
2021-02-11 10:36:02 -05:00
Alan Evans
98cb6b457c
Periodic alarm to check for messages.
2021-02-10 15:21:04 -05:00
Greyson Parrelli
2954c31b5f
Fix issue where group sent transcripts were not put in proper processing queue.
2021-02-10 15:21:03 -05:00
Greyson Parrelli
59d69192c6
Disable conversation shortcuts when screen lock is enabled.
2021-02-10 15:21:03 -05:00
Greyson Parrelli
236e1ba885
Updated image compression parameters.
2021-02-10 09:16:42 -05:00
Greyson Parrelli
3bdf2e7e2c
Add a system to improve app foreground observation.
...
There was previously a crash that occurred when multiple threads tried to use ProcessLifecycleOwner, and this will hopefully resolve that.
2021-02-08 15:37:45 -05:00
AsamK
e0128e7e31
Fix crash when changing contact color without contacts permission.
...
On mulit-device app, after the contact color is changed, a multi-device
contact update job is triggered, which tries to access the system
avatar.
This causes a crash if the user has revoked the contacts permission.
2021-02-08 14:27:49 -05:00
AsamK
8f51bdcb78
Adapt maxInstancesForQueue to only consider instances of the same job.
...
Currently the maxInstancesForQueue limit checks the count of all jobs in a
given queue. If there are already too many jobs, the new job is discarded.
However this is not the expected behavior for the two jobs where it's used:
GroupCallPeekWorkerJob and AutomaticSessionResetJob
For both the expected behavior is that there aren't too many jobs of them
started, but that there will be at least one instance of them started.
Both of them use the same queue as the PushProcessMessageJob and the MarkerJob.
Those two jobs are often in the queue at the same time, effectively preventing
the GroupCallPeekWorkerJob and AutomaticSessionResetJob from being enqueued.
2021-02-08 14:26:59 -05:00
Greyson Parrelli
6264f9b585
Have a much longer backoff maximum for 5xx errors.
2021-01-28 18:51:42 -05:00
Alan Evans
d1f6a924fb
Allow block of any recipient except MMS groups still.
2021-01-28 18:44:04 -05:00
Greyson Parrelli
1d83729e6c
Move backoff calculation into jobs.
2021-01-28 18:44:04 -05:00
Greyson Parrelli
fe890a1a41
Added some additional logging around About.
2021-01-27 10:09:07 -05:00
Greyson Parrelli
ee548d27e5
Made setting profile name and About synchronous operations.
2021-01-22 23:36:42 -05:00
Greyson Parrelli
762f17f1c1
Install a new animated sticker pack.
2021-01-21 18:02:19 -05:00
Greyson Parrelli
105c8c9745
Fix issue where forwarded link previews weren't marked uploaded.
2021-01-21 18:02:19 -05:00
Greyson Parrelli
7db16e6156
Add support for an 'About' field on your profile.
2021-01-21 18:02:19 -05:00
Greyson Parrelli
3e43963f67
Put receipts in the recipient's queue.
2021-01-16 21:11:42 -05:00
Greyson Parrelli
a2dc781840
Add an automatic session reset interval.
2021-01-16 21:11:42 -05:00
Greyson Parrelli
c95f0fce6e
Handle ServerRejectedException.
...
Handle an exception that indicates we should halt retries.
2021-01-16 02:32:09 -05:00
Greyson Parrelli
a3c7e7e552
Feature flag automatic session reset.
2021-01-16 02:05:43 -05:00
Greyson Parrelli
562e608e1f
Fix issue with previously-enqueued bad encrypted messages.
2021-01-15 11:50:50 -05:00
Alan Evans
ae676d7486
Fast job sorting.
2021-01-13 19:43:35 -05:00
Greyson Parrelli
728f1707b6
Automatically recover from bad encrypted messages.
2021-01-13 19:43:23 -05:00
Alan Evans
adea15df10
Recover from CDN 416 Range error on attachment download.
2021-01-13 19:43:23 -05:00
Alex Hart
8724d904b7
Add NotInCallConstraint, restrict auto-download of media and documents when on an active voice or video call.
2021-01-13 19:43:23 -05:00
Greyson Parrelli
141cab1105
Perfom a migration to notify users of new contacts.
2021-01-11 23:22:01 -05:00
Greyson Parrelli
2dd95c6ef6
Increase profile timeouts.
2021-01-11 17:18:46 -04:00
Alan Evans
57adc73e95
Revert "Fast job sorting."
...
This reverts commit 373972f5dc
.
2021-01-11 13:59:01 -04:00
Alan Evans
373972f5dc
Fast job sorting.
2021-01-09 23:16:46 -05:00
Greyson Parrelli
01152ead61
Move the JobDatabase to a separate physical database.
...
Also removes maxInstancesPerFactory from DB, which was only used during job submission and had no need to be persisted.
2021-01-06 17:03:21 -04:00
Alan Evans
b4c2e21415
Custom streaming video muxer.
2021-01-06 17:03:21 -04:00
Alan Evans
6080e1f338
Ensure ProfileKeyCredentials match ProfileKey.
...
Fixes #10344
2021-01-06 17:03:20 -04:00
Alan Evans
64312f9c7f
Fix non-rendered previews when differ by trailing slash.
2021-01-06 17:03:20 -04:00
Greyson Parrelli
cdd7b2deb9
Improve and streamline Application#onCreate.
2021-01-06 17:03:20 -04:00
Greyson Parrelli
fcbd594def
Add a system to easily trace jobs.
2021-01-06 17:03:20 -04:00
Greyson Parrelli
e10284bd13
Remove Trace annotation.
2021-01-06 17:03:20 -04:00
Alex Hart
b7477d287b
Reopen properly when we select launcher icon.
...
* Reopen properly when we select launcher icon.
* Reduce noise
2021-01-06 17:03:20 -04:00
Greyson Parrelli
6bab6c2454
Increase prekey archive age to 30 days.
2021-01-06 17:03:20 -04:00
Greyson Parrelli
f3ce582fa5
Inline GV1 auto-migration flag.
2020-12-17 17:55:33 -05:00
Greyson Parrelli
23579a9b1d
Do not unnecessarily refresh known-unregistered users during migration.
2020-12-10 12:36:38 -05:00
Cody Henthorne
5a773de3b1
Handle group call update sync messages.
2020-12-09 16:33:47 -05:00