Commit Graph

591 Commits

Author SHA1 Message Date
Riley Testut
77bed04d68 Supports bypassing “Undeclared Permissions” error while sources are in beta
Presents error alert that can be explicitly bypassed by user when sideloading apps with undeclared permissions, and also allows user to view all undeclared permissions.
2023-05-22 15:02:26 -05:00
Riley Testut
eb81fee411 Fixes showing “Update” button on app store page when no supported update is available 2023-05-18 17:44:54 -05:00
Riley Testut
eebb777422 Shows AltStore build version in Settings for BETA builds 2023-05-18 16:03:27 -05:00
Riley Testut
9c2336832a Verifies downloaded app’s build version matches source (if provided) 2023-05-18 15:55:26 -05:00
Riley Testut
e97e48ba13 Supports app versions with explicit build versions
AltStore will now consider an update available if either:

* The source’s marketing version doesn’t match installed app’s version
* The source declares a build version AND it doesn’t match the install app’s build version

The installed app matches an app version if both maketing versions match, and the build versions match (if provided by the source).
2023-05-18 15:48:17 -05:00
Riley Testut
5985b4ca71 Shows error alert on app launch if any added sources are blocked 2023-05-16 15:46:37 -05:00
Riley Testut
fe412a07b6 Updates SourceError.blocked recovery suggestion to list installed/blocked apps
If source is already added, the error message will list all installed apps from the source.

