nielsandriesse
361083f790
Refactor PushTextSendJob
2020-05-12 14:47:40 +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
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
652201958a
Propagate Loki API related errors
2020-03-05 14:07:42 +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
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
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
Mikunj
fb3967db55
Multi-device sending text messages.
2019-10-04 16:29:51 +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
1822e87f7c
Merge Signal 4.41.0
2019-08-07 16:48:54 +10:00
Niels Andriesse
06e8d20da4
Refactor
2019-07-22 14:25:59 +10:00
Mikunj
e626e09a45
Send PreKeyBundle with an EndSession message.
2019-07-22 08:30:28 +10:00
Niels Andriesse
daa1248e6c
Debug session handling
2019-07-02 11:47:28 +10:00
Niels Andriesse
dd67e59807
Fix pre key usage
2019-06-26 14:31:38 +10:00
Niels Andriesse
169a7e609e
Propagate message ID
2019-06-24 16:00:15 +10:00
Niels Andriesse
a1b6eaf3f5
Refactor
2019-06-21 10:39:05 +10:00
Niels Andriesse
69ecb19654
Update for core changes
2019-06-11 16:27:00 +10:00
Niels Andriesse
021bf1b33c
Clean
2019-06-11 14:41:04 +10:00
Niels Andriesse
c8cc22e8fe
WIP
2019-06-07 15:21:25 +10:00
Niels Andriesse
858b34306b
Share actual public key
2019-06-06 10:04:43 +10:00
Mikunj
89d5c4d0f1
Generate PreKeyBundle if we're sending a friend request.
2019-06-06 09:48:02 +10:00
Mikunj
7d33a9cc8f
Always send a friend request if we're not friends.
...
Pass down isFriendRequest to message sender.
2019-06-05 15:53:10 +10: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
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
Greyson Parrelli
43068e0613
Reduce usage of Log.w()
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
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