Commit Graph

642 Commits

Author SHA1 Message Date
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
9930f62f2f Uses uniform height for SourceDetailContentViewController News items (iOS 17+) 2023-10-16 19:12:42 -05:00
Riley Testut
1a5ffcdd31 Adjusts illegible Source tint colors for SourceDetailViewController 2023-10-16 19:10:34 -05:00
Riley Testut
d890af0160 Adds AppBannerView.style to switch between app and source styles
`app` banners have rounded rect icons and use a lighter version of tint color as background, while `source` banners have circular icons and use the original tint color as background.
2023-10-16 19:03:04 -05:00
Riley Testut
ff1e221c41 Adds UIColor.adjustedForDisplay() to display illegible tint colors
Adjusts illegible tint colors so that they can be displayed in the UI, e.g. by making them brighter or darker.
2023-10-16 19:03:04 -05:00
Riley Testut
4e104ac674 Adds PillButton.style to switch between pill and custom styles
`pill` style enforces minimum size + content insets, while `custom` doesn’t.
2023-10-16 18:52:39 -05:00
Riley Testut
b43bdede74 Adds AppIconImageView.style to switch between icon and circular styles
`icon` approximates the rounded corners of an app icon, while `circular` makes the icon a circle.
2023-10-16 18:40:36 -05:00
Riley Testut
cdfb55deeb Posts Notification when Source is added or removed 2023-10-16 18:29:59 -05:00
Riley Testut
17b6235ad9 Limits relative date strings to “Yesterday” and “Today”
Any relative date older than “Yesterday” will be displayed as absolute date instead.
2023-10-16 18:27:48 -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
74dc2d4c71 [Apps] Raises AltStore minimum OS version to iOS 15 2023-09-21 13:44:06 -05:00
Riley Testut
7670e884a8 [Apps] Updates Delta to 1.4.2 2023-09-19 12:48:43 -05:00
Riley Testut
9e1e69cab5 [Apps] Updates AltStore to 1.7 2023-09-18 14:11:04 -05:00
Riley Testut
96a0fc5f21 Fixes misplaced Info.plist entries 2023-09-15 15:10:51 -05:00
Riley Testut
9bb763ae10 Updates ALTDeviceID to iPhone 14 Pro 2023-09-15 15:09:54 -05:00
Riley Testut
02c0efc798 [Apps] Updates AltStore beta to 2.0b4 2023-09-15 14:53:42 -05:00
Riley Testut
2cc1659596 Conforms RefreshAllAppsWidgetIntent to ForegroundContinuableIntent 2023-09-13 17:25:49 -05:00
Riley Testut
836f1e3ad1 Returns nothing from RefreshAllAppsWidgetIntent 2023-09-13 17:25:17 -05:00
Riley Testut
603cdf6002 [Apps] Updates AltStore beta to 2.0b3 2023-09-13 15:36:42 -05:00
Riley Testut
9b44e59cec Actually fixes interactive widget animation continuing indefinitely 2023-09-11 12:03:25 -05:00
Riley Testut
56e0747893 Fixes interactive widget animation continuing indefinitely if error is thrown 2023-09-08 17:54:59 -05:00
Riley Testut
d0609b0269 Fixes not showing “AltServer Not Found” error when refreshing via widget 2023-09-08 17:54:59 -05:00
Riley Testut
8a672533cd Reloads widget timelines on app launch 2023-09-08 15:04:03 -05:00
Riley Testut
1ab5f02a1e Fixes ErrorDetailsViewController not displaying text below fold 2023-09-08 13:22:59 -05:00
Riley Testut
1940fbd60f [AltWidget] Supports refreshing apps directly from home screen 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
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