Commit graph

11969 commits

Author SHA1 Message Date
Niels Andriesse 055c238baf Update Pods 2019-05-27 12:27:50 +10:00
Niels Andriesse a4f1a1c3c8 Merge branch 'p2p' of github.com:loki-project/loki-messenger-ios into p2p 2019-05-27 12:26:52 +10:00
Niels Andriesse 5351961af7 Clean 2019-05-27 12:26:37 +10:00
Mikunj 58a1c82bfb Don't fail debug on unknown content type.
The desktop messenger has some messages which will not set anything on the envelope.
2019-05-27 11:26:28 +10:00
Niels Andriesse ca713f6476 Clean up getMessages() signature 2019-05-27 10:27:49 +10:00
Mikunj 482721a2c2 Merge branch 'dev' into p2p 2019-05-27 10:24:35 +10:00
Mikunj 32b5b43c6e Fix fetching incorrect thread.
We also forgot to save incoming details.
2019-05-27 10:18:07 +10:00
Niels Andriesse 8f25f96301 Update Pods 2019-05-27 10:03:22 +10:00
Niels Andriesse a440a08a04 Implement retrying 2019-05-27 09:58:34 +10:00
Mikunj 58ead70eb3 Minor fix. 2019-05-27 09:54:20 +10:00
Mikunj 8a1ef268c8 Disable deregister after network error. 2019-05-27 09:52:06 +10:00
Mikunj 88afca30c6 Moved P2P logic to LokiP2PManager. 2019-05-27 09:50:37 +10:00
Mikunj af6a969653 Very iffy ping logic - May not work 2019-05-24 16:26:58 +10:00
Niels Andriesse 22623815bb Enforce naming convention 2019-05-24 16:25:25 +10:00
Niels Andriesse cbac37a95f Fix friend request UI bugs 2019-05-24 16:23:27 +10:00
Mikunj 455c8c520b More pinging logic 2019-05-24 16:07:00 +10:00
Mikunj 7f679ba5ed Added P2P pinging logic. 2019-05-24 15:20:49 +10:00
Mikunj 20f0b23951 Refactoring. 2019-05-24 13:45:38 +10:00
Niels Andriesse 33a5e59415 Clean 2019-05-24 12:15:31 +10:00
Niels Andriesse 96c02864c8 Improve logging 2019-05-24 11:36:26 +10:00
Niels Andriesse 1fafa550f0 Fix message sending error handling 2019-05-24 11:24:27 +10:00
Niels Andriesse f83fdcbf70 Update mock server IP 2019-05-24 09:55:34 +10:00
Niels Andriesse b2f114cd94 Fix typo 2019-05-24 09:49:49 +10:00
Mikunj cead2e3942 More PoW fixes. 2019-05-24 09:44:22 +10:00
Mikunj 05737cde53 Merge commit 'b20ac237b23e9582cead41693428c346f2bc95cb' into p2p 2019-05-24 09:37:07 +10:00
Mikunj b3ef8af476 Fix PoW Calculation. 2019-05-24 09:33:41 +10:00
Niels Andriesse b20ac237b2 Fix PoW calculation 2019-05-24 09:32:55 +10:00
Niels Andriesse fddee1db3d Fix non-millisecond value 2019-05-24 09:11:16 +10:00
Mikunj f084c804c5 Fix ttl not being in milliseconds. 2019-05-23 16:24:58 +10:00
Mikunj ed85a0da3c Merge commit 'fe9a32d1b99253de2e4b0b38653333317aa7e35a' into p2p 2019-05-23 16:16:17 +10:00
Niels Andriesse ab06a1362e Update isCalculatingPoW on send failure 2019-05-23 16:15:04 +10:00
Mikunj b15edf0597 Fix incorrect address format being sent. 2019-05-23 16:13:37 +10:00
Mikunj 80911787e6 Fix incorrect ttl. 2019-05-23 15:50:37 +10:00
Mikunj 0566d94105 Merge commit '07fefc168fcadb5e96aa3a076a27b6756cf91b6c' into p2p 2019-05-23 15:31:27 +10:00
Niels Andriesse fe9a32d1b9 Simplify swarm caching 2019-05-23 15:26:52 +10:00
Mikunj 6337ab076f Updated ip. 2019-05-23 15:23:57 +10:00
Niels Andriesse 07fefc168f Fix crash 2019-05-23 15:09:29 +10:00
Mikunj 4412ec8f15 Made LKAddressMessage a subclass of LKEphemeralMessage.
This is because we can't send a body with a nil message :(
2019-05-23 15:01:01 +10:00
Niels Andriesse 0054489972 Update Pods 2019-05-23 14:40:55 +10:00
Niels Andriesse 9927fdb620 Fix build 2019-05-23 14:38:59 +10:00
Mikunj bf1c2f4327 Send to p2p server first before falling back to storage server. 2019-05-23 13:39:31 +10:00
Niels Andriesse e350b5b776 Update Pods 2019-05-23 12:29:16 +10:00
Niels Andriesse 5af0ad03b9 Persist swarm cache & make access modifiers explicit 2019-05-23 12:28:35 +10:00
Mikunj 2694699e4e Added LKAddressMessage.
Hooked up p2p api.
2019-05-23 12:17:40 +10:00
Niels Andriesse cef9405473 Distinguish between minimum snode count and target snode count 2019-05-23 11:35:56 +10:00
Niels Andriesse c938bb2448
Merge pull request #19 from loki-project/swarm-error-handling
Swarm Specific Error Handling
2019-05-23 09:50:07 +10:00
Niels Andriesse 8a9da51943 Implement swarm specific error handling 2019-05-23 09:44:46 +10:00
Niels Andriesse 5c481c38ba Update Pods 2019-05-22 16:05:48 +10:00
Niels Andriesse 1796fd8e60 Prepare for P2P logic integration 2019-05-22 16:04:51 +10:00
Niels Andriesse 24dd8335de
Merge pull request #18 from loki-project/p2p
P2p server
2019-05-22 14:32:09 +10:00