Commit Graph

2102 Commits (07fefc168fcadb5e96aa3a076a27b6756cf91b6c)

Author SHA1 Message Date
Niels Andriesse b42ae83538 Fix validation 6 years ago
Niels Andriesse 2b490b5ad5 Use MessageFetcherJob for message receiving & fix decoding bug 6 years ago
Mikunj 787e2c1cb7 Send correct data to storage server.
Data -> Envelope -> WebSocket
6 years ago
Mikunj 09157673fe Added friend request states in TSThread.
Automatically send a OWSFriendRequest if we are not friend with the person.
6 years ago
Mikunj 8b1d5ec26d Add OWSFriendRequestMessage.
Re-organised files.

This is just a subclass of TSOutgoingMessage so it will work as any message would.
6 years ago
Niels Andriesse d4d9be9f0c Fix public key validation 6 years ago
Mikunj 26625980bd Fix message sending params.
Disable ProfileFetcherJob.
6 years ago
Niels Andriesse b1bc2c7557 Allow JSON fragments in responses 6 years ago
Niels Andriesse 39ae2f462d Fix incorrect key 6 years ago
Mikunj Varsani 8ca43bb614 Accept text/plain responses. 6 years ago
Niels Andriesse a8092cbfa3 Fix crash 6 years ago
Mikunj Varsani 9d77a7907c Fix crashing in LokiApi. 6 years ago
Niels Andriesse 2092df955a Generate mock notification upon successful message retrieval 6 years ago
Niels Andriesse 188d6d4d17 Fix minor code style issues 6 years ago
Mikunj Varsani ab00bd54b9 Fixes 6 years ago
Niels Andriesse 574c72523b Fix typo 6 years ago
Niels Andriesse bae617c3ba Merge branch 'master' of github.com:loki-project/loki-messenger-ios into fallback-cipher-decrypt 6 years ago
Niels Andriesse a9a9800dd2 Fix duplicate error unwrapping 6 years ago
Mikunj Varsani 24aabb36b9 Forgot to add checking for friend request in OWSMessageManager. 6 years ago
Mikunj Varsani a743698386 Hooked up message send success and failure to LokiAPI.
Converted objective c functions from callbacks to promise in LokiAPI
6 years ago
Niels Andriesse cc1f41c11b Implement background fetching skeleton 6 years ago
Mikunj Varsani f8a7c40914 Add decryption of friend request message type. 6 years ago
Mikunj Varsani 1ea8e147cb Updated generated proto files. 6 years ago
Mikunj Varsani 4603f90871 Added FallBackSessionCipher decryption 6 years ago
Niels Andriesse a1c760965a Fix Obj-C interop issue 6 years ago
Niels Andriesse 13e15fa70c Merge branch 'master' of github.com:loki-project/loki-messenger-ios 6 years ago
Niels Andriesse b2309cdf48 Add LokiAPI.ping(_:) 6 years ago
Mikunj Varsani 93ceda851c Merge branch 'master' into fallback-cipher 6 years ago
Niels Andriesse 44b6a9567b Refactor Loki API 6 years ago
Mikunj f530472a26 Added FallBackSessionCipher. 6 years ago
Niels Andriesse 6bf47e7bac Start implementing snode API 6 years ago
Niels Andriesse f4b0553cdb WIP 6 years ago
Niels Andriesse 33de33390b Create Target 6 years ago
Niels Andriesse e68122086b Clean 6 years ago
Niels Andriesse 243a9e906d Fix TTL usage 6 years ago
Niels Andriesse d05b4aa2bf Make Mikunj happy 6 years ago
Niels Andriesse f0566d2b05
Merge pull request #9 from loki-project/messaging-refactor
Minor Refactoring
6 years ago
Niels Andriesse a3c92d98c0 Create JSON type 6 years ago
Mikunj 19491ccbc4 Minor fix when generating messages to send. 6 years ago
Niels Andriesse 72cc345734 Hook up new messaging API 6 years ago
Niels Andriesse 1c4c47ab33 Merge branch 'master' of github.com:loki-project/loki-messenger-ios into messaging-refactor 6 years ago
Niels Andriesse 294d8b5c11 WIP 6 years ago
Niels Andriesse e6bfd56487 Make POW related fields optional 6 years ago
Mikunj cb53acf138 Disable web sockets. 6 years ago
Niels Andriesse 5541e2c2c3 Clean 6 years ago
Niels Andriesse 78adfabf0c Implement new messaging API 6 years ago
Mikunj Varsani 512b71a9d4
Merge branch 'master' into proof-of-work-ui 6 years ago
Mikunj bee85caa14 Improved naming. 6 years ago
Niels Andriesse ee2361b5cc Hook up Loki messaging API 6 years ago
Niels Andriesse b9d39f8758 Fix public key validation bug 6 years ago
Mikunj f8cccd8967 Show spinning cog if we are calculating the proof of work. 6 years ago
Mikunj 598226d58e Fix incorrect function signature. 6 years ago
Niels Andriesse ca820494dd Merge branch 'message-proof-of-work' of github.com:loki-project/loki-messenger-ios into message-proof-of-work 6 years ago
Niels Andriesse dd18e65e3e Fix minor code style issues 6 years ago
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.
6 years ago
Niels Andriesse 177d9f7b87 Merge branch 'master' of github.com:loki-project/loki-messenger-ios into message-proof-of-work 6 years ago
Mikunj 0c711d549a Added small note. 6 years ago
Mikunj ad0fc7944e Made ProofOfWork work in objective c.
Added proof of work calculation when sending message.
6 years ago
Niels Andriesse 4ce9228afd WIP 6 years ago
Niels Andriesse 19a0d85afd Implement public key checking logic 6 years ago
Niels Andriesse a91c636dda Document things more 6 years ago
Niels Andriesse 4e8e5a4a74 Add documentation 6 years ago
Mikunj de01731316 Removed LokiKit.
Moved all files back into SignalServiceKit.
6 years ago
Niels Andriesse c1e121b271 Create LokiKit 6 years ago
Niels Andriesse 2cb1ddbdad Implement mnemonic based key pair restoration 6 years ago
Niels Andriesse 5eddb9274b Fix incorrect key pair usage 6 years ago
Niels Andriesse dc80c17261 Skip onboarding permissions step 6 years ago
Niels Andriesse 011d4e1465 Implement basic snode interaction 6 years ago
Niels Andriesse 9d64b76af6 Clean & fix bad merge 6 years ago
Niels Andriesse d78b85c5b9 Update SignalService.proto 6 years ago
Niels Andriesse c429bebaba Fix phone number parsing crash 6 years ago
Niels Andriesse 384353086b Fix bundle ID issue 6 years ago
Matthew Chen 85aa976101 Add Pinterest link previews. 6 years ago
Matthew Chen 4060bf0ca4 Add Pinterest link previews. 6 years ago
Michael Walker 11af22432d Add pinterest domain and asset domains for link preview support 6 years ago
Matthew Chen 415526fc9b Refine request padding. 6 years ago
Michael Kirk b55e0e45f5 Avoid deadlock
There are multiple methods which synchronize(self) in TSAccountMessage and also
multiple ones which can occur within a read-write transaction.
6 years ago
Michael Kirk 21cffdfb5e always specify default when accessing bool preference 6 years ago
Michael Kirk 39d3219238 Add option to manually disable circumvention. 6 years ago
Matthew Chen 79eb3fb3cb Suppress overzealous assert. 6 years ago
Michael Kirk b1e1020eb3 swift5: void promise must take void argument vs no argument 6 years ago
Michael Kirk 30266bf65e autoformatted 6 years ago
Michael Kirk 64a0c4bfaa auto-migrate to Swift5 6 years ago
Michael Kirk 501e2c761f Merge tag '2.38.1.2' 6 years ago
Michael Kirk 3fb8b02b3b update front 6 years ago
Michael Kirk a7bd372147 Fix tests by removing side effect in getter
While setting up the test CurrentAppContect, we use OWSTemporaryDirectory which in turn
recursively references CurrentAppContext, which crashes.

