Commit Graph

6496 Commits

Author SHA1 Message Date
Matthew Chen
f97b2d2f58 "Feature flags for .beta." 2021-08-10 18:44:47 -03:00
Matthew Chen
6750e4e6c8 "Feature flags for .production." 2021-08-10 18:44:40 -03:00
Matthew Chen
87ad544f40 "Feature flags for .beta." 2021-08-10 18:22:50 -03:00
Matthew Chen
9ceeedf01b "Feature flags for .production." 2021-08-10 18:22:44 -03:00
Matthew Chen
96df0f9513 "Feature flags for .beta." 2021-08-10 11:11:38 -03:00
Matthew Chen
a0890e7624 "Feature flags for .production." 2021-08-10 11:11:30 -03:00
Michelle Linington
686158f0a1 Lint 2021-08-10 10:57:04 -03:00
Michelle Linington
e664f52ff4 A collection of fixes for mp4 gifs
A couple of bugs have cropped up with viewing of mp4 gifs. This hasn't
been enabled internally, so I'm guessing some bugs have snuck through as
other changes have been made in the vicinity. This addresses most of
them:
- Better layout in the media detail viewer
- More accurate descriptions
- Fix for failed thumbnailing
- Fix for keyboard tracking bug with reduce motion enabled
2021-08-10 10:57:04 -03:00
Michelle Linington
1788e4a4fb Fixes a crash in OWSReceiptManager
Dictionary(uniqueKeysWithValues:) will assert that the provided keys are
unique and crash if a violation occurs. The existing code in
OWSReceiptManager falsely assumes that the addresses being built are
unique.

The keys in the key value store *are* unique, but as they're mapped into
addresses, we may have learned of a high trust e164/UUID mapping since
they were inserted. As the identifiers are mapped into
SignalServiceAddresses, the e164 and UUID are mapped to the same
SignalServiceAddress.

The fix is to just wrap our address builder in a Set() so we only have
one copy for each address.
2021-08-09 21:43:06 -03:00
Michelle Linington
5eea70f408 Adjust sender key capabilities
- Always on for internal installs
- On for internal population running beta builds
2021-08-09 21:37:38 -03:00
Matthew Chen
7acce7d9fd Respond to CR. 2021-08-09 15:50:03 -03:00
Matthew Chen
9931525be4 Fix issue around device linking before remote config is downloaded. 2021-08-09 15:50:03 -03:00
Matthew Chen
3dfbf7f79c Fix name component formatting cache key. 2021-08-06 21:20:08 -03:00
Matthew Chen
0dfffd6e82 Fix emoji / CoreText crash. 2021-08-06 12:21:18 -03:00
Matthew Chen
1b40795643 Fix emoji / CoreText crash. 2021-08-06 12:07:28 -03:00
Matthew Chen
812d96a0b6 Fix emoji / CoreText crash. 2021-08-06 11:34:11 -03:00
Matthew Chen
102705645d Fix emoji / CoreText crash. 2021-08-06 11:19:45 -03:00
Matthew Chen
5cb5b194fc Fix emoji / CoreText crash. 2021-08-06 11:19:29 -03:00
Matthew Chen
fa5e13c495 Fix emoji / CoreText crash. 2021-08-06 10:01:35 -03:00
Matthew Chen
a60d244c6f Fix emoji / CoreText crash. 2021-08-06 10:01:34 -03:00
Matthew Chen
0605325809 Show sent timestamp in home view, not received timestamp. 2021-08-06 09:58:48 -03:00
Matthew Chen
c487f689e2 Improve startup logging. 2021-08-06 09:52:23 -03:00
Matthew Chen
e8dd6fe06a Fix name components formatting cache key. 2021-08-06 09:39:12 -03:00
Matthew Chen
1b3c671e1e "Feature flags for .beta." 2021-08-05 20:13:52 -03:00
Michelle Linington
ed993f6a71 Sender key is now enabled if...
The kill switch hasn't been activated and either:
- You're running a build <= internal
- You have the ios.senderKey flag
2021-08-05 20:13:14 -03:00
Matthew Chen
5d75270ca6 "Feature flags for .qa." 2021-08-05 17:33:30 -03:00
Matthew Chen
0effd38f82 "Feature flags for .beta." 2021-08-05 17:32:56 -03:00
Matthew Chen
3f7819aa25 Add logging around opening notifications. 2021-08-05 16:14:03 -03:00
Matthew Chen
aa8e20f18d Add 'My Daily Life' sticker pack. 2021-08-05 16:08:06 -03:00
Michelle Linington
f69c76c1ab Migrate schema to account for new PendingReceipt properties
Most of this was done by Matthew. Thanks Matthew!
2021-08-04 22:17:42 -07:00
Michelle Linington
1e3c48c468 Include registrationId in SKDM delivery cache
Resolves an issue where we'd not send an SKDM to a user if a new device
is linked and reuses an existing deviceId
2021-08-04 22:16:28 -07:00
Michelle Linington
75359cedbb Disable sender key in beta builds 2021-08-04 22:10:39 -07:00
Michelle Linington
87724fef42 Lint 2021-08-04 22:10:39 -07:00
Michelle Linington
0341a8435a Enable sending mp4 gifs in beta 2021-08-04 22:10:39 -07:00
Michelle Linington
5742e72315 Update feature flags in preparation for SenderKey beta
- Capabilities should be enabled universally
- No remote feature flag to enable
- Two remote feature flags to disable SenderKey and MessageResend
  respectively.
2021-08-04 22:10:39 -07:00
Matthew Chen
afc699f497 Fix over-zealous assert. 2021-08-04 22:29:18 -03:00
Matthew Chen
e734b0beb7 Respond to CR. 2021-08-04 17:08:40 -03:00
Matthew Chen
9ca3a49335 Cache formatting of PersonNameComponents. 2021-08-04 17:08:28 -03:00
Matthew Chen
404062ed29 Cache formatting of PersonNameComponents. 2021-08-04 17:08:28 -03:00
Matthew Chen
be148ac35f Convert OWSFormat to Swift. 2021-08-04 17:08:27 -03:00
Matthew Chen
9ae74b164b Don't reload TSThread to get draft for home view. 2021-08-04 17:08:27 -03:00
Matthew Chen
02f6000305 Improve logging around NSE processing emoji reactions. 2021-08-04 17:03:13 -03:00
Nora Trapp
279b2dada8 Limit the share extension to level one quality 2021-08-04 11:52:10 -07:00
Nora Trapp
1364c0ba7d Delay certain megaphones after registration 2021-08-04 11:50:29 -07:00
Nora Trapp
7fbda7c47f Fix inversion of inbox error logic 2021-08-04 11:50:29 -07:00
Eugene Bistolas
432bd069f0 Context menu feedback / bugfixes 2021-08-03 14:16:21 -10:00
Eugene Bistolas
7feede001c Context Menu programmatic dismissal support
Context menu layout is incorrect on iPad, some landscape cases
2021-08-02 13:50:51 -10:00
Michelle Linington
fdc98cf603 Fix a crash in hasUserInitiatedInteraction
SQL syntax was broken. The IN operand was incorrect.

Before: "recordType IN [9, 70]"
After:  "recordType IN (9, 70)"
2021-07-30 13:38:29 -07:00
Michelle Linington
94251b20f5 PR Feedback 2021-07-29 20:51:35 -07:00
Michelle Linington
8811aa5f6a Lint and unrelated bug fix in MSL message map clearing 2021-07-29 20:40:40 -07:00