Commit Graph

1512 Commits (dfd59492c040452d88eea70750e3aab2829e13a0)

Author SHA1 Message Date
Niels Andriesse 52f479a0b1 Implement fancy avatars 5 years ago
Niels Andriesse bc112a7c90 Propagate request timeout interval through to request serializer 5 years ago
Niels Andriesse 30aac6a94d Fix crash 5 years ago
Niels Andriesse 38629b4c4e Make online indicator more subtle 5 years ago
Niels Andriesse 1bf0d44246 Add basic styling 5 years ago
Niels Andriesse 820b0829bb Merge LokiP2PManager & LokiP2PMessageHandler 5 years ago
Niels Andriesse 845c4f700a Fix crash 5 years ago
Niels Andriesse d9a728922f Ditch public key part of display name 5 years ago
Niels Andriesse 1462a5cb6b Handle receiving of sender display name 5 years ago
Niels Andriesse e6962dcb95 Clean 5 years ago
Niels Andriesse e81a074efc Show online status 5 years ago
Niels Andriesse a11074ba5a Fix crash 5 years ago
Niels Andriesse 08aac18384 Clean more 5 years ago
Niels Andriesse 1c73cf5114 Re-order files 5 years ago
Mikunj 3d7bd6b895 Fix incorrect function name.
Refactor fixes.
5 years ago
Mikunj f1cbc2e0d1 Added friend request message expiration. 5 years ago
Niels Andriesse 64f92d261b Refactor 5 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.
5 years ago
Niels Andriesse 7faa9d333c Add missing save 5 years ago
Niels Andriesse be7724b41b Implement feedback 5 years ago
Niels Andriesse 3161680432 Redo friend request handling 5 years ago
Niels Andriesse cb1e876b7a Make friend request status updates more reliable 5 years ago
Niels Andriesse b83766ef74 Clean & fix conversation settings crash 5 years ago
Niels Andriesse e3e7788219 Disable input if a friend request is pending 5 years ago
Mikunj a4b042f282 Added convenience function to make empty outgoing messages. 5 years ago
Niels Andriesse 3dda1f17e1 Implement incoming friend request UI 5 years ago
Niels Andriesse 4da8d33932 Clean 5 years ago
Mikunj 09157673fe Added friend request states in TSThread.
Automatically send a OWSFriendRequest if we are not friend with the person.
5 years ago
Mikunj 26625980bd Fix message sending params.
Disable ProfileFetcherJob.
5 years ago
Niels Andriesse 3bd3341e64 Clean 5 years ago
Niels Andriesse ef680a1cc2 Don't ask for contacts 5 years ago
Niels Andriesse d4fd3af433 Fix Signal bug 5 years ago
Niels Andriesse 8a605858fd Clean & suppress warnings for dependencies 5 years ago
Niels Andriesse 9d64b76af6 Clean & fix bad merge 5 years ago
Mikunj 520d41565f Disable networking calls when updating profile.
Remove avatar from profile controller.
5 years ago
Michael Kirk 19002a13b1 Cannot delete last item in rail 5 years ago
Michael Kirk a1e008f930 apply new rounding/highlight design 5 years ago
Michael Kirk 4af9fa6789 "add more" as rail cell 5 years ago
Michael Kirk da79a53d96 cleanup compiler warnings 5 years ago
Michael Kirk fa45339f83 move to public category 5 years ago
Michael Kirk cfebb53719 more concise constants post translation 5 years ago
Michael Kirk 57b1aaa3dc inline enum converters 5 years ago
Michael Kirk 30266bf65e autoformatted 5 years ago
Michael Kirk 64a0c4bfaa auto-migrate to Swift5 5 years ago
Michael Kirk 501e2c761f Merge tag '2.38.1.2' 5 years ago
Michael Kirk 1fae83a777 respect any CDN headers (eg Host for front) 5 years ago
Michael Kirk 07e88009e4 Merge tag '2.38.0.11' 5 years ago
Matthew Chen a3efb58d15 Respond to CR. 5 years ago
Matthew Chen 517a550593 Further improve "first responder" behavior in the image editor. 5 years ago
Matthew Chen eb5cf3978c Fix first responder issue in image editor. 5 years ago
Michael Kirk fa2d5b422b maintain body text navigating to/from approval view 5 years ago
Michael Kirk 1a4062dd89 Nav buttons: batch, camera/library switch, done 5 years ago
Michael Kirk 7dbb9517af Centralize attachment state in nav controller 5 years ago
Michael Kirk 6502d7d4a5 remove `isMultiSendEnabled` feature flag 5 years ago
Michael Kirk 1357449dcc Make OrderedDictionary keys generic 5 years ago
Matthew Chen db958f4a01 Preserve caption text of edited images. 5 years ago
Matthew Chen d9760b6bbc Fix bug around layer ordering when rendering image editor output. 5 years ago
Matthew Chen 5973c326de Ensure new text items are on the canvas. 5 years ago
Michael Kirk f8244eeefe Fix SAE crash for iOS9 5 years ago
Michael Kirk 58d99a480f Notify iOS9 users occasionally that iOS10 will soon be required 5 years ago
Matthew Chen 3ce3f9faaa Add accessibilityIdentifiers to conversation settings view. 5 years ago
Matthew Chen f073dd9a52 Add accessibilityIdentifiers to conversation settings view. 5 years ago
Matthew Chen 4188993fc5 Add accessibilityIdentifiers to 'new contact thread' view. 5 years ago
Matthew Chen 95e125d55e Simplify usage of accessibilityIdentifiers. 5 years ago
Matthew Chen 2d854406a1 Add accessibilityIdentifiers to home view. 5 years ago
Michael Kirk ed6b461662 search icon 5 years ago
Matthew Chen a7ae79aaad Ignore keyboard notifications while the view is disappearing or has disappeared. 5 years ago
Matthew Chen 558b5f5816 Tap to dismiss caption editor. 5 years ago
Matthew Chen 4ea608cd45 Ensure status bar is hidden in image editor subviews. 5 years ago
Michael Kirk e3cc8bb101 Keep results bar visible when dismissing keyboard or returning to view. 5 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;
}
```
5 years ago
Matthew Chen 908fe1d0c9 Apply presentAlert() throughout codebase. 5 years ago
Matthew Chen 882dd16d7c Apply presentAlert() throughout codebase. 5 years ago
Matthew Chen c9d62f47cc Respond to CR. 5 years ago
Matthew Chen 1a80f0c293 Add accessibility identifiers to privacy popups and subviews. 5 years ago
Matthew Chen cb5ce42e76 Add accessibility identifiers to privacy popups and subviews. 5 years ago
Matthew Chen f37a3059fa Add accessibility identifiers to debug log popups. 5 years ago
Matthew Chen 81508e9d02 Add accessibility identifiers to settings popups. 5 years ago
Matthew Chen d7b1e65a71 Add accessibility identifiers to blocklist popups. 5 years ago
Matthew Chen f1520d760e Add accessibility identifiers to other settings views. 5 years ago
Matthew Chen b48e204b90 Add accessibility identifiers to notification settings views. 5 years ago
Matthew Chen 931d249677 Modify OWSFlatButton to propagate the accessibility identifier to wrapper button. 5 years ago
Matthew Chen 41a3c95831 Add missing accessibility ids in block list view. 5 years ago
Matthew Chen 8bcc19e36c Add missing accessibility ids in block list view. 5 years ago
Matthew Chen 52d6aa69b8 Improve measurement of image editor text layers. 5 years ago
Michael Kirk 0b638f4831 link checks 5 years ago
Michael Kirk 78ce3583ed fix rotation issue 5 years ago
Matthew Chen 050a9676f6 Add accessibility identifiers to select recipient views. 5 years ago
Matthew Chen c3857e5dff Add accessibility identifiers to select recipient views. 5 years ago
Matthew Chen 79d6384bc9 Add accessibility identifiers to privacy settings view. 5 years ago
Matthew Chen c37f425d5f Reduce logging. 5 years ago
Matthew Chen 3795fd1381 Enable image editor in production. 5 years ago
Matthew Chen 441c784146 Add preview view to the color palette control. 5 years ago
Michael Kirk 284357137f Photo/Movie Capture 5 years ago
Matthew Chen 684cebf2df Respond to CR. 5 years ago
Matthew Chen a48c3d8d20 Ensure attachment approval becomes first responder if app returns from background. 5 years ago
Matthew Chen f9445359d9 Fix layout glitch related to attachment approval input accessory background. 5 years ago
Matthew Chen a559b61056 Fix keyboard return behavior in attachment approval. 5 years ago
Matthew Chen 660f35147f Hide status bar in image editor modals. 5 years ago
Matthew Chen 25e7818f56 Ensure proper z-ordering of item layers. 5 years ago
Matthew Chen d824c49c07 Respond to CR. 5 years ago
Matthew Chen d80f086f31 Rework attachment captioning. 5 years ago
Matthew Chen 625656deb9 Pull out attachment text toolbar and text view classes. 5 years ago
Matthew Chen 581d0a7bff Respond to CR. 5 years ago
Matthew Chen 4fd16a7614 Remove top gradient from attachment approval. 5 years ago
Matthew Chen 745ec2adb8 Remove top gradient from attachment approval. 5 years ago
Matthew Chen 0826864525 Decompose attachment approval into multiple source files. 5 years ago
Matthew Chen c315c1c9ef Fix translation normalization of the image editor transform. 5 years ago
Matthew Chen 88c07fc534 Pinch to change text size in image editor text tool. 5 years ago
Matthew Chen d6c91c2753 Respond to CR. 5 years ago
Matthew Chen fedbe3a5d0 Fix shadow on palette view. 5 years ago
Matthew Chen 75cfd979ba Modify brush stroke width to reflect current scale. 5 years ago
Matthew Chen c0ca55b1e0 Fix shadow on palette view. 5 years ago
Matthew Chen 337e32a909 Fix a shadow. 5 years ago
Matthew Chen 66efcb4639 Update rail icons. 5 years ago
Matthew Chen 2f7880af8e Fix hit testing of text layers. 5 years ago
Matthew Chen 7521b3a145 Update "attachment has caption" indicator. 5 years ago
Matthew Chen dd16986d79 Avoid layout changes due to selection changes in media rail. 5 years ago
Matthew Chen e63b1169a3 Hide controls while moving text items. 5 years ago
Matthew Chen 9e636b0fc9 Hide controls during stroke. 5 years ago
Matthew Chen c77835926d Tap to create new text item. 5 years ago
Matthew Chen fb6631df5f Remove cancel button from attachment caption view. 5 years ago
Matthew Chen 5aaa667927 Modify the image editor's crop tool to render the cropped and uncropped content. 5 years ago
Matthew Chen 0a6ad365d4 Refine the image editor crop tool's gestures. 5 years ago
Matthew Chen e9a4ae7add Fix image editor navigation bar button shadows. 5 years ago
Matthew Chen eff929dd1a Add border and shadow to image editor's palette view. 5 years ago
Matthew Chen 6f44167e5c Tweak navigation bar button spacing. 5 years ago
Matthew Chen e2d54d082e Modify attachment approval back button to not have "back" text. 5 years ago
Matthew Chen 7a67a7b6b5 Hide the status bar in the image picker / attachment approval. 5 years ago
Matthew Chen ff08919206 Respond to CR. 5 years ago
Matthew Chen 6fe3ce6d87 Deconflict "bottom view" layout and keyboard animations. 5 years ago
Matthew Chen 6e7c135348 Ensure onboarding views never reclaim layout space from dismissed keyboard. 5 years ago
Matthew Chen d72c26796d Ensure onboarding views never reclaim layout space from dismissed keyboard. 5 years ago
Matthew Chen 53802d1a48 Deconflict "bottom view" layout and keyboard animations. 5 years ago
Matthew Chen 97603e64cc Deconflict "bottom view" layout and keyboard animations. 5 years ago
Michael Kirk be523d5fe9 Merge branch 'release/2.37.0' 5 years ago
Matthew Chen 6cae61bf18 Revert "Temporarily enable image editor."
This reverts commit 1078756bc6.
5 years ago
Matthew Chen 49685c52bb Temporarily enable image editor. 5 years ago
Matthew Chen 3209ce6cd9 Normalize images in the image editor. 5 years ago
Matthew Chen 22626bdffd Revert "Temporarily enable image editor."
This reverts commit 1078756bc6.
5 years ago
Matthew Chen 1078756bc6 Temporarily enable image editor. 5 years ago
Matthew Chen 6052ce477a Revert "Temporarily enable image editor."
This reverts commit 66c0419131.
5 years ago
Matthew Chen 66c0419131 Temporarily enable image editor. 5 years ago
Matthew Chen ddbef4e311 Respond to CR. 5 years ago
Matthew Chen c31d469651 Improve new text item continuity. 5 years ago
Matthew Chen 371c12bd40 Show caption indicators in attachment approval media rail. 5 years ago
Matthew Chen 80d297c10a Render strokes behind text. 5 years ago
Matthew Chen 871dceac3a Improve palette interactions. 5 years ago
Matthew Chen 1a159d4d70 Clean up brush stroke gesture usage. 5 years ago
Matthew Chen 3d96cd488e Improve color continuity in the image editor. 5 years ago