passepartout-apple/Library/Sources
Davide 0a1886fe31
Handle all connection attempts in AppCoordinator (#968)
Let the AppCoordinator take care of the connection requirements via
modals:

- onInteractiveLogin() - now presented on AppError
- onProviderEntityRequired()
- onPurchaseRequired()
- Any other connection error

Subviews must not use tunnel.connect(), rather they route connection
requests via the ConnectionFlow callbacks. In particular, migrate to the
AppCoordinator the connection logic from:

- TunnelToggleButton.perform()
- ProviderEntitySelector.onSelect()

onInteractiveLogin() and onPurchaseRequired() are now handled
internally, while onProviderEntityRequired() is kept public because it's
how subviews may present the entity selector.

Extras:

- Avoid modals overlap with a 500ms delay
- Shrink interactive login size on macOS
2024-12-01 22:34:41 +01:00
..
AppData Move app library to the root (#962) 2024-11-28 17:45:18 +01:00
AppDataProfiles Move app library to the root (#962) 2024-11-28 17:45:18 +01:00
AppDataProviders Add guidance for OpenVPN provider credentials (#966) 2024-11-29 15:25:22 +01:00
AppUI Move app library to the root (#962) 2024-11-28 17:45:18 +01:00
AppUIMain Handle all connection attempts in AppCoordinator (#968) 2024-12-01 22:34:41 +01:00
AppUIMainWrapper Move app library to the root (#962) 2024-11-28 17:45:18 +01:00
AppUITV Handle all connection attempts in AppCoordinator (#968) 2024-12-01 22:34:41 +01:00
AppUITVWrapper Move app library to the root (#962) 2024-11-28 17:45:18 +01:00
CommonAPI Add guidance for OpenVPN provider credentials (#966) 2024-11-29 15:25:22 +01:00
CommonIAP Move app library to the root (#962) 2024-11-28 17:45:18 +01:00
CommonLibrary Handle all connection attempts in AppCoordinator (#968) 2024-12-01 22:34:41 +01:00
CommonUtils Always use setLater for paywall 2024-11-29 00:13:00 +01:00
LegacyV2 Move app library to the root (#962) 2024-11-28 17:45:18 +01:00
PassepartoutImplementations Move app library to the root (#962) 2024-11-28 17:45:18 +01:00
UILibrary Handle all connection attempts in AppCoordinator (#968) 2024-12-01 22:34:41 +01:00
UITesting Move app library to the root (#962) 2024-11-28 17:45:18 +01:00