Commit graph

11605 commits

Author SHA1 Message Date
Niels Andriesse 13e15fa70c Merge branch 'master' of github.com:loki-project/loki-messenger-ios 2019-05-08 10:04:26 +10:00
Niels Andriesse b2309cdf48 Add LokiAPI.ping(_:) 2019-05-08 10:04:19 +10:00
Mikunj Varsani 93ceda851c Merge branch 'master' into fallback-cipher 2019-05-08 09:40:44 +10:00
Niels Andriesse cdf958ccba Update Pods 2019-05-08 09:30:45 +10:00
Niels Andriesse 44b6a9567b Refactor Loki API 2019-05-08 09:29:07 +10:00
Mikunj f530472a26 Added FallBackSessionCipher. 2019-05-07 16:32:03 +10:00
Niels Andriesse 6bf47e7bac Start implementing snode API 2019-05-07 16:03:57 +10:00
Niels Andriesse f4b0553cdb WIP 2019-05-07 15:33:08 +10:00
Niels Andriesse 33de33390b Create Target 2019-05-07 15:03:54 +10:00
Niels Andriesse e68122086b Clean 2019-05-07 14:29:18 +10:00
Niels Andriesse 243a9e906d Fix TTL usage 2019-05-07 14:00:38 +10:00
Niels Andriesse d05b4aa2bf Make Mikunj happy 2019-05-07 13:53:31 +10:00
Niels Andriesse f0566d2b05
Merge pull request #9 from loki-project/messaging-refactor
Minor Refactoring
2019-05-07 13:17:37 +10:00
Niels Andriesse 2ffa205619 Update Pods 2019-05-07 13:16:36 +10:00
Niels Andriesse a3c92d98c0 Create JSON type 2019-05-07 13:15:48 +10:00
Mikunj 19491ccbc4 Minor fix when generating messages to send. 2019-05-07 12:02:57 +10:00
Niels Andriesse 73bc3480cb
Merge pull request #8 from loki-project/messaging-refactor
Messaging Refactor
2019-05-07 11:57:04 +10:00
Niels Andriesse 72cc345734 Hook up new messaging API 2019-05-07 11:56:00 +10:00
Niels Andriesse 1c4c47ab33 Merge branch 'master' of github.com:loki-project/loki-messenger-ios into messaging-refactor 2019-05-07 11:35:07 +10:00
Niels Andriesse 294d8b5c11 WIP 2019-05-07 11:34:35 +10:00
Niels Andriesse e6bfd56487 Make POW related fields optional 2019-05-07 11:27:33 +10:00
Mikunj cb53acf138 Disable web sockets. 2019-05-07 11:19:12 +10:00
Niels Andriesse a47f43b71c Update Pods 2019-05-07 10:46:03 +10:00
Niels Andriesse 5541e2c2c3 Clean 2019-05-07 10:29:44 +10:00
Niels Andriesse 78adfabf0c Implement new messaging API 2019-05-07 10:10:15 +10:00
Niels Andriesse 18d1225faa
Merge pull request #7 from loki-project/proof-of-work-ui
Proof of work UI
2019-05-07 09:18:54 +10:00
Mikunj Varsani 512b71a9d4
Merge branch 'master' into proof-of-work-ui 2019-05-06 17:01:43 +10:00
Niels Andriesse bc8c40b228 Merge branch 'master' of github.com:loki-project/loki-messenger-ios 2019-05-06 16:15:26 +10:00
Mikunj bee85caa14 Improved naming. 2019-05-06 16:14:51 +10:00
Niels Andriesse ee2361b5cc Hook up Loki messaging API 2019-05-06 16:13:32 +10:00
Niels Andriesse b9d39f8758 Fix public key validation bug 2019-05-06 16:12:49 +10:00
Mikunj f8cccd8967 Show spinning cog if we are calculating the proof of work. 2019-05-06 16:12:14 +10:00
Mikunj 598226d58e Fix incorrect function signature. 2019-05-06 14:58:03 +10:00
Niels Andriesse 8b7e5003d7
Merge pull request #6 from loki-project/message-proof-of-work
Hooked up proof of work to message sending.
2019-05-06 14:30:42 +10:00
Niels Andriesse ca820494dd Merge branch 'message-proof-of-work' of github.com:loki-project/loki-messenger-ios into message-proof-of-work 2019-05-06 14:28:17 +10:00
Niels Andriesse dd18e65e3e Fix minor code style issues 2019-05-06 14:23:44 +10:00
Mikunj e4d612a58e Only send message to the primary device.
Fail send if sending message to self.

We do this because loki doesn't support multi-device sending at the moment.
2019-05-06 14:22:34 +10:00
Niels Andriesse 177d9f7b87 Merge branch 'master' of github.com:loki-project/loki-messenger-ios into message-proof-of-work 2019-05-06 14:09:35 +10:00
Mikunj 0c711d549a Added small note. 2019-05-06 13:58:35 +10:00
Mikunj ad0fc7944e Made ProofOfWork work in objective c.
Added proof of work calculation when sending message.
2019-05-06 13:53:39 +10:00
Niels Andriesse 4c7e653cef Hook up public key checking 2019-05-06 13:30:39 +10:00
Niels Andriesse 4ce9228afd WIP 2019-05-06 11:50:24 +10:00
Niels Andriesse 19a0d85afd Implement public key checking logic 2019-05-06 11:32:11 +10:00
Niels Andriesse a91c636dda Document things more 2019-05-06 11:17:52 +10:00
Niels Andriesse 4e8e5a4a74 Add documentation 2019-05-06 11:10:23 +10:00
Niels Andriesse 3bd3341e64 Clean 2019-05-06 11:01:21 +10:00
Niels Andriesse 57084e7e99 Merge branch 'master' of github.com:loki-project/loki-messenger-ios 2019-05-06 10:52:59 +10:00
Niels Andriesse 29ac92e961 Hook up new conversation button 2019-05-06 10:52:39 +10:00
Mikunj de01731316 Removed LokiKit.
Moved all files back into SignalServiceKit.
2019-05-06 10:50:47 +10:00
Niels Andriesse a284f3deb6 Don't ask for notifications 2019-05-06 10:30:24 +10:00