Commit Graph

27392 Commits

Author SHA1 Message Date
Michelle Linington
eb6d403eee Fix for issue where pan selection won't update bottom bar 2022-03-04 18:26:54 -08:00
Michelle Linington
3591a35c5f "Bump build to 5.31.0.13." (Internal) 2022-03-03 15:04:31 -08:00
Michelle Linington
c744e18d5f "Feature flags for .qa." 2022-03-03 15:04:28 -08:00
Michelle Linington
57eadee265 "Bump build to 5.31.0.12." (Beta) 2022-03-03 15:04:24 -08:00
Michelle Linington
9430f47778 "Feature flags for .beta." 2022-03-03 15:04:21 -08:00
Michelle Linington
32edeb23d7 Sync translations 2022-03-03 15:04:13 -08:00
Michelle Linington
29ef1bd004 Merge branch 'mlin/PR/AggressiveLongWriteLogging' into release/5.31.0 2022-03-03 14:33:57 -08:00
Michelle Linington
06af94e7a2 Log long write transactions 2022-03-03 14:33:36 -08:00
Michelle Linington
e322921b10 Fix broken tests
If a test inserts a recipient, we need to have a registered local
address to perform some of our FTS index checks
2022-03-03 14:23:51 -08:00
Igor Solomennikov
70e5d7ac6c Merge branch 'igor/camera-zoom' into release/5.31.0 2022-03-03 11:41:11 -08:00
Igor Solomennikov
d2c74b03cc Address PR comments. 2022-03-03 11:31:41 -08:00
Igor Solomennikov
c84cceb9da Fix copy-paste error in unavailable attribution message text.
Refer to proper designated initializer.
2022-03-03 11:31:41 -08:00
Igor Solomennikov
9c16b82e34 Improvements to in-app camera's zooming UI and zooming behavior.
Make it look and behave like iOS Camera app.
2022-03-03 11:31:40 -08:00
Igor Solomennikov
578ea9204f Merge branch 'igor/camera-fixes' into release/5.31.0 2022-03-03 11:15:59 -08:00
Igor Solomennikov
b2c64af89b Hide status bar when presenting media library picker from in-app camera.
Because media library picker presented from chat screen doesn't show
it either.
2022-03-02 23:14:54 -08:00
Igor Solomennikov
96db5e1d03 Lint fixes. 2022-03-02 22:53:46 -08:00
Igor Solomennikov
2bdf135f87 Fix transparent navigation bar in media library picker. 2022-03-02 22:53:24 -08:00
Igor Solomennikov
b4e7a73808 Use solid gray color for background of the "switch camera" button. 2022-03-02 22:52:47 -08:00
Michelle Linington
9d13aa609f "Bump build to 5.31.0.11." (Internal) 2022-03-02 18:39:38 -08:00
Michelle Linington
09e9659bb5 Update Pods 2022-03-02 18:39:16 -08:00
Michelle Linington
b696ff0590 "Bump build to 5.31.0.10." (Internal) 2022-03-02 18:16:13 -08:00
Michelle Linington
68c0a272a1 "Feature flags for .qa." 2022-03-02 18:16:10 -08:00
Michelle Linington
e83dc0fcf8 "Bump build to 5.31.0.9." (Beta) 2022-03-02 18:16:08 -08:00
Michelle Linington
4146e8c5f9 "Feature flags for .beta." 2022-03-02 18:16:03 -08:00
Michelle Linington
e9500240b7 Sync translations 2022-03-02 18:15:45 -08:00
Michelle Linington
3e9f650df3 Update release notes 2022-03-02 18:15:40 -08:00
Igor Solomennikov
82e706ff80 Fix typo regression introduced in 45db3a963e. 2022-03-02 18:12:04 -08:00
Igor Solomennikov
88a5bbbd66 Merge branch 'igor/media-updates' into release/5.31.0 2022-03-02 18:01:26 -08:00
Igor Solomennikov
f16047a202 Fix one more place where optionals didn't need implicit unwrapping. 2022-03-02 17:58:54 -08:00
Igor Solomennikov
d5f12ac455 Check Photo Library auth status before attempting to load latest photo.
Latest photo is used in in-app camera as an image for a button that
opens photo library picker.
2022-03-02 17:58:54 -08:00
Igor Solomennikov
45db3a963e Minimize use of implicitly unwrapped optionals in code.
And mark `init(coder:)` as unavailable.
2022-03-02 17:58:54 -08:00
Igor Solomennikov
09048dad07 Fix not being able to add more items using in-app camera.
Steps to reproduce:
 • Take photo/video using in-app camera
 • In media editor, tap +
 • Observe previous photo/video deleted.