Clearing temp directories on every activation is sufficient.
6 years ago
Michael Kirk 07e88009e4 Merge tag '2.38.0.11' 6 years ago
Michael Kirk e69494450b put conversation search behind feature flag 6 years ago
Michael Kirk e42192624f fixup tests 6 years ago
Michael Kirk 2242dd240f Fix "blank notification text" for oversize messages 6 years ago
Michael Kirk 05d8846f6c match highlight behavior with search behavior 6 years ago
Michael Kirk 5ed16355d7 iOS9 needs a different assertion 6 years ago
Michael Kirk 048f19c6b8 specify yyyy date format 6 years ago
Michael Kirk 5e52d66b05 bump feedback endpoint 6 years ago
Michael Kirk 0d822597a1 specify locale when timestamp parsing 6 years ago
Michael Kirk 7dbb9517af Centralize attachment state in nav controller 6 years ago
Matthew Chen dd54b40bed Respond to CR. 6 years ago
Matthew Chen 987726df6c Temp files. 6 years ago
Matthew Chen 81e3dfc3cf Respond to CR. 6 years ago
Matthew Chen bb1921afe6 Simplify link preview cache. 6 years ago
Matthew Chen 04b60677a6 Simplify link preview cache. 6 years ago
Matthew Chen ae5cee2167 Clean up the link preview cache. 6 years ago
Matthew Chen 9b34e4ac61 Respond to CR. 6 years ago
Matthew Chen c5a87c4d20 Add asserts around CDS feedback errors. 6 years ago
Michael Kirk aa46113b4a disable custom capture flow for now 6 years ago
Michael Kirk 0b638f4831 link checks 6 years ago
Michael Kirk 78ce3583ed fix rotation issue 6 years ago
Matthew Chen df4cf5c09e Respond to CR. 6 years ago
Matthew Chen fed4899c8d Handle incoming attachments with missing MIME type. 6 years ago
Matthew Chen c180d20dcd Store media size from attachment pointer protos. 6 years ago
Matthew Chen c37f425d5f Reduce logging. 6 years ago
Michael Kirk 284357137f Photo/Movie Capture 6 years ago
Michael Kirk 91ec9ebf9d Fix overzealous assert 6 years ago
Matthew Chen 863c96c62a Merge tag '2.37.1.0' 6 years ago
Matthew Chen 10383783e3 Respond to CR. 6 years ago
Matthew Chen d84e0eead9 Respond to TIOLI feedback from https://trello.com/c/ntO5hBbl/4161-prs-for-michael-to-review 6 years ago
Michael Kirk 2a151dbf6d update settings key 6 years ago
Michael Kirk b36a0061e1 contact picker perf for contact with many phone numbers
Only consider first n phone numbers for a contact.

