Commit Graph

1579 Commits (c8af41cd5c0f034e7dba07df06d2bea7f413253e)

Author SHA1 Message Date
Niels Andriesse ce33d472eb Clean 5 years ago
Mikunj 2b8e74348a Clean 5 years ago
Mikunj b0dfae7974 Fix multi-device profile picture handling.
Fixed note to self.
Enabled removal of avatar.
5 years ago
Mikunj 3c3d185bec Don't send profile in a contact sync message.
This is because both android and desktop first check to see if a sent sync message exists before the check for contact sync. This causes contact sync messages to be ignored.
5 years ago
Mikunj b2a2cd8d20 Update our profile key if our primary device sends a message on the public chat. 5 years ago
Mikunj 7494393473 Set avatar on public chats. 5 years ago
Mikunj eafc2afe4a Attach a profile key if we're friends with a contact. 5 years ago
Mikunj 9cde326254 Correctly handle profile key update from incoming messages. 5 years ago
Mikunj 5f7ceeed6a Decrypt profile picture after downloading. 5 years ago
Mikunj 2e83a2bb85 Set encrypted profile picture.
Rotate profileKey every-time we encrypt a new profile picture.
5 years ago
Niels Andriesse 177b194d67 Start home screen redesign 5 years ago
Niels Andriesse ba8c3b1859 Debug 5 years ago
Niels Andriesse ad52e854e4 Debug contact syncing 5 years ago
Niels Andriesse 16d5e4f4e7 Debug 6 years ago
Niels Andriesse 850346acf2 Implement sending side of revocation 6 years ago
Maxim Shishmarev 859384afaf Enable profile pictures 6 years ago
Niels Andriesse 7aa4e83700 WIP 6 years ago
Niels Andriesse 7644755d08 Clean 6 years ago
Niels Andriesse 7e9c0b281e Implement profile picture uploading 6 years ago
Niels Andriesse cc73937856 WIP 6 years ago
Niels Andriesse 77a12a7534 Update version number 6 years ago
Niels Andriesse 89221c1f71 Debug 6 years ago
Niels Andriesse e09dc8fed7 Clean 6 years ago
Niels Andriesse 8e5e113ecf Clean 6 years ago
Niels Andriesse b4af9d16d5 Refactor 6 years ago
Niels Andriesse 48883bf1f1 Fix build 6 years ago
Niels Andriesse 7b0e2d06b0 Partially implement feedback 6 years ago
Mikunj d8d33287d1 Added PublicChatManager.
Added migrations.
6 years ago
Mikunj 683a5c1edc Remove dependency on hard coded public chat values. 6 years ago
Niels Andriesse 94bca8db60 Disable garbage assertions 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 9dac9027c9 Fix iOS 13 cell highlighting 6 years ago
Niels Andriesse 3f07396f94 Clean 6 years ago
Niels Andriesse 6176c63a81 Glue together remaining pieces 6 years ago
Niels Andriesse 0bb6721768 Create DeviceLinkingMessage 6 years ago
Niels Andriesse d6e499bd9a Switch onboarding seed step and display name step 6 years ago
Mikunj 99e217e323 Minor fixes. 6 years ago
Mikunj 0e154c4dac Fix up magic numbers. 6 years ago
Niels Andriesse 0743fbf855 Refactor 6 years ago
Niels Andriesse 54de8bc221 Update version number 6 years ago
Niels Andriesse c780023d63 Fix quote UI 6 years ago
Niels Andriesse 6b0454317e Re-enable search for regular conversations 6 years ago
Niels Andriesse 1338fcda21 Clean 6 years ago
Mikunj 43a20879e6 Merge branch 'dev' into profile-icons 6 years ago
Niels Andriesse 0590e2eb42 Fix various UI issues 6 years ago
Mikunj 4e521bba83 Fixed minor edge case 6 years ago
Mikunj 640977267e Minor fix. 6 years ago
Mikunj f230c2ac2c Fix incorrect color handling. 6 years ago
Mikunj b080c7dab9 Fix incorrect RNG implementation 6 years ago
Niels Andriesse a3a64218f9 Implement link previews for regular conversations 6 years ago
Mikunj 1cba6f1ce4 Fix minor hue correction 6 years ago
Mikunj 0d2d1cf101 Dynamically show user names on public chat.
This fixes the issue where identicons weren't matching up to the one on desktop
6 years ago
Mikunj Varsani 2bda269a45 Removed useless code. 6 years ago
Mikunj Varsani 6857fd3285 Added JazzIcons. 6 years ago
Niels Andriesse e46f6ee9b8 Fix migration issue 6 years ago
Niels Andriesse fcc87cf47a Update build number & version number 6 years ago
Niels Andriesse 8744d732a9 Implement QR code scanning 6 years ago
Niels Andriesse 48706d233f Implement group message sending & receiving 6 years ago
Niels Andriesse b8b036cd6b Fix incorrect Loki color palette 6 years ago
Niels Andriesse 3bbcdce95c Fix splash screen 6 years ago
Niels Andriesse 838eec0c52 Clean up lock screen 6 years ago
Niels Andriesse 00318dfe6b Fix version number issue 6 years ago
Niels Andriesse e4eea3a95a Update launch screen 6 years ago
Niels Andriesse 09aea1b2f0 Make avatar background white 6 years ago
Niels Andriesse e2bcb61342 Use custom new conversation screen 6 years ago
Niels Andriesse 96b077b1b4 Fix crash 6 years ago
Niels Andriesse 52f479a0b1 Implement fancy avatars 6 years ago
Niels Andriesse bc112a7c90 Propagate request timeout interval through to request serializer 6 years ago
Niels Andriesse 30aac6a94d Fix crash 6 years ago
Niels Andriesse 38629b4c4e Make online indicator more subtle 6 years ago
Niels Andriesse 1bf0d44246 Add basic styling 6 years ago
Niels Andriesse 820b0829bb Merge LokiP2PManager & LokiP2PMessageHandler 6 years ago
Niels Andriesse 845c4f700a Fix crash 6 years ago
Niels Andriesse d9a728922f Ditch public key part of display name 6 years ago
Niels Andriesse 1462a5cb6b Handle receiving of sender display name 6 years ago
Niels Andriesse e6962dcb95 Clean 6 years ago
Niels Andriesse e81a074efc Show online status 6 years ago
Niels Andriesse a11074ba5a Fix crash 6 years ago
Niels Andriesse 08aac18384 Clean more 6 years ago
Niels Andriesse 1c73cf5114 Re-order files 6 years ago
Mikunj 3d7bd6b895 Fix incorrect function name.
Refactor fixes.
6 years ago
Mikunj f1cbc2e0d1 Added friend request message expiration. 6 years ago
Niels Andriesse 64f92d261b Refactor 6 years ago
Mikunj fb1e27d633 Fix empty message generation.
Before since we were setting the groupMetaMessage, it was setting the `shouldSave` property to true and thus the message sender was looking for the message in the db.
We now don't set this property so the message should be able to be sent without saving.
6 years ago
Niels Andriesse 7faa9d333c Add missing save 6 years ago
Niels Andriesse be7724b41b Implement feedback 6 years ago
Niels Andriesse 3161680432 Redo friend request handling 6 years ago
Niels Andriesse cb1e876b7a Make friend request status updates more reliable 6 years ago
Niels Andriesse b83766ef74 Clean & fix conversation settings crash 6 years ago
Niels Andriesse e3e7788219 Disable input if a friend request is pending 6 years ago
Mikunj a4b042f282 Added convenience function to make empty outgoing messages. 6 years ago
Niels Andriesse 3dda1f17e1 Implement incoming friend request UI 6 years ago
Niels Andriesse 4da8d33932 Clean 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 26625980bd Fix message sending params.
Disable ProfileFetcherJob.
6 years ago
Niels Andriesse 3bd3341e64 Clean 6 years ago
Niels Andriesse ef680a1cc2 Don't ask for contacts 6 years ago
Niels Andriesse d4fd3af433 Fix Signal bug 6 years ago
Niels Andriesse 8a605858fd Clean & suppress warnings for dependencies 6 years ago
Niels Andriesse 9d64b76af6 Clean & fix bad merge 6 years ago
Mikunj 520d41565f Disable networking calls when updating profile.
Remove avatar from profile controller.
6 years ago
Michael Kirk 19002a13b1 Cannot delete last item in rail 6 years ago
Michael Kirk a1e008f930 apply new rounding/highlight design 6 years ago
Michael Kirk 4af9fa6789 "add more" as rail cell 6 years ago
Michael Kirk da79a53d96 cleanup compiler warnings 6 years ago
Michael Kirk fa45339f83 move to public category 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 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 1fae83a777 respect any CDN headers (eg Host for front) 6 years ago
Michael Kirk 07e88009e4 Merge tag '2.38.0.11' 6 years ago
Matthew Chen a3efb58d15 Respond to CR. 6 years ago
Matthew Chen 517a550593 Further improve "first responder" behavior in the image editor. 6 years ago
Matthew Chen eb5cf3978c Fix first responder issue in image editor. 6 years ago
Michael Kirk fa2d5b422b maintain body text navigating to/from approval view 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
Michael Kirk 1357449dcc Make OrderedDictionary keys generic 6 years ago
Matthew Chen db958f4a01 Preserve caption text of edited images. 6 years ago
Matthew Chen d9760b6bbc Fix bug around layer ordering when rendering image editor output. 6 years ago
Matthew Chen 5973c326de Ensure new text items are on the canvas. 6 years ago
Michael Kirk f8244eeefe Fix SAE crash for iOS9 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 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 ed6b461662 search icon 6 years ago
Matthew Chen a7ae79aaad Ignore keyboard notifications while the view is disappearing or has disappeared. 6 years ago
Matthew Chen 558b5f5816 Tap to dismiss caption editor. 6 years ago
Matthew Chen 4ea608cd45 Ensure status bar is hidden in image editor subviews. 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 908fe1d0c9 Apply presentAlert() throughout codebase. 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 d7b1e65a71 Add accessibility identifiers to blocklist 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 931d249677 Modify OWSFlatButton to propagate the accessibility identifier to wrapper button. 6 years ago
Matthew Chen 41a3c95831 Add missing accessibility ids in block list view. 6 years ago