Commit Graph

198 Commits

Author SHA1 Message Date
Magesh K
6bcf82bf60 [cleanup]: Added TODOs in the comments 2024-12-26 21:15:29 +05:30
Magesh K
ebf148dfb9 [cleanup]: renamed identifiers from io.altstore.xxxx to io.sidestore.xxxx 2024-12-26 21:15:29 +05:30
Magesh K
0fb24f724e [cleanup]: removed unused import Roxas 2024-12-26 21:15:29 +05:30
Magesh K
904c23fd95 [altsign]: commented out code which requires release from altsign-marketplace branch 2024-12-26 21:15:29 +05:30
Magesh K
2f27328f54 clean-checkpoint-2-restore-missing 2024-12-26 21:15:29 +05:30
Magesh K
d43d1b9a9d clean-checkpoint-1 2024-12-26 21:15:29 +05:30
Riley Testut
ba3c4b528b [AltStoreCore] Migrates Core Data model from v16 to v17 2024-12-26 21:15:29 +05:30
Riley Testut
f29f466833 Throws error if marketplace app is missing buildVersion 2024-12-26 21:15:29 +05:30
Riley Testut
a9d55f0c91 Fixes “transformable properties not using secure transformer” runtime warnings 2024-12-26 21:15:29 +05:30
Riley Testut
d3ded82f16 Throws error when adding marketplace source to non-marketplace AltStore (and vice versa) 2024-12-26 21:15:29 +05:30
Riley Testut
b533ebcea0 Supports “custom” pledge amounts for Patreon apps 2024-12-26 21:15:29 +05:30
Riley Testut
6c02e51aba Uses alternate app icon for AltStore in My Apps, if one is chosen 2024-12-26 21:15:29 +05:30
Riley Testut
ff629ff74a [AltStoreCore] Migrates Core Data model from v15 to v16 2024-12-26 21:15:29 +05:30
Riley Testut
d6b27ac72b [AltStoreCore] Makes PledgeTier.name optional to match Patreon API 2024-12-26 21:15:29 +05:30
Riley Testut
c88e1a586d [AltStoreCore] Includes more context when logging Patreon account errors
Includes full decoding path if possible.
2024-12-26 21:15:29 +05:30
Riley Testut
a358602f05 [AltStoreCore] Fixes parsing Patreon responses containing tiers with null titles 2024-12-26 21:15:29 +05:30
Riley Testut
d7da6a09b4 Revert "Fixes always showing non-featured apps last in FeaturedViewController"
This reverts commit f76e3a12b6.

