Commit Graph

6451 Commits

Author SHA1 Message Date
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
Michelle Linington
7a27aa1f13 Delivery issue sheet 2021-07-29 15:02:29 -07:00
Michelle Linington
6e58c93c24 PR Feedback 2021-07-29 14:59:06 -07:00
Michelle Linington
20f5019d3d Fix imports for linter 2021-07-29 14:59:06 -07:00
Michelle Linington
c329d64565 Improved handling of placeholder interactions
- Deferred display now works for "resendable" messages
- Replacement expiration now works
- Error messages now show up correctly in conversation view
2021-07-29 14:59:06 -07:00
Eugene Bistolas
f4999c3fbc Context Menus: Animate presentation / dismissal of context menu 2021-07-29 10:26:23 -10:00
Matthew Chen
6cc69c8c67 Enable announcement-only groups capability in production. 2021-07-29 13:25:01 -03:00
Michelle Linington
4e34715e51 IOS-1618: Failed deserialization of sender key metadata
Setting a nil value in SDSKeyValueStore encodes "nil" to data and stores
that in the database. When we fetch, we fail to deserialize since we're
expecting a key metadata struct.

Instead, we should use removeValue(forKey:transaction:) to remove the value
2021-07-28 11:23:17 -07:00
Matthew Chen
d2a7d3e757 Merge branch 'release/5.17.0' 2021-07-28 12:29:30 -03:00
Matthew Chen
3d6a3ef21b "Feature flags for .beta." 2021-07-28 12:28:05 -03:00
Matthew Chen
3cce412c7e "Feature flags for .production." 2021-07-28 12:27:34 -03:00
Matthew Chen
3e7def58ec Refine announcement-only capability. 2021-07-28 12:02:25 -03:00
Matthew Chen
f27e260019 Refine announcement-only capability. 2021-07-28 12:00:45 -03:00
Matthew Chen
088c1e1d34 Refine announcement-only capability. 2021-07-28 11:49:07 -03:00
Nora Trapp
52397ab045 "Feature flags for .beta." 2021-07-27 19:42:38 -07:00
Nora Trapp
b905d4883d "Feature flags for .production." 2021-07-27 19:42:19 -07:00
Nora Trapp
67db085639 "Feature flags for .beta." 2021-07-27 12:17:05 -07:00
Nora Trapp
d6b7c4f263 "Feature flags for .production." 2021-07-27 12:16:53 -07:00
Nora Trapp
540df3934d Merge branch 'release/5.17.0' 2021-07-26 14:47:30 -07:00
Nora Trapp
a0b54a814c "Feature flags for .beta." 2021-07-26 14:46:02 -07:00
Nora Trapp
07ccb63f40 "Feature flags for .production." 2021-07-26 14:45:48 -07:00
Nora Trapp
f391708cdc Clear avatarBuilder megaphone if you already have an avatar 2021-07-26 14:45:34 -07:00
Nora Trapp
2743f3f90e "Feature flags for .beta." 2021-07-26 14:09:23 -07:00
Nora Trapp
c6d345d735 "Feature flags for .production." 2021-07-26 14:09:10 -07:00
Nora Trapp
edd880cbed Default sender key on for internal builds 2021-07-23 21:20:39 -07:00
Nora Trapp
7a8fbcc9f4 Don't allow sending high quality outside of the main app 2021-07-23 21:20:08 -07:00
Nora Trapp
cb4adf60f0 Fix NSE crash 2021-07-23 21:20:08 -07:00
Nora Trapp
0628f33f8d Merge branch 'release/5.17.0' 2021-07-23 15:29:28 -07:00
Nora Trapp
97fcc4613c Avatar Builder Megaphone & Onboarding Card 2021-07-23 13:28:51 -07:00
Michelle Linington
b3315bca86 Add SenderKey remote config flag 2021-07-23 12:33:20 -07:00
Nora Trapp
fdccbd71a6 Allow image quality selection 2021-07-22 13:57:25 -07:00
Nora Trapp
c4a5cd13ab "Feature flags for .qa." 2021-07-22 13:38:21 -07:00
Nora Trapp
5c96af4d43 Merge branch 'release/5.17.0' 2021-07-22 13:38:07 -07:00