2022-03-02 17:58:54 -08:00
Igor Solomennikov
96c7b802de Slightly tweak position of photos/videos in media editor.
In order to minimize amount of moving elements when transitioning from
in-app camera to media editor.
2022-03-02 17:58:40 -08:00
Igor Solomennikov
4b9f2face3 Make sure that focusing frame only appears within the camera viewfinder. 2022-03-02 17:56:40 -08:00
Igor Solomennikov
4b876aec2c Improvements to user flow in in-app camera controllers.
• media library picker is now presented modally from in-app camera.
• there's no more "Camera" button in media library picker.
2022-03-02 17:56:40 -08:00
Igor Solomennikov
f8824905c9 Remove OWSNavigationController.ows_preferredStatusBarStyle.
Turns out it is not really necessary: a subclassed UINavigationController
is presented and `preferredStatusBarStyle` override works just fine.
2022-03-02 17:56:40 -08:00
Igor Solomennikov
b139e05fdb Use simpler cross-fade transition between camera and media library. 2022-03-02 17:56:40 -08:00
Igor Solomennikov
4a8511f0a0 In-app camera bug fixes.
• fixed bug when photo/video capture using physical volume buttons
  wouldn't work sometimes.
• do not show lock icon when recording video using physical volume
  buttons.
• fixed an issue when lock icon could be briefly visible upon start
  of the video recording.
2022-03-02 17:56:40 -08:00
Igor Solomennikov
48bef690b6 Fix previously captured item not deleted when going back from media editor to camera. 2022-03-02 17:56:40 -08:00
Igor Solomennikov
2e3efccc30 Transition camera UI to "recording video" state sooner.
Transition as soon as a request to start video recording has been made,
not waiting for recording to actually start (which sometimes takes
a perceptible amount of time).
2022-03-02 17:56:40 -08:00
Igor Solomennikov
9136113b88 Uncheck "Preserve Vector Representation" for in-app camera assets. 2022-03-02 17:56:40 -08:00
Igor Solomennikov
0f19830c62 Fix missing camera permissions check when presenting in-app camera.
In the following flow: open chat, open media library picker,
tap on Camera button.
2022-03-02 17:56:40 -08:00
Igor Solomennikov
29f75ed03c Fix regression that caused crash when opening media library picker from chat. 2022-03-02 17:56:40 -08:00
Igor Solomennikov
4e1a48a785 Improved in-app camera layout on devices with a physical home button.
"Photo Library" and "Switch Camera" buttons are now vertically centered
with camera shutter button.
2022-03-02 17:56:40 -08:00
Igor Solomennikov
c1504e582e Address CI linter complaints. 2022-03-02 17:56:40 -08:00
Igor Solomennikov
242cf0d32d Fix rotation of in-app camera buttons when device orientation changes. 2022-03-02 17:56:40 -08:00
Igor Solomennikov
950d979b99 Proper layout of in-app camera controls on iPads. 2022-03-02 17:56:40 -08:00
Igor Solomennikov
b53bda869b Make interactive dismiss of in-app camera look nicer.
Let VC underneath in-app camera view controller to show during interactive
dismiss, but only in the upper part of the screen.
2022-03-02 17:56:40 -08:00
Igor Solomennikov
9ead1a01f5 A couple fixes for in-app camera.
• fix bug where camera preview wasn't positioned correctly during
  interactive dismiss.
• better position of UI elements on non-notch devices.
2022-03-02 17:56:39 -08:00
Igor Solomennikov
a48c40b2ba Make status bar visible when media sharing UI is presented.
Media sharing UI is implemented in dark-only style which means
status bar needs to be updated to be visible if the rest of application UI
is in light mode.
2022-03-02 17:56:39 -08:00