Commit Graph

1210 Commits

Author SHA1 Message Date
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
d59ced9208 [AltStoreCore] Adds Pledge, PledgeReward, and PledgeTier
Allows us to cache pledges for current user, which can be used to determine if user has access to Patreon-only apps.
2023-12-01 16:49:56 -06:00
Riley Testut
7ed2dc8291 [AltStoreCore] Refactors PatreonAPI to reduce duplicate logic 2023-12-01 16:49:56 -06:00
Riley Testut
417837049f [AltStoreCore] Updates StoreApp to support Patreon-exclusive apps 2023-12-01 16:49:56 -06:00
Riley Testut
f84b7a8906 [AltJIT] Updates version to 1.0.1 (2) 2023-11-30 14:10:25 -06:00
Riley Testut
f88715f89d [AltServer] Updates app version to 1.7.1 (81) 2023-11-29 14:06:40 -06:00
Riley Testut
7c33d9579f [AltServer] Supports changing AltJIT timeout via defaults CLI 2023-11-29 14:02:31 -06:00
Riley Testut
4815c30798 [AltJIT] Adds --timeout option to change connection timeout 2023-11-29 13:40:51 -06:00
Riley Testut
a0853eb2c6 [AltJIT] Extends RSD tunnel + debug server timeouts to 90 seconds 2023-11-27 13:54:52 -06:00
Riley Testut
c04d63ba9d [AltStoreCore] Generalizes Source.sourceID(from:) logic into URL.normalized()
Allows comparing URLs that may have slight (but irrelevant) differences (e.g. trailing slashes).
2023-11-15 13:20:50 -06:00
Riley Testut
58be8ffb2b Fixes deadlock when getting/setting progress for an app 2023-11-02 15:00:32 -05:00
Riley Testut
7d7e098ef5 Updates build version to 17 2023-10-23 16:17:42 -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
2c4900925f Updates app version to 2.0b5 (16) 2023-10-19 18:56:19 -05:00
Riley Testut
c3d03dd636 Fixes crash if prefetching completes after view controller is deallocated 2023-10-19 18:51:30 -05:00
Riley Testut
d2c66d4f3b [AltStoreCore] Migrates Core Data model from v13 to v14 2023-10-19 18:38:30 -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
Riley Testut
2822c52f11 Replaces BrowseCollectionViewCell with AppCardCollectionViewCell
* Handles dynamic screenshot sizes
* Allows swiping through screenshots
* Supports iPhone + iPad screenshots
2023-10-19 16:24:56 -05:00
Riley Testut
cd67222237 Supports both iPhone + iPad screenshots
Prefers showing screenshots for current device, but falls back to all screenshots if there are no relevant ones.
2023-10-19 16:24:56 -05:00
Riley Testut
0c14de4474 Improves paging screenshots with different aspect ratios
We now page by the smallest screenshot width to ensure we never overshoot an item.
2023-10-19 16:24:56 -05:00
Riley Testut
20417f39ba Supports viewing full screen app screenshots from AppViewController
[Missed] Uses layout config for PreviewAppScreenshots
2023-10-19 16:24:56 -05:00
Riley Testut
3656bf165b Merge branch 'sources_tab'
# Conflicts:
#	AltStore.xcodeproj/project.pbxproj
2023-10-19 14:18:43 -05:00
Riley Testut
df2a8f2b93 Merge branch 'logging' 2023-10-19 14:16:50 -05:00
Riley Testut
1cd7a23db1 [AltStoreCore] Fixes DatabaseManager.startForPreview() deadlock 2023-10-19 14:15:40 -05:00
Riley Testut
0eac8f885d Fixes “Add/Remove Source” button title not updating after removing source 2023-10-19 14:11:24 -05:00
Riley Testut
8a0d27488e Fixes incorrect Sources tab background color in dark mode 2023-10-19 13:39:15 -05:00
Riley Testut
c6227432e4 [README] Updates minimum project requirements 2023-10-19 12:56:10 -05:00
Riley Testut
deb9cfa230 Fixes misplaced PRODUCT_BUNDLE_IDENTIFIER entry in Xcode project 2023-10-19 12:40:12 -05:00
Riley Testut
3cc991b476 [Apps] Moves source JSON files to separate repo 2023-10-19 12:38:52 -05:00
Riley Testut
d19c17d591 Merge branch 'develop' 2023-10-19 12:18:00 -05:00
Riley Testut
253aff29e9 Fixes misplaced back button 2023-10-18 19:11:11 -05:00
Riley Testut
0659d83afb Adds AddSourceViewController to add sources by URL or from list of recommended sources 2023-10-18 18:56:40 -05:00
Riley Testut
d85905ba61 Updates Browse tab icon 2023-10-18 17:18:03 -05:00
Riley Testut
22d204be6b Supports exporting OSLogs from ErrorLogViewController 2023-10-18 14:28:36 -05:00
Riley Testut
a092c99b84 Logs misc. events with OSLog
* Discovering AltServers
* Clearing app cache
* Updating Friend Zone Patrons
2023-10-18 14:28:36 -05:00
Riley Testut
82d4e4d4d8 Logs AltJIT-related events with OSLog 2023-10-18 14:28:36 -05:00
Riley Testut
bf0a5b9e2d Logs Fugu14-related events with OSLog 2023-10-18 14:28:17 -05:00
Riley Testut
2133b6240d Logs sideloading-related events with OSLog 2023-10-18 14:28:17 -05:00
Riley Testut
5a79eefc70 Fixes “Unable to satisfy constraints” warnings for SourcesViewController 2023-10-17 15:55:51 -05:00
Riley Testut
b8b46f5280 Updates incorrect Main.storyboard frames 2023-10-17 14:50:35 -05:00
Riley Testut
1b56ac708f Refactors SourceViewController into dedicated tab
* Updates UI to use source icons + tint colors
* Adds Edit button + swipe actions
2023-10-17 14:49:13 -05:00