Commit Graph

2031 Commits (be7724b41b459e9092fabb9e81ac2a725bc58bb7)

Author SHA1 Message Date
Niels Andriesse be7724b41b Implement feedback 7 years ago
Niels Andriesse 3728638832 Reduce code duplication & fix cell sizing bug 7 years ago
Niels Andriesse 3161680432 Redo friend request handling 7 years ago
Niels Andriesse 49c6611d9d WIP 7 years ago
Niels Andriesse cb1e876b7a Make friend request status updates more reliable 7 years ago
Niels Andriesse 9d3a9f9b78 Fix crash due to nested transaction 7 years ago
Niels Andriesse b83766ef74 Clean & fix conversation settings crash 7 years ago
Niels Andriesse fffb55540b Mostly hook up friend request status logic 7 years ago
Niels Andriesse e2b407ab65 Rename files 7 years ago
Niels Andriesse e3e7788219 Disable input if a friend request is pending 7 years ago
Niels Andriesse d91dc5f045 Fix friend request view bug 7 years ago
Mikunj f8de85ac42 Fix deadlock crash when receiving PreKeyBundle message.
It was deadlocking because we had a transaction inside another transaction.
To stop this we can pass in the parent transaction when setting or removing bundles, as well as generating PreKeyBundle from the proto message.
7 years ago
Mikunj a4b042f282 Added convenience function to make empty outgoing messages. 7 years ago
Niels Andriesse f748fbd4cc Apply OCD 7 years ago
Mikunj ad546eba5b Made code a bit more testable. 7 years ago
Mikunj e714d9b3ab Review fixes. 7 years ago
Mikunj 38b698a531 Fix OWSPrimaryStorage+PreKeyStore methods. 7 years ago
Mikunj f38ddd052e Minor fix. 7 years ago
Mikunj 3a03aa8ca8 Add comment for the future. 7 years ago
Mikunj 141fa8e2cc Do KeyOperations on the global thread. 7 years ago
Mikunj 8fff98d94e Save prekey bundle from content message. 7 years ago
Mikunj ea7205ce76 Discard PreKeyBundle once session has been built. 7 years ago
Mikunj 705e5f939d Set pre key bundle in FriendRequestMessage and EndSessionMessage.
Updated PreKey Operations to not contact signal servers.
7 years ago
Mikunj bd93c01d92 Add generation and storage of PreKeyBundle. 7 years ago
Mikunj a90aa82710 Added PreKeyRecord <-> Contact pubkey mapping. 7 years ago
Mikunj d130415973 Allow generating a set amount of prekeys. 7 years ago
Niels Andriesse 0a653e928b Add share public key button 7 years ago
Niels Andriesse 4da8d33932 Clean 7 years ago
Mikunj 77b67e73bb Refactor LokiAPI 7 years ago
Niels Andriesse b42ae83538 Fix validation 7 years ago
Niels Andriesse 2b490b5ad5 Use MessageFetcherJob for message receiving & fix decoding bug 7 years ago
Mikunj 787e2c1cb7 Send correct data to storage server.
Data -> Envelope -> WebSocket
7 years ago
Mikunj 09157673fe Added friend request states in TSThread.
Automatically send a OWSFriendRequest if we are not friend with the person.
7 years ago
Mikunj 8b1d5ec26d Add OWSFriendRequestMessage.
Re-organised files.

This is just a subclass of TSOutgoingMessage so it will work as any message would.
7 years ago
Niels Andriesse d4d9be9f0c Fix public key validation 7 years ago
Mikunj 26625980bd Fix message sending params.
Disable ProfileFetcherJob.
7 years ago
Niels Andriesse b1bc2c7557 Allow JSON fragments in responses 7 years ago
Niels Andriesse 39ae2f462d Fix incorrect key 7 years ago
Mikunj Varsani 8ca43bb614 Accept text/plain responses. 7 years ago
Niels Andriesse a8092cbfa3 Fix crash 7 years ago
Mikunj Varsani 9d77a7907c Fix crashing in LokiApi. 7 years ago
Niels Andriesse 2092df955a Generate mock notification upon successful message retrieval 7 years ago
Niels Andriesse 188d6d4d17 Fix minor code style issues 7 years ago
Mikunj Varsani ab00bd54b9 Fixes 7 years ago
Niels Andriesse 574c72523b Fix typo 7 years ago
Niels Andriesse bae617c3ba Merge branch 'master' of github.com:loki-project/loki-messenger-ios into fallback-cipher-decrypt 7 years ago
Niels Andriesse a9a9800dd2 Fix duplicate error unwrapping 7 years ago
Mikunj Varsani 24aabb36b9 Forgot to add checking for friend request in OWSMessageManager. 7 years ago
Mikunj Varsani a743698386 Hooked up message send success and failure to LokiAPI.
Converted objective c functions from callbacks to promise in LokiAPI
7 years ago
Niels Andriesse cc1f41c11b Implement background fetching skeleton 7 years ago