Commit Graph

7 Commits

Author SHA1 Message Date
Ehren Kret
d4e17730f3 remove import SignalMessaging statements 2024-03-12 03:35:34 -05:00
Max Radermacher
9692c83005
Clean up image quality getters
Co-authored-by: Harry <109690906+harry-signal@users.noreply.github.com>
2023-11-15 18:56:16 -06:00
Max Radermacher
f1fcd9aa38
Asyncify SyncPushTokensJob 2023-09-25 19:32:14 -05:00
Harry
f952d53c2b
Add support for aci based OWSFingerprint 2023-06-27 10:57:13 -07:00
Harry
c912ed67a9
Update rules for SVR2 rollout 2023-06-02 09:52:31 -07:00
Harry
23368e413f
Only mark APNS tokens as , preventing rotation, for up to 60 days 2023-02-28 15:52:21 -08:00
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