Commit Graph

2327 Commits

Author SHA1 Message Date
Greg Neagle
d51592b5eb Merge branch 'Munki5dev' into universal2 2021-02-20 09:13:04 -08:00
Greg Neagle
9a6610a74c Update copyright dates 2021-02-20 09:09:53 -08:00
Greg Neagle
9d3e265cb8 Update copyright dates 2021-02-20 09:05:58 -08:00
Greg Neagle
f2f1504a6f Don't crash for --show-config on Apple silicon 2021-02-16 15:16:30 -08:00
Greg Neagle
bf0de64713 Merge branch 'Munki5dev' into universal2 2021-02-09 14:11:42 -08:00
Greg Neagle
998586a630 Force Apple softwareupdate prefs to false on Apple Silicon 2021-02-09 14:10:47 -08:00
Greg Neagle
b1df42ab13 Don't ignore exceptions thrown in app_usage_monitor if given a bad request (one containing a None/nil value) 2021-02-08 17:21:15 -08:00
Greg Neagle
5650a22885 Don't ignore exceptions thrown in app_usage_monitor if given a bad request (one containing a None/nil value) 2021-02-08 17:20:39 -08:00
Greg Neagle
88a69af408 Bump version for upcoming release 2021-02-05 10:18:07 -08:00
Greg Neagle
613101480f Merge branch 'Munki5dev' into universal2 2021-02-05 09:12:49 -08:00
Greg Neagle
5f680b9862 Python 3 fixes for IOPlatform and sysctl functions ported from Python 2 :-( 2021-02-05 09:12:10 -08:00
Greg Neagle
a9756cef8e Merge branch 'Munki5dev' into universal2 2021-02-05 08:09:40 -08:00
Greg Neagle
0f6d817850 In info.py, get the hardware model without calling system_profiler 2021-02-05 08:09:20 -08:00
Greg Neagle
0de132711f Merge branch 'Munki5dev' into universal2 2021-02-04 16:58:28 -08:00
Greg Neagle
c8b9554d77 Get machine serial number without calling system_profiler. Works around manifest resolution issue when system_profiler times out or otherwise misbehaves. 2021-02-04 16:57:59 -08:00
Greg Neagle
9f733b6341 app_usage_monitor: don't let app_version be undefined if app_path is falsish 2021-02-03 15:07:49 -08:00
Greg Neagle
d26c8b5861 app_usage_monitor: don't let app_version be undefined if app_path is falsish 2021-02-03 15:06:55 -08:00
Greg Neagle
1ba3fe3551 Merge branch 'main' into universal2 2020-12-15 08:16:02 -08:00
Greg Neagle
8b9de80131 Merge branch 'main' into Munki5dev 2020-12-15 08:15:26 -08:00
Greg Neagle
ae28a71550 Improved OS version comparisons taking into account new (Big Sur+) versioning 'style' 2020-12-15 08:15:03 -08:00
Greg Neagle
c9f74aed6d Merge branch 'main' into universal2 2020-12-14 14:34:18 -08:00
Greg Neagle
40779023ad Merge branch 'main' into Munki5dev 2020-12-14 14:33:51 -08:00
Greg Neagle
49625ed975 Fix for Software Update catalog issue with 11.1 2020-12-14 14:33:23 -08:00
Greg Neagle
97d57a09c9 Merge branch 'Munki5dev' into universal2 2020-12-07 10:56:46 -08:00
Noah
cdc3b40561 Adding managed_updates support for local manifest (#1027)
* Support repo-based makecatalogs (#1012)

* if repo plugin has a makecatalogs method defined, use it instead

* pass options and output_fn to repo makecatalogs method

* Revert "Support repo-based makecatalogs (#1012)" (#1013)

This reverts commit 98a31e802e.

* Adding managed_updates support for local manifest

Co-authored-by: Taylor Boyko <taylorboyko@gmail.com>
Co-authored-by: Greg Neagle <Gregneagle@mac.com>
Co-authored-by: Noah.Anderson <noah.anderson@target.com>
2020-12-07 10:56:00 -08:00
Greg Neagle
c2d9578a16 Bump version in version.plist for future release. 2020-12-02 16:44:07 -08:00
Greg Neagle
53feeab1dc Merge branch 'main' into universal2 2020-12-02 16:40:49 -08:00
Greg Neagle
7f736a4901 Nasty hack to return native processor arch even when running under Rosetta 2020-12-02 16:39:52 -08:00
Greg Neagle
0ae0d5c609 Changes for Universal2 builds including Python 3.9.1rc1 and PyObjC 7.0 2020-11-29 16:18:29 -08:00
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
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
c2f358750d Update required disk space for Big Sur upgrades 2020-11-12 09:34:42 -08: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
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
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
d14c97ce46 Merge branch 'Munki5dev' into new-msc-design 2020-09-18 16:58:06 -07:00
Greg Neagle
6d43e98130 Tweak percent-done output parsing on Big Sur 2020-09-17 16:15:12 -07:00
Greg Neagle
4328067362 Merge branch 'Munki5dev' into bigsur-profiles 2020-09-16 14:47:07 -07:00
Greg Neagle
2cbc98df7e Merge branch 'Munki5dev' into new-msc-design 2020-09-16 14:46:29 -07:00