Commit Graph

715 Commits

Author SHA1 Message Date
Riley Testut
a46c4a1063 Displays detailed error log in-app with Quick Look 2023-12-08 18:15:48 -06:00
Riley Testut
623ec97684 Supports joining Patreon via web view + downloading app in single flow
Asks user to connect Patreon account if they are signed-in inside WebViewController but not in AltStore settings.
2023-12-08 15:25:01 -06:00
Riley Testut
39e170d56a Shows source/category icon next to BrowseViewController’s title
Also tints all navigation bar buttons to match source/category tint color.

# Conflicts:
#	AltStore/Browse/BrowseViewController.swift
2023-12-08 15:25:00 -06:00
Riley Testut
160ac21858 Shows “Pledge Expired” for installed Patreon apps without active pledge 2023-12-08 15:25:00 -06:00
Riley Testut
7db14b930c Fixes showing “Update” for Patreon apps with inactive pledges 2023-12-08 15:24:40 -06:00
Riley Testut
fc60f75e1f Fixes squished AppBannerView on AppIDsViewController 2023-12-08 15:24:40 -06:00
Riley Testut
5d0e4c956a Changes MyAppsViewController.noAppsDataSource to non-prefetching data source 2023-12-08 15:24:40 -06:00
Riley Testut
640d2021ef Fixes incorrect initial size for website button on Source detail page 2023-12-08 15:24:40 -06:00
Riley Testut
6a0e30cbb0 [AltStoreCore] Adds Date.shortDateFormatter 2023-12-08 15:24:40 -06:00
Riley Testut
f9fbf59647 Fixes unused variable warning for SourcesViewController preview 2023-12-08 15:15:10 -06:00
Riley Testut
28842bc299 Supports searching all apps from FeaturedViewController 2023-12-08 15:15:10 -06:00
Riley Testut
34aa94fe65 Limits paging app screenshots on FeaturedViewController to bottom of cell
Prioritizes paging featured apps over app screenshots.
2023-12-08 15:15:10 -06:00
Riley Testut
093b565b3b Randomizes featured source + app order at app launch 2023-12-08 15:15:10 -06:00
Riley Testut
3be4863ec2 Completely redesigns Browse tab with FeaturedViewController 2023-12-08 15:15:10 -06:00
Riley Testut
e0944b2670 Moves caption below app + developer name in AppCardCollectionViewCell 2023-12-08 14:04:36 -06:00
Riley Testut
e915c1ac8c Shows app’s source icon on AppBannerView
Excluding contexts where it is redundant (e.g. source detail page).
2023-12-08 14:04:36 -06:00
Riley Testut
16f8675d19 Supports filtering apps in BrowseViewController by category 2023-12-08 14:04:36 -06:00
Riley Testut
f9ab215560 Allows changing BrowseViewController sort order 2023-12-08 14:04:36 -06:00
Riley Testut
38ff3b1d96 Changes BrowseViewController’s search bar placement to inline 2023-12-08 14:04:36 -06:00
Riley Testut
2b2ad176e4 Limits updating sources to app launch and manually via pull-to-refresh 2023-12-08 14:04:36 -06:00
Riley Testut
ff8cd234c1 Asks user to review permissions when installing/updating apps
When installing, all entitlements will be shown. When updating, only _added_ entitlements will be shown.
2023-12-08 14:04:35 -06:00
Riley Testut
a8589526f1 Fixes accidentally saving CancellationErrors to error log 2023-12-07 17:02:13 -06:00
Riley Testut
6a37957121 Clears image cache with “Clear Cache…” option in Settings
Also increases image cache size to 512MB.
2023-12-07 16:58:39 -06:00
Riley Testut
0d9de4814d Adopts automatic status bar tinting on iOS 17 for App + Source detail screens 2023-12-07 16:50:31 -06:00
Riley Testut
0badb0a091 Changes NewsCollectionViewCell image aspect ratio to 3:2
Also updates fonts to use dynamic text styles.
2023-12-07 16:45:42 -06:00
Riley Testut
090ab36ff3 Merge branch 'patreon' 2023-12-01 17:20:24 -06:00
Riley Testut
fe3d8a4edb Hides “UPDATE” option for Patreon apps with expired pledges 2023-12-01 16:50:48 -06:00
Riley Testut
42302786e2 Disables actions for Patreon apps with expired pledges instead of hiding them 2023-12-01 16:50:48 -06:00
Riley Testut
92f3be07f6 Downloads latest _available_ version when updating from AppViewController
Asks user to fall back to latest supported verson if version is not compatible with device’s iOS version.
2023-12-01 16:50:48 -06:00
Riley Testut
2c1ffedfe3 Designates Patreon apps with label + displays price (if provided) 2023-12-01 16:50:48 -06:00
Riley Testut
f9cff51d1c Supports updating apps from (almost) all AppBannerViews
Previously, you could only update apps from MyAppsViewController and AppViewController.
2023-12-01 16:50:48 -06:00
Riley Testut
5732da1f2c Fixes AltStore still being refreshing even after pledge expires 2023-12-01 16:50:48 -06:00
Riley Testut
a20950b693 Fixes showing Patreon page when installing non-Patreon apps 2023-12-01 16:50:48 -06:00
Riley Testut
2377ada199 Supports remotely disabling workaround for downloading Patreon attachments
In case our workaround for downloading Patreon post attachments breaks, we can remotely disable it and force AltStore to use its fallback instead (taking user to post directly).
2023-12-01 16:50:48 -06:00
Riley Testut
bd0220ea35 Supports downloading apps from locked Patreon posts
Uses cached Patreon session cookies to access post attachments despite no official API support.
2023-12-01 16:50:48 -06:00
Riley Testut
d9ebd21541 Limits installed Patreon apps that no longer have active pledge
Patreon apps with inactive pledges still support these actions:
* Backed up
* Deactivated
* Export backup
2023-12-01 16:49:56 -06:00
Riley Testut
2d267a1e99 Switches from StoreApp.isBeta to isPledged to determine whether app is visible
If StoreApp.isHiddenWithoutPledge == false (default), we’ll still show the app.
2023-12-01 16:49:56 -06:00
Riley Testut
28a93b82a9 [AltStoreCore] Renames PatreonAccount.isPatron to isAltStorePatron 2023-12-01 16:49:56 -06:00
Riley Testut
933cec99ce Updates apps’ pledge status upon (de-)authenticating with Patreon
No longer deactivates apps whenever pledge expires.
2023-12-01 16:49:56 -06:00
Riley Testut
5cb283dc95 [AltStoreCore] Caches Patreon session cookies from in-app browser
Allows us to download apps from locked Patreon posts.
2023-12-01 16:49:56 -06:00
Riley Testut
45da6b626f [AltStoreCore] Adds AppProtocol.storeApp
Simplifies retrieving the associated StoreApp for an app.
2023-12-01 16:49:56 -06:00
Riley Testut
a1038d8850 Verifies StoreApp.isPledged status when updating source 2023-12-01 16:49:56 -06:00
Riley Testut
58be8ffb2b Fixes deadlock when getting/setting progress for an app 2023-11-02 15:00:32 -05:00
Riley Testut
80a73e6b40 Updates placeholder text for SourcesViewController 2023-10-23 09:26:37 -05:00
Riley Testut
151d2e5c8c Uses constant 5pt corner radius for non-rounded screenshots
Fixes iPad corners appearing too rounded.
2023-10-20 17:15:27 -05:00
Riley Testut
3120c036c8 Fixes incorrectly centering screenshot thumbnail when there’s only one visible initially 2023-10-20 17:13:28 -05:00
Riley Testut
f11cef5352 Shrinks AppCardCollectionViewCell height if there are no screenshots 2023-10-19 17:18:48 -05:00
Riley Testut
fd11278f03 Fixes AppBannerView sticking to safe area when scrolling 2023-10-19 16:48:58 -05:00
Riley Testut
a6bc4b5d5f Merge branch 'revised_source_json'
# Conflicts:
#	AltStore.xcodeproj/project.pbxproj
#	AltStore/App Detail/AppContentViewController.swift
#	AltStore/App Detail/AppViewController.swift
#	AltStore/Base.lproj/Main.storyboard
#	AltStoreCore/Model/DatabaseManager.swift
2023-10-19 16:43:50 -05:00
Riley Testut
a018803afc Reduces spacing between apps in BrowseViewController 2023-10-19 16:24:56 -05:00