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
Zorg
507255224a
Fix hidden state for automatic install button and add comments
2021-01-23 20:50:07 -08:00
Zorg
c1381d48d1
Add comments and rename some title alert strings to match 1.x
2021-01-23 19:29:50 -08:00
Zorg
c3ce4f624b
Hide skip button when developer enables automatic downloads too
2021-01-23 18:15:58 -08:00
Zorg
0a35f9d807
Hide skip and later buttons in appropriate scenarios
2021-01-23 17:23:04 -08:00
Mayur Pawashe
fd209ced12
Merge pull request #1730 from sparkle-project/migrate-keys
...
Add export/import options to generate_keys
2021-01-23 16:38:33 -08:00
Zorg
d85c1df752
Add options to export and import private/public key pair
2021-01-23 07:51:32 -08:00
Zorg
4fdd01052b
Add option to store a specified private+public key pair directly
...
This is useful for migrating keys from one machine to another.
2021-01-23 01:43:41 -08:00
Kornel
1278b426f2
Merge pull request #1726 from zorgiepoo/cancheckforupdates
2021-01-19 11:59:23 +00:00
Kornel
e880f34f7c
Merge branch '2.x' into cancheckforupdates
2021-01-19 11:41:12 +00:00
Kornel
1d178a9a19
Merge pull request #1722 from zorgiepoo/important-1x-fixes
2021-01-19 11:38:22 +00:00
Kornel
22af258dc8
Merge pull request #1728 from zorgiepoo/about-blank-fix-2x
...
Ignore opening about:blank URLs (2.x)
2021-01-19 11:36:28 +00:00
Zorg
01d19ca92e
Ignore opening about:blank URLs
...
Fix from 8f19f6a8cc which I regressed accidentally.
2021-01-18 09:12:16 -08:00