Commit Graph

294 Commits

Author SHA1 Message Date
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
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
0659d83afb Adds AddSourceViewController to add sources by URL or from list of recommended sources 2023-10-18 18:56:40 -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
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
0d070e588e Updates app version to 2.0b4 (12) 2023-09-14 13:57:11 -05:00
Riley Testut
afde3b0bf8 [AltServer] Updates app version to 1.7 (78) 2023-09-14 13:54:52 -05:00
Riley Testut
c94677a70b [AltServer] Updates app version to 1.7rc (77) 2023-09-14 13:54:52 -05:00
Riley Testut
1202a2b7c0 [AltServer] Moves AnisetteDataManager to “Anisette Data” group 2023-09-13 15:36:41 -05:00
Riley Testut
cad9f90691 [AltServer] Fetches anisette data without Mail plug-in
Works on all macOS versions supported by AltServer.
2023-09-13 15:24:29 -05:00
Riley Testut
8a8c65b218 Updates app version to 2.0b3 2023-09-11 12:09:54 -05:00
Riley Testut
1a4b2fd74e [AltServer] Updates app version to 1.7b1 2023-09-08 15:15:02 -05:00
Riley Testut
8935f9ee2d [AltJIT] Changes AltSign-Dynamic to not be embedded
Fixes “Cycle in dependencies” compiler error when archiving AltServer.
2023-09-08 15:14:13 -05:00
Riley Testut
96ad129b00 [AltServer] Fixes exporting AltServer as generic Xcode archive 2023-09-08 14:53:32 -05:00
Riley Testut
61f2347ece [AltJIT] Fixes “AltSign-Dynamic not found” runtime error at launch 2023-09-08 14:19:48 -05:00
Riley Testut
dd761daed6 [AltServer] Supports enabling JIT on devices running iOS 17
AltServer embeds the AltJIT CLI tool in its app bundle and runs it as an admin subprocess.
2023-09-08 14:15:55 -05:00
Riley Testut
1f499e77d3 [AltJIT] Removes unnecessary ALTErrorKeys.h/.m
Was originally added because AltJIT couldn’t link with AltSign, which is not true anymore.
2023-09-08 13:47:07 -05:00
Riley Testut
d846445448 [AltJIT] Adds AltJIT CLI tool to enable JIT on devices running iOS 17+
Commands:

altjit enable [app/pid] --udid [udid]
* Enables JIT for given app/process

altjit mount --udid [udid]
* Mounts personalized developer disk
2023-09-07 18:02:29 -05:00
Riley Testut
ce3b032dc1 [AltWidget] Refactors previous widgets to use AppsTimelineProvider 2023-09-05 13:12:30 -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
c7932bf7b1 [AltWidget] Refactors widgets into separate files 2023-09-05 13:11:21 -05:00
Riley Testut
1940fbd60f [AltWidget] Supports refreshing apps directly from home screen 2023-08-18 19:30:16 -05:00
Riley Testut
ff3fb64277 [AltWidget] Adopts containerBackground(for:) on iOS 17 2023-08-18 19:30:16 -05:00
Riley Testut
7f148b1ce0 Converts legacy RefreshAllIntent into App Shortcut (iOS 17+) 2023-08-18 18:16:05 -05:00
Riley Testut
5a127ee430 Updates build version to 6 2023-05-31 15:07:08 -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
1598166c29 Updates build version to 4 2023-05-30 13:04:47 -05:00
Riley Testut
418e594c1d Updates app version to 2.0b2 2023-05-29 20:14:09 -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
04582c72e8 Redesigns store page permissions UI to show all entitlements and privacy permissions 2023-05-29 16:47:30 -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
6053a075f4 [AltStoreCore] Backports iOS 15+ NSManagedObjectContext.performAndWait<T>()
Simplifies returning values and throwing errors from managed object contexts.
2023-05-16 15:15:43 -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
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
e1b7c9b64e Moves VerificationError to its own source file 2023-05-11 18:57:15 -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
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
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
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
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