Michelle Linington
bd8e6ffedb
Fixes an issue where group join requests aren't cancelled
...
Requesters are able to request to join a group by using data in the URL.
In order to cancel their request they need to use that data again. This
data wasn't being plumbed through.
2022-03-10 13:44:04 -08:00
Jon Chambers
5857c4b985
Merge branch 'jon/multiple_rate_limit_status_codes_IOS-2217'
2022-03-10 16:04:37 -05:00
Jon Chambers
380e96b628
Update copyright dates
2022-03-10 16:03:56 -05:00
Jon Chambers
f642376631
Accept HTTP/429 as a "rate-limited" status code
2022-03-10 16:03:56 -05:00
Nora Trapp
4b18b04dc4
"Bump build to 5.33.0.1." (nightly-03-10-2022)
2022-03-10 04:00:30 -08:00
Michelle Linington
59f65a5ccd
Merge branch 'mlin/PR/GroupAbusePt1'
2022-03-09 22:03:45 -08:00
Michelle Linington
a2964ae668
Lint
2022-03-09 22:00:18 -08:00
Michelle Linington
b5264502b8
Present alert, avoid repeated fetching of expired links
2022-03-09 22:00:18 -08:00
Michelle Linington
c28e8b09b0
First pass at Group Link rejection
...
Several TODOs remain pending final server API and design
2022-03-09 22:00:18 -08:00
Michelle Linington
9691baed61
"Bump build to 5.33.0.0." (Internal)
2022-03-09 14:10:14 -08:00
Michelle Linington
eda30f874b
"Bump build to 5.32.0.10." (Internal)
2022-03-09 14:08:37 -08:00
Michelle Linington
fc5dcd1f2d
"Feature flags for .qa."
2022-03-09 14:08:34 -08:00
Michelle Linington
f037fe9e1d
"Bump build to 5.32.0.9." (Beta)
2022-03-09 14:08:31 -08:00
Michelle Linington
64637af3fc
"Feature flags for .beta."
2022-03-09 14:08:27 -08:00
Michelle Linington
634eae33cb
Sync translations
2022-03-09 14:08:22 -08:00
Nora Trapp
45237cfbc0
"Bump build to 5.32.0.8." (nightly-03-09-2022)
2022-03-09 04:00:27 -08:00
Igor Solomennikov
a429124ff6
Merge branch 'igor/PR/DualWideCameraFix'
2022-03-08 20:17:05 -08:00
Igor Solomennikov
fe528f27a1
Fix incorrect camera zoom behavior on devices with UW and W cameras.
...
Such devices include iPhone 11, iPhone 12/13/mini.
The fix is to use a virtual "dual wide camera" device, similarly to
how "triple camera" and "dual camera" devices are already in use.
2022-03-08 20:15:34 -08:00
Jordan Rose
d7ed13ec63
Fix extension log file deletion
...
The expression for the relative cutoff timestamp was
`-self.maximumNumberOfLogFiles * kDayInterval`, but
'maximumNumberOfLogFiles' is an unsigned integer, so this turned into
"some day very far in the future" and immediately deleted all
extension logs. The new expression, `self.maximumNumberOfLogFiles *
-kDayInterval` works because 'kDayInterval' is an NSTimeInterval, a
floating-point value.
2022-03-08 16:24:29 -08:00
Nora Trapp
edbcc7fb09
"Bump build to 5.32.0.7." (nightly-03-08-2022)
2022-03-08 04:00:23 -08:00
Nora Trapp
964d2fdffa
Fix forwarding of messages with mentions
2022-03-08 00:00:43 -08:00
Jordan Rose
d5e0ae1716
Merge branch 'jrose/SDSCursor'
2022-03-07 15:40:52 -08:00
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