Commit Graph

921 Commits

Author SHA1 Message Date
Graham Gilbert effe971249 Preference to Follow HTTP Recirects 2015-10-23 10:33:20 +01:00
Greg Neagle 422504e639 Merge branch 'master' of https://github.com/munki/munki 2015-10-14 14:14:29 -07:00
Greg Neagle 69c6398c6e Filter out _mbsetupuser when checking for GUI users at install time. Fix is similar to https://github.com/munki/munki/commit/0f8a51f9e72cbc383e015d21f4ef44f4b0059023, which was for Managed Software Center.app 2015-10-14 14:14:17 -07:00
Justin McWilliams 52009ae9df Edit Fix string concatenation of "No %s in item info" MunkiDownloadError 2015-10-12 12:06:19 -04:00
Justin McWilliams 2e34939a9a Fix string concatenation of MunkiDownloadError("Insufficient disk space to download and install %s") 2015-10-09 17:09:23 -04:00
Greg Neagle b2913d6d7c Bump main version number to 2.3.1 in prep for new release 2015-09-15 13:52:33 -07:00
Erik Gomez 0bcf01693e preupgrade_alert support 2015-08-17 09:33:00 -05:00
Greg Neagle fb5d985ba1 Bumping version for 2.3 RC1 2015-08-06 08:39:56 -07:00
Greg Neagle f39e6b5cd7 Kill stray comma 2015-07-29 15:04:32 -07:00
Greg Neagle 6471f6d2a3 If there is no orignal softwareupdate CatalogURL on 10.11, use --clear-catalog to reset. 2015-07-29 13:42:18 -07:00
Greg Neagle 0ce7846fe5 Make appleupdates_test.py stop complaining 2015-07-29 08:57:12 -07:00
Greg Neagle 9e0deb7540 Some changes to appleupdates.py to work around issues on 10.11 2015-07-29 08:11:03 -07:00
Greg Neagle 1dd8329d66 Inject NSAppTransportSecurity key and value into [NSBundle mainBundle]'s infoDictionary in order to make App Transport Security happy on 10.11 2015-07-29 08:09:39 -07:00
Greg Neagle 441e649288 take out another instance of 'launchctl bsexec' usage under 10.11 2015-07-14 13:44:15 -07:00
Greg Neagle 6f3b65feac Don't use under 10.11 since SIP prevents it from doing what we want 2015-07-14 13:39:49 -07:00
Greg Neagle 3512f5389b Another attempt to actually accomplish what was intended here: https://github.com/munki/munki/commit/1e511689d562f633b93b7f59cc2e2b349eb987e0 -- turns out ClearAppleUpdateInfo() method wasn't actually being called by anything. Sigh. 2015-06-30 18:39:28 -07:00
Greg Neagle 900b34c481 Merge pull request #490 from Multimac/local_manifest_name
Update getmanifest to create unique filename for local copy of manifest
2015-06-29 08:28:31 -07:00
David Symons 3e4935ec9b Changed filename checking in cleanUpManifests to ignore all files named 'SelfServeManifest' 2015-06-25 14:38:04 +10:00
David Symons cb5117b18d Reworked cleanUpManifests to use os.walk instead of recursion, cleaning it up.
Added better exception handling to manifest folder creation in getmanifest
2015-06-25 14:30:13 +10:00
David Symons 495873e7a1 Added exception for SelfServeManifest to cleanUpManifests 2015-06-23 16:58:15 +10:00
David Symons d041d90b6f Fixing spelling mistake 2015-06-23 16:46:58 +10:00
David Symons b1840af0ac Added cleanUpManifests to check over all manifests and remove those which are no longer used 2015-06-23 16:43:24 +10:00
David Symons d7512980f5 Flattened MANIFESTS, removing unnecessary sub-dictionaries. Also updated variable names to be less confusing 2015-06-23 16:02:22 +10:00
David Symons 96b80d7ce1 Forgot to use addToManifestCache and getFromManifestCache... 2015-06-23 13:42:36 +10:00
David Symons aecf0191a8 Updated getmanifest to copy the folder structure on the server when storing client-side manifests 2015-06-23 13:14:22 +10:00
David Symons f1af30de49 Update getmanifest to create unique filename for local copy of manifest 2015-06-22 12:40:19 +10:00
Greg Neagle b37a514624 When url quoting items, encode as UTF-8 first 2015-06-10 09:01:26 -07:00
Greg Neagle 7b4ddff2ba Add .sutcatalog URL for El Cap 2015-06-10 08:28:28 -07:00
Clay Caviness 06fe9e25ea builtin.super doesn't work correctly with Cocoa classes, use objc.super instead.
This will allow support for more recent PyObjC installs (3.x) than what's on the system (2.x).
2015-06-03 12:14:01 -04:00
Greg Neagle e988ba1993 Don't crash if profiles.py functions get called on 10.6.x 2015-05-05 15:05:09 -07:00
Greg Neagle 248368ba3a Explictly check that item returned from NSPropertyListSerialization methods is None to distinquish that from perfectly-valid empty objects (empty arrays, dicts, etc) 2015-04-22 11:44:23 -07:00
Greg Neagle 3748463791 Check value of returned object when serializing or deserializing instead of the value of the error 2015-04-16 09:22:25 -07:00
Greg Neagle 74112ae2c8 Record PendingUpdateCount in ManagedInstalls preferences for use by docktileplugin 2015-04-15 10:19:00 -07:00
Greg Neagle 85892be850 Merge branch 'one-time-tasks' 2015-04-15 08:54:50 -07:00
Greg Neagle 1e511689d5 Apple Softwre Update: clear ApplicableUpdates.plist as well as AppleUpdates.plist after installing Apple updates. Addresses an issue where recently installed Apple updates may show as needing to be installed again if the SUS server is not reachable. 2015-04-09 18:37:19 -07:00
Greg Neagle 9d750e9418 Merge branch 'master' into one-time-tasks 2015-03-22 09:55:43 -07:00
Greg Neagle d0c1c40353 Special case for Office 2011 updaters when building lists of files; install location should be empty string 2015-03-22 09:55:19 -07:00
Greg Neagle 6c30e378d8 Merge branch 'master' into one-time-tasks 2015-03-22 09:09:21 -07:00
Greg Neagle ca355d0289 Special case for Office 2011 updaters when building lists of files 2015-03-22 09:08:44 -07:00
Greg Neagle 66f6cffecf Merge branch 'master' into one-time-tasks 2015-03-20 10:26:48 -07:00
Greg Neagle 33fd840a76 Bump version to 2.2.4 for release 2015-03-20 10:23:59 -07:00
Greg Neagle a3d0c492fe Add support for pkginfo 'OnDemand' key to enable on-demand tasks 2015-03-14 19:29:14 -07:00
Brian Warsing 13c7e34f6f do not return None when there's no receipts
munkicommon.getPackageMetaData was returning None when the receipts array was
empty. This eventually produced a fatal error and halted makepkginfo. Remove
the early return statement and allow getPackageMetaData to return the empty
list.
2015-03-14 07:54:30 -07:00
Greg Neagle 8701bacf78 Bump version to 2.2.3 for new release 2015-03-12 11:58:09 -07:00
Greg Neagle 845e1f8766 Fix dpi metadata on toolbar icons 2015-03-10 14:08:52 -07:00
Greg Neagle af87349c11 Bump version plist to 2.2.1 2015-03-10 11:02:48 -07:00
Greg Neagle 256ae69383 Process self-serve uninstalls the same way we do self-serve installs; avoids picking up a catalogs list from SelfServeManifest 2015-03-10 11:01:11 -07:00
Greg Neagle c43a1e666d Don't add receipt info for payload-free flat pkgs to pkginfo since they do not leave receipts in the pkgutil receipts database. 2015-02-24 11:08:02 -08:00
Greg Neagle f42af65d17 makepkginfo: When getting receipt info from flat distribution pkgs, prefer the info from the subpackage's PackageInfo files to the top-level Distribution file 2015-02-23 19:12:02 -08:00
Greg Neagle 2a4bea0ce6 When creating temp space for 'profiles -C' output, provide a filename instead of a directory 2015-01-27 08:48:15 -08:00