Jordan Rose
3b8729ea74
Replace enumeration blocks with SDSMappedCursor for unread messages
...
SDSMappedCursor behaves like the direct fetch cursors synthesized for
SDS types, but performs a compactMap-like transform on each element.
Like SDS cursors, it can throw, and callers are required to handle
that; this uncovered some places where we can do better recovery if an
error ever were to happen.
2022-03-07 15:01:39 -08:00
Jordan Rose
15d13517fa
Add SDSCursor protocol, for common functionality across cursors
2022-03-07 15:01:39 -08:00
Jordan Rose
d90789a879
Move some OWSReceiptManager methods to Swift
...
Preparation for the upcoming commit, no intended functionality change.
(There is one implementation change: a previous commit inlined logging
from one method into another, and that logging handled any sort of
OWSReceiptCircumstance, but that isn't actually necessary here.)
2022-03-07 15:01:39 -08:00
Nora Trapp
c4f9becf4b
"Bump build to 5.32.0.6." (nightly-03-07-2022)
2022-03-07 04:00:20 -08:00
Nora Trapp
62c6eb2249
"Bump build to 5.32.0.5." (nightly-03-06-2022)
2022-03-06 04:00:21 -08:00
Michelle Linington
aaf0c9534e
Merge branch 'release/5.31.0'
2022-03-04 19:08:13 -08:00
Michelle Linington
179da34a97
"Bump build to 5.31.0.16." (Internal)
2022-03-04 19:06:41 -08:00
Michelle Linington
dd6730c01b
"Feature flags for .qa."
2022-03-04 19:06:38 -08:00
Michelle Linington
eb309b8961
"Bump build to 5.31.0.15." (Beta)
2022-03-04 19:06:35 -08:00
Michelle Linington
b95b6c9dc0
"Feature flags for .beta."
2022-03-04 19:06:31 -08:00
Michelle Linington
2f03673932
"Bump build to 5.31.0.14."
2022-03-04 19:06:27 -08:00
Michelle Linington
09e508437b
"Feature flags for .production."
2022-03-04 19:06:23 -08:00
Michelle Linington
7d93eb229c
Sync translations
2022-03-04 19:05:57 -08:00
Igor Solomennikov
a5dca328a1
Merge branch 'igor/camera-improvements' into release/5.31.0
2022-03-04 18:55:18 -08:00
Igor Solomennikov
e9391da42d
Rotate camera zoom level indicators with device.
2022-03-04 18:36:37 -08:00
Igor Solomennikov
7c07303ccc
Resume camera session after taking a video if "batch mode" is enabled.
...
This fixes an issue where camera would freeze and eventually crash
after taking a photo.
2022-03-04 18:36:37 -08:00
Igor Solomennikov
3075179c40
Fix "Switch Camera" not tapable on older iOS versions.
...
That button needs to be placed above an invisible view that is a part
of "slide to lock recording" UI.
2022-03-04 18:36:37 -08:00
Igor Solomennikov
8fe1b517ca
Fix inconsistent UI in the in-app camera.
...
Explicitly hide "Switch Camera" button if badged Done button is visible.
Previously Done button would just obscure "Switch Camera" button.
The following user actions would result in badged Done button visible
with '0' as badge value:
• open in-app camera, tap media library
• select one or more items and close media library picker
• tap media library again and unselect all previously selected items.
2022-03-04 18:36:37 -08:00
Igor Solomennikov
fd81c4ea0a
Fix "media picker" button not tapable if app doesn't have Photo Library permissions.
2022-03-04 18:36:37 -08:00
Igor Solomennikov
f20d9800af
Ignore double taps on camera viewfinder on and near buttons.
2022-03-04 18:36:37 -08:00
Igor Solomennikov
35947b046d
Increase tap target for buttons in the in-app camera.
...
Also increase margins on iPads a little bit.
2022-03-04 18:36:37 -08:00
Igor Solomennikov
179a2bbb8f
No confirmation needed when closing photo library picker opened from chat.
2022-03-04 18:36:37 -08:00
Michelle Linington
d4f5db1df4
Merge branch 'mlin/PR/MultiSelectBugFix' into release/5.31.0
2022-03-04 18:27:59 -08:00
Michelle Linington
eb6d403eee
Fix for issue where pan selection won't update bottom bar
2022-03-04 18:26:54 -08:00
Jordan Rose
2f710ecc87
Log statistics about the SDSKeyValueStore on internal app launch
...
(without blocking launch, of course)
This should help us identify which SDSKeyValueStore collections might
be better promoted to full tables.
2022-03-04 16:29:27 -08:00
Chris Eager
6e77f78e77
Merge branch 'chris/staging_captcha'
2022-03-04 15:42:11 -08:00
Chris Eager
acdbf55b72
Use Theme.backgroundColor in RegistrationCaptchaViewController
2022-03-04 15:41:21 -08:00
Chris Eager
d92eaf97d5
lint fixes
2022-03-04 15:41:21 -08:00
Chris Eager
ace538f568
Move URL to property of enum
2022-03-04 15:41:21 -08:00
Chris Eager
fa8e829115
Move CaptchaView to its own file
2022-03-04 15:41:21 -08:00
Chris Eager
b33a623e28
Add support for staging captcha URLs
2022-03-04 15:41:21 -08:00
Nora Trapp
b42dd16019
"Bump build to 5.32.0.4." (Internal)
2022-03-04 15:13:25 -08:00
Nora Trapp
0f56118382
Update to MobileCoin v1.2.0-pre10
2022-03-04 15:07:50 -08:00
Michelle Linington
2c340b6c94
"Bump build to 5.32.0.3." (Internal)
2022-03-04 14:24:51 -08:00
Michelle Linington
4e34f225fe
Merge branch 'mlin/PR/GroupCallPeekingFromNSE'
2022-03-04 14:21:23 -08:00
Michelle Linington
746aa9e110
Update Pods
2022-03-04 14:19:43 -08:00
Michelle Linington
9da8c5e892
PR Feedback
2022-03-04 14:17:14 -08:00
Michelle Linington
34ded18ac8
Update Pods
2022-03-04 14:17:13 -08:00
Michelle Linington
73ac215975
Remove unchanged files
2022-03-04 14:17:06 -08:00
Michelle Linington
25f8b559bc
Update to latest RingRTC
2022-03-04 14:17:04 -08:00
Michelle Linington
85c568e9ce
Changes for new RingRTC update
2022-03-04 14:16:58 -08:00
Michelle Linington
640a0e1aa0
PR Feedback
2022-03-04 14:16:58 -08:00
Michelle Linington
da599d4b0b
Link against development RingRTC
2022-03-04 14:16:56 -08:00
Michelle Linington
259cf01376
Lint
2022-03-04 14:16:29 -08:00
Michelle Linington
0fccce9c13
Bug fixes and queue management:
...
- Move NSE notification waiter to be the very last thing we wait on.
This ensures that notifications enqueued while the message manager
handles messages make it to UserNotifications
- Current call can now be accessed off the main thread
- All group call message handling occurs off the main thread
2022-03-04 14:16:29 -08:00
Michelle Linington
62449b4685
CallService is now a subclass of LightweightCallService
2022-03-04 14:16:29 -08:00
Michelle Linington
05ea13c8c9
LightweightCallManager will now post NSE group call alerts
2022-03-04 14:16:29 -08:00
Michelle Linington
62e804da5f
Plumbing
2022-03-04 14:16:29 -08:00
Michelle Linington
e7a3ae7578
Update to support new CallManagerLite
2022-03-04 14:16:29 -08:00
Evan Hahn
e0e6bf9b62
Merge branch 'update-readme-license-year-for-2022'
2022-03-04 16:03:21 -06:00