We’re not sure we want to commit to this behavior, so reverting for now.
2024-12-26 21:15:29 +05:30
Riley Testut
c9c5ce69f5 [AltStoreCore] Migrates Core Data model from v14 to v15 2024-12-26 21:15:29 +05:30
Riley Testut
a197a92280 Fixes always showing non-featured apps last in FeaturedViewController 2024-12-26 21:15:29 +05:30
Riley Testut
8ef0a17cb8 Displays detailed error log in-app with Quick Look 2024-12-26 21:15:29 +05:30
Riley Testut
c69949d338 [AltStoreCore] Fixes signing-in to Patreon with Google account 2024-12-26 21:15:29 +05:30
Riley Testut
e2a79e6cbd 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.
2024-12-26 21:15:29 +05:30
Riley Testut
1d8b42401f 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
2024-12-26 21:15:29 +05:30
Riley Testut
5e16c4b3fb [AltStoreCore] Finalizes StoreCategory icons, colors, and JSON values 2024-12-26 21:15:29 +05:30
Riley Testut
808c197117 Fixes showing “Update” for Patreon apps with inactive pledges 2024-12-26 21:15:29 +05:30
Riley Testut
522594b5d1 [AltStoreCore] Adds Date.shortDateFormatter 2024-12-26 21:15:29 +05:30
Riley Testut
04c0b07c54 Randomizes featured source + app order at app launch 2024-12-26 21:15:29 +05:30
Riley Testut
86ea72db9e Supports filtering apps in BrowseViewController by category 2024-12-26 21:15:29 +05:30
Riley Testut
027435edce [AltStoreCore] Adds StoreApp.category + StoreCategory enum 2024-12-26 21:15:29 +05:30
Riley Testut
735fed4993 Allows changing BrowseViewController sort order 2024-12-26 21:15:29 +05:30
Riley Testut
3f56e84563 Changes NewsCollectionViewCell image aspect ratio to 3:2
Also updates fonts to use dynamic text styles.
2024-12-26 21:15:29 +05:30
Riley Testut
b5b645503e Supports updating apps from (almost) all AppBannerViews
Previously, you could only update apps from MyAppsViewController and AppViewController.
2024-12-26 21:15:29 +05:30
Riley Testut
60c33bb61e Fixes AltStore still being refreshing even after pledge expires 2024-12-26 21:15:29 +05:30
Riley Testut
b13d13eac6 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).
2024-12-26 21:15:29 +05:30
Riley Testut
fde9d41aa2 Limits installed Patreon apps that no longer have active pledge
Patreon apps with inactive pledges still support these actions:
* Backed up
* Deactivated
* Export backup
2024-12-26 21:15:29 +05:30
Riley Testut
919b38b37e Switches from StoreApp.isBeta to isPledged to determine whether app is visible
If StoreApp.isHiddenWithoutPledge == false (default), we’ll still show the app.
2024-12-26 21:15:29 +05:30
Riley Testut
9dc15389fd [AltStoreCore] Renames PatreonAccount.isPatron to isAltStorePatron 2024-12-26 21:15:29 +05:30
Riley Testut
f80489adf5 Updates apps’ pledge status upon (de-)authenticating with Patreon
No longer deactivates apps whenever pledge expires.
2024-12-26 21:15:29 +05:30
Riley Testut
9c45d27184 [AltStoreCore] Caches Patreon session cookies from in-app browser
Allows us to download apps from locked Patreon posts.
2024-12-26 21:15:29 +05:30
Riley Testut
97025b3730 [AltStoreCore] Adds AppProtocol.storeApp
Simplifies retrieving the associated StoreApp for an app.
2024-12-26 21:15:29 +05:30
Riley Testut
54d9cff53a Verifies StoreApp.isPledged status when updating source 2024-12-26 21:15:29 +05:30
Riley Testut
54909ca7e7 [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.
2024-12-26 21:15:29 +05:30
Riley Testut
8f6d8d5450 [AltStoreCore] Refactors PatreonAPI to reduce duplicate logic 2024-12-26 21:15:29 +05:30
Riley Testut
4ba44d8722 [AltStoreCore] Updates StoreApp to support Patreon-exclusive apps 2024-12-26 21:15:29 +05:30
Riley Testut
f96bcb7c71 [AltStoreCore] Generalizes Source.sourceID(from:) logic into URL.normalized()
Allows comparing URLs that may have slight (but irrelevant) differences (e.g. trailing slashes).
2024-12-26 21:15:29 +05:30
Riley Testut
561b59f63c [AltStoreCore] Migrates Core Data model from v13 to v14 2024-12-26 21:15:29 +05:30
Riley Testut
d21c746920 Replaces BrowseCollectionViewCell with AppCardCollectionViewCell
* Handles dynamic screenshot sizes
* Allows swiping through screenshots
* Supports iPhone + iPad screenshots
2024-12-26 21:15:29 +05:30
Riley Testut
a790bbf691 Supports both iPhone + iPad screenshots
Prefers showing screenshots for current device, but falls back to all screenshots if there are no relevant ones.
2024-12-26 21:15:29 +05:30
Riley Testut
422cde9706 Accurately displays dynamically-sized screenshots in AppViewController 2024-12-26 21:15:29 +05:30
Riley Testut
ee7d7343a9 [AltStoreCore] Adds AppScreenshot to support dynamically-sized screenshots
Preserves StoreApp.imageURL field in database model for backwards compatibility.
2024-12-26 21:15:29 +05:30