Signal-iOS/SignalUI
Max Radermacher 50e0405276
Add ContactDiscoveryManager
RATE LIMITS & IS CRITICAL PRIORITY

Before this change, there was a notion of “critical” discovery tasks
that had their own rate limit, and that rate limit was used for
UUIDBackfillTask. In this change, that logic has been generalized to
consider a separate rate limit for additional request types.

QUEUE PRIORITIES

All of the discovery operations were updated to use `.userInitiated` as
their priority. Before this change, the `UUIDBackfillTask` and message
sending flow used lower priorities. However, both of those should use
higher priorities -- the former blocks receiving messages and the latter
blocks outgoing messages. This change allows the code to be simplified.

TESTS

This removes most of the existing `UUIDBackfillTaskTest` test cases
(they were commented out) and all of the `ContactDiscoveryTaskTest` test
cases (which were for the rate limiter, which has been moved elsewhere).

It introduces a few new tests. These aren’t meant to be exhausive;
instead, they’re meant to hit most of the code in the new classes and a
few specific edge cases that aren’t likely to be hit in normal use.
2022-11-15 13:37:28 -08:00
..
Appearance More updates to chat input bar. 2022-11-14 13:33:37 -08:00
Categories More updates to chat input bar. 2022-11-14 13:33:37 -08:00
Environment Change license to AGPL 2022-10-13 08:25:37 -05:00
Fonts Add new fonts for text stories 2022-03-17 14:30:19 -07:00
Payments Add all JobQueues to environment, via a wrapper 2022-11-09 14:08:44 -06:00
SignalUI.docc Add SignalUI framework target. 2021-10-19 09:39:52 -03:00
UI Remove unused UI utility functions 2022-11-03 07:07:50 -05:00
Utils Add all JobQueues to environment, via a wrapper 2022-11-09 14:08:44 -06:00
ViewControllers Add ContactDiscoveryManager 2022-11-15 13:37:28 -08:00
ViewModels Add all JobQueues to environment, via a wrapper 2022-11-09 14:08:44 -06:00
Views Fix missing animation when sending a message 2022-11-09 14:15:21 -08:00
Wallpapers Change license to AGPL 2022-10-13 08:25:37 -05:00
SignalUI-Prefix.pch Change license to AGPL 2022-10-13 08:25:37 -05:00
SignalUI.h Translate OWSNavigationController to swift 2022-11-03 15:33:02 -07:00