Commit Graph

89 Commits

Author SHA1 Message Date
nielsandriesse a6bfd14285 Update for core changes 2020-04-09 13:38:15 +10: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
Niels Andriesse 1fb7081fa2 Fix open group message sending 2020-02-05 10:08:57 +11:00
Mikunj a1e98bae75 Fix crash. 2020-02-04 14:52:25 +11:00
Mikunj cc369f5c52 Fix message syncing in group chats 2020-02-04 10:09:32 +11:00
Mikunj 93a9f4c1dc Handle SessionRequest messages. 2019-12-13 16:04:24 +11:00
Mikunj 538cd39d00 Send group messages to members and their secondary devices. 2019-12-13 12:23:06 +11:00
Mikunj b6d2717286 Added admins to groups.
Only process group updates if an admin sent it.
2019-12-13 11:04:37 +11:00
Mikunj 33788189dd Distinguish public chat and rss feed from regular groups 2019-12-12 13:01:56 +11:00
Mikunj e438d09a62 Update attachments for public group chats. 2019-10-21 13:49:38 +11:00
Niels Andriesse 4a613df52d Clean 2019-10-15 14:32:23 +11:00
Niels Andriesse 65f95839d9 Fix build 2019-10-15 13:51:18 +11:00
Niels Andriesse a8c4fa22a3 Partially fix build 2019-10-15 13:39:17 +11:00
Mikunj 4657b79179 UI improvements. 2019-10-11 15:38:15 +11:00
Mikunj 13d42f542c Added public chat manager.
Replace hard coded public chat server with dynamic one.
2019-10-11 09:36:52 +11: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 1859a22419 Debug 2019-09-10 11:09:31 +10:00
Niels Andriesse f6c1a3ef9c Update for core changes 2019-08-28 12:09:05 +10:00
Niels Andriesse 8a6559b1fe Disable group updates for now 2019-08-09 13:43:55 +10:00
Niels Andriesse 67889489e9 Fix missing message body 2019-08-09 13:03:41 +10:00
Niels Andriesse eb9537f1c1 Make group chats a bit more future proof 2019-08-09 12:00:01 +10:00
Niels Andriesse 717a28a446 Fix missing message ID & update for core changes 2019-08-09 10:11:30 +10:00
Niels Andriesse 04aa7db499 Use alternative approach for group message sending 2019-08-08 17:24:00 +10:00
Niels Andriesse 1822e87f7c Merge Signal 4.41.0 2019-08-07 16:48:54 +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 c76081d99c Added support for link previews. 2019-01-30 16:10:43 -08:00
Greyson Parrelli 1e534a2a10 Fix group avatars not sending.
Fixes #8547
2019-01-20 12:00:18 -08:00
Greyson Parrelli 2209ff2272 Use AttachmentUploadJob in PushGroupSendJob. 2019-01-15 12:43:38 -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 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 444e01deae Improve key presence checking in SafeData.
This isn't a perfect check either, but it should be safer and more
consistent than using static "invalid values".
2018-10-02 12:31:12 -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
Greyson Parrelli a498176043 Switch logs to use new Log class. 2018-08-06 10:50:06 -04:00
Greyson Parrelli b02dda405c Use NetworkBackoffRequirement for group messages. 2018-07-12 10:59:10 -07:00
Greyson Parrelli b5d4cac90a Send/receive expiration times for group updates.
This particularly helps with the bug where people who were newly added
to a group wouldn't receive an expiration timer until the first message
was sent.
2018-06-22 11:01:55 -07:00
Greyson Parrelli 933be54035 Update scheduling of ServiceOutageDetectionJob.
Previously, we were running this job in PushSendJob#onCanceled().
However, with the new retry logic, this won't happen for 24 hours.

Instead, we now schedule the job in PushSendJob#onRetry().
2018-06-22 10:59:53 -07:00
Greyson Parrelli 42f1baaf61 Imported JobManager as a source dependency.
We have to make some changes, and it's gotten to the point where
maintaining it as a separate library is more hassle than it's worth,
especially with Google releasing WorkManager as the preferred job
scheduling library.
2018-06-22 10:59:53 -07:00
Greyson Parrelli 2c17b54ef9 Show a banner in the event of a service outage.
We will now determine if there has been a service outage and render a
banner at the top of the conversation list if we detect that there has
been one.
2018-06-18 14:32:45 -07:00