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
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
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
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
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
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
d2c66d4f3b
[AltStoreCore] Migrates Core Data model from v13 to v14
2023-10-19 18:38:30 -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
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
3656bf165b
Merge branch 'sources_tab'
...
# Conflicts:
# AltStore.xcodeproj/project.pbxproj
2023-10-19 14:18:43 -05:00
Riley Testut
1cd7a23db1
[AltStoreCore] Fixes DatabaseManager.startForPreview() deadlock
2023-10-19 14:15:40 -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
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
Riley Testut
17b6235ad9
Limits relative date strings to “Yesterday” and “Today”
...
Any relative date older than “Yesterday” will be displayed as absolute date instead.
2023-10-16 18:27:48 -05:00
Riley Testut
ff46fb38b9
[AltStoreCore] Adds Source.isRecommended
...
Also replaces legacy “Trusted Sources” references with “Recommended Sources”
2023-10-16 18:26:59 -05:00
Riley Testut
24334f88ce
[AltStoreCore] Updates DatabaseManager to support #Preview macro
...
Synchronously loads database via startForPreview(), and also erases database for DEBUG builds.
# Conflicts:
# AltStore.xcodeproj/project.pbxproj
2023-10-16 16:56:51 -05:00
Riley Testut
50515382d0
Accurately displays dynamically-sized screenshots in AppViewController
2023-10-11 18:13:01 -05:00
Riley Testut
03fad2f202
[AltStoreCore] Updates DatabaseManager to support #Preview macro
...
Synchronously loads database via startForPreview(), and also erases database for DEBUG builds.
2023-10-11 18:02:12 -05:00
Riley Testut
26a05d323f
[AltStoreCore] Adds AppScreenshot to support dynamically-sized screenshots
...
Preserves StoreApp.imageURL field in database model for backwards compatibility.
2023-10-11 15:05:27 -05:00
Riley Testut
7c9de40d25
[AltStoreCore] Generates Source.identifier from sourceURL
2023-10-10 17:39:20 -05:00
Riley Testut
990abb3162
[AltStoreCore] Fixes ALTAppPrivacyPermission.synthesizedName for legacy permissions
2023-10-10 15:29:34 -05:00
Riley Testut
d0eb2f2b0a
Revises appPermissions JSON format
...
• Split into `entitlements` and `privacy` sections
• `entitlements` is an array of entitlement keys
• `privacy` is a dictionary mapping UsageDescription keys to their descriptions
2023-10-10 14:47:00 -05:00
Riley Testut
1a42aaeae8
[AltStoreCore] Fixes “any ALTAppPermission cannot conform to 'Hashable’” Xcode 15 compiler error
2023-09-05 13:38:49 -05:00
Riley Testut
21c2f8d5ce
[AltWidget] Adds interactive Active Apps widget to view + refresh all active apps (iOS 17+)
2023-09-05 13:11:21 -05:00
Riley Testut
34105936ea
[Permissions] Adds entries for most known privacy permissions
2023-05-31 15:06:20 -05:00
Riley Testut
7e29258d40
[AltStoreCore] Updates AltStore12ToAltStore13 mapping model for latest model changes
...
* Non-optional AppPermission.usageDescription
* Non-optional AppPermission.appBundleID
* Added AppPermission.sourceID
2023-05-30 15:37:10 -05:00
Riley Testut
d7bbf78b6b
[AltStoreCore] Fixes incorrectly merging permissions for same app from different sources
2023-05-30 15:28:49 -05:00
Riley Testut
3efee63d41
[AltStoreCore] Makes AppPermission.usageDescription non-optional for backwards compatibility
...
Necessary to support switching between AltStore beta and public version.
Wraps private non-optional _usageDescription value in public accessor with optional return type to still treat it as “optional” value.
2023-05-30 14:24:35 -05:00
Riley Testut
13248c05e7
Revises appPermissions format in source JSON
...
Before, appPermissions was one array containing all permissions of different types.
Now, we split entitlement and privacy permissions into separate “entitlements” and “privacy” child arrays.
2023-05-30 12:57:45 -05:00
Riley Testut
48105f068b
Changes ALTAppPermission.isKnown to check localizedName == nil, not localizedDescription
...
Privacy permissions always have nil localizedDescriptions, even if they’re known.
2023-05-30 12:53:26 -05:00
Riley Testut
74468761bf
[Permissions] Fixes incorrect entitlement keys and revises names + descriptions
2023-05-29 20:06:42 -05:00
Riley Testut
0db5e3caab
Adds “Disable Response Caching” debug setting
...
When enabled, AltStore will ignore cached responses for certain requests and will always make a new request to the server. This is useful for development when repeatedly testing changes to remote files.
Limited to UpdateKnownSourcesOperation for now, but will eventually affect fetching sources as well.
2023-05-29 16:50:17 -05:00
Riley Testut
c3721ba209
[AltStoreCore] Migrates Core Data model from v12 to v13
2023-05-29 16:50:17 -05:00
Riley Testut
c1e2a28c67
[AltStoreCore] Adds Permissions.plist with definitions for most known permissions
...
Simpler to update over time as a separate plist rather than in source code.
2023-05-29 16:50:17 -05:00
Riley Testut
89a4f8369b
Refactors app version comparison logic to always include buildVersion
...
Before, whether or not the source included the buildVersion affected the comparison. If present, the buildVersion was used in comparison, if not, only the version itself was used for comparsion.
This meant it was impossible to update from a version with a buildVersion to the same version without one (e.g. going from betas to final releases). Now we _always_ consider the buildVersion in the comparsion, so an earlier entry in versions array without buildVersion can be considered “newer” even if versions match.
2023-05-29 16:50:17 -05:00
Riley Testut
5bc8e609e8
Disables permission verification for DEBUG builds
2023-05-29 16:50:17 -05:00
Riley Testut
4ed40cd544
Removes support for “background mode” permissions
2023-05-29 16:50:17 -05:00