Riley Testut
a105c7f9b4
Revises “check for updates” error title
2023-01-24 15:05:12 -06:00
Riley Testut
444e50eae8
Verifies Sources don’t contain duplicate app versions
2023-01-24 15:05:07 -06:00
Riley Testut
f0a022c9ec
Replaces StoreApp.setVersions() preconditionFailure with runtime error
...
It’s more common than expected for apps to not have any app versions, so better to fail gracefully than crash.
2023-01-24 15:05:02 -06:00
Riley Testut
ca9c0596f8
Moves @Managed to AltStoreCore
...
# Conflicts:
# AltStore.xcodeproj/project.pbxproj
2023-01-24 15:04:53 -06:00
Riley Testut
4278e7db2b
[AltServer] Fixes installation alerts not using device name
...
As of iOS 16, iOS apps can no longer read the device name. This means devices registered with AltStore (not AltServer) have generic names, so we should prefer using the name of provided ALTDevice rather than the name of device returned from server to ensure it’s correct.
2023-01-24 15:03:09 -06:00
Riley Testut
d5f4f4c625
[AltServer] Removes explicit AltStore download URL
2023-01-24 15:03:09 -06:00
Riley Testut
96dec5329d
Verifies Sources don’t contain duplicate bundle IDs
...
AltStore assumes all apps have unique bundle IDs per source. Weird bugs can occur when this is not the case (such as merging multiple store listings into one), so we now verify upfront whether source contains duplicate bundle IDs before saving.
2023-01-24 15:03:09 -06:00
Riley Testut
579885acd6
[AltServer] Downloads latest supported AltStore version for device OS version
...
Asks user to install latest compatible version instead if latest AltStore version does not support their device’s OS version.
2023-01-24 15:03:09 -06:00
Riley Testut
61bcb31709
Fixes crash due to accessing AppManager.installationProgress/refreshProgress concurrently
2023-01-24 15:03:09 -06:00
Riley Testut
40af2fe313
Fixes delay updating UI after cancelling installing app
2023-01-24 15:03:09 -06:00
Riley Testut
dbd71050ac
[Shared] Adds OperatingSystemVersion+Comparable to AltServer target
2023-01-24 15:03:09 -06:00
Riley Testut
2ec38aa579
Includes the invalid name in error message for registering App ID with invalid characters
2023-01-24 15:03:09 -06:00
Riley Testut
cf84a23dc7
Adds comment to ErrorLogViewController
2023-01-24 15:03:09 -06:00
Riley Testut
16a7dea55b
Fixes missing app icon for update errors in Error Log
2023-01-24 15:03:09 -06:00
Riley Testut
60b7276ac4
Supports updating apps from AppViewController
...
Unlike MyAppsViewController, AppViewController will attempt to update to the latest available version, rather than the latest supported version. If the latest version is not supported, it will fall back to asking user to install last supported version.
2023-01-24 15:03:09 -06:00
Riley Testut
1444afa2b5
Fixes updating apps to latest version instead of latest supported version from My Apps tab
2023-01-24 15:03:09 -06:00
Riley Testut
bc6b0cb722
Fixes potentially incorrect versions order when merging StoreApp
2023-01-24 15:03:09 -06:00
Riley Testut
bd84f65fb4
Fixes incorrect update notifications for apps with unsupported versions
2023-01-24 15:03:09 -06:00
Riley Testut
657dcbe3c0
Fixes ErrorLogViewController “UITextView is switching to TextKit 1 compatibility mode” runtime warning
2023-01-24 15:03:09 -06:00
Riley Testut
152c12b380
Fixes ErrorLogViewController “Unable to simultaneously satisfy constraints” runtime warning
2023-01-24 15:03:09 -06:00
Riley Testut
1993ece7f0
Adds pull-to-refresh to check for updates
2023-01-24 15:03:09 -06:00
Riley Testut
e8b0fa3c6d
Allows viewing unsupported updates from My Apps tab
...
When unsupported updates are available, the “No Updates Available” text becomes “Unsupported Updates Available”, and a button is revealed that will list all unsupported updates in an alert when tapped.
2023-01-24 15:03:09 -06:00
Riley Testut
1cfd83bbb7
Hides app updates that don’t support device’s OS version
2023-01-24 15:03:09 -06:00
Riley Testut
3574ed2ed9
Removes unnecessary StoreApp convenience properties
2023-01-24 15:03:09 -06:00
Riley Testut
a03a5ac76c
Improves error message when file does not exist at AppVersion.downloadURL
2023-01-24 15:03:09 -06:00
Riley Testut
5b20ce13bc
Verifies min/max OS version before downloading app + asks user to download older app version if necessary
2023-01-24 15:03:09 -06:00
Riley Testut
4fc4d6ba39
Conforms AppVersion to AppProtocol
2023-01-24 15:03:09 -06:00
Riley Testut
ac8fb8851f
Supports optional @Managed properties
2023-01-24 15:03:09 -06:00
Riley Testut
b181b2e7a4
Supports non-NSManagedObjects for @Managed properties
...
This allows us to use @Managed with properties that may or may not be NSManagedObjects at runtime (e.g. protocols). If they are, Managed will keep strong reference to context like before.
2023-01-24 15:03:09 -06:00
Riley Testut
701065b073
Parses AppVersion.minOSVersion/maxOSVersion from source JSON
...
Uses them to implement AppVersion.isSupported.
2023-01-24 15:01:56 -06:00
Riley Testut
8609209821
Conforms OperatingSystemVersion to Comparable
...
# Conflicts:
# AltStore.xcodeproj/project.pbxproj
2023-01-24 15:01:42 -06:00
Riley Testut
7ea1ad5af0
Replaces StoreApp.latestVersion with latestSupportedVersion + latestAvailableVersion
...
We now store the latest supported version as a relationship on StoreApp, rather than the latest available version. This allows us to reference the latest supported version in predicates and sort descriptors.
However, we kept the underlying Core Data property name the same to avoid extra migration.
2023-01-24 15:00:31 -06:00
Riley Testut
324ec7907a
[AltServer] Adds “Search FAQ” button to ErrorDetailsViewController
2023-01-24 15:00:26 -06:00
Riley Testut
cf9d577050
[Apps] Updates Delta beta to 1.4b4
2023-01-24 14:39:42 -06:00
Riley Testut
9f91db9642
Skips logging OperationError.cancelled errors
2023-01-24 14:23:42 -06:00
Riley Testut
f445467598
[Apps] Updates AltStore beta to 1.6b3
2023-01-24 14:23:42 -06:00
Riley Testut
266ac1ee50
Limits quitting other AltStore processes to database migrations only
...
Previously, AltStore would quit all other processes when first accessing the database no matter what. However, this unintentionally caused the widget extension to quit the main app after refreshing apps.
Now, we only quit other AltStore processes if a database migration is required. This still prevents multiple AltStores with different database schemas from accessing database concurrently, but also allows extensions to access database without quitting main app.
2023-01-24 14:23:42 -06:00
Riley Testut
a4078159ac
[AltServer] Updates app version to 1.6b3
2023-01-24 14:23:42 -06:00
Riley Testut
020fb74a1c
Updates app version to 1.6b3
2023-01-24 14:23:42 -06:00
Riley Testut
103fe10123
Fixes incorrect ToastView layout
2023-01-24 14:23:42 -06:00
Riley Testut
7d48f5a7f3
Fixes logging non-ALTServerErrors errors as ALTServerError.underlyingError
2023-01-24 14:23:42 -06:00
Riley Testut
1ce7681a31
Fixes typo when printing MyAppsViewController.deactivate() error
2023-01-24 14:23:42 -06:00
Riley Testut
d8a7f8cb54
Fixes incorrect AuthenticationViewController ToastView color
2023-01-24 14:23:42 -06:00
Riley Testut
ce68ea74ad
Fixes Error Log not showing UIAlertController on iOS 13 or earlier
2023-01-24 14:23:42 -06:00
Riley Testut
fede5b29cb
Fixes Error Log showing UIAlertController on iOS 14 or later
...
A context menu should appear instead on iOS 14 or later.
2023-01-24 14:23:42 -06:00
Riley Testut
4ef94d22e4
Fixes incorrect “Search FAQ” URL in Error Log
2023-01-24 14:23:42 -06:00
Riley Testut
41db3e42ce
Fixes Error Log context menu appearing while scrolling table view
2023-01-24 14:23:42 -06:00
Riley Testut
915dd83015
Fixes Error Log context menu covering cell content
2023-01-24 14:23:42 -06:00
Riley Testut
42d433a11d
Opens Error Log upon tapping ToastView showing logged error
2023-01-24 14:23:42 -06:00
Riley Testut
17f28439fe
Includes “Enable JIT” errors in Error Log
2023-01-24 14:07:30 -06:00