Commit graph

99 commits

Author SHA1 Message Date
nielsandriesse 06883cc3ef Clean 2020-05-22 09:53:04 +10:00
nielsandriesse ceaee33d28 Fix self syncing 2020-05-21 14:29:51 +10:00
nielsandriesse 819f414446 Clean & debug 2020-05-13 09:07:51 +10:00
nielsandriesse 03f2c76344 Refactor PushMediaSendJob 2020-05-12 14:57:48 +10:00
nielsandriesse 32ae74c442 Re-order files 2020-05-12 11:46:11 +10:00
nielsandriesse 410bb9df43 Update for core changes 2020-05-11 08:43:54 +10:00
nielsandriesse a6bfd14285 Update for core changes 2020-04-09 13:38:15 +10:00
Mikunj Varsani e484a95fcb Remove DirectoryRefresh.
This was causing crashes on some devices and it's used for accessing contacts on a device which we don't need.
2020-03-13 09:46:28 +11:00
Niels Andriesse 5a6b65e188 Clean 2020-03-06 10:34:10 +11:00
Niels Andriesse a272677fba Clean 2020-03-05 16:22:45 +11:00
Niels Andriesse 8c6b60aa08 Clean & handle media message errors 2020-03-05 16:14:14 +11:00
Niels Andriesse 526e82a9e3 Clean up naming & indentation 2020-02-16 09:30:05 +11:00
Niels Andriesse 705b3dc625 Refactor 2020-02-12 13:27:28 +11:00
Niels Andriesse b5792a81aa Update for core changes 2020-02-11 09:38:05 +11:00
Mikunj 55ea9869a8 Hook up http cache to LokiDotNetAPI. 2019-11-15 09:33:30 +11:00
Mikunj 44ccc66ec2 Fix multi-device media messages.
This fixes the issue of the same attachments being uploaded multiple times per linked device. Now we only upload the attachments once and then we send the media message.
2019-11-14 10:44:55 +11:00
Mikunj 789aa244b5 Use promises instead of blocking the thread. 2019-11-01 14:29:43 +11:00
Mikunj 7ff7c36e27 Cleanup code. 2019-10-30 09:59:11 +11:00
Mikunj 3298d665e9 Fix note to self message syncing.
Don't send messages if we're sending to ourselves, instead we just send a regular sync message.
2019-10-29 14:29:09 +11:00
Mikunj efad14fcdc Message syncing. 2019-10-25 14:08:30 +11:00
Niels Andriesse 4aa1eed979 Debug 2019-10-22 10:09:46 +11:00
Mikunj e438d09a62 Update attachments for public group chats. 2019-10-21 13:49:38 +11:00
Mikunj c6f5adb447 Update attachments to use url. 2019-10-17 12:03:08 +11:00
Niels Andriesse a44c3fcd57 Clean 2019-10-08 14:10:16 +11:00
Niels Andriesse 79ec4553aa Clean 2019-10-07 16:53:26 +11:00
Mikunj 0bfa3c33c7 Multi-device sending media message 2019-10-07 10:14:38 +11:00
Niels Andriesse 96dadbaaa8 Handle media message friend requests 2019-09-18 17:33:34 +10:00
Niels Andriesse a78b8a77b6 Clean 2019-09-18 10:00:18 +10:00
Niels Andriesse 74dfac6fd1 Implement GIF sending 2019-09-17 11:46:47 +10:00
Mikunj 3dba87198a Fix messages infinitely sending.
This was because signal infinitely tries to send message on network errors. Since we already have retrying built into the loki api we just disable this behaviour and set a cap of 3 on PushSendJobs incase.
2019-09-13 11:56:36 +10:00
Niels Andriesse 1d5a31aae4 Implement link previews for regular conversations 2019-09-09 13:53:23 +10:00
Niels Andriesse 1822e87f7c Merge Signal 4.41.0 2019-08-07 16:48:54 +10:00
Niels Andriesse 7598830a1b Fix quote messages & friend request handling 2019-07-24 15:05:39 +10:00
Niels Andriesse 169a7e609e Propagate message ID 2019-06-24 16:00:15 +10:00
Greyson Parrelli 2a644437fb Add sticker support.
No sticker packs are available for use yet, but we now have the
latent ability to send and receive.
2019-05-30 01:08:01 -04:00
Alan Evans 9445555d66
Code analysis - address @NotNull/@Nullable issues. 2019-05-22 13:51:56 -03:00
Greyson Parrelli 4a3c173adb Migrated to new JobManager. 2019-04-15 10:56:26 -04:00
Greyson Parrelli c2a86fcc74 Sync self-sends to desktop.
Updated UI to show self-conversations as "Note to Self".
2019-02-14 20:19:07 -08:00
Greyson Parrelli c76081d99c Added support for link previews. 2019-01-30 16:10:43 -08:00
Greyson Parrelli 19d5ba5c0e Upload attachments in a separate job. 2019-01-13 19:25:40 -08:00
Greyson Parrelli bfdad2f47c Updated logging. 2018-12-06 12:43:45 -08:00
Greyson Parrelli 81055e61a6 Update WorkManager to 1.0.0-alpha11. 2018-11-27 12:35:41 -08:00
Greyson Parrelli 36b24d0a20 Rotate sender cert at send time if it's expired. 2018-11-26 07:52:59 -08:00
Greyson Parrelli a3411072ba Remove MasterSecret job.
It's no longer necessary.
2018-11-21 01:55:30 -08:00
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
2018-11-14 16:20:55 -08:00
Greyson Parrelli e31029da89 Update recipient's sealed sender status in more places. 2018-10-31 11:18:35 -07:00
Greyson Parrelli 2acab563d9 Support for sealed sender - Part 2 2018-10-30 08:48:08 -07:00
Moxie Marlinspike 5f31762220 Support for sealed sender - Part 1 2018-10-30 08:48:08 -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 d0db6aa509 Added more logging around message sending and attachment downloads. 2018-08-06 10:50:06 -04:00