Some users have a "Spam" contact created by external apps which have thousands
of known telemarkers/scammers phone numbers, this pathological case causes a
slowdown in the presentation of the compose picker.
6 years ago
Carola Nitz 117411009b Add public keyword to fix compilation for framework integration 6 years ago
Michael Kirk 870caaa84a simplify completion checking - make nonnull 6 years ago
Matthew Chen fff93f8bb2 Use content proxy to configure all proxied content requests. 6 years ago
Matthew Chen ad90a8e0c4 Use content proxy to configure all proxied content requests. 6 years ago
Matthew Chen 5eaeeff838 Use content proxy to configure all proxied content requests. 6 years ago
Michael Kirk a7e8f9713c Try to account for variability in network backed tests 6 years ago
Michael Kirk 7e5256856c render media+longText message 6 years ago
Michael Kirk b7989e9384 feature flag approval sending 6 years ago
Michael Kirk bc4260b444 Send long-text with other attachments 6 years ago
Matthew Chen 0f98d63365 Tweak name of proxied request padding header. 6 years ago
Michael Kirk 645a26cbdf use connection pool for reads 6 years ago
Michael Kirk fabd3996c2 pop view if message is deleted
- use global ui database connection
6 years ago
Matthew Chen 20d22f6395 Add user agent for proxied requests. 6 years ago
Matthew Chen 5f0de5c36d Respond to CR. 6 years ago
Matthew Chen 6ef65ad9d6 Send and process 'recipient update' sync messages. 6 years ago
Matthew Chen bb7d328267 Send and process 'recipient update' sync messages. 6 years ago
Matthew Chen e27e27cc3a Send and process 'recipient update' sync messages. 6 years ago
Matthew Chen 01b1df5375 Add 'is update' flag to 'sent message' transcript proto schema. 6 years ago
Matthew Chen f19915fb75 Add 'is update' flag to 'sent message' transcript proto schema. 6 years ago
Matthew Chen 5f3a03a06a Add 'sent update' transcripts to proto schema. 6 years ago
Matthew Chen 4f19d03bdc Send 'sent update' sync messages. 6 years ago
Matthew Chen 6ce84e7f9b Process 'sent update' transcripts. 6 years ago
Matthew Chen ccc1bd3331 Process 'sent update' transcripts. 6 years ago
Matthew Chen 304c285540 Add 'sent update' transcripts to proto schema. 6 years ago
Matthew Chen b53243da31 Add 'sent update' transcripts to proto schema. 6 years ago
Matthew Chen 907159f3f4 Process 'sent update' transcripts. 6 years ago
Matthew Chen f36373e3ca Add 'sent update' transcripts to proto schema. 6 years ago
Matthew Chen 32965a0c14 Respond to CR. 6 years ago
Matthew Chen 40768825c8 Pad proxied request sizes. 6 years ago
Matthew Chen a47930f613 Skip HEAD for proxied content downloads. 6 years ago
Matthew Chen f006972c39 Skip HEAD for proxied content downloads. 6 years ago
Matthew Chen 089eec4136 Skip HEAD for proxied content downloads. 6 years ago