Signal-iOS/SignalMessaging/utils
Harry 6556f389c7
Rotate APNS tokens automatically when the NSE fails to receive notifications
* Allow using a transaction for checking APNS token

* Add APNSRotationStore

* add APNSRotationStoreTest

* Rotate APNS tokens in SyncPushTokensJob

* Mark NSE as having processed messages for token rotation

* Check for APNS token rotations after flushing incoming message queue

* pr comments

* Simplify APNS rotation conditions: we mark APNS as working when getting a push in either the NSE or the main app, and rotate if we missed a message since then.

* Mark APNS tokens as working if we ever get a push. Don't rotate known-good tokens.

* Added logging

* add remote flags to control behavior

* pr comments

* fix bad merge

* invert kill switch

* PR nit comments

* Avoid write transactions on the SyncPushTokensJob hot path

* Initial PR feedback, more to come

* Change of strategy: rotate if we have new messages to process on app startup

* PR comments

* use null for calltype column on incoming message rows
2022-12-19 11:10:15 -08:00
..
Avatars Change license to AGPL 2022-10-13 08:25:37 -05:00
AFQueryString.h Change license to AGPL 2022-10-13 08:25:37 -05:00
AFQueryString.m Change license to AGPL 2022-10-13 08:25:37 -05:00
APNSRotationStore.swift Rotate APNS tokens automatically when the NSE fails to receive notifications 2022-12-19 11:10:15 -08:00
AppPreferences.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
CallMessageRelay.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
CommonStrings.swift Group calls: separate new/existing member safety number notifications 2022-11-14 10:01:04 -08:00
DateUtil.h Change license to AGPL 2022-10-13 08:25:37 -05:00
DateUtil.m Change license to AGPL 2022-10-13 08:25:37 -05:00
DateUtil.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
DebugLogger.h Change license to AGPL 2022-10-13 08:25:37 -05:00
DebugLogger.m "qa" → "internal" 2022-12-12 15:54:08 -06:00
Dependencies+SignalMessaging.swift Add all JobQueues to environment, via a wrapper 2022-11-09 14:08:44 -06:00
DeviceSleepManager.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
HapticFeedback.swift Switify some code related to ConversationInputToolbar. 2022-11-07 16:32:59 -08:00
MobileCoinHelperMinimal.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
OWSOrphanDataCleaner.h Add more logging for orphan data cleaner, Swiftify 2022-11-30 15:40:13 -06:00
OWSOrphanDataCleaner.m Add more logging for orphan data cleaner, Swiftify 2022-11-30 15:40:13 -06:00
OWSOrphanDataCleaner.swift Add more logging for orphan data cleaner, Swiftify 2022-11-30 15:40:13 -06:00
OWSPreferences.h Rotate APNS tokens automatically when the NSE fails to receive notifications 2022-12-19 11:10:15 -08:00
OWSPreferences.m Rotate APNS tokens automatically when the NSE fails to receive notifications 2022-12-19 11:10:15 -08:00
OWSScreenLock.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
OWSScrubbingLogFormatter.h Change license to AGPL 2022-10-13 08:25:37 -05:00
OWSScrubbingLogFormatter.m Change license to AGPL 2022-10-13 08:25:37 -05:00
ProximityMonitoringManager.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
RefreshEvent.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
Searcher.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
ThreadUtil.h Change license to AGPL 2022-10-13 08:25:37 -05:00
ThreadUtil.m Add all JobQueues to environment, via a wrapper 2022-11-09 14:08:44 -06:00
ThreadUtil.swift Add all JobQueues to environment, via a wrapper 2022-11-09 14:08:44 -06:00
VoiceMessageModels.swift Change license to AGPL 2022-10-13 08:25:37 -05:00