Commit Graph

2027 Commits

Author SHA1 Message Date
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
Greg Neagle 027fa39b0a Add commentary around the caffeinator variable 2017-06-11 10:21:41 -07:00
Greg Neagle 4c621ba528 Prevent idle sleep when checking/downloading if we are on AC power for better bootstrapping behavior 2017-06-11 09:51:51 -07:00
Greg Neagle d183d752c2 Rework of powermgr.py to use PyObjC bridging insted of ctypes, and add some functions to get status of battery power 2017-06-11 09:13:34 -07:00
Greg Neagle eb5c6d5894 Merge branch 'master' into Munki3dev 2017-06-10 07:54:12 -07:00
Greg Neagle e4eaa871b4 Add some notes about use of undocumented preferences we use when installing macOS 2017-06-10 07:53:45 -07:00
Greg Neagle e9362f2afb Merge branch 'master' into Munki3dev 2017-06-09 11:12:36 -07:00
Greg Neagle c98dce7319 Bump client tools version to 3.0.1.x for this round of development 2017-06-09 11:03:31 -07:00
Greg Neagle 70ba862037 More careful/explict handling of (possibly) Unicode filepaths 2017-06-09 10:32:40 -07:00
Greg Neagle 5e61494bb5 Remove redundant code from messy merge 2017-06-09 08:35:38 -07:00
Greg Neagle 7154507a22 Merge branch 'Munki3' 2017-06-09 08:29:01 -07:00
Greg Neagle 3085dbd36b Commit dev code 2017-06-09 08:25:18 -07:00
Greg Neagle 608e7133e4 Minor logic tweak to compare_application_version() 2017-05-22 16:23:51 -07:00
Greg Neagle f0e4df0dc3 application items in installs list now consider _only_ the given path if specified. To get the previous searching behavior, path must be absent and bundleid and/or name must be present. 2017-05-22 10:19:53 -07:00
Greg Neagle 3db8eefd8f more consistent way of running preinstall and postinstall scripts for startosinstall items 2017-05-15 11:37:44 -07:00
Greg Neagle 1bfe546e91 Add support for postinstall_script for startosinstall items 2017-05-15 11:16:58 -07:00
Greg Neagle 9d1223a2b4 Add support for preinstall_script to startosinstall items 2017-05-15 08:18:14 -07:00
Greg Neagle 2e56c59b62 Fix issues with icon hashing in makecatalogs 2017-05-11 14:31:07 -07:00
Timothy Sutton 6f725d9b93 Fix InDesign 2017 size calculation (#771)
- ID has a 'Condition' key in its Application.json for the 'Base' (main) app HD
  package, but it's an empty string, so just include this explicitly in the
  conditional
2017-05-11 11:13:54 -07:00
Greg Neagle 533647b399 more comments to explain an on-purpose misspelling 2017-05-10 08:01:06 -07:00
Greg Neagle ccd257860a Unicode tweaks for profiles.py errors and warnings 2017-05-09 15:14:09 -07:00
Greg Neagle 3d0e615837 Fixes for auth restart when starting a macOS install and user has provided a password via the GUI 2017-05-09 15:11:28 -07:00
Per Olofsson 7ee1233969 Remove optional installs if they're added as a managed install in a local only manifest (#768)
Move up processing of local manifests to before optional installs are
processed.

Second attempt at fixing issue #761.
2017-05-05 06:57:22 -07:00
Greg Neagle ee9fa49a16 Address #767 -- makecatalogs and iconimporter called with relative paths to repo (and also ~ expansion) 2017-05-04 15:49:31 -07:00
Greg Neagle 9662237434 Adjust line lengths to max 80 chars 2017-05-04 14:40:48 -07:00
Timothy Sutton e589cf0b23 Calculate installed_size for Adobe CCP HyperDrive installers (#765)
* Include Adobe HD payloads in calculated installed_size

* Improve calculation of Adobe CCP HD package sizes

- include DownloadSize and regional package sizes, and add a small overhead for the CC Desktop app
2017-05-04 14:22:29 -07:00
Greg Neagle dbf85e79c6 Address issue #764 -- warning when icons are in subdirectory of icons dir. 2017-05-04 10:22:19 -07:00
Greg Neagle 0d121949b6 Properly unquote paths from file:// repo urls 2017-05-04 10:12:41 -07:00
Clayton Burlison e73c9bc652 fix: Don't print blank lines during munkiimport (#755) 2017-04-25 20:36:14 -07:00
Greg Neagle 778df23802 Tweak progress/status messages for macOS upgrade installs 2017-04-25 15:20:58 -07:00
Greg Neagle d8917e8dd5 Do not enforce force_update_after_date for optional installs that are being installed for the first time; ie there is no prior install 2017-04-22 21:09:09 -07:00
Greg Neagle d4596fb6f5 Fix a missed variable rename that caused logout notifications to be broken 2017-04-22 21:06:40 -07:00
Greg Neagle d73eda81de Merge branch 'authrestart' into Munki3 2017-04-22 16:13:13 -07:00
Greg Neagle 89a3e0d993 Localization work for macOS upgrades 2017-04-22 07:34:37 -07:00
Clayton Burlison e783da2d06 fix: Remove duplicate --plugin flag (#751)
This removes the duplicate --plugin flag from the help menu of:
* iconimporter
* makecatalogs
* munkiimport
* repoclean
2017-04-22 00:07:23 -05:00
Clayton Burlison 5e754bc5e7 fix: Remove duplicate --plugin flag (#751)
This removes the duplicate --plugin flag from the help menu of:
* iconimporter
* makecatalogs
* munkiimport
* repoclean
2017-04-22 00:03:43 -05:00
Greg Neagle 592e100691 PyLint cleanup 2017-04-21 14:47:59 -05:00
Greg Neagle eda5e76905 profiles.py: Fix a logic error that sometimes caused config_profile_info() to return None instead of an empty dictionary 2017-04-21 13:34:07 -05:00
Greg Neagle 1ca9c32e73 profiles.py: Fix a logic error that sometimes caused config_profile_info() to return None instead of an empty dictionary 2017-04-21 13:33:41 -05:00
Greg Neagle 98a4892985 Auth restart support for Managed Software Center.app 2017-04-20 14:52:02 -05:00
Greg Neagle 4b1c0c9949 Start of launchd socket support 2017-04-14 10:47:58 -07:00
Greg Neagle 8b6ecc6788 Only set the secret preference if we're going to attempt an authrestart; rely on default behavior otherwise 2017-04-13 16:31:30 -07:00
Greg Neagle 72f369544f Experimental support for authrestart after kicking off macOS upgrade 2017-04-13 15:48:14 -07:00
Greg Neagle b45a36a337 Refactor authrestart code so osinstaller can use it. 2017-04-13 15:47:29 -07:00
Greg Neagle cead5a175b Really fix spelling of sendDistribitedNotification() 2017-04-12 09:30:17 -07:00
Greg Neagle 69f788a15a Fix spelling of sendDistribitedNotification() 2017-04-12 09:29:25 -07:00
Clayton Burlison 1f2ab4220c Update managedsoftwareupdate --auto help msg (#739) 2017-04-11 09:29:20 -07:00
Greg Neagle f3c85492c4 Improved debug logging in keychain.py 2017-04-10 16:43:59 -07:00
Greg Neagle 7a78d286fc Code cleanup 2017-04-08 09:24:34 -07:00
Greg Neagle 233c92501e logic cleanup and code de-dupe 2017-04-08 09:23:44 -07:00