Commit Graph

290 Commits

Author SHA1 Message Date
Stern
966ea46262 UI: Change more UI/UX reflect SideStore branding.
Signed-off-by: Stern <stern@sidestore.io>
2024-12-26 21:15:29 +05:30
Magesh K
1e29e3e713 [AltBackup+Schemes]: Fixes for URL schemes throughout both AltBackup and SideStore apps 2024-12-26 21:15:29 +05:30
Magesh K
b7b9e56366 [diagnostics]: added logging for all operation types and their invocations 2024-12-26 21:15:29 +05:30
Magesh K
3d45c136ea [op-download]: Fixed a bug where downloaded temp file was deleted before it was used 2024-12-26 21:15:29 +05:30
Magesh K
f38b74cdb7 [error-handling]: Improved Error handling for all OperationTypes in AppManager 2024-12-26 21:15:29 +05:30
Magesh K
6bcf82bf60 [cleanup]: Added TODOs in the comments 2024-12-26 21:15:29 +05:30
Magesh K
9e600b76a7 [cleanup]: remove unused code and renamed AltStore to SideStore in sources section 2024-12-26 21:15:29 +05:30
Magesh K
3aa510d30a [cleanup]: removed unused code which was replaced by UI input text field in sources tab 2024-12-26 21:15:29 +05:30
Magesh K
cff1d83c6c [trusted-sources]: Fix: updated trustedsources.json to match that of altstore 2.0 format 2024-12-26 21:15:29 +05:30
Magesh K
20ac9edaeb [trusted-sources]: restore back trusted source fetch URL to sidestore 2024-12-26 21:15:29 +05:30
Magesh K
904c23fd95 [altsign]: commented out code which requires release from altsign-marketplace branch 2024-12-26 21:15:29 +05:30
Magesh K
2f27328f54 clean-checkpoint-2-restore-missing 2024-12-26 21:15:29 +05:30
Magesh K
d43d1b9a9d clean-checkpoint-1 2024-12-26 21:15:29 +05:30
Riley Testut
d13972bbaf Ignores recommended sources permission errors for RELEASE builds 2024-12-26 21:15:29 +05:30
Riley Testut
24ee1c786a Removes ability to bypass permission errors for non-recommended sources 2024-12-26 21:15:29 +05:30
Riley Testut
2602f6f8b5 Fixes missing last Coding Path value for DecodingError.keyNotFound 2024-12-26 21:15:29 +05:30
Riley Testut
3cfa3f46a3 Improves maketplace source error messages 2024-12-26 21:15:29 +05:30
Riley Testut
d3ded82f16 Throws error when adding marketplace source to non-marketplace AltStore (and vice versa) 2024-12-26 21:15:29 +05:30
Riley Testut
b533ebcea0 Supports “custom” pledge amounts for Patreon apps 2024-12-26 21:15:29 +05:30
Riley Testut
609cf69715 Hides source detail screens after adding/removing source
Fixes various issues due to saving/deleting source while viewing source details.
2024-12-26 21:15:29 +05:30
Riley Testut
812a4f2b1f Changes “WiFi” spelling to “Wi-Fi” 2024-12-26 21:15:29 +05:30
Riley Testut
4ca4e7c235 Supports JSON5 for sources 2024-12-26 21:15:29 +05:30
Riley Testut
c88e1a586d [AltStoreCore] Includes more context when logging Patreon account errors
Includes full decoding path if possible.
2024-12-26 21:15:29 +05:30
Riley Testut
a70073d4ed Supports not including get-task-allow entitlement in source JSON if value is false 2024-12-26 21:15:29 +05:30
Riley Testut
2721f0ac17 Fixes using incorrect Logger in VerifyAppPledgeOperation 2024-12-26 21:15:29 +05:30
Riley Testut
a2e5a244e8 Automatically dismisses web view if user completes Patreon checkout flow 2024-12-26 21:15:29 +05:30
Riley Testut
3b5809ee18 Adds comments explaining not to rethrow errors from VerifyAppPledgeOperation 2024-12-26 21:15:29 +05:30
Riley Testut
e2a79e6cbd Supports joining Patreon via web view + downloading app in single flow
Asks user to connect Patreon account if they are signed-in inside WebViewController but not in AltStore settings.
2024-12-26 21:15:29 +05:30
Riley Testut
d56800a908 Asks user to review permissions when installing/updating apps
When installing, all entitlements will be shown. When updating, only _added_ entitlements will be shown.
2024-12-26 21:15:29 +05:30
Riley Testut
19207f9cf1 Clears image cache with “Clear Cache…” option in Settings
Also increases image cache size to 512MB.
2024-12-26 21:15:29 +05:30
Riley Testut
c194ba0afe Downloads latest _available_ version when updating from AppViewController
Asks user to fall back to latest supported verson if version is not compatible with device’s iOS version.
2024-12-26 21:15:29 +05:30
Riley Testut
2fed241d8f Fixes showing Patreon page when installing non-Patreon apps 2024-12-26 21:15:29 +05:30
Riley Testut
b13d13eac6 Supports remotely disabling workaround for downloading Patreon attachments
In case our workaround for downloading Patreon post attachments breaks, we can remotely disable it and force AltStore to use its fallback instead (taking user to post directly).
2024-12-26 21:15:29 +05:30
Riley Testut
83b3f46906 Supports downloading apps from locked Patreon posts
Uses cached Patreon session cookies to access post attachments despite no official API support.
2024-12-26 21:15:29 +05:30
Riley Testut
97025b3730 [AltStoreCore] Adds AppProtocol.storeApp
Simplifies retrieving the associated StoreApp for an app.
2024-12-26 21:15:29 +05:30
Riley Testut
54d9cff53a Verifies StoreApp.isPledged status when updating source 2024-12-26 21:15:29 +05:30
Riley Testut
a790bbf691 Supports both iPhone + iPad screenshots
Prefers showing screenshots for current device, but falls back to all screenshots if there are no relevant ones.
2024-12-26 21:15:29 +05:30
Riley Testut
357103944d [Shared] Includes CodingPath in Source errors’ debug description (if available) 2024-12-26 21:15:29 +05:30
Riley Testut
00bcdec0dc Revises appPermissions JSON format
• Split into `entitlements` and `privacy` sections
• `entitlements` is an array of entitlement keys
• `privacy` is a dictionary mapping UsageDescription keys to their descriptions
2024-12-26 21:15:29 +05:30
Riley Testut
5f93ee387f Adds AddSourceViewController to add sources by URL or from list of recommended sources 2024-12-26 21:15:29 +05:30
Riley Testut
79c7e994e8 [AltStoreCore] Adds Source.isRecommended
Also replaces legacy “Trusted Sources” references with “Recommended Sources”
2024-12-26 21:15:29 +05:30
Riley Testut
99df4a1a01 Logs misc. events with OSLog
* Discovering AltServers
* Clearing app cache
* Updating Friend Zone Patrons
2024-12-26 21:15:29 +05:30
Riley Testut
3e5e03c4d3 Logs Fugu14-related events with OSLog 2024-12-26 21:15:29 +05:30
Riley Testut
fed587954d Logs sideloading-related events with OSLog 2024-12-26 21:15:29 +05:30
Riley Testut
834a8a6506 Fixes not showing “AltServer Not Found” error when refreshing via widget 2024-12-26 21:15:29 +05:30
Riley Testut
392affe027 Converts legacy RefreshAllIntent into App Shortcut (iOS 17+) 2024-12-26 21:15:29 +05:30
Riley Testut
92d0f1a3c0 Fixes race condition causing duplicate background refresh notifications (or none) 2024-12-26 21:15:29 +05:30
Riley Testut
7cbb2da71d 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.
2024-12-26 21:15:29 +05:30
Riley Testut
72f4bd3657 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.
2024-12-26 21:15:29 +05:30
Riley Testut
008e740606 Fixes incorrectly handling misc. CancellationErrors 2024-12-26 21:15:29 +05:30