Commit Graph

6426 Commits (683a5c1edc37e39dd382248c54af5564dfeb2421)

Author SHA1 Message Date
Niels Andriesse b9e1d73594 Remove password step from onboarding 6 years ago
Niels Andriesse 845c4f700a Fix crash 6 years ago
Niels Andriesse 30c02207d3 Clean up conversation settings screen 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 5351961af7 Clean 6 years ago
Mikunj 482721a2c2 Merge branch 'dev' into p2p 6 years ago
Mikunj 88afca30c6 Moved P2P logic to LokiP2PManager. 6 years ago
Niels Andriesse 22623815bb Enforce naming convention 6 years ago
Niels Andriesse cbac37a95f Fix friend request UI bugs 6 years ago
Niels Andriesse 33a5e59415 Clean 6 years ago
Niels Andriesse 1fafa550f0 Fix message sending error handling 6 years ago
Mikunj ed85a0da3c Merge commit 'fe9a32d1b99253de2e4b0b38653333317aa7e35a' into p2p 6 years ago
Mikunj 0566d94105 Merge commit '07fefc168fcadb5e96aa3a076a27b6756cf91b6c' into p2p 6 years ago
Niels Andriesse fe9a32d1b9 Simplify swarm caching 6 years ago
Niels Andriesse 07fefc168f Fix crash 6 years ago
Niels Andriesse 9927fdb620 Fix build 6 years ago
Niels Andriesse 5af0ad03b9 Persist swarm cache & make access modifiers explicit 6 years ago
Mikunj 2694699e4e Added LKAddressMessage.
Hooked up p2p api.
6 years ago
Niels Andriesse 24dd8335de
Merge pull request #18 from loki-project/p2p
P2p server
6 years ago
Niels Andriesse 20472c8bed Fix minor code style issues 6 years ago
Niels Andriesse 08aac18384 Clean more 6 years ago
Mikunj 5a1272c23b Merge branch 'dev' into p2p 6 years ago
Mikunj fc702e2420 Merge commit 'e5463e545ac6be6c13b9d3cf65d9105ad475b4dc' into p2p 6 years ago
Niels Andriesse adcb469b53 Integrate swarm changes into message receiving code 6 years ago
Mikunj 2ae665f682 Bind to a random port if the default one is taken. 6 years ago
Niels Andriesse e5463e545a Filter duplicate messages & make parsing strategy consistent 6 years ago
Mikunj 865bb1932f Added LokiP2PMessageHandler.
Moved wrapping and unwrapping of proto envelopes to LokiMessageWrapper.
6 years ago
Mikunj 748b7eff12 Start p2p server on app start.
Handle more cases in the p2p server.
6 years ago
Mikunj a32cdfeb10 Added LokiP2PServer 6 years ago
Niels Andriesse dc103c7bd6 Refactor 6 years ago
Niels Andriesse 1c73cf5114 Re-order files 6 years ago
Niels Andriesse 1a8175472a Refactor friend request view & add documentation 6 years ago
Niels Andriesse 5622c08124 Fix crash & clean 6 years ago
Niels Andriesse 740291cceb Implement message friend request status
Untested
6 years ago
Niels Andriesse 4a633fba68 Debug friend request expiration 6 years ago
Niels Andriesse 7b739bddce Implement expired friend request UI 6 years ago
Niels Andriesse 6adc8cf014 Add isFriendRequestExpired flag 6 years ago
Niels Andriesse 201b8095ee Merge branch 'master' into message-expiration 6 years ago
Niels Andriesse 7493e037c9 Fix minor code style issues 6 years ago
Mikunj f1cbc2e0d1 Added friend request message expiration. 6 years ago
Niels Andriesse 81d5adc8c8 Fix threading issue & unnecessary updating 6 years ago
Niels Andriesse 750a25622b Partially fix remaining UI issues 6 years ago
Niels Andriesse 2e8d62b3ee Fix friend request acceptance bug 6 years ago
Niels Andriesse 64f92d261b Refactor 6 years ago
Niels Andriesse d5dc54af1b Partially fix UI updating bug 6 years ago
Niels Andriesse b4ca385028 Clean 6 years ago
Niels Andriesse 75d52d7b7a Add missing UI state 6 years ago
Niels Andriesse ca292169d6 Fix friend request view bug 6 years ago
Mikunj Varsani c43295eb7c
Loki session reset (#14)
* Added session reset.

* Hooked up session reset internals to UI.

* Send empty message when we have received an end session message.

* Verify incoming PreKeyWhisperMessage.

* Fix indentations in SessionReset.md
6 years ago
Niels Andriesse 3728638832 Reduce code duplication & fix cell sizing bug 6 years ago
Niels Andriesse 3161680432 Redo friend request handling 6 years ago
Niels Andriesse 0a69ac3fa3 Fix incorrect copy 6 years ago
Niels Andriesse 49c6611d9d WIP 6 years ago
Niels Andriesse c3582f3d06 Update name shown on home screen 6 years ago
Niels Andriesse 3c579548cc Make pending friend request status more obvious 6 years ago
Niels Andriesse 1fc9ac34a2 Disable input bar as appropriate 6 years ago
Niels Andriesse cb1e876b7a Make friend request status updates more reliable 6 years ago
Niels Andriesse 5800222606 Remove unnecessary fetches 6 years ago
Niels Andriesse 4200ce6cbc Significantly reduce energy usage by eliminating polling overhead 6 years ago
Niels Andriesse b83766ef74 Clean & fix conversation settings crash 6 years ago
Niels Andriesse fffb55540b Mostly hook up friend request status logic 6 years ago
Niels Andriesse c3fe7fba50 Remove network status indicator from settings 6 years ago
Niels Andriesse e3e7788219 Disable input if a friend request is pending 6 years ago
Niels Andriesse d91dc5f045 Fix friend request view bug 6 years ago
Niels Andriesse da967e6586 Update friend request view for sent state 6 years ago
Niels Andriesse b215cdd9fd Measure friend request view height dynamically 6 years ago
Niels Andriesse 635dcef2b2 Fix incoming friend request interaction 6 years ago
Niels Andriesse dca6aed6ee Fix message cell sizing issue 6 years ago
Niels Andriesse 3dda1f17e1 Implement incoming friend request UI 6 years ago
Niels Andriesse 0a653e928b Add share public key button 6 years ago
Niels Andriesse d95d0671d6 Remove unnecessary local notification generation 6 years ago
Niels Andriesse 4da8d33932 Clean 6 years ago
Niels Andriesse 45a7893bff Decrease foreground polling time interval 6 years ago
Niels Andriesse 992813ad24 Use UIApplicationBackgroundFetchIntervalMinimum 6 years ago
Niels Andriesse 4aef593d7c Also poll for messages when the app is in the foreground 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 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 a8092cbfa3 Fix crash 6 years ago
Niels Andriesse aeea6f26de Re-enable notifications 6 years ago
Niels Andriesse 2092df955a Generate mock notification upon successful message retrieval 6 years ago
Niels Andriesse a9a9800dd2 Fix duplicate error unwrapping 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 3c7b769d20 Fetch messages & ping friends when application becomes active 6 years ago
Niels Andriesse cc1f41c11b Implement background fetching skeleton 6 years ago
Niels Andriesse 72cc345734 Hook up new messaging API 6 years ago
Niels Andriesse 5541e2c2c3 Clean 6 years ago
Mikunj Varsani 512b71a9d4
Merge branch 'master' into proof-of-work-ui 6 years ago
Niels Andriesse ee2361b5cc Hook up Loki messaging API 6 years ago
Mikunj f8cccd8967 Show spinning cog if we are calculating the proof of work. 6 years ago
Niels Andriesse 4c7e653cef Hook up public key checking 6 years ago
Niels Andriesse 4ce9228afd WIP 6 years ago
Niels Andriesse a91c636dda Document things more 6 years ago
Niels Andriesse 3bd3341e64 Clean 6 years ago
Niels Andriesse 57084e7e99 Merge branch 'master' of github.com:loki-project/loki-messenger-ios 6 years ago
Niels Andriesse 29ac92e961 Hook up new conversation button 6 years ago
Mikunj de01731316 Removed LokiKit.
Moved all files back into SignalServiceKit.
6 years ago
Niels Andriesse a284f3deb6 Don't ask for notifications 6 years ago
Niels Andriesse adddec19ae Don't auto-capitalize search bar entries 6 years ago
Niels Andriesse ef680a1cc2 Don't ask for contacts 6 years ago
Niels Andriesse 81dc2077e8 Fix error handling issue 6 years ago
Niels Andriesse 5bbf7d85b2 Add new conversation button 6 years ago
Niels Andriesse 1431efba23 Fix crash 6 years ago
Niels Andriesse d4fd3af433 Fix Signal bug 6 years ago
Niels Andriesse 9e388e16de Move files 6 years ago
Mikunj 5e894c1149 Fixes stuff that broke during merge 6 years ago
Mikunj e45afca912 Merge branch 'mikunj/loki-kit' 6 years ago
Mikunj c02ae62a8d Added lokikit 6 years ago
Niels Andriesse 8a605858fd Clean & suppress warnings for dependencies 6 years ago
Niels Andriesse aeb3cecf55 WIP 6 years ago
Niels Andriesse 343218d75c Polish UI 6 years ago
Niels Andriesse 08a1ec77a1 Rename ServiceNode → LokiMessagingAPI 6 years ago
Niels Andriesse c1e121b271 Create LokiKit 6 years ago
Niels Andriesse 0def8ed018
Merge pull request #3 from loki-project/niels
Clean
6 years ago
Niels Andriesse 41b6988f50 Clean 6 years ago
Niels Andriesse 7a6b87bc63
Merge pull request #2 from loki-project/niels
Implement Mnemonic Based Key Pair Restoration
6 years ago
Niels Andriesse 2cb1ddbdad Implement mnemonic based key pair restoration 6 years ago
Mikunj 71cc25fbd6 Updated pod submodules. 6 years ago
Niels Andriesse 9c46c9d7be Implement mnemonic decoding 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 8d0c3b0f97 Add copy button feedback 6 years ago
Niels Andriesse ca0f58c6b4 [Merge] Mnemonic Copy Button & Protobuf Changes 6 years ago
Niels Andriesse b64bb79254 Minor refactoring 6 years ago
Mikunj 8e5327f915 Set loki profile name upon registration 6 years ago
Niels Andriesse a551500e37 Add copy mnemonic button 6 years ago
Mikunj c26a5c9cdf Skip profile view in onboarding. 6 years ago
Mikunj 520d41565f Disable networking calls when updating profile.
Remove avatar from profile controller.
6 years ago
Niels Andriesse 19dd766713 Add missing constraint 6 years ago
Niels Andriesse c429bebaba Fix phone number parsing crash 6 years ago
Niels Andriesse e4de406be6 Fix merge issue 6 years ago
Niels Andriesse 33c6f3a88d Merge branch 'dev' of github.com:loki-project/loki-messenger-ios 6 years ago
Niels Andriesse 384353086b Fix bundle ID issue 6 years ago
Michael Kirk e0bba32505 "Bump build to 2.39.0.2." 6 years ago
Michael Kirk 29ec77e09f sync translations 6 years ago
Michael Kirk abf35decde Enable batch mode when popping to Media Library 6 years ago
Michael Kirk 41977f7437 snappier presentation of collection picker 6 years ago
Michael Kirk abd4e0dd41 ensure scrolled to the _Very_ bottom. 6 years ago
Michael Kirk fbc0b5f8ee Add padding below last row of media content 6 years ago
Michael Kirk 4af9fa6789 "add more" as rail cell 6 years ago
Michael Kirk 3eb28df967 swap icon order 6 years ago
Michael Walker 11af22432d Add pinterest domain and asset domains for link preview support 6 years ago
Michael Kirk a44712ec3d update info.plist 6 years ago
Michael Kirk dfdde8cb7a "Bump build to 2.39.0.1." 6 years ago
Michael Kirk c84c478957 sync translations 6 years ago
Michael Kirk fa45339f83 move to public category 6 years ago
Michael Kirk 349dd61fee adapt iOS9 fix to new media flow 6 years ago
Michael Kirk d8dbbd328d clear timer once video is complete
otherwise the old timer remains when returning to the capture view
6 years ago
Michael Kirk 1e4f670ffd add shadow to buttons that overlay images 6 years ago
Michael Kirk a10973f825 align stop icons between picker and capture 6 years ago
Michael Kirk db410becb7 per design: "back" is retake for first photo 6 years ago
Michael Kirk 26ef36dc55 Fix: back from approval not showing bottom buttons 6 years ago
Michael Kirk 458564262f valign capture, switch, and done buttons
Purelayout doesn't support UILayoutGuide =(
6 years ago
Michael Kirk b175bd77a5 Fix "too much content inset" issue 6 years ago
Michael Kirk 39d3219238 Add option to manually disable circumvention. 6 years ago
Michael Kirk febcc19636 "Bump build to 2.39.0.0." 6 years ago
Michael Kirk a9ba848ffc address notification race 6 years ago
Matthew Chen 6c1d6cc201 Simplify the scroll down button layout. 6 years ago
Matthew Chen 40bd2b06d2 Simplify the scroll down button layout. 6 years ago
Matthew Chen 42871bb6a6 Simplify the scroll down button layout. 6 years ago
Matthew Chen 0e87d2e5b3 Simplify the scroll down button layout. 6 years ago
Matthew Chen 79d594b4d3 Ensure that conversation view's content insets reserve space for input accessory view when app is inactive. 6 years ago
Michael Kirk 78790ab69d swift style lint 6 years ago
Michael Kirk 9f806d3963 respond to fixed radar (hooray) 6 years ago
Michael Kirk 89ae37cea5 avoid crashing optional unwrapping introduced by Swift5 migration 6 years ago
Michael Kirk cfebb53719 more concise constants post translation 6 years ago
Michael Kirk 57b1aaa3dc inline enum converters 6 years ago
Michael Kirk a837cc0ab0 fix builtInSpeaker type 6 years ago
Michael Kirk 409426d105 work around swift4.2 AudioSession API bug 6 years ago
Michael Kirk d8640f60ef undo most of Category/Mode conversion, respond to new types/api 6 years ago
Michael Kirk 3703b34973 swift5 new compiler nits 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 87094a8fb1 update carthage 6 years ago
Michael Kirk 501e2c761f Merge tag '2.38.1.2' 6 years ago
Michael Kirk a1c6b7ec15 "Bump build to 2.38.1.2." 6 years ago
Michael Kirk a693e77c01 sync translations 6 years ago
Michael Kirk 7522fbd88e "Bump build to 2.38.1.1." 6 years ago
Matthew Chen dc46974395 Respond to CR. 6 years ago
Matthew Chen d189621495 Don't bother cleaning up CKOperations per feature flag. 6 years ago
Michael Kirk 5e96769a12 resize voice note bar with rotation 6 years ago
Michael Kirk 63907acb54 Don't update "cancel" status when locked 6 years ago
Michael Kirk 8ead2cc83d fix overzealous assert 6 years ago
Michael Kirk fdc9db3487 iOS9 workaround to restore input view after sending captioned attachment 6 years ago
Michael Kirk d06280a270 "Bump build to 2.38.1.0." 6 years ago
Michael Kirk 07e88009e4 Merge tag '2.38.0.11' 6 years ago
Michael Kirk 3b0d6991e1 "Bump build to 2.38.0.11." 6 years ago
Michael Kirk 1d959792e8 sync translations 6 years ago
Michael Kirk e69494450b put conversation search behind feature flag 6 years ago
Michael Kirk 6c4dbfbc4c "Bump build to 2.38.0.10." 6 years ago
Michael Kirk 70b68f5412 sync translations 6 years ago
Michael Kirk 2242dd240f Fix "blank notification text" for oversize messages 6 years ago
Matthew Chen 8f7ad79506 Only update scroll state to reflect keyboard changes if view has appeared. 6 years ago
Matthew Chen 746fd278da Restart typing indicators animations after app returns from background. 6 years ago
Michael Kirk 5b77bc5475 sleep hack for iOS9 6 years ago
Michael Kirk 05d8846f6c match highlight behavior with search behavior 6 years ago
Matthew Chen aad5533127 Respond to CR. 6 years ago
Matthew Chen 01d9993b9d Handle notifications for open conversations. 6 years ago
Matthew Chen f3d0cd99fc Handle notifications for open conversations. 6 years ago
Michael Kirk a8caae73cf remove redundant state 6 years ago
Michael Kirk fa2d5b422b maintain body text navigating to/from approval view 6 years ago
Michael Kirk 0a32448470 cancel flow per design 6 years ago
Michael Kirk 1a4062dd89 Nav buttons: batch, camera/library switch, done 6 years ago
Michael Kirk 7dbb9517af Centralize attachment state in nav controller 6 years ago
Michael Kirk 6502d7d4a5 remove `isMultiSendEnabled` feature flag 6 years ago
Matthew Chen 987726df6c Temp files. 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 0d9b780f75 Remove scroll up button. 6 years ago
Michael Kirk 3ed2e76eb4 "Bump build to 2.38.0.9." 6 years ago
Michael Kirk d02152cf14 fix release build 6 years ago
Michael Kirk dc87ae821d "Bump build to 2.38.0.8." 6 years ago
Michael Kirk ab91fedc3e sync translations 6 years ago
Michael Kirk 58d99a480f Notify iOS9 users occasionally that iOS10 will soon be required 6 years ago
Matthew Chen 3ce3f9faaa Add accessibilityIdentifiers to conversation settings view. 6 years ago
Matthew Chen f073dd9a52 Add accessibilityIdentifiers to conversation settings view. 6 years ago
Matthew Chen d253c5aa91 Add accessibilityIdentifiers to conversation view. 6 years ago
Matthew Chen 50888b20d2 Add accessibilityIdentifiers to 'new group thread' view. 6 years ago
Matthew Chen 4188993fc5 Add accessibilityIdentifiers to 'new contact thread' view. 6 years ago
Matthew Chen 95e125d55e Simplify usage of accessibilityIdentifiers. 6 years ago
Matthew Chen 2d854406a1 Add accessibilityIdentifiers to home view. 6 years ago
Michael Kirk 2464fe230d sync translations 6 years ago
Michael Kirk ed6b461662 search icon 6 years ago
Michael Kirk c37fb42c7a "Bump build to 2.38.0.7." 6 years ago
Matthew Chen a6e00c8fec Respond to CR. 6 years ago
Matthew Chen a7ae79aaad Ignore keyboard notifications while the view is disappearing or has disappeared. 6 years ago
Matthew Chen 8c345d0878 "Bump build to 2.38.0.6." 6 years ago
Matthew Chen 85d58d3396 Improve handling of call intents. 6 years ago
Michael Kirk e3cc8bb101 Keep results bar visible when dismissing keyboard or returning to view. 6 years ago
Michael Kirk 3850ca29b0 Bigger hack to fix problem with lesser hack.
There were two symptoms to this bad "leave app while dismissing keyboard"
state...

The first, most noticeable symptom was that the main window no longer respected
the device orientation. This was caused by UIKit temporarily disabling
autorotate during an interactive keyboard dismissal, and not cleaning up after
itself when we hid the window mid dismissal due to our screen protection
feature. This was solved previously in: ca0a555f8

The second symptom remained, and is solved by this commit. Wherein after
getting in this bad state, the interactive keyboard dismiss function behaves
oddly. Normally when interactively dismissing the keyboard in a scroll view,
the keyboard top follows your finger, until you lift up your finger, at which
point, depending on how close you are to the bottom, the keyboard should
completely dismiss, or cancel and return to its fully popped position. In the
degraded state, the keyboard would follow your finger, but when you lifted your
finger, it would stay where your finger left it, it would not complete/cancel
the dismiss.

The solution is, instead of only re-enabling autorotate, to use a higher level
private method which is called upon complete/cancellation of the interactive
dismissal. The method, `UIScrollToDismissSupport#finishScrollViewTransition`,
as well as re-enabling autorotate, does some other work to restore the UI to
it's normal post interactive-keyboard-dismiss gesture state.

For posterity here's the decompiled pseudocode:

```
/* @class UIScrollToDismissSupport */
-(void)finishScrollViewTransition {
    *(int8_t *)&self->_scrollViewTransitionFinishing = 0x0;
    [self->_controller setInterfaceAutorotationDisabled:0x0];
    [self hideScrollViewHorizontalScrollIndicator:0x0];
    ebx = *ivar_offset(_scrollViewNotificationInfo);
    [*(self + ebx) release];
    *(self + ebx) = 0x0;
    esi = *ivar_offset(_scrollViewForTransition);
    [*(self + esi) release];
    *(self + esi) = 0x0;
    return;
}
```
6 years ago
Matthew Chen 1b9eb3c572 Ensure Callkit is enabled for locale. 6 years ago
Matthew Chen 40c9c196aa Fix memory leaks. 6 years ago
Matthew Chen 882dd16d7c Apply presentAlert() throughout codebase. 6 years ago
Matthew Chen c9d62f47cc Respond to CR. 6 years ago
Matthew Chen 1a80f0c293 Add accessibility identifiers to privacy popups and subviews. 6 years ago
Matthew Chen cb5ce42e76 Add accessibility identifiers to privacy popups and subviews. 6 years ago
Matthew Chen f37a3059fa Add accessibility identifiers to debug log popups. 6 years ago
Matthew Chen 81508e9d02 Add accessibility identifiers to settings popups. 6 years ago
Matthew Chen f1520d760e Add accessibility identifiers to other settings views. 6 years ago
Matthew Chen b48e204b90 Add accessibility identifiers to notification settings views. 6 years ago
Matthew Chen 02340864f8 Add accessibility identifiers to blocklist view. 6 years ago
Matthew Chen f7d86028da Add accessibility identifiers to profile view. 6 years ago
Matthew Chen c619f815b5 Add accessibility identifiers to app settings view. 6 years ago
Matthew Chen 6ee4317590 Add "track" to attachment download progress indicator. 6 years ago