209 Commits

Author SHA1 Message Date
nielsandriesse
8e14c7abb6 Debug 2020-08-10 16:54:59 +10:00
nielsandriesse
86837f031a Integrate SSKs into the encryption pipeline 2020-08-10 15:29:36 +10:00
nielsandriesse
09c668acb2 Start and stop the closed group poller as needed 2020-08-10 11:48:27 +10:00
nielsandriesse
15f3942838 Clean 2020-08-07 10:53:36 +10:00
nielsandriesse
322087b83d Unregister the user from FCM when they clear their data 2020-08-04 15:41:10 +10:00
nielsandriesse
6efef1d148 Disable multi device 2020-08-04 15:33:37 +10:00
nielsandriesse
1e892568af Handle session request expiration 2020-07-17 09:05:37 +10:00
nielsandriesse
4beaf88fbe Match desktop session handling 2020-07-16 09:44:00 +10:00
nielsandriesse
dbdb4ec855 Clean 2020-07-16 08:55:29 +10:00
nielsandriesse
06f547dc88 Implement the new protocol 2020-07-15 17:04:23 +10:00
nielsandriesse
455471b20e Remove the concept of friend requests 2020-07-15 14:26:20 +10:00
nielsandriesse
21554441f3 Make things compile 2020-07-15 12:24:43 +10:00
nielsandriesse
5a64e1cf3a Make session handling logic consistent with desktop 2020-07-10 09:46:14 +10:00
nielsandriesse
4799c13816 Clean up ahead of protocol changes 2020-07-08 17:05:26 +10:00
nielsandriesse
3124a59269 Merge branch 'fix-notification-spam' into dev 2020-07-08 11:31:07 +10:00
nielsandriesse
d09171213d Clean 2020-07-08 11:30:00 +10:00
nielsandriesse
4e672d5b49 Clean 2020-07-08 10:48:09 +10:00
ryanzhao
2a88de3f61 move old message notifier to optimized message notifier 2020-06-26 16:18:19 +10:00
ryanzhao
6fcc26cc22 update local session id and stop polling if local session id has changed 2020-06-25 09:33:44 +10:00
nielsandriesse
07737262ca Unify background pollers and reduce polling interval
We were getting rate limited
2020-06-09 11:39:08 +10:00
nielsandriesse
c0f4ccfbe5 Persist snode pool to database 2020-05-29 12:01:43 +10:00
nielsandriesse
3d44816e4a Potentially fix crash 2020-05-26 09:03:41 +10:00
nielsandriesse
b4f1640d0b Potentially fix crash 2020-05-25 18:01:21 +10:00
nielsandriesse
25fd92fa79 Fix device unlinking 2020-05-25 10:20:18 +10:00
nielsandriesse
c73409b9d2 Fix database reset 2020-05-22 13:47:51 +10:00
nielsandriesse
a7b94d188f Fix various session reset issues 2020-05-22 13:41:36 +10:00
nielsandriesse
f015339fc5 Fix simultaneous session request bug 2020-05-22 10:41:31 +10:00
nielsandriesse
e668341e38 Glue some things together again 2020-05-14 13:52:20 +10:00
nielsandriesse
deb2fff0ae Refactor ApplicationContext 2020-05-14 09:35:34 +10:00
nielsandriesse
6205b6c9f6 Refactor PushDecryptJob 2020-05-13 16:34:08 +10:00
nielsandriesse
9b4a219b06 Clean GroupManager 2020-05-12 16:33:04 +10:00
nielsandriesse
32ae74c442 Re-order files 2020-05-12 11:46:11 +10:00
nielsandriesse
ed2ab2d78a Refactor 2020-05-11 16:19:26 +10:00
nielsandriesse
8d50998ea1 Partially update for core changes 2020-05-07 17:59:41 +10:00
nielsandriesse
dda578bef8 Ditch RSS feeds for now 2020-04-20 11:54:56 +10:00
nielsandriesse
669e8b9f6b Fix FCM token updating bug 2020-04-17 13:26:11 +10:00
nielsandriesse
0a3dbc55a8 Integrate push notifications 2020-04-17 12:11:27 +10:00
nielsandriesse
84c783fae1 Minor refactoring 2020-04-16 16:56:12 +10:00
ryanzhao
18ce4433d2 Merge branch 'dev' of https://github.com/loki-project/loki-messenger-android into remote-push-notification 2020-04-15 10:24:55 +10:00
ryanzhao
b72048d9a4 add FCM to app for remote push notification 2020-04-15 10:24:30 +10:00
nielsandriesse
a6bfd14285 Update for core changes 2020-04-09 13:38:15 +10:00
gmbnt
16f207b785 Ditch long polling 2020-03-24 13:48:23 +11:00
gmbnt
6246fea83b Further improve threading 2020-03-24 11:31:01 +11: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
Mikunj
3cdaf80c5d Removed all references to google play and firebase.
Removed phone number utils.
 Slowly remove signal code.
2020-02-28 09:07:01 +11:00
Mikunj
a57bf0cd98 Remove un-used permissions. 2020-02-27 15:44:57 +11:00
Mikunj
85b2379510 Fix race condition that occurs on device link authorisation.
Upon authorisation, we upload our mapping to the server.
At the same time we also get a contact sync message and send out background friend request messages.
There was a race condition between those 2 functions where to correctly establish multi-device communication, you need your mapping on the server so that the other party knows that it's a secondary device and not a regular user.
2020-02-26 11:53:28 +11:00
Niels Andriesse
b9307d4cb9 Untie profile picture from auth token 2020-02-24 10:57:51 +07:00
Mikunj
3a0c518eeb Don't fetch device links at startup 2020-02-18 14:00:05 +11:00
Niels Andriesse
07b1ffa77e Refactor multi device 2020-02-13 14:39:29 +11:00