Commit Graph

2682 Commits

Author SHA1 Message Date
Yoann Gini 04b33642b3 An option to silently skip pkg check (#795)
Add --skip-pkg-check (-s) option
This PR add a manual option to skip the pkg_check process in addition to PackageCompleteURL & PackageURL based detection.
Manual request for this option is usefull when a unique server contain data and metadata but both are push from different sources. (Like GIT + rsync)
The difference with the force option rely in the warning message that are avoided here and the check done on the metadata part aren't skiped.
2017-08-23 15:34:43 -07:00
Greg Neagle b6567fc645 Store os_version when caching apple sucatalog and purge if our current os version does not match; check for producy key existence before trying to cache product metadata 2017-08-18 17:14:54 -07:00
Greg Neagle 89e2faf7cc Adjust installed_state logic which seems was exactly backwards 2017-08-18 15:28:35 -07:00
Greg Neagle 1d659eb686 Updated Danish localization. Thanks to Thomas Tvegaard. 2017-08-18 14:03:19 -07:00
Greg Neagle 50d82315b9 Update French localization. Thanks to Daniel Moore and Oliver Haessler (and Oliver's girlfriend!). 2017-08-18 13:52:49 -07:00
Greg Neagle 025bd082eb Update Finnish localization. Thanks to Hannes Juutilainen. 2017-08-18 13:48:31 -07:00
Greg Neagle 7888e7123f Update German localizations. Thanks to Daniel Moore and Oliver Haessler. 2017-08-18 13:43:33 -07:00
Greg Neagle 5a6183d18b Updated Dutch localization. Thanks to Arjen van Bochoven. 2017-08-17 13:31:02 -07:00
Greg Neagle 7f19440f76 Add placeholder string for needed localiztions 2017-08-17 13:23:36 -07:00
Greg Neagle aff674081b MSC.app: Navigate menu->Reload page (Cmd-R) now also triggers an update check. 2017-08-11 16:24:00 -07:00
Greg Neagle 744840d85a Address issue #791 -- follow symlinks when getting a list of items in a FileRepo 2017-08-01 10:03:43 -07:00
Greg Neagle 1ab3e19c97 Add support for specifying additional options to startosinstall tool. 2017-07-27 08:24:35 -07:00
Greg Neagle 4d1571f2a8 Avoid unhandled TypeError when trying to read binary plists with plistlib when makecatalogs is run against non-Apple Python 2017-07-26 16:09:21 -07:00
Greg Neagle 2826e601b4 Display an error and exit if no repo URL is defined or provided instead of crashing 2017-07-24 09:36:39 -07:00
Greg Neagle 39c2672fdd Correct order of preferences 'level' search. 2017-07-20 10:28:09 -07:00
Greg Neagle a2cd572b74 Add --show-config option to managedsoftwarecenter 2017-07-18 13:41:45 -07:00
Yoann Gini f0f34d7d44 Add -b option to make_munki_mpkg_DEP.sh script to create a DEP package with munki bootstrap enabled. (#790)
This feature is usefull for deployment where the end user account come from a directory service and the IT want to lock the computer until the system is fully updated.
2017-07-18 08:31:56 -07:00
Greg Neagle ebbbd3a1f8 Fix for boot_volume_is_cs_converting(); thanks to @tcinbis 2017-07-11 10:34:51 -04:00
Greg Neagle f1be44faf9 Move remove_from_selfserve_* functions from installer to manifestutils to prevent an import loop in removepackages 2017-07-06 14:22:10 -07:00
Greg Neagle 0238108730 Bump version of MSC.app to reflect non-trivial code changes 2017-07-06 08:53:45 -07:00
Greg Neagle 471f400f8c Only show updates for higher OSes if the ShowOptionalInstallsForHigherOSVersions preference is true 2017-07-05 08:16:16 -07:00
Greg Neagle 11bd8731d8 MSC.app: Hide new problem updates table when displaying update check/install progress 2017-07-05 08:15:23 -07:00
Greg Neagle 4250ab564f munkiimport: When creating a disk image, explicitly specify HFS+ format 2017-07-03 12:56:32 -07:00
Greg Neagle 81630647eb Display problem updates on Updates page in Managed Software Center.app 2017-07-03 12:55:38 -07:00
Greg Neagle 065044afc6 munkilib/osinstaller.py: Check CoreStorage conversion process before starting macOS install 2017-06-30 10:26:48 -07:00
Greg Neagle c8f3053f2f Suppress 'Rejected item' warnings when processing optional_installs 2017-06-30 08:22:41 -07:00
Greg Neagle ad9c08856d More changes to support showing optional item updates that require user action to install -- like updating macOS version or making disk space available. 2017-06-29 15:08:15 -07:00
Timothy Sutton eef37a2734 Add ru localization for 'requires higher OS version' (#787) 2017-06-29 09:47:56 -07:00
Greg Neagle 5458ce8b97 Add missing semicolons for new localizaed strings 2017-06-28 16:53:56 -07:00
Greg Neagle 28fab2c624 Fix localization comment/label for 'Requires macOS version %s' message 2017-06-28 13:28:10 -07:00
Greg Neagle 483ac7969c Localization updates 2017-06-28 13:26:45 -07:00
Arjen van Bochoven 755204cad4 Update dutch locale (#786) 2017-06-28 13:20:47 -07:00
Richard Lafontaine f4bd15595b FR localization of "Requires macOS version %s" (#785)
* FR localization of "Requires macOS version %s"

* Update Localizable.strings
2017-06-28 11:19:31 -07:00
Greg Neagle b925016c59 Generate possibly localized note when item requires a higher OS 2017-06-28 06:25:31 -07:00
Greg Neagle ea7b9b2ae9 Display items in optional installs that require a higher OS if we can't find an applicable version to incentivize OS upgrades/updates 2017-06-27 22:38:12 -07:00
Greg Neagle 2ff3bf3bdd Merge branch 'master' into Munki3dev 2017-06-27 08:40:33 -07:00
Greg Neagle a7c43cf337 Fix for postflights always reporting a runtype of 'osinstall'. See #784 2017-06-27 08:40:08 -07:00
Greg Neagle b8419975ed Speed up launch of Managed Software Center by replacing wildcard imports from Cocoa frameworks with selective import of needed symbols. 2017-06-26 09:54:19 -07:00
Greg Neagle 9917df8708 Speed up launch of MunkiStatus by replacing wildcard imports from Foundation and AppKit with selective import of needed symbols. 2017-06-26 09:23:02 -07:00
Samuel Keeley a66e52fd57 Don't hash icon hashes plist (#783) 2017-06-16 21:44:49 -07:00
Greg Neagle af2cf9d849 Fix for logic in testing if an item is not an OnDemand item while processing optional_installs that have an installcheck_script. Final part of a fix for #778 2017-06-14 19:18:42 -07:00
Greg Neagle 5b930e1ac8 MSC.app: use IOKit IOPS functions to get power source information instead of scraping the output of pmset 2017-06-14 15:04:21 -07:00
Greg Neagle 879f2f1c24 Set version of Munk3dev to 3.1.0 to indicate release target 2017-06-14 14:27:32 -07:00
Greg Neagle 0ea7c2a49b Merge branch 'master' into Munki3dev 2017-06-14 14:19:31 -07:00
Greg Neagle e660011530 MSC.app: revert to Munki2 behavior when generating a list of pending installs for the Updates view -- allows optional items to be removed from the pending update list 2017-06-14 14:19:03 -07:00
Greg Neagle 49faba7727 Take OnDemand items into account when deciding to skip a possible second run of an installcheck_script 2017-06-13 15:35:49 -07:00
Greg Neagle a512803275 Avoid running an installcheck_script twice for optional items that are installed (according to the installcheck_script) 2017-06-13 15:25:16 -07:00
Greg Neagle c479539b4f Merge from master 2017-06-13 14:25:34 -07:00
Greg Neagle 0252e091d1 Fix makecatalogs behavior when there is an invalid repo_url to match that of munkiimport 2017-06-13 13:49:48 -07:00
Greg Neagle bccb7523ac Store icon hashes in a seperate file; this makes icon downloaded far more efficient since we don't have to even try to download a non-existent icon 2017-06-11 12:24:13 -07:00