Commit Graph

2671 Commits (e2b40028d013fb211c81c24e3e158fecce435a61)

Author SHA1 Message Date
Niels Andriesse 4bdb689526 Reduce code duplication 6 years ago
Niels Andriesse a1977442f0 Update friend request auto-acceptance for multi device 6 years ago
Niels Andriesse 954b4567fb Remove unused code 6 years ago
Niels Andriesse 897147bbf5 Update friend request acceptance for multi device 6 years ago
Niels Andriesse 8281b23ec6 Ensure friend request uniqueness in a thread 6 years ago
Niels Andriesse ca1a419a45 Add documentation 6 years ago
Niels Andriesse c23b6782e8 Fix friend request display logic 6 years ago
Niels Andriesse 4258e6d68e Merge display logic but separate friend request logic 6 years ago
Niels Andriesse 1ffb8908cc Disable partially implemented seed restoration for now 6 years ago
Niels Andriesse 553a7149d5 Clean OWSMessageManager documentation 6 years ago
Niels Andriesse 145a3beb0a Fix restoration from seed part 1 6 years ago
Niels Andriesse 6e5169206d Fix uncontactable seed node 6 years ago
Niels Andriesse 14fbce0880 Fix deadlock 6 years ago
Niels Andriesse 57614dd01a Add logging 6 years ago
Niels Andriesse 281db29a6c Update for back-end changes 6 years ago
Niels Andriesse 060eac7bcc Fix voice message & file attachment parsing 6 years ago
Niels Andriesse 984f732324 Enable file attachments 6 years ago
Niels Andriesse ec5ce16fbe Fix Giphy link previews 6 years ago
Niels Andriesse 89221c1f71 Debug 6 years ago
Niels Andriesse 8f0bd88ed4 Limit allowed characters in display names 6 years ago
Niels Andriesse e09dc8fed7 Clean 6 years ago
Niels Andriesse 3c87da738d Improve restoration from seed 6 years ago
Niels Andriesse a6be41a2f9 Debug 6 years ago
Niels Andriesse 7331e7fa31 Ditch temporary link preview setup 6 years ago
Niels Andriesse 7ff232dbc5 Clean 6 years ago
Niels Andriesse 9eea1a3a83 Parse group attachments 6 years ago
Niels Andriesse b05c890ab9 Debug 6 years ago
Niels Andriesse 3ffb55fd0e Include attachment IDs in public chat message signature 6 years ago
Niels Andriesse 52d6b95046 Update attachment API for public chat server 6 years ago
Niels Andriesse c144de002c Include attachments in JSON 6 years ago
Niels Andriesse 4adf209b13 Upload attachments to public chat server as needed 6 years ago
Niels Andriesse b748566f34 Implement attachment downloading 6 years ago
Niels Andriesse f8ababad1a Update protobuf layout 6 years ago
Niels Andriesse ee8b341182 Implement attachment uploading 6 years ago
Niels Andriesse 93a8fdf92e Handle dodgy seed nodes 6 years ago
Niels Andriesse 9ee85ba150 Disallow self mentions 6 years ago
Niels Andriesse 7462bdab1a Fix regression 6 years ago
Niels Andriesse bb9f59ee17 Clean 6 years ago
Niels Andriesse 8e5e113ecf Clean 6 years ago
Niels Andriesse b4af9d16d5 Refactor 6 years ago
Niels Andriesse 131c27d089 Fix duplication 6 years ago
Niels Andriesse 48883bf1f1 Fix build 6 years ago
Niels Andriesse 7b0e2d06b0 Partially implement feedback 6 years ago
Niels Andriesse ddc9ead05c Fix build 6 years ago
Niels Andriesse 86550c8877 Merge branch 'dev' into custom-server 6 years ago
Niels Andriesse 9b47c646fe Change mentions approach 6 years ago
Niels Andriesse 8344a86412 Render mentions in previews & refactor 6 years ago
Niels Andriesse 7441468746 Increase fall back batch count 6 years ago
Niels Andriesse 6b08367d6b Debug 6 years ago
Mikunj 315ba3ecf9 Merge commit '21aa2f646465094c82a1d0062aa74f4a482ca31b' into custom-server
# Conflicts:
#	Signal.xcodeproj/project.pbxproj
6 years ago
Mikunj 28d5e9c7a0 Added Public chat VC 6 years ago
Mikunj d8d33287d1 Added PublicChatManager.
Added migrations.
6 years ago
Niels Andriesse 10eead529f Implement user selection UI 6 years ago
Mikunj 683a5c1edc Remove dependency on hard coded public chat values. 6 years ago
Niels Andriesse ea3da42faf Debug 6 years ago
Mikunj 3c7369f465 Added storage functions.
Minor refactor.
6 years ago
Niels Andriesse 4d5ca1ce66 Pre-populate user ID cache as needed 6 years ago
Niels Andriesse a1d40a5933 Implement mention rendering 6 years ago
Niels Andriesse cbc12977d3 Fix unclear API 6 years ago
Niels Andriesse 266e0f3363 Reword comment 6 years ago
Mikunj cbe0fd6f0e Hook up caching on iOS 6 years ago
Mikunj 17cede4a14 Refactor DeviceLinkMessage.
Send a prekeybundle with a pairing request.
6 years ago
Mikunj 2dd0634a62 Fallback to using mappings in database if something goes wrong. 6 years ago
Mikunj 5047a98990 Fix incorrect multi device signature signing and verification. 6 years ago
Niels Andriesse 306e9cf346 Match Android protobuf layout 6 years ago
Niels Andriesse 202a28e64a Fix display name updating bug 6 years ago
Niels Andriesse 391ed03913 Debug 6 years ago
Niels Andriesse 8e539dad83 Merge threads 6 years ago
Niels Andriesse dafb1469a8 Add documentation 6 years ago
Niels Andriesse 8c3a5f6bd8 Partially disable settings for slave devices 6 years ago
Niels Andriesse 30c60d728e Fix message sending logic 6 years ago
Niels Andriesse 66baf996a5 WIP 6 years ago
Niels Andriesse 7f17a9cb22 Fix TTL bug 6 years ago
Niels Andriesse b7d3c1da04 Update for new username API 6 years ago
Niels Andriesse 40bb4ba1a4 Set device link message TTL, clean & add more analytics 6 years ago
Niels Andriesse 9b128748f6 Debug 🔥🐛 6 years ago
Niels Andriesse e9bbbe4c87 Fix typo 6 years ago
Niels Andriesse deb8ad002e Clean 6 years ago
Niels Andriesse bef7a2e3c8 Implement group chat message signing 6 years ago
Niels Andriesse 7031bde5a2 Finish integration 6 years ago
Niels Andriesse 2459388a3a Debug 6 years ago
Niels Andriesse 0df60cc3af Fix parsing 6 years ago
Niels Andriesse d0c2ab03ed Fix storage API bug 6 years ago
Niels Andriesse ec5f9e9adc Always use production server for now 6 years ago
Niels Andriesse 7828ad3ebe Partially debug storage API 6 years ago
Niels Andriesse 29f62a6dfc Implement LokiStorageAPI.getDeviceLinks(...) 6 years ago
Niels Andriesse 8b0141596c Partially implement storage API 6 years ago
Niels Andriesse 00c5a176f8 Fix incorrect override 6 years ago
Niels Andriesse 21dd3318d6 Clean 6 years ago
Niels Andriesse 07418d3f8a Debug 6 years ago
Niels Andriesse 2f0ac9e59e Implement mnemonic verification 6 years ago
Niels Andriesse 3f07396f94 Clean 6 years ago
Niels Andriesse 6176c63a81 Glue together remaining pieces 6 years ago
Niels Andriesse 5b04b5ed3b Further build out device link authorization 6 years ago
Niels Andriesse 0bb6721768 Create DeviceLinkingMessage 6 years ago
Niels Andriesse f230ac7d42 Fix inconsistent file prefixes 6 years ago
Niels Andriesse f88a0f3c1f Update message sending logic for new multi device API 6 years ago
Niels Andriesse 9a9cefd4ec Finish linking request validation 6 years ago
Niels Andriesse 8429fc3536 Partially implement linking request validation 6 years ago
Niels Andriesse 800af8e08b Add missing check 6 years ago
Niels Andriesse 6ff9337d32 Implement linking request authorization UI 6 years ago
Niels Andriesse c05c12c7d2 Implement device linking message receiving 6 years ago
Niels Andriesse 8bdcbc6e40 Update protobuf layout 6 years ago
Niels Andriesse 980c1158b9 Add TODO 6 years ago
Niels Andriesse 275e8dec16 Clean 6 years ago
Niels Andriesse 21c5875ef5 Fix database usage 6 years ago
Niels Andriesse 0ac2aaf8bb Don't time out 6 years ago
Niels Andriesse a604ba5646 Start implementing device linking UI 6 years ago
Niels Andriesse da2d18f0fc Start integrating LokiDeviceLinkingSession 6 years ago
Niels Andriesse d5d6d65b5c Fix build 6 years ago
Niels Andriesse 10a6c5e2ea Further build out API 6 years ago
Niels Andriesse 7fe7245c64 Refactor 6 years ago
Niels Andriesse ad896a1275 Merge approaches 6 years ago
Niels Andriesse 374bcbc997 Re-order files 6 years ago
Niels Andriesse 636c77c9d6 Merge branch 'multi-device' of github.com:loki-project/loki-messenger-ios into multi-device-integration 6 years ago
Niels Andriesse 4d3f95b69f Merge branch 'dev' into multi-device-database 6 years ago
Niels Andriesse 34eca6c820 Split into LokiDeviceLinkingSession & LokiAPI+MultiDeviceAPI 6 years ago
Niels Andriesse 143755ae8e Implement basic linking request listening logic 6 years ago
Niels Andriesse b2ea98fb97 Implement basic multi device message sending 6 years ago
Niels Andriesse d132b1c4f1 Stub LokiDeviceLinkingAPI 6 years ago
Niels Andriesse fc131cf3ec Increase message send retry limit 6 years ago
Niels Andriesse 182d8b90b9 Reduce group chat batch size 6 years ago
Niels Andriesse 5f1e48944c Fix message ordering 6 years ago
Mikunj 1ba0a170c1 Added database extensions. 6 years ago
Niels Andriesse 30061b28b2 Fix link previews 6 years ago
Niels Andriesse d6e499bd9a Switch onboarding seed step and display name step 6 years ago
Niels Andriesse 0743fbf855 Refactor 6 years ago
Niels Andriesse e68dbe306d Remove unneeded debug assertions 6 years ago
Niels Andriesse d4f026f6c8 Undo accidental changes 6 years ago
Niels Andriesse 4d5c12ad6e Fix UI glitch 6 years ago
Niels Andriesse bd309c4f6f Clean 6 years ago
Mikunj 6c742349bd Added link previews for outgoing messages.
Refactoring.
Moved link preview generation to messages.
6 years ago
Mikunj ac3cb695bb Clean up link preview on incoming messages. 6 years ago
Mikunj 815c8a97fb Added incoming gif previews 6 years ago
Niels Andriesse a9926f91c9 Undo accidental commit 6 years ago
Niels Andriesse af39b35da7 Clean & implement moderator tags UI 6 years ago
Mikunj f0fda330de Removed old moderator logic. 6 years ago
Mikunj cd6ad75ee6 Added new moderator polling. 6 years ago
Niels Andriesse 295bc57a99 Include public key with display names 6 years ago
Niels Andriesse d780c95683 Merge branch 'dev' of github.com:loki-project/loki-messenger-ios into bug-fix 6 years ago
Niels Andriesse f205767b98 Implement sending quotes in group chats 6 years ago
Niels Andriesse 5569e87485 Implement receiving quotes in group chats 6 years ago
Mikunj f7039809a7 Stop polling upon deleting group chat.
Also don't create poller if thread has been deleted.
6 years ago
Niels Andriesse 1338fcda21 Clean 6 years ago
Mikunj 47d5b9bda4 Fix case where user doesn't accept friend request automatically after deleting the conversation. 6 years ago
Mikunj aed740ea3e Merge commit 'dd7e325d39d51662fa8af39b756475300e4b85b4' into profile-icons 6 years ago
Niels Andriesse dd7e325d39 Fix desktop compatibility 6 years ago
Mikunj 05b2e2305b Fix friend requests being accepted straight away when receiving messages in group chats. 6 years ago
Mikunj 8a3bef0738 Fix link preview crash. 6 years ago
Niels Andriesse fdb624369c Fix regression 6 years ago
Niels Andriesse da00c04a2c Implement link previews for group conversations 6 years ago
Niels Andriesse a3a64218f9 Implement link previews for regular conversations 6 years ago
Niels Andriesse 4825ba07d8 Clean 6 years ago
Niels Andriesse 55b5718271 Fix regression 6 years ago
Niels Andriesse bf7dd70327 Add basic events 6 years ago
Niels Andriesse b367ea7ab8 Set up Mixpanel 6 years ago
Niels Andriesse 8713b028b5 Retry group message deletion if needed 6 years ago
Niels Andriesse 4b8011ad7e Fix dependence on self 6 years ago
Niels Andriesse 1e7949a029 Clean 6 years ago
Niels Andriesse 3a1d07e5a8 Fix promise usage & clean 6 years ago
Niels Andriesse 9283012988 Make moderation permission both group and server specific
Also fix dependence on self and app delegate issue
6 years ago
Mikunj af3e74b73b Merge branch 'dev' into server-deletion 6 years ago
gmbnt a19315cfeb
Merge pull request #44 from loki-project/refactor
Refactoring
6 years ago
Niels Andriesse 87c956da18 Pass down message server ID 6 years ago
Niels Andriesse 8f61627b15 Switch to new group chat message deletion endpoint 6 years ago
Niels Andriesse e46f6ee9b8 Fix migration issue 6 years ago
Niels Andriesse 8985244f7e Merge LokiAPI+Convenience & LokiAPI 6 years ago
Niels Andriesse 378a30e9d6 Re-integrate LokiLongPoller 6 years ago
Mikunj be1def6dfc Merge branch 'dev' into server-deletion 6 years ago
Mikunj 679b2f7742 Added mod polling 6 years ago
Niels Andriesse d1d928ee89 Refactor LokiLongPoller 6 years ago
Mikunj bf09a2014b Hookup api. 6 years ago
Niels Andriesse d4b8dd0875 Clean 6 years ago
Mikunj 7acfa40915 Don't allow input on rss groups. 6 years ago
Niels Andriesse 9bee25f6c6 Clean 6 years ago
Mikunj e68de54a87 Show the delete action in public chats. 6 years ago
Mikunj 64c2e36c8a Handle messages sent by us in the public chat. 6 years ago
Mikunj 2392fed21a Set the server id on public chat messages. 6 years ago
Mikunj 17596d8bd3 Added PublicChatInfo field to DataMessage. 6 years ago
Niels Andriesse 9854c4f05d Clean 6 years ago
Niels Andriesse d8925d7750 Implement LokiGroupChatPoller.pollForDeletedMessages() 6 years ago
Niels Andriesse e21cced9bb Refactor 6 years ago
Niels Andriesse d5e56d9c9f Clean 6 years ago
Niels Andriesse 738d4f05f5 Create LokiRSSFeedParser 6 years ago
Niels Andriesse 915159db7d Disable deletion polling for RSS feeds 6 years ago
Niels Andriesse 6056575cdf Clean 6 years ago
Mikunj 4c21cecc66 Migrate from Dictionary to LokiGroupChat. 6 years ago
Niels Andriesse 88ad68838a Add LokiGroupChat 6 years ago
Niels Andriesse 7d3d0b31d9 Add LokiGroupChatAPI.getDeletedMessageIDs(...) & private server support 6 years ago
Niels Andriesse 7ef47968e3 Handle group chat token expiration 6 years ago
Niels Andriesse d32b45f792 Clean 6 years ago
Niels Andriesse d95df736d5 Merge branch 'dev' into group-chat 6 years ago
Mikunj d7ada75660 Fix date not being parsed properly.
Fix message indicators on groups.
Fix receipts being sent in groups.
6 years ago
Mikunj 6463187c0d Disable read receipts for groups. 6 years ago
Mikunj 39177fe448 Ensure we have a valid token length.
Disable typing indicator messages on group threads.
6 years ago
Mikunj ffd95f94d0 Decode token as utf8 string. 6 years ago
Mikunj e6e1ce7846 Added group chat authentication. 6 years ago
Mikunj 130ed6c371 Added function for submitting tokens. 6 years ago
Mikunj c5b9d8c7e2 Added DiffieHellman class 6 years ago
Niels Andriesse a022a699fb Set display name when sending a group message 6 years ago
Niels Andriesse 48706d233f Implement group message sending & receiving 6 years ago
Niels Andriesse 6c14ce9c97 Improve onboarding UI 6 years ago
Niels Andriesse 0130950050 Add group chat authorization endpoint 6 years ago
Niels Andriesse 9f69d918a8 Merge branch 'dev' into group-chat 6 years ago
Niels Andriesse a234019cb9 Fix conversion to JSON, use ISO8601DateFormatter & clean 6 years ago
Niels Andriesse ca822480b1 Update for seed changes 6 years ago
Mikunj d72e7da7ca Send message to server if the recipient is public channel 6 years ago
Mikunj c8a97f6668 Added group chat api. 6 years ago
Niels Andriesse 99ab556bf8 Don't retry proof of work calculation 6 years ago
Niels Andriesse 353186919e Increase maximum retry count 6 years ago
Niels Andriesse 92fb056688 Clean 6 years ago
Niels Andriesse 8fc02e2759 Use get_n_service_nodes 6 years ago
Niels Andriesse 9088a1f87d Fix HTTPS issue 6 years ago
Niels Andriesse e4abcd9081 Switch mainnet seed nodes 6 years ago
Niels Andriesse a9b7663320 Add clear all data option to settings 6 years ago
Mikunj 03e9307933 Send device id in pre key bundle. 6 years ago
Mikunj 3d55bb2820 Send empty data messages in LKEphemeralMessage. 6 years ago
Mikunj 108452cf56 Disable receipt sending if we're not friends. 6 years ago
gamabuntan bb65c87906
Merge pull request #33 from loki-project/friend-request-changes
Friend request changes
6 years ago
Niels Andriesse 2d4a7551f7 Show empty state message on home screen when needed 6 years ago
Niels Andriesse c0ff4d40b3 Handle 400, 500 & 503 status codes 6 years ago
Niels Andriesse 239d13c33e Make use of all seed nodes 6 years ago
Mikunj 162c9db6fe Added TODO reminder. 6 years ago
Mikunj 9ec9b0e27f Don't set content data in LKEphemeralMessage. 6 years ago
Mikunj d1e02848e6 Update friend request handling. 6 years ago
Mikunj 40edf1992a Verify friend request stuff before decrypting 6 years ago
Mikunj 99cfe7ca24 Handle nil state on session reset. 6 years ago
Niels Andriesse de346cb645 Fix pre key bundle usage 6 years ago
Niels Andriesse 8f78ea0dea Update for changed storage server API 6 years ago
Niels Andriesse 217a94b94f Update privacy policy URL 6 years ago
Niels Andriesse 234a2827b3 Fix release issues 6 years ago
Niels Andriesse 85203bac08 Prepare for alpha release 6 years ago
Niels Andriesse fead92f2e3 Fix failure count maintenance bug 6 years ago
Niels Andriesse 517b1b62e6 Handle rude seed node behavior 6 years ago
Niels Andriesse bb4f66099b Clean 6 years ago
Niels Andriesse a631aa7da2 Fix swarm parsing error handling 6 years ago
Niels Andriesse 2d0dd46f99 Fix typo 6 years ago
Niels Andriesse 58e902429e Tweak connection settings 6 years ago
Niels Andriesse bc112a7c90 Propagate request timeout interval through to request serializer 6 years ago
Niels Andriesse dfc4042987 Clean 6 years ago
Niels Andriesse 804a12d1bd Reduce initial PoW difficulty 6 years ago
Niels Andriesse 16a284ca02 Handle insufficient PoW error 6 years ago
Niels Andriesse 5b26601335 Also update the random snode pool if a snode failed repeatedly 6 years ago
Niels Andriesse f32bb85ddc Remove snodes from a swarm if they failed repeatedly 6 years ago
Niels Andriesse 02dd81516b Fix logging 6 years ago
Niels Andriesse 2cf4385fb6 Use PoW difficulty returned by snodes 6 years ago
Niels Andriesse 2111e73675 Debug clearnet changes 6 years ago
Niels Andriesse 936287683f Override Signal security policy 6 years ago
Niels Andriesse 39c497f13d Clean up logging 6 years ago
Niels Andriesse c040ea1e5e Clean up UI 6 years ago
Niels Andriesse 08812964f1 Update swarm parsing for new JSON layout 6 years ago
Niels Andriesse d23121f5dd Use clearnet seed nodes 6 years ago
Niels Andriesse feb1408836 Clean 6 years ago
Niels Andriesse 820b0829bb Merge LokiP2PManager & LokiP2PMessageHandler 6 years ago
Niels Andriesse 26f0bd23a2 Unnest LokiAPI.Message 6 years ago
Niels Andriesse df7ca74b70 Simplify LokiAPI changes 6 years ago
Mikunj 39b30ab8c9 Merge commit '5a7bba39ab59b575167ee07e28ad70a501576604' into long-polling 6 years ago
Mikunj ce17523b4c Minor refactoring 6 years ago
Niels Andriesse 6cbacdcf52 Keep message sending parameters in one place 6 years ago
Mikunj fe034be749 Merge commit '772abc68aa9d5d1da519dc33455de89d3c1de78c' into long-polling 6 years ago
Mikunj 8c839090e1 Converted getMessage function to more granular functions.
This is because we only want to process messages from long polling if it hasn't been stopped.
6 years ago
Niels Andriesse 772abc68aa Ditch TargetWrapper 6 years ago
Mikunj 04bdaff3c6 Added long polling. 6 years ago
Niels Andriesse d0bed4b129 Clean 6 years ago
Niels Andriesse b5677210d2 Remove unused parameter 6 years ago
Niels Andriesse 42b3dddc6a Clean 6 years ago
Mikunj 4e704f2d68 Skip processing messages to ourself. 6 years ago
Mikunj cda1c51b3c Updated to use LokiProfile proto. 6 years ago
Mikunj ea0134ad61 Updated protobuf. 6 years ago
Niels Andriesse 845c4f700a Fix crash 6 years ago
Niels Andriesse 1462a5cb6b Handle receiving of sender display name 6 years ago
Niels Andriesse c60f4cda0d Include sender display name in messages 6 years ago
Niels Andriesse 34cd07f85b Clean 6 years ago
Niels Andriesse f1bb306438 Add show seed button 6 years ago
Niels Andriesse e81a074efc Show online status 6 years ago
Niels Andriesse 35f2354327 Show when a message was sent using P2P 6 years ago
Niels Andriesse 209996f86d Rename P2PDetails → P2PState 6 years ago
Niels Andriesse a11074ba5a Fix crash 6 years ago
Niels Andriesse 0337695c15 Add comment 6 years ago
Niels Andriesse 97d1c16164 Clean up sendSignalMessage(_:to:with:) signature 6 years ago
Niels Andriesse e7866e7a7a Merge branch 'dev' into p2p 6 years ago
Niels Andriesse 728a148980 Improve performance 6 years ago
Niels Andriesse a4f1a1c3c8 Merge branch 'p2p' of github.com:loki-project/loki-messenger-ios into p2p 6 years ago
Niels Andriesse 5351961af7 Clean 6 years ago
Mikunj 58a1c82bfb Don't fail debug on unknown content type.
The desktop messenger has some messages which will not set anything on the envelope.
6 years ago
Niels Andriesse ca713f6476 Clean up getMessages() signature 6 years ago
Mikunj 482721a2c2 Merge branch 'dev' into p2p 6 years ago
Mikunj 32b5b43c6e Fix fetching incorrect thread.
We also forgot to save incoming details.
6 years ago
Niels Andriesse a440a08a04 Implement retrying 6 years ago
Mikunj 58ead70eb3 Minor fix. 6 years ago
Mikunj 8a1ef268c8 Disable deregister after network error. 6 years ago
Mikunj 88afca30c6 Moved P2P logic to LokiP2PManager. 6 years ago
Mikunj af6a969653 Very iffy ping logic - May not work 6 years ago
Niels Andriesse 22623815bb Enforce naming convention 6 years ago
Niels Andriesse cbac37a95f Fix friend request UI bugs 6 years ago
Mikunj 455c8c520b More pinging logic 6 years ago
Mikunj 7f679ba5ed Added P2P pinging logic. 6 years ago
Mikunj 20f0b23951 Refactoring. 6 years ago
Niels Andriesse 33a5e59415 Clean 6 years ago
Niels Andriesse 96c02864c8 Improve logging 6 years ago