Commit Graph

3442 Commits

Author SHA1 Message Date
Kyle Crawford
975f649239 Keep content-length on network connection error so downloads can resume (#1057)
Gurl requires the expected content length in the xattr data in order to
consider resuming a partial download.

When there is a network connection interruption
URLSession_task_didCompleteWithError_ is called with an error.

Prior to this fix content length was always removed from the xattr data
when URLSession_task_didCompleteWithError_ was called so downloads would
never resume after a connection error.

With this fix, content length is only removed from the xattr data when
there is no error since the download would be complete and resuming
would not be necessary.
2020-11-25 09:45:22 -08:00
Ben Goodstein
66acdffc63 fix localisation regression to InfoPlist.strings in xcodeproj (#1059) 2020-11-25 09:43:18 -08:00
Greg Neagle
d9520b8af6 Do not attempt to install Rosetta2 if we're not installing to the current startup disk 2020-11-24 09:11:39 -08:00
Greg Neagle
fcf6e8c7a8 Explictly set hostArchitectures in the Distribution only if -R (Rosetta) option is given; leave undefined (and default) otherwise 2020-11-18 14:46:26 -08:00
eholtam
5fd7f00885 Add rosetta2 option to build script (#1056)
* Added option for Rosetta2 install for ARM hardware.

* Add hostArchitectures option to Distribution for arm64 support

* Removed file based arm64 arch addition attempt to Distribution

* Adjusted hostArchitecture to be a variable, adding arm64 only if Rosetta is included

Co-authored-by: eholtam <(none)>
2020-11-18 14:07:55 -08:00
Greg Neagle
5da152bd76 Change volume-check in mpkg distribution so minimum OS version is 10.11. 2020-11-17 16:57:39 -08:00
Greg Neagle
72cdd10f47 Add EmulateProfileSupport to the list of prefs shown by managedsoftwareupdate --show-config 2020-11-16 14:41:32 -08:00
Greg Neagle
13cea7b79d Allow drag from window background -- matches App Store behavior 2020-11-13 15:45:10 -08:00
Greg Neagle
f5c69b0793 Address a crash at launch on macOS 10.11 2020-11-13 15:44:24 -08:00
Greg Neagle
c2f358750d Update required disk space for Big Sur upgrades 2020-11-12 09:34:42 -08:00
Greg Neagle
8fe4574b29 Open all http/https links in the default browser. Addresses #1050. Addresses #1046. 2020-11-11 09:41:19 -08:00
Greg Neagle
1b2451698a Address issue in log window where log lines were cut off and did not resize with the window Addresses #1052 2020-11-11 08:03:31 -08:00
Greg Neagle
9209d37bd6 Update 'MARKETING_VERSION' 2020-11-11 08:01:54 -08:00
Greg Neagle
379d76f42b Don't show action button in update detail for non-optional updates 2020-11-10 16:33:41 -08:00
Greg Neagle
bc62f68e4a Remove long-commented-out code 2020-11-07 12:04:32 -08:00
Greg Neagle
32267f4285 Fix lack of newline at end of code/tools/py3_requirements.txt 2020-11-07 11:28:27 -08:00
Greg Neagle
af1f2e7735 Merge branch 'Munki5dev' of https://github.com/munki/munki into Munki5dev 2020-11-07 10:43:48 -08:00
Greg Neagle
2e555b8460 Adjust logic for showing navigate back button 2020-11-07 10:43:44 -08:00
Greg Neagle
5876bde384 Test alternate fix for #1022 2020-11-07 08:51:51 -08:00
Jim Zajkowski
4ba29449d2 Directly create layout constraints (#1047)
Fixes issue #1022 where the autoresizing masks occasionally end up pinning the webView to its smallest size.
2020-11-06 21:00:40 -08:00
Greg Neagle
f25a8a3553 Another tweak to sidebar background appearance when built with Xcode 12.1 on Big Sur 2020-11-02 10:43:17 -08:00
Greg Neagle
c43a7e4a5a Fix for sidebar background appearance when built with Xcode 12.1 on Big Sur 2020-11-02 10:37:38 -08:00
Greg Neagle
5235e378b4 Remove no-longer used MSCToolbarButton 2020-11-02 10:28:27 -08:00
Greg Neagle
2123975cbd Turn off 'Sign to run locally' for MSC.app; addresses an issue where Notification Center notifications don't launch MSC.app 2020-10-23 11:53:30 -07:00
Greg Neagle
645a7cdb91 Error output tweak 2020-10-22 13:24:10 -07:00
thefuzzyjew
0576697cf4 Differentiate between version.plist not existing and being unreadable (#1035)
* Differentiate between version.plist not existing and being unreadable

* change $versionfile to ${versionfile}.plist for clarity
2020-10-22 13:21:51 -07:00
Greg Neagle
4f56b7f94d Improved logic for non-support of config profiles in Big Sur during the check phase. 2020-10-22 11:39:06 -07:00
Greg Neagle
60672827c0 Merge branch 'bigsur-profiles' into Munki5dev 2020-10-15 14:25:17 -07:00
Greg Neagle
d93622b574 Make using LocalMCX to emulate managed preferences profile support opt-in 2020-10-15 14:24:52 -07:00
Greg Neagle
c993bee1a8 Clean up comments and doc strings 2020-10-15 13:58:57 -07:00
Greg Neagle
6ed3c484f3 Merge branch 'main' into Munki5dev 2020-10-11 11:00:40 -07:00
Greg Neagle
2ec2ce5949 Show back navigation button and enable Navigate->Back menu item when displaying software update detail 2020-10-11 10:59:12 -07:00
Greg Neagle
3ee5dce468 CSS tweaks to former 'sidebar', now 'link bar' 2020-10-11 10:52:21 -07:00
Greg Neagle
80bf6d48ad Unicode-normalize item names when looking for item detail. 2020-10-10 11:15:26 -07:00
Greg Neagle
a31329f27f Bump version.plist for future release 2020-10-05 16:58:40 -07:00
Greg Neagle
eb7c7725cc Minor layout tweak in MunkiStatus window 2020-10-05 16:49:38 -07:00
Greg Neagle
67cb95a85a MunkiStatus: update appearance to fit in better with Big Sur 2020-10-03 17:55:34 -07:00
Greg Neagle
f69d60118c Reset MunkiStatus to match Munki 5.1 release 2020-10-03 17:13:58 -07:00
Greg Neagle
e685a55196 Switch to HTML5 progress element for update progress bar so we get macOS styling for free. Addresses #1033 2020-10-03 16:39:43 -07:00
Greg Neagle
313beff554 Revert change in showcase image resizing/scaling behavior. Behavior now matches older versions of MSC.app. Addresses #1029 2020-10-03 15:16:17 -07:00
Greg Neagle
eac37c6ff5 Back navigation button changes. Addresses #1018 and #1028 2020-10-01 21:40:08 -07:00
Greg Neagle
c933474bac Merge branch 'main' into bigsur-profiles 2020-09-29 11:47:16 -07:00
Greg Neagle
ea28fa1f69 Merge branch 'main' into Munki5dev 2020-09-29 11:46:35 -07:00
Greg Neagle
9c5d984cff Yet another fix for Big Sur softwareupdate percent-complete output 2020-09-29 11:46:12 -07:00
Greg Neagle
29f86e82a5 Merge branch 'Munki5dev' into bigsur-profiles 2020-09-28 15:49:48 -07:00
Greg Neagle
f5b14877ce Merge branch 'Munki5dev' into new-msc-design 2020-09-28 15:45:34 -07:00
Greg Neagle
d2ed38e3be Better logic for parsing percent-done output from Big Sur's softwareupdate -- this time with the right characters 2020-09-27 14:29:21 -07:00
Greg Neagle
aea9ffd3e8 Better logic for parsing percent-done output from Big Sur's softwareupdate 2020-09-27 14:27:33 -07:00
Greg Neagle
97ce70621e Restore the insertion of the build/revision number into the app's CFBundleVersion and CFBundleShortVersionString 2020-09-22 14:44:32 -07:00
Greg Neagle
520219cd15 Bump MSC.app version in Info.plist 2020-09-21 09:35:55 -07:00