Zorg
e331afddb1
Add host name of bundle in potential user facing error messages
2021-02-20 21:50:45 -08:00
Zorg
45581d5658
Log to users to check for Autoupdate console logs
2021-02-20 21:32:34 -08:00
Zorg
9931992912
Provide URL to troubleshoot XPC timed out issues
2021-02-20 21:09:57 -08:00
Zorg
df3d9e2b14
Update error messages to specify Sparkle 2
...
This makes it more clear the developer is using Sparkle 2.
2021-02-20 20:48:32 -08:00
Mayur Pawashe
0a8443c94a
Merge pull request #1773 from sparkle-project/lovette-patch-2
...
Correct generate_appcast -s command line argument usage help (2.x)
2021-02-20 20:00:56 -08:00
Lance Lovette
0e26a3e27a
Correct generate_appcast -s command line argument usage help
...
Fixes sparkle-project/Sparkle#1766
2021-02-20 19:46:34 -08:00
Mayur Pawashe
c822f88cf1
Merge pull request #1767 from sparkle-project/generate-appcast-priv-dsa-flag
...
Fix -f command line argument handling (2.x)
2021-02-17 20:32:33 -08:00
Lance Lovette
16dc6c2b5b
Fix -f command line argument handling
...
https://github.com/sparkle-project/Sparkle/issues/1763
2021-02-17 20:14:34 -08:00
Mayur Pawashe
08a7122b36
Merge pull request #1761 from sparkle-project/real-time-2
...
Use wall time for our updater scheduled check timer
2021-02-14 08:48:58 -08:00
Zorg
8792137fda
Use wall time for our updater scheduled check timer
2021-02-14 00:40:08 -08:00
Mayur Pawashe
25820ccd4b
Merge pull request #1758 from sparkle-project/flat-package-mpkg
...
Support mpkg for updating/installing flat non-archived packages
2021-02-13 11:12:56 -08:00
Zorg
1290b974de
Support mpkg for updating/installing flat non-archived packages
2021-02-13 10:04:08 -08:00
Mayur Pawashe
c39370e64b
Merge pull request #1745 from sparkle-project/flat-package-2x
...
Add support for updating/installing from flat non-archived packages
2021-02-10 22:23:46 -08:00
Mayur Pawashe
0b9bacfd0e
Merge pull request #1755 from sparkle-project/not-found-reporting
...
Alter update not found error message
2021-02-07 11:59:49 -08:00
Kornel
ad545813f0
Merge pull request #1754 from grit96/1748-2.x
...
Apply custom headers to app download (2.x)
2021-02-07 15:02:19 +00:00
Geraint White
3f226ccdd7
Apply custom headers to app download
...
The custom headers added in #489 only applied to the appcast download.
This makes them apply to the app download as well for the case when both are hosted behind authentication.
2021-02-07 10:05:08 +00:00
Zorg
13a36cb904
Add fallback to legacy showUpdateNotFoundWithAcknowledgement method
2021-02-06 23:46:06 -08:00
Zorg
c5def52133
Update user driver methods for passing error to updates not found
2021-02-06 23:31:29 -08:00
Zorg
6b0d9f0de2
Tell user if they are running newer version than latest appcast item
...
This ports https://github.com/sparkle-project/Sparkle/pull/1427 to 2.x
2021-02-06 23:26:51 -08:00
Zorg
a9254d1e02
Create alert using NSError for update not found error
2021-02-06 23:00:44 -08:00
Mayur Pawashe
2b9a02c825
Merge pull request #1753 from sparkle-project/fix-swallow-scheduled-ui-error
...
Don't swallow errors for scheduled driver after update is shown
2021-02-06 10:42:00 -08:00
Zorg
9d335b1233
Don't swallow errors for scheduled driver after update is shown
2021-02-05 21:42:24 -08:00
Mayur Pawashe
43379af33e
Merge pull request #1747 from sparkle-project/fix-unimplemented-preventsAutoupdate-warning
...
Fix minor unimplemented preventsAutoupdate synthesize warning
2021-01-31 21:48:36 -08:00
Zorg
4c14d7d556
Fix minor unimplemented preventsAutoupdate synthesize warning
2021-01-31 21:34:02 -08:00
Zorg
afe03b7161
Fix compile errors in generate_appcast
2021-01-30 23:24:50 -08:00
Zorg
79a9c50d2d
Add support for updating/installing from flat packages
...
With these changes, modern pkg's should no longer need to be archived.
Only guided package installations are supported for flat packages. Specifying an interactive package installation type will result in a rejection. If the file URL has a ".pkg" suffix it is by default assumed to be a guided pkg installation now, which relieves the burden of needing to previously specify sparkle:installationType in the app cast item enclosure, in this case (for 2.x). Moreover, this relieves the burden of developers needing to archive their pkg for Sparkle.
2021-01-30 22:59:09 -08:00
Mayur Pawashe
c5add680aa
Merge pull request #1736 from sparkle-project/phased-group-rollout-2x
...
Port phased group rollout to 2.x
2021-01-30 19:13:28 -08:00
Zorg
e8ebf23504
Compute current date only once for all app cast items
2021-01-30 18:09:39 -08:00
Mayur Pawashe
da5be8902c
Merge pull request #1741 from sparkle-project/remove-disable-automatic-skip
...
Remove hiding skip button on automatic updates logic
2021-01-30 12:45:21 -08:00
Zorg
7cffceb1f7
Remove hiding skip button on automatic updates
...
If user opts-out of automatic downloads (eg via app pref), they should be able to skip.
This logic for detecting minimumAutoupdateVersion present isn't sufficient and consistent enough, chooses to have skip visible in cases updates aren't prevented.
2021-01-30 08:25:54 -08:00
Zorg
6c846d0fad
Combine phasedUpdateGroup / background flags
2021-01-29 22:21:26 -08:00
Zorg
044313db59
Remove redundant method
2021-01-29 22:15:50 -08:00
Zorg
e089b9b435
Filter supported app cast items before finding the best item
...
This fixes scenarios where delegates may not take min/max OS version or phased update groups in account (and they shouldn't).
2021-01-29 21:45:58 -08:00
Zorg
98dc6314a5
Remove unused delegate method addition
2021-01-24 23:44:24 -08:00
Zorg
915786e11f
Fix hostSupportsItem: returning YES too early
2021-01-24 23:39:33 -08:00
Zorg
60fcc89b7e
Make phased rollout interval an app cast element not an enclosure one
...
Previous behavior doesn't work properly with delta update items. They should not be treated separately.
2021-01-24 23:21:18 -08:00
Zorg
f9d421f851
Update from previous version if newest item doesn't pass rollout
2021-01-24 21:48:33 -08:00
Zorg
27d7058e0e
Don't track if update was downloaded or checked in background
...
Note the prior check was also wrong, it should have used the background flag from the app cast check, not the download driver.
2021-01-24 21:22:24 -08:00
Zorg
03503d37b6
Fix SUUpdateGroupIdentifierKey not being read from user defaults
2021-01-24 21:21:42 -08:00
Zorg
0364e01c3a
Remove method not used publicly in SUPhasedUpdateGroupInfo.h
2021-01-24 20:18:56 -08:00
Zorg
bc0e338cde
Use new update group for next downloaded update if applicable
2021-01-24 20:17:10 -08:00
Zorg
d97dbf7ba0
Remove unused header import
2021-01-24 18:18:01 -08:00
Zorg
9818eff9a2
Add support for phased group updates to 2.x
2021-01-24 18:14:48 -08:00
Mayur Pawashe
4767ef60ec
Merge pull request #1733 from sparkle-project/alert-state
...
Hide skip and later buttons in appropriate scenarios
2021-01-24 10:35:53 -08:00
Zorg
e197f3093a
Update hiding skip button case with checking minimumAutoupdateVersion
2021-01-24 10:25:45 -08:00
Zorg
1d930b585e
Merge branch '2.x' into alert-state
2021-01-24 10:20:11 -08:00
Mayur Pawashe
6da14f7c46
Merge pull request #1735 from sparkle-project/prevent-autoupdate-2x
...
Port preventing new version from being auto installed to 2.x
2021-01-24 10:16:42 -08:00
Zorg
5ca8984c10
Port preventing new version from being auto installed to 2.x
...
Original PR for master: https://github.com/sparkle-project/Sparkle/pull/1688
2021-01-24 00:21:47 -08:00
Zorg
27f31a2913
Change capitalization
2021-01-23 21:32:51 -08:00
Zorg
3e544c7d26
Use "Install On Quit" localization again
2021-01-23 21:30:47 -08:00