Riley Testut
c97a11bbdf
Fixes race condition causing duplicate background refresh notifications (or none)
2023-08-18 18:01:57 -05:00
Riley Testut
7a715e0ce6
Fixes not refreshing AltStore last when refreshing via Shortcut
...
Could potentially be an issue if AltStore needs to resign itself, e.g. with AltDaemon.
2023-08-18 17:01:43 -05:00
Riley Testut
b204f25849
[Apps] Updates Delta beta to 1.5b4
2023-08-16 14:08:56 -05:00
Riley Testut
b21daff145
[Apps] Updates Delta beta to 1.5b3
2023-08-16 14:08:40 -05:00
Riley Testut
8d4a8cebb1
[Apps] Removes “No provisioning profile” news item
2023-06-02 15:41:57 -05:00
Riley Testut
e74c8cadb3
[Apps] Updates AltStore beta to 2.0b2
2023-05-31 15:32:52 -05:00
Riley Testut
af61a5f052
Fixes crash when adding source with the same name as another source
2023-05-30 15:28:49 -05:00
Riley Testut
2512b55c67
[Apps] Adds app permissions
...
AltStore 2.0 requires all app permissions to be listed in source JSON in order to install an app.
2023-05-30 13:53:11 -05:00
Riley Testut
2e9eb0b2f9
Fixes “non-sendable type 'Notification?' cannot cross actor boundary” warning
2023-05-30 13:00:18 -05:00
Riley Testut
17aa1e6538
Fixes “Check for Updates” not updating any sources if one source fails
2023-05-29 20:06:42 -05:00
Riley Testut
4ec6bd3d2b
Revises store page permissions UI (again)
...
* Switches back “Permissions” and “Privacy” section titles
* Shrinks privacy permissions card title font
* Combines privacy + entitlements back into single “Permissions” section
* Removes “Entitlements” section name
2023-05-29 16:50:17 -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
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
de3096d9dc
Revises store page permissions UI
...
* Switches “Permissions” and “Privacy” titles
* Makes “Entitlements” and “Other Entitlements” top-level sections
* Matches parent table view layout margins
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
b2b0fd4c6f
Fixes incorrectly handling misc. CancellationErrors
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
Riley Testut
b662b90ea7
Temporarily disables verifying added permissions
...
We’ll re-enable once we finish the “Review Permissions” screen.
2023-05-29 16:48:43 -05:00
Riley Testut
260246a94d
Includes more detailed info in VerificationError.addedPermission error messages
...
* New version
* Previous version
* Added permissions
2023-05-29 16:48:43 -05:00
Riley Testut
930b098cbf
Fixes erroneously showing “Unsupported Updates Available” message
2023-05-29 16:48:43 -05:00
Riley Testut
a3813ace54
Revises Entitlements UI on app detail page
2023-05-29 16:48:43 -05:00
Riley Testut
04a237843b
Fixes strong reference cycles in Source view controllers
...
* SourcesViewController
* SourcesDetailContentViewController
2023-05-29 16:47:30 -05:00
Riley Testut
c50e351e88
Fixes CollapsingTextView “More” button incorrectly appearing if lineCount == maximumNumberOfLines
2023-05-29 16:47:30 -05:00
Riley Testut
11ade8e54b
Fixes AppViewController scrolling performance for apps with several privacy permissions
2023-05-29 16:47:30 -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
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