Commit Graph

92 Commits

Author SHA1 Message Date
Jordan Rose
0a982ebc83 Include timestamp in missed call notifications
...if the call was more than five minutes ago. This should help in two
scenarios:

- you've been offline for a while, and you see "missed call" but don't
  know when they tried to call

- you hit that NSE bug where a ring gets processed hours or even days
  later, possibly when a second call arrives
2022-04-05 10:48:05 -07:00
Nora Trapp
b88b3ce396 Process incoming story context 2022-03-31 00:34:32 -07:00
Dimitris Apostolou
62724cf0be Fix typos 2022-03-18 11:31:06 -07:00
Martin Böttcher
8f9be31ba3 replaced NSLocalizedStringFromAppBundle with OWSLocalizedString 2022-03-08 10:17:25 +01:00
Martin Böttcher
c0adfbfb32 NSLocalizedString is replaced by NSLocalizedStringFromAppBundle (reading strings from the bundle of the main app) for all source files called by an app extension and the localizable files are removed for the app extension targets. 2022-03-07 13:29:06 +01:00
Jordan Rose
34d60bf833 Always log when we present a user notification for an incoming message 2022-03-01 16:19:38 -08:00
Nora Trapp
b57a5bedd7 Populate INSendMessageIntentDonationMetadata 2022-03-01 10:22:28 -08:00
Nora Trapp
5921774053 Notify when you are quoted when 'mentionNotificationMode' is set to always 2022-03-01 10:22:28 -08:00
Nora Trapp
0948ba837b Cache built avatars to disk for NSE 2022-02-14 11:59:13 -08:00
Nora Trapp
a2f51dc4a3 Cleanup old feature flags 2022-01-24 10:53:55 -08:00
Nora Trapp
ac5aafaea9 Remove support for Xcode 12 2021-11-01 13:26:46 -07:00
Matthew Chen
df2a714437 Clean up NSE logging. 2021-10-19 22:45:58 -03:00
Matthew Chen
1adc997422 Elaborate logging around NSE lifecycle & memory usage. 2021-10-08 10:32:54 -03:00
Matthew Chen
a1ff722aad Fix race in notification cancellation. 2021-10-07 17:37:01 -03:00
Matthew Chen
eef9364f9d Elaborate logging around NSE message processing. 2021-10-06 09:26:38 -03:00
Matthew Chen
c3802fc5ef Post notifications off the main thread in the NSE. 2021-10-05 16:24:31 -03:00
Matthew Chen
b2b3c312b6 Cancel notifications off the main thread. 2021-10-05 16:24:31 -03:00
Matthew Chen
aba599241c Improve handling of voip pushes on iOS 15. 2021-09-30 16:41:32 -03:00
Matthew Chen
2a318c30fa Improve handling of voip pushes on iOS 15. 2021-09-30 16:41:32 -03:00
Matthew Chen
e70302ac8f Refine NSE completion blocking, message processing. 2021-09-27 19:04:46 -03:00
Matthew Chen
6463531178 Respond to CR. 2021-09-24 18:30:42 -03:00
Matthew Chen
818634b23a Explicitly block NSE completion on posting notifications, sending acks, etc. 2021-09-24 18:30:42 -03:00
Matthew Chen
c9cedeb8d6 Don't block on intent donation. 2021-09-16 15:47:49 -03:00
Matthew Chen
a82adcce60 Fix missing notifications with XCode 13 & iOS 14 and earlier. 2021-09-08 16:00:59 -03:00
Nora Trapp
0e3b1a196b Fix contentToUse mutability 2021-09-07 15:03:36 -07:00
Michelle Linington
7e6e99074e PR Feedback 2021-09-03 16:11:19 -07:00
Nora Trapp
2814ab7629 Convert to new Promise library 2021-09-03 11:41:34 -07:00
Matthew Chen
e1f35f89f0 Add more logging around missing notifications. 2021-09-03 13:52:47 -03:00
Matthew Chen
a3a43751ce Add more logging around missing notifications. 2021-09-03 13:47:49 -03:00
Matthew Chen
9703fb18ab Update l10n strings. 2021-09-02 22:52:36 -03:00
Matthew Chen
2b502ad609 Elaborate logging around missing notifications. 2021-09-02 22:51:26 -03:00
Matthew Chen
0957a5df49 Merge branch 'release/5.19.0' 2021-08-27 22:15:56 -03:00
Eugene Bistolas
aa810205cf Defer NSE contentUpdating until donation completes, enable caching for avatars 2021-08-27 09:25:56 -10:00
Michelle Linington
86310a1855 Handling of invisible interactions 2021-08-26 20:29:21 -07:00
Eugene Bistolas
de67f4cede Update NSE avatar size, add more logging 2021-08-26 09:47:12 -10:00
Eugene Bistolas
c70817eb1c Group call avatars incorrectly configured, ensure incoming donations do not occur for correct notification settings 2021-08-18 13:26:24 -10:00
Eugene Bistolas
e166caa1de iOS 15 Notification Action Glyph Support 2021-08-18 08:29:53 -10:00
Eugene Bistolas
bd645b3048 iOS 15 communication notification support for calls 2021-08-17 13:19:14 -10:00
Eugene Bistolas
a4c3bb9c90 iOS 15 communication notification support for messages 2021-08-17 10:48:39 -10:00
Michelle Linington
c8c8575c5b PR Feedback
- Avoid accessing `build` in FeatureFlags.swift
- Make it private so others aren't tempted
- Now that build is private, drop the named build variants. It's cute,
  but ultimately not necessary
2021-08-06 10:08:26 -07:00
Michelle Linington
aa25a1e274 Extend error messaging to beta users 2021-08-06 10:08:26 -07:00
Michelle Linington
70bea7d4b4 Lint 2021-07-29 19:01:13 -07:00
Michelle Linington
8364e761a6 Add notification for reporting errors to internal users 2021-07-29 19:01:13 -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
Michelle Linington
2eb60643b7 Sender key decryption failure handling
Most of the work for message resend requests. Includes some rudimentary
failure UI.
2021-07-21 22:58:51 -07:00
Matthew Chen
79d5046f29 Announcement-only groups. 2021-07-13 11:42:52 -03:00
Matthew Chen
3f07db9e37 Clean up async completions. 2021-07-07 09:49:44 -03:00
Nora Trapp
de61926ec8 Make sure we wait to call the contentHandler until *after* we clear notifications 2021-07-02 16:38:13 -07:00
Nora Trapp
9584ed9495 Batch notification cancelation 2021-07-01 12:18:27 -07:00
Nora Trapp
1bac32f750 Don't keep notifications in memory 2021-07-01 12:18:27 -07:00