Commit Graph

985 Commits

Author SHA1 Message Date
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
aa138b9461 [AltStoreCore] Flattens optional values when @Managed/@AsyncManaged.wrappedValue is also optional 2023-05-11 18:56:10 -05:00
Riley Testut
731d382af8 [AltStoreCore] Adds Managed.perform() to match AsyncManaged 2023-05-11 15:05:22 -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
3d712af6c5 [Shared] Adds @UserInfoValue property wrapper for ALTLocalizedErrors
ALTLocalizedErrors now automatically include all properties annotated with @UserInfoValue in userInfo when bridged to NSError.
2023-05-11 14:29:45 -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
96f5e92dc4 Fixes internal location of OperatingSystemVersion+Comparable in Xcode project 2023-04-04 18:02:32 -05:00
Riley Testut
bd5c942c43 [AltStoreCore] Migrates Core Data model from v11 to v12 2023-04-04 17:59:52 -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
1a1d301642 [AltStoreCore] Replaces remaining Bundle.appGroups.first with Bundle.altstoreAppGroup
Ensures we can still find the correct AltStore app group even if it isn’t the first one listed in the Info.plist.
2023-04-04 17:50:48 -05:00
Riley Testut
9a5ed50d25 [AltStoreCore] Fixes migration error on launch if AltStore app group does not exist.
Allows falling back to using regular app sandbox instead of app group.
2023-04-04 17:50:32 -05:00
Riley Testut
3e3d9a45ed [AltStoreCore] Fixes incorrectly merging app versions for same app from different sources 2023-04-04 17:50:06 -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
b2ff0065a3 [AltStoreCore] Adds async wrappers for presenting UIAlertControllers 2023-04-04 16:49:12 -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
8700694fb8 [AltStoreCore] Adds Source.isAdded
Convenience property to determine whether a source has been added to the user’s AltStore.
2023-04-04 14:21:13 -05:00
Riley Testut
6be78cd77f [AltStoreCore] Adds @AsyncManaged property wrapper
Same as @Managed, except it supports using Swift Concurrency to fetch values from its managedObject’s managedObjectContext.
2023-04-04 14:21:12 -05:00
Riley Testut
86d2db189f [AltStoreCore] Adds NSManagedObjectContext.performAsync() to wrap iOS 15+ async perform()
Allows us to use Swift Concurrency with Core Data pre-iOS 15.
2023-04-04 14:21:00 -05:00
Riley Testut
1a8096300f [AltStoreCore] Fixes incorrect Source.featuredApps relationship post-merging 2023-04-04 14:20:24 -05:00
Riley Testut
d4b6d32b79 Fixes CollapsingTextView “TextKit 1 compatibility mode” runtime warning 2023-04-04 14:19:49 -05:00
Riley Testut
6edd92da78 [AltStoreCore] Supports additional source JSON values for detailed “About” page 2023-04-04 14:19:49 -05:00