Commit Graph
643 Commits
Author SHA1 Message Date
Greg Neagle 2a8c82fc08 Merge branch 'postflight-fix' into Munki7_2dev 2026-06-01 09:28:05 -07:00
Greg Neagle 6651bdbd2f Merge branch 'prefswindow' into Munki7_2dev 2026-06-01 09:27:42 -07:00
Greg Neagle 0f103d16f2 When printing to stderr, it's OK if the UTF8 conversion is lossy 2026-05-27 09:28:25 -07:00
Greg Neagle 182d86fd6e Add default prefs for MSCOfferTo* and add new MSCAllow* prefs to --show-config list 2026-05-19 10:55:00 -07:00
Greg Neagle 28f690bf09 Read user preferences directly from the plist file instead of using CFPreferences 2026-05-18 08:21:50 -07:00
Greg Neagle d2f316e782 Ensure MSCAllowedNotificationWindowStart is within 0-23 inclusive (24 would result in an out-of-bounds error) 2026-05-14 16:32:05 -07:00
Greg Neagle 999a4f3a81 Define the bundle ID for Managed Software Center in shared/constants.swift 2026-05-14 16:30:57 -07:00
Greg Neagle 09ed6e5bea Bump version for future release 2026-05-14 09:58:07 -07:00
Greg Neagle 8ee14c9746 When reading MSCAllowedNotificationWindowStart and MSCAllowedNotificationWindowEnd preferences, constrain the values to 0...24 2026-05-14 09:56:41 -07:00
Greg Neagle 886577f1f8 managedsoftwareupdate: consider user notification preferences when deciding whether or not to notify about pending updates 2026-05-14 09:04:44 -07:00
Greg Neagle 056d00baaa Define stop requested flag file path in shared/constants.swift 2026-05-14 09:02:55 -07:00
Greg Neagle 1c352ed1ad Add default values for new MSC notification window preferences 2026-05-14 09:01:15 -07:00
Greg Neagle c3ea21c9c7 When generating number of days macOS is out of date, filter out non-OS items from AppleUpdateHistory.plist 2026-05-11 12:52:29 -07:00
Greg Neagle f1d7bb88f8 Update version for future release 2026-05-11 12:28:52 -07:00
Greg Neagle 27af6fc7aa Fix for detecting number of days macOS is out-of-date when current macOS version has a third component (Like 26.4.1) 2026-05-11 12:27:52 -07:00
Greg Neagle a5525f3b04 manifestutil: fix text search for string items
Addresses (part) of #1355
2026-05-08 09:11:22 -07:00
Greg Neagle 81721f3690 When a primary manifest is not retrieved, do not exit immediately; instead return .finishedWithErrors so finishing tasks (including postflight script) run. 2026-04-28 11:40:50 -07:00
Greg Neagle 70b1920cfb Bump version for future release 2026-04-28 08:21:30 -07:00
Greg Neagle 427a9268ff When constructing a URL for a Munki resource, percent-encode any + characters in the path. 2026-04-23 13:17:26 -07:00
Greg Neagle f79b2ae703 When rejecting an item due to failed installable_condition, include the actual item version in the warning message 2026-04-20 17:08:41 -07:00
Greg Neagle 04fc4b5212 Fix source dependencies 2026-04-06 16:56:48 -07:00
Greg Neagle 5ecfffea38 More tests for MunkiVersion to help define/document behavior 2026-04-06 16:38:05 -07:00
Greg Neagle 36b798fb67 Use the same logic as Managed Software Center to calculate oldestUpdateDays (IOW, take macOS out-of-date days into consideration) 2026-04-06 13:22:06 -07:00
Greg Neagle 889bb07331 managedsoftwareupdate: Fix option validation for --checkonly and --installonly 2026-03-27 08:54:22 -07:00
Greg Neagle 9b0d7f7f97 Merge branch 'Munki7dev' into Munki7_1dev 2026-03-17 11:23:14 -07:00
Greg Neagle 6f1b8a17b2 Clean up some compiler warnings created by the last set of changes to this file 2026-03-17 11:22:49 -07:00
Greg Neagle 92408ea027 Merge branch 'Munki7dev' into Munki7_1dev 2026-03-17 11:13:33 -07:00
Greg Neagle b582e301a3 In makepkginfo and munkiimport, warn if pkginfo doesn't seem to have valid installation criteria 2026-03-17 11:08:19 -07:00
Greg Neagle b7ff3b5d7b Changes so we can process payload-free packages and print warnings instead of stopping with errors 2026-03-17 11:07:17 -07:00
Greg Neagle a98659f556 Add a test for a payload-free flat component pkg 2026-03-17 11:04:30 -07:00
Greg Neagle 2872dd1097 swiftformat fix 2026-03-12 11:27:36 -07:00
Greg Neagle 5e203caa1f Merge branch 'Munki7_1dev' into apple-update-experiment 2026-03-12 10:57:27 -07:00
Greg Neagle 14b929d35c Merge branch 'Munki7dev' into Munki7_1dev 2026-03-12 10:56:59 -07:00
Greg Neagle 3cf9648b9b Fix for authrestartd exiting after 10 seconds even if it had a stored password 2026-03-12 10:56:37 -07:00
Greg Neagle dda366ce71 Merge branch 'Munki7_1dev' into apple-update-experiment 2026-03-12 10:15:05 -07:00
Greg Neagle 874913bf52 Merge branch 'Munki7dev' into Munki7_1dev 2026-03-12 10:14:34 -07:00
Greg Neagle 3a9f869e1c Add more logging to authrestartd 2026-03-12 10:14:00 -07:00
Greg Neagle 86e25621d1 Merge branch 'Munki7_1dev' into apple-update-experiment 2026-03-12 08:49:40 -07:00
Greg Neagle 9cf4d3e6f7 Merge branch 'Munki7dev' into Munki7_1dev 2026-03-12 08:49:05 -07:00
Greg Neagle 900fc5ca8d Add additional logging; raise logging level for some messages for authrestart operations 2026-03-12 08:48:25 -07:00
Greg Neagle 0f1ce2b356 Merge branch 'Munki7_1dev' into apple-update-experiment 2026-03-12 08:13:29 -07:00
Greg Neagle fb179f8d3f Merge branch 'Munki7dev' into Munki7_1dev 2026-03-12 08:12:54 -07:00
Greg Neagle dc332b2683 Fix name of log used by authrestartd 2026-03-12 08:12:30 -07:00
Greg Neagle 33a880291a Update help text for msu options to reflect new behavior; do some options validation 2026-03-10 20:45:38 -07:00
Greg Neagle da0017933c clientcerts: simplfy previous change/improve legiblity 2026-03-07 09:28:19 -08:00
Greg Neagle 08bfc3eaca clientcerts: avoid force unwrap in loop 2026-03-07 09:26:00 -08:00
Greg Neagle 5768bf6198 Don't clear LastNotifiedDate after performing updates. Addresses an issue where MSC might notify too frequently if there are Apple updates or blocking applications for some updates. 2026-03-06 13:46:44 -08:00
Greg Neagle e2124c6837 Convert Apple updates KiB sizes to KBs 2026-03-05 20:23:31 -08:00
aysiu a8aa462256 Add new quit-relaunch keys to --show-config (#1316) 2026-03-04 08:29:54 -08:00
aysiu 6e534c19cc Add new download retry keys to --show-config (#1318)
Adding new download retry–related keys specified in https://github.com/munki/munki/releases/tag/v7.1.0b1 to the --show-config list of preference keys.
2026-03-04 08:28:51 -08:00