If adding source for first time, the error message will mention exactly which apps have been blocked from the source (if provided).
2023-05-16 15:44:30 -05:00
Riley Testut
5ba5bf995e Removes unused verificationHandler property from VerifyAppOperation 2023-05-15 18:40:47 -05:00
Riley Testut
bfb4fac42a Supports blocking third-party sources
Blocked sources cannot be added by new users, or updated for existing users.
2023-05-15 16:27:30 -05:00
Riley Testut
0255bd7b1c Moves SourceError to its own source file 2023-05-15 15:38:54 -05:00
Riley Testut
631109b54b Verifies all privacy + background mode permissions have usage descriptions 2023-05-15 15:29:51 -05:00
Riley Testut
af405d9e85 Verifies app updates have same permissions as previously installed versions 2023-05-15 15:14:13 -05:00
Riley Testut
45ed24bfb5 Verifies downloaded app’s permissions match source
Renames source JSON permissions key to “appPermissions” in order to preserve backwards compatibility, since we’ve changed the schema for permissions.
2023-05-12 18:26:24 -05:00
Riley Testut
729eb89433 Verifies source’s identifier doesn’t match existing sources when adding 2023-05-12 16:23:28 -05:00
Riley Testut
465be339fd Verifies source’s identifier doesn’t change after refreshing 2023-05-11 18:57:54 -05:00
Riley Testut
244a1de2ca Verifies downloaded app’s version matches source 2023-05-11 18:57:54 -05:00
Riley Testut
10ac6507ec Replaces OperationError.cancelled with CancellationError
Keeps `OperationError.cancelled` around for source-compatibility, but now returns CancellationError() instead of OperationError.
2023-05-11 18:57:54 -05:00
Riley Testut
ad41024bcb Verifies downloaded app’s SHA-256 checksum (if specified) 2023-05-11 18:57:53 -05:00
Riley Testut
e1b7c9b64e Moves VerificationError to its own source file 2023-05-11 18:57:15 -05:00
Riley Testut
ab4bc76ec9 Removes Psychic Paper support from VerifyAppOperation 2023-05-11 18:56:10 -05:00
Riley Testut
499b44206e [AltStoreCore] Renames AsyncManaged.get() to perform()
Implies it can be used as alternative to managedObject.managedObjectContext.perform() and not just for retrieving values.
2023-05-11 15:05:22 -05:00
Riley Testut
63868a2ff0 Fixes updating apps with manually-removed app extensions (e.g. uYou+) 2023-05-11 13:55:49 -05:00
Riley Testut
6d68095afe [Apps] Updates Delta to 1.4.1 2023-05-11 13:53:04 -05:00
Riley Testut
fe525a26e8 [Apps] Updates Delta beta to 1.5b2 2023-05-11 13:53:04 -05:00
Riley Testut
d5868707c3 [Apps] Updates AltStore to 1.6.3 2023-04-11 11:56:35 -05:00
Riley Testut
39e54f74a4 [Apps] Updates AltStore beta to 2.0b1 2023-04-06 09:48:13 -05:00
Riley Testut
fe5fc07f9e Updates app version to 2.0b1 🎉 2023-04-04 18:53:18 -05:00
Riley Testut
27a69036ae Merge branch 'source_detail' into develop 2023-04-04 18:15:59 -05:00
Riley Testut
4df04e47cc [Apps] Updates JSON to match AltStore 2.0b1 format 2023-04-04 17:50:49 -05:00
Riley Testut
eefd84b031 [Apps-Alpha] Updates AltStore to 2.0a1 2023-04-04 17:50:49 -05:00
Riley Testut
66b72d3158 [Apps-Alpha] Updates to match AltStore 2.0b1 JSON format 2023-04-04 17:50:49 -05:00
Riley Testut
5a2b98a398 Fixes PillButton not respecting progressTintColor under certain conditions 2023-04-04 17:50:49 -05:00
Riley Testut
aea0977110 Removes unused NavigationBar.backgroundColorView 2023-04-04 17:50:49 -05:00
Riley Testut
428f08f3de Defines explicit error codes for OperationError.Code cases 2023-04-04 17:50:49 -05:00
Riley Testut
0b3765f3c4 Fixes tapping buttons underneath navigation bar on SourceDetailViewController/AppViewController 2023-04-04 17:12:18 -05:00
Riley Testut
d7410b7f60 Dynamically disables interactive back gesture when viewing source header image
Only disables gesture if touches are within headerContainerView to ensure back gesture works as expected majority of the time.
2023-04-04 17:06:58 -05:00
Riley Testut
2cdb9900d4 Updates AppViewController to use UINavigationBarAppearance APIs
Fixes visual bugs when transitioning to/from SourceDetailViewController.
2023-04-04 17:06:07 -05:00
Riley Testut
bd026b95b6 Supports adding/removing source from SourceDetailViewController 2023-04-04 16:55:55 -05:00
Riley Testut
6f2c650352 Opens source’s website in-app upon tapping link in SourceHeaderView 2023-04-04 16:37:31 -05:00
Riley Testut
60641fccce Supports viewing all NewsItems and StoreApps for a source 2023-04-04 16:17:38 -05:00
Riley Testut
5c419aa333 Shows detailed source “About” page when adding 3rd-party sources
Allows users to preview sources before adding them to their AltStore.
2023-04-04 15:44:46 -05:00
Riley Testut
93b18974c1 Enforces 77x31 minimum size for PillButton 2023-04-04 15:44:46 -05:00
Riley Testut
3e70cfc996 Refactors SourcesViewController from Main.storyboard to new Sources.storyboard
Also refactors BannerCollectionViewCell to AppBannerCollectionViewCell to support initializing from code.
2023-04-04 14:37:11 -05:00
Riley Testut
d4b6d32b79 Fixes CollapsingTextView “TextKit 1 compatibility mode” runtime warning 2023-04-04 14:19:49 -05:00
Riley Testut
bed5c70279 Fixes incorrect cell height for some News items
We need to take layoutMargins into account when calculating the height of the prototype cell.
2023-04-04 13:29:48 -05:00
Riley Testut
15af909a3e Fixes error fetching Friend Zone patrons due to unexpected nil name 2023-03-28 14:37:47 -05:00
Riley Testut
6b42e82e3e [Apps] Adds “No Provisioning Profile?” news item
Also removes "Fix for “Core Data” Refresh Error" news item.
2023-03-23 13:35:53 -05:00
Riley Testut
5d9f03114c [Apps] Revises AltStore 1.6.2 release notes
Now starts with “⚠️ You must manually install this update…”
2023-03-23 12:47:33 -05:00
Riley Testut
34610d57bf [Apps] Updates AltStore to 1.6.2 2023-03-22 12:36:44 -05:00
Riley Testut
e751876159 [Apps] Updates Delta beta to 1.5b1 2023-03-22 11:48:09 -05:00