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
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
Zorg
477d0a243f
Fix unit tests
2021-04-30 22:21:19 -07:00
Zorg
ab294d607d
Hide private SUAppcast / SUAppcastItem APIs
2021-04-30 21:40:47 -07:00
Zorg
26c63c1a7b
Remove commented out code
2021-04-30 21:28:56 -07:00
Zorg
6adb0c3017
Use download driver for downloading release notes
2021-04-30 21:10:41 -07:00
Zorg
7cb72238fa
Use download driver for downloading appcast
2021-04-30 20:37:00 -07:00
Zorg
0eb5a706f8
Add NS_UNAVAILABLE attributes to user driver classes
2021-04-30 18:03:22 -07:00
Mayur Pawashe
e179443799
Merge pull request #1836 from jaroslavas/feature/sign-update-file
...
Add private_key parameter in sign_update
2021-04-26 20:11:57 -07:00
Jaroslav Ozevič
c00946ee20
Fixed error message in case sign_update can't find the key in the keychain
2021-04-26 10:07:38 +03:00
Jaroslav Ozevič
12a3da9629
Update sign_update to accept -f <private_key_file> or -s <private_key> parameters
2021-04-26 09:49:50 +03:00
Mayur Pawashe
84cdb0c7e8
Merge pull request #1838 from sparkle-project/fix-delta-updates
...
Fix delta updates edge cases
2021-04-25 21:39:53 -07:00
Mayur Pawashe
478cc98b90
Merge pull request #1839 from sparkle-project/remove-auth-promt-localization
...
Remove localizing authorization prompt
2021-04-25 20:26:56 -07:00
Mayur Pawashe
bf35926cf3
Merge pull request #1840 from sparkle-project/fix-test-app-responder
...
Test App: Allow check for updates menu item to be invoked outside of settings
2021-04-25 20:26:15 -07:00
Kornel
8034404cc7
Merge pull request #1835 from 1024jp/localizeJa
...
Add missing Japanese localization strings
2021-04-26 02:54:37 +01:00
Zorg
411360deb2
Allow check for updates menu item to be invoked outside of settings
...
Previously check for updates was only in responder chain of the settings window controller. Now it's in responder chain of the entire application.
2021-04-25 15:48:20 -07:00
Zorg
d91223a5b6
Remove localizing authorization prompt
...
The message string gets cached and I don't think this is the proper way to localize the auth dialog (which I think has some other mechanism). So I am removing localization here for now until this can possibly be done properly.
2021-04-25 14:46:42 -07:00
Zorg
063974c553
Simplify logic in -preferredUpdateForRegularAppcastItem method
2021-04-25 14:28:33 -07:00
Mayur Pawashe
97f15943e4
Merge pull request #1837 from sparkle-project/cleanup-download
...
Clean up downloads better
2021-04-25 14:22:56 -07:00
Zorg
564f0c316a
Refactor retrieving regular & delta update items
2021-04-25 13:57:09 -07:00
Zorg
50942909f2
Add comment indicating why we don't pass full downloaded path
2021-04-25 12:24:34 -07:00
Zorg
71557fac85
Include secondary non-delta update to resumable updates
2021-04-25 12:15:44 -07:00
Zorg
e51eb32403
Fix bestValidUpdateInAppcast: not handling delta updates correctly
...
All the top level appcast items are non-delta items. The client needs to give us back a non-delta update item. We then fetch the appropriate delta item ourselves.
2021-04-24 21:42:33 -07:00
Zorg
6d0d1a7aa8
Add comment about clearing download after beginning installation
2021-04-24 19:40:54 -07:00
Zorg
c44c164aff
Clean up empty / temporary progress agent tool directory immediately
2021-04-24 19:29:10 -07:00
Zorg
1244612946
Clear download from installer when extraction fails
...
One example of extraction failing is the delta update failing to apply.
2021-04-24 19:11:36 -07:00
Zorg
842d258330
Clean up download directory upon skipping already downloaded update
2021-04-24 19:00:06 -07:00
Jaroslav Ozevič
ef7c16bb9d
Add private_key parameter in sign_update
2021-04-23 15:09:30 +03:00
1024jp
f56f937ad2
Add missing Japanese localization strings
...
that were added in #1833 .
2021-04-21 09:14:07 +09:00
Mayur Pawashe
02b85635c7
Merge pull request #1833 from sparkle-project/missing-localizations
...
Update missing localizations strings
2021-04-18 19:32:25 -07:00
Zorg
ce70a30be5
Don't localize rare/unlikely/specific scenario error strings
2021-04-18 19:00:58 -07:00
Zorg
e8f41640dc
Comment which localizations are rare/unlikely
2021-04-18 18:54:05 -07:00
Mayur Pawashe
7247803fea
Merge pull request #1831 from sparkle-project/deprecate-dismiss-check
...
Deprecate -dismissUserInitiatedUpdateCheck user driver method
2021-04-18 18:29:39 -07:00