Commit Graph

2799 Commits

Author SHA1 Message Date
Greg Neagle
5935e22418 After further investigation, only drop --applicationpath from Mojave startosinstall runs 2018-09-25 08:34:36 -07:00
Greg Neagle
7b6822f9c6 Don't use --applicationpath option for startosinstall for later releases of High Sierra and for Mojave. Bump version for future release. 2018-09-25 08:11:35 -07:00
Greg Neagle
97d704c7a1 Bump version for future release 2018-09-24 13:41:29 -07:00
Greg Neagle
611050eb38 Add Mojave softwareupdate catalog to list of default catalogs 2018-09-24 13:37:08 -07:00
Greg Neagle
4988436c24 Bump version for future release 2018-09-18 15:52:10 -07:00
Greg Neagle
11ec1535a1 Add option to sign MSC.app (and its subcomponents) 2018-09-18 09:33:33 -07:00
Greg Neagle
a6bfb53877 More simplication of munki-notifier code 2018-09-18 09:32:44 -07:00
Greg Neagle
6879c3bde1 Code formatting changes 2018-09-14 19:57:55 -07:00
Greg Neagle
fa204c824a Mojave changes 2018-09-14 16:30:53 -07:00
Greg Neagle
321fb7aa26 Don't crash if we can't get usernotification userinfo 2018-09-14 16:28:34 -07:00
Greg Neagle
279481bfe5 Add light/dark CSS variables for description link color; make this color consistent in Updates view and detail view 2018-09-04 21:28:12 -07:00
Greg Neagle
a2740cdd69 Faster cross-fade when switching to/from Dark Mode 2018-08-31 14:53:05 -07:00
Greg Neagle
036ae5ef3c Remove Python2.6 references from HEADER_SEARCH_PATHS and LIBRARY_SEARCH_PATHS 2018-08-31 14:49:42 -07:00
Greg Neagle
83ca7675c9 Convert some CSS color definitions to hsl to make it easier to tweak gray shades for text colors 2018-08-31 13:30:09 -07:00
Greg Neagle
bcc25d77bf Don't react to psuedo Dark Mode on pre-Mojave unless AllowDarkModeOnUnsupportedOSes pref is set 2018-08-30 21:28:56 -07:00
Greg Neagle
5c05072f85 Bump version to 3.3.2 for future release 2018-08-30 10:36:20 -07:00
Greg Neagle
dea412d72e Dark Mode support for MSC.app and MunkiStatus.app 2018-08-30 09:41:28 -07:00
Greg Neagle
04b0feb5fd Toolbar layout fix for Mojave 2018-08-22 16:13:07 -07:00
Greg Neagle
2794253104 Safer determination of short hostname; Raise a GurlError instead of allowing an unhandled exception if a download rename fails 2018-08-15 13:44:43 -07:00
Greg Neagle
f438b5def9 Don't exit with an unhandled exception if LaunchServices._LSCopyAllApplicationURLs(None) returns None/nil 2018-06-25 11:28:34 -07:00
Greg Neagle
ee7be2997d Before copying a directory for a copy_from_dmg item, ensure it is owned by root (in addition to the 0700 check) 2018-06-19 15:31:35 -07:00
Greg Neagle
8496349b73 Catch exception if we cannot securely create the destination directory for a copy_from_dmg item 2018-06-19 14:46:33 -07:00
Greg Neagle
470013ac8a Merge branch 'no-serveserve-symlink' 2018-06-19 09:37:41 -07:00
Greg Neagle
18ef54ca00 Don't allow user-writable SelfServiceManifest to be a symlink 2018-06-18 14:42:52 -07:00
Greg Neagle
9e0d4e0426 More strict validation of permissions when copying directories from a disk image. 2018-06-18 11:28:50 -07:00
Clayton Burlison
b1e94a072b fix: Remove OpenSSL import in keychain.py (#856)
In Mojave 10.14 Apple has updated the openssl version to a newer release
of LibreSSL (2.6.4) that no longer contains the proper Symbols for SSLv3.
This causes import errors in the OpenSSL module that ships with 10.14.

To resolve the import errors we now shell out to openssl to get the
client cert common name. This has been hand tested with the following
macOS/openssl versions:

- 10.12 - 0.9.8zh 14 Jan 2016
- 10.13 - LibreSSL 2.2.7
- 10.14b1 - LibreSSL 2.6.4

Fix: #855
2018-06-12 08:23:13 -07:00
Elliot Jordan
7468a441cf Add missing spaces in help strings (#857) 2018-06-12 08:21:33 -07:00
Greg Neagle
68a5628a34 Add more logging to authrestartd; update comments in MSCPasswordAlertController.py 2018-06-05 16:06:51 -07:00
Greg Neagle
d248ec8121 When storing password for authrestart, also store (and retreive) username for use with APFS on High Sierra+ 2018-06-04 15:35:18 -07:00
Greg Neagle
0bf8d5d23c When checking for evidence of installation when evaluating a managed_uninstall, do not be fooled by an empty installs array. 2018-05-30 13:54:50 -07:00
Greg Neagle
ff0832fdf3 Don't crash if DomainName is not set in the current network configuration when attempting to auto-detect the repo URL 2018-05-30 08:10:01 -07:00
Greg Neagle
6a2586e655 Bumping version for future release 2018-05-16 06:22:49 -07:00
Greg Neagle
83b3429fad Fix owner and group for /private/etc/paths.d/munki 2018-05-09 08:18:23 -07:00
Greg Neagle
bd46420907 Properly set ownership for LaunchAgent in app_usage pkg 2018-05-09 06:52:02 -07:00
Greg Neagle
2ad96d86af Fix for inaccurate detection of already-mounted disk images 2018-05-08 17:02:40 -07:00
Greg Neagle
870c260e19 Tweaks to #includes in the PyObjC apps so they'll build under both Xcode 8 and Xcode 9 2018-05-04 07:59:54 -07:00
Greg Neagle
ddac5a7ea7 When installing Apple updates via softwareupdate, attempt to use the InstallHistory.plist to determine installation success before using the parsed outout of the softwareupdate binary. 2018-04-24 16:39:34 -07:00
Greg Neagle
48d9c296b2 munkiimport: if no options or arguments are given, print usage 2018-04-19 15:37:39 -07:00
Greg Neagle
c837176d19 Add 'featured' to the list of key/values to copy from the previous pkginfo. Fixes #815. 2018-04-18 13:47:53 -07:00
Greg Neagle
46747a9848 Fix warn_if_server_is_default function to not crash when SoftwareRepoURL is None, a result of the changes in autodetecting ther Munki repo 2018-04-18 10:25:18 -07:00
Greg Neagle
975d2b1f36 When SoftwareRepoURL is not defined, try several default URLs starting with some https:// urls 2018-04-17 22:34:40 -07:00
Greg Neagle
f8cf138790 Remove empty line from app_usage/postinstall 2018-04-09 10:48:02 -07:00
Greg Neagle
8532574aa9 As suggested by @eholtam, use launchctl asuser instead of launchctl bsexec on 10.10+ in app_usage pkg pre- and postinstall scripts. 2018-04-09 08:25:05 -07:00
Greg Neagle
62dd7700fd Refactor app_usage_monitor into user-level agent and privileged daemon. 2018-04-07 19:10:16 -07:00
Erik Gomez
37c0e79822 fix developer and categories (#846)
Signed-off-by: Erik Gomez <e@eriknicolasgomez.com>
2018-04-06 13:27:28 -07:00
Greg Neagle
4fd032567a Fix bad merge of version.plist 2018-03-27 17:14:01 -07:00
Greg Neagle
51efa81942 Merge branch 'master' into Munki3dev 2018-03-27 17:11:31 -07:00
Greg Neagle
e1f5f0204b Explicitly clear softwareupdate's LastSessionSuccessful value before checking for updates to minimize false reports of unsuccessful sessions. 2018-03-27 17:08:02 -07:00
Greg Neagle
332212bfce When using os.uname()[1] to get the hostname, decode('UTF-8') to convert to Unicode 2018-03-23 16:00:53 -07:00
Greg Neagle
b365ffcc0a update munkilib/version.plist for eventual release 2018-03-09 16:42:50 -08:00