Commit Graph

4017 Commits

Author SHA1 Message Date
Greg Neagle a01a1fcbb1 Merge branch 'Munki6dev' into swift-cli 2024-08-29 14:25:06 -07:00
Greg Neagle f36fceb46e When opening Software Update settings pane, first lower the level of the blurred backdrop windows so that the settings pane will actually display before the backdrop windows are closed 2024-08-29 11:49:54 -07:00
Greg Neagle 17d50aa614 Address issue where, if Managed Software Center was running, its main window was minimized into the Dock, and an aggressive notification was triggered, the blurred background would appear over all screens, but no main (update) window would be visible 2024-08-29 10:09:34 -07:00
Greg Neagle fe1cab8d12 Implment more managedsoftwareupdate support functions 2024-08-29 08:25:04 -07:00
Greg Neagle cee2d78acd Implement some more functions used by managedsoftwareupdate 2024-08-27 16:53:34 -07:00
Greg Neagle 362ca1442a Better DEBUG testing setup; fix munkilog to create a missing log file before attempting to append to it 2024-08-27 13:08:25 -07:00
Greg Neagle 1920910179 updatecheck now largely functional 2024-08-27 07:54:13 -07:00
Greg Neagle 15d706c5c8 Fix processManifest() to actually get catalogs 2024-08-25 13:47:01 -07:00
Greg Neagle e88576d4dd Add exception reason return from objCpredicateEvaluatesAsTrue() 2024-08-24 17:37:01 -07:00
Greg Neagle ce20a4600c Implement NSPredicate evaluation in Objective-C so we can catch NSExceptions 2024-08-24 16:21:51 -07:00
Greg Neagle 18066932cb Implementing more of the updatecheck functions 2024-08-23 18:51:50 -07:00
Greg Neagle 096857381c Fix for os_vers_major/minor/patch facts (should be Int and not String) 2024-08-23 18:51:06 -07:00
Greg Neagle f36981d090 Use managedInstallsDir() function to build path to report plist 2024-08-23 18:50:11 -07:00
Greg Neagle 61869741ad New stringPref, boolPref and intPref functions; and a temporary hack to managedInstallsDir() to aid in testing 2024-08-23 18:49:15 -07:00
Greg Neagle 9a4df0685e use the managedInstallsDir() function to generate the db path 2024-08-23 18:47:48 -07:00
Greg Neagle a073b8410c Add implmentations of updatecheck/autoconfig and updatecheck/licensing 2024-08-20 12:17:09 -07:00
Greg Neagle 92fb79026b Fix version changed by Munki6dev merge 2024-08-20 10:10:11 -07:00
Greg Neagle cbde3e7247 Merge branch 'Munki6dev' into swift-cli 2024-08-20 10:07:39 -07:00
Greg Neagle 7756827e40 Update selfservice.py
Fix an error message that would have provided wrong info
2024-08-20 10:07:01 -07:00
Greg Neagle f3a6772ac2 Initial implementation of updatecheck/selfservice 2024-08-20 10:04:57 -07:00
Greg Neagle 6e13c74b9d Initial implementation of updatecheck/installationstate 2024-08-19 17:04:34 -07:00
Greg Neagle b6fb1928d6 Initial implementation of updatecheck/compare 2024-08-19 15:26:13 -07:00
Greg Neagle 8e322db820 Add MachineFacts singleton since generating this info is expensive 2024-08-19 09:58:39 -07:00
Greg Neagle 6fcb63d074 Add an ApplicationInventory singleton to cache application invemory data so we don't re-generate it all the time 2024-08-19 09:51:28 -07:00
Greg Neagle c38504d16b Implement a PredicateInfo singleton to avoid regenerating the info during a run 2024-08-19 09:50:29 -07:00
Greg Neagle 1e0fdb248e Finish first pass at updatecheck/catalogs implementation 2024-08-18 17:54:33 -07:00
Greg Neagle 88b076dceb Change return type of getInstalledPackages() to be more specific 2024-08-18 17:53:36 -07:00
Greg Neagle b48598b31a Fix for getPrimaryManifest; cleanUpManifestsDir now uses general-purpose cleanUpDir function 2024-08-18 17:52:29 -07:00
Greg Neagle 0e71af42e9 cleanUpIconsDir now uses general-purpose cleanUpDir function; downloadCatalog now returns nil if downloar fails 2024-08-18 17:50:59 -07:00
Greg Neagle ab3c6fdc59 New general-purpose function to clean up various Munki directories 2024-08-18 17:49:12 -07:00
Greg Neagle 1691110eb2 Implement remaining updatecheck/download functions 2024-08-16 14:01:44 -07:00
Greg Neagle bc91b870ee Better algorithm for cleaning up icons dir 2024-08-16 14:00:48 -07:00
Greg Neagle 0737922a86 Implement getManifest function 2024-08-16 11:24:41 -07:00
Greg Neagle dbceb984c8 Start on precaching support 2024-08-16 11:23:59 -07:00
Greg Neagle e32cb9c303 Update PlistError to comply with LocalizedError (to make it easier to get descriptions) 2024-08-16 11:23:04 -07:00
Greg Neagle f0af5a885f More implementation of updatecheck/download functions; refactoring of parts of network/fetch; adding support for localizedDescription to MunkiError and FetchError 2024-08-16 09:14:46 -07:00
Greg Neagle 17989ccbc5 Add initial implmentation of updatecheck/download; Update for new capabilites of convenience function managedInstallsDir() 2024-08-15 11:00:56 -07:00
Greg Neagle 5615a2c64b Slight tweak of exitDescription in checkServer() 2024-08-15 08:29:24 -07:00
Greg Neagle 51cbb2a0cf Implement fetch checkServer function; re-work error types in fetch 2024-08-14 17:12:46 -07:00
Greg Neagle decd9b8cd6 Remove some debugging code 2024-08-14 16:58:25 -07:00
Greg Neagle cd425afc48 Silence some compiler warnings triggered by swiftformat re-formatting 2024-08-14 12:44:47 -07:00
Greg Neagle 14acaec20d Fix headerDictFromList() to strip leading and trailing spaces from header values 2024-08-14 12:41:54 -07:00
Greg Neagle c01abc420c Implement more fetch functions 2024-08-14 12:04:04 -07:00
Greg Neagle 6f2521a8be swiftformat re-formatting 2024-08-14 11:56:41 -07:00
Greg Neagle 280a74e816 Fix typo in comment 2024-08-14 11:55:11 -07:00
Greg Neagle 8c44ea0ed3 Fix redirect handling for 'https' value 2024-08-14 11:54:38 -07:00
Greg Neagle aec8cd7c36 Fix issue where file was downloaded again even if unchanged 2024-08-14 10:06:53 -07:00
Greg Neagle eff2ebc2c9 Bump version.plist for future release 2024-08-14 08:45:58 -07:00
Graham Gilbert 752376875c Add --show-config-plist option (#1224) 2024-08-14 08:24:21 -07:00
Greg Neagle c0e6787732 Begin implmentation work on fetch functions 2024-08-14 08:19:34 -07:00