Commit Graph

6483 Commits

Author SHA1 Message Date
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
Michelle Linington
211f2fe31c Bug fixing
- Better handling of nullable properties
- Better handling of receipt store decoding
- Fixes a bug where timestamps weren't appended to receipt proto
2021-07-29 20:40:40 -07:00
Michelle Linington
4126fd9b69 Record uniqueIds of messages that receipt messages refer to 2021-07-29 20:40:40 -07:00
Michelle Linington
4952320106 Fix comment 2021-07-29 20:39:06 -07:00
Michelle Linington
4c3e30ea4b Add tests to exercise the MessageSendLog 2021-07-29 20:37:21 -07:00
Michelle Linington
8364e761a6 Add notification for reporting errors to internal users 2021-07-29 19:01:13 -07:00
Michelle Linington
b084bd3ed5 Better validation of UUID names in ProtocolAddress 2021-07-29 16:20:56 -07:00
Michelle Linington
fe1ad4c4ee Fix remaining TODOs in sender key send 2021-07-29 16:20:56 -07:00
Michelle Linington
f424e33b7b SenderKey work in MessageSender moved to separate file 2021-07-29 16:20:56 -07:00
Michelle Linington
4c536cf144 Remove overzealous assert 2021-07-29 15:59:04 -07:00
Michelle Linington
0acbfe8359 PR Feedback 2021-07-29 15:17:00 -07:00
Michelle Linington
8636769dfb Trim the MessageSendLog
- Recipients that return a delivery receipt will be removed from the MSL
- The MSL will clear out stale payloads ~24 hours
2021-07-29 15:08:59 -07:00
Michelle Linington
deab70379a Lint 2021-07-29 15:06:30 -07:00
Michelle Linington
157f024b55 Add deprecated overload for storing optionals in keyValueStore
To store an optional your non-deprecated options are:
- setCodable(optional🔑transaction) which will encode the nil value
- Switching to unwrap the optional before calling either
  setCodable(_🔑transaction) or removeValue(forKey:transaction:)
2021-07-29 15:06:30 -07:00