Zorg
ef577fe0c0
Make subview for anonymous system info button
2021-05-15 21:54:06 -07:00
Zorg
7c8defb75e
Create separate subviews for permission prompt
2021-05-15 21:41:19 -07:00
Zorg
f6d8b506ae
Align disclosure button with include anonymous info text
2021-05-15 14:21:17 -07:00
Zorg
3306ccd994
Suppress deprecation warnings for SMJobSubmit functions
2021-05-15 11:58:01 -07:00
Zorg
07aca30e11
Bump deployment target to 10.11
2021-05-15 11:53:08 -07:00
Zorg
be75bb38f6
Add auto layout constraints to update permission prompt
2021-05-14 22:52:20 -07:00
Zorg
debab803c9
Add auto-layout constraints to status window
2021-05-14 22:28:38 -07:00
Zorg
8dc4e78cb2
Remove unused installationPath variable from normalization changes
2021-05-14 22:09:41 -07:00
Zorg
e91ae897e7
Add method to compare two minimum autoupdate versions
2021-05-14 18:28:32 -07:00
Mayur Pawashe
91e71c219c
Merge pull request #1854 from sparkle-project/xpc-sha
...
Validate XPC Service versions
2021-05-10 19:11:57 -07:00
Zorg
f56e923043
Validate XPC Services versions in startUpdater:
2021-05-10 01:02:27 -07:00
Zorg
50bec90279
Set fetch-depth to 0 in GitHub Actions CI
2021-05-10 00:26:57 -07:00
Zorg
1f9d76bc13
Retitle install button to "Install Upgrade" for major updates
2021-05-09 23:16:01 -07:00
Zorg
59fbd37bb1
Re-title skip button when update is a major one
2021-05-09 23:03:05 -07:00
Zorg
f671b82e50
Test against SPUUserUpdateStageInformational
2021-05-09 22:53:58 -07:00
Zorg
1565db3fec
Add secure coding to SPUUserUpdateState
2021-05-09 22:51:50 -07:00
Zorg
25b3d01efa
Rename majorUpdate to majorUpgrade
2021-05-09 22:45:40 -07:00
Zorg
d193f2e28b
Pass majorUpdate information to user driver
...
We unify the user driver method showing the update to take a generic state object now. The current fields of the state object are its current stage, if it's user initiated, and if the update is a major one.
We also remove deprecated code paths that were complex to support and will otherwise generate in compile errors if people adopt the new API.
2021-05-09 22:42:42 -07:00
Zorg
a79f6b2a85
Add documentation to SPUSkippedUpdate
2021-05-09 20:48:32 -07:00
Zorg
0ee12d881d
Add and fix unit tests for skipping updates
2021-05-09 19:53:19 -07:00
Zorg
6d6cc2d052
Add support for skipping major and minor updates separately
2021-05-09 19:30:44 -07:00
Mayur Pawashe
039adc1ef2
Merge pull request #1850 from sparkle-project/better-appcast-selection
...
Better appcast selection
2021-05-03 19:02:20 -07:00
Zorg
62695379d9
Clarify what versions not to filter for
2021-05-02 23:15:01 -07:00
Zorg
f82f9eb878
Fix typo
2021-05-02 23:13:58 -07:00
Zorg
a1aef4eca0
Fix string localization
2021-05-02 23:12:48 -07:00
Zorg
3d2dc8a7f6
Update documentation for -bestValidUpdateInAppcast:forUpdater:
...
This method will not be invoked for appcast with zero items. Clients must pick best item and cannot pick "no items."
2021-05-02 23:09:45 -07:00
Zorg
5a3b71b96a
Add note about not returning a delta update item in delegate
2021-05-02 22:38:27 -07:00
Zorg
3c9508bd2a
Add tests for testing minimum autoupdate version
2021-05-02 22:32:50 -07:00
Zorg
79c1141155
Refactor finding latest appcast item
2021-05-02 21:44:35 -07:00
Zorg
ebb822af43
Merge branch '2.x' into better-appcast-selection
2021-05-02 16:06:45 -07:00
Zorg
c882da7bc7
Update documentation for -bestValidUpdateInAppcast
2021-05-02 16:06:22 -07:00
Zorg
f1be9f72d5
Remove passing includesSkippedUpdates in favor of background flag
2021-05-02 15:59:43 -07:00
Zorg
e7441351d7
Make improvements to best appcast selection
...
* Prefer using the latest update that passes minimumAutoupdateVersion
When an update is not found:
* Find latest appcast item that may fail min/max OS
* Report that user cannot install an update due to unsupported OS
2021-05-02 15:50:03 -07:00
Mayur Pawashe
3cafb688b7
Merge pull request #1849 from sparkle-project/appcast-item-nullability
...
Add nullability annotations to SUAppcastItem
2021-05-02 13:49:27 -07:00
Zorg
d84a79cfc2
Merge branch '2.x' into appcast-item-nullability
2021-05-02 11:29:39 -07:00
Zorg
c33ccd5921
Merge branch '2.x' into appcast-item-nullability
2021-05-02 11:17:42 -07:00
Zorg
6ad996338d
Add nullability annotations to SUAppcastItem
2021-05-02 10:00:56 -07:00
Mayur Pawashe
46f7898d36
Merge pull request #1844 from sparkle-project/download-driver-appcast
...
Re-use download driver for downloading appcast & release notes
2021-05-02 09:03:20 -07:00
Mayur Pawashe
85ac073e6d
Merge pull request #1846 from sparkle-project/enforce-session-in-progress
...
Enforce the updater session is in progress
2021-05-02 09:03:04 -07:00
Mayur Pawashe
7c46e8db3e
Merge pull request #1848 from sparkle-project/skip-installing-update
...
Allow skipping/canceling of an update that is currently installing
2021-05-02 09:02:08 -07:00
Zorg
fbe48e5738
Allow skipping/canceling of an update that is currently installing
2021-05-01 19:53:01 -07:00
Mayur Pawashe
b140c05bad
Merge pull request #1843 from sparkle-project/nsunavailable
...
Add NS_UNAVAILABLE attributes to user driver classes
2021-05-01 17:26:15 -07:00
Mayur Pawashe
c79785aad4
Merge pull request #1845 from sparkle-project/version-dash-separator
...
Port #1504 (dash separators in version strings) to 2.x
2021-05-01 17:25:53 -07:00
Mayur Pawashe
5da8199818
Merge pull request #1847 from sparkle-project/sandbox-errors
...
Log more sandbox errors
2021-05-01 17:25:35 -07:00
Zorg
79a6bb1318
Disable unused debugging options in test app scheme
2021-05-01 14:48:31 -07:00
Zorg
9b8756d824
Add sandbox log if connection to installer fails
2021-05-01 14:46:34 -07:00
Zorg
712753d812
Add log linking to sandboxed steps if app isn't sandboxed at all
2021-05-01 14:36:45 -07:00
Zorg
e8d5c8024c
Log error if developer sandboxes installer launcher service
2021-05-01 14:30:21 -07:00
Zorg
af245bfe62
Enforce the updater session is in progress
...
We should enforce update session is in progress before checking for new updates. I've tested checking for updates regularly, in background, and informational updates.
An update check could have been made while the permission request was in flight, which we don't want to happen.
2021-05-01 11:08:18 -07:00
Zorg
9a12dbf62a
Port #1504 (dash separators in version strings) to 2.x
...
On second thought I realized we can support this without doing any date comparison because the code just picks the first item if two are equal.
2021-05-01 10:48:53 -07:00