Commit Graph

3263 Commits

Author SHA1 Message Date
Greg Neagle
8e0ffe1b56 Bumping version for future development work 2020-01-07 15:37:56 -08:00
Greg Neagle
b96c516a96 Merge branch 'master' into Munki4dev 2020-01-07 15:36:49 -08:00
William Theaker
e2d88c0091 Indicate default option y/n choices (#970)
* Indicate default option for repoclean

* Indicate default choice
2020-01-07 15:35:44 -08:00
pranavshenoy
7024c7721b adding quotes to avoid build script failure (#965) 2020-01-07 15:31:19 -08:00
Greg Neagle
72a0535d0d Update Copyright dates 2020-01-01 08:53:37 -08:00
Elliot Jordan
21766484f7 Only attempt decode if xattr_hash exists (#969)
Resolves #968
2020-01-01 08:34:19 -08:00
Greg Neagle
264470e7eb Remove Command-Q shortcut for Quit to prevent using that to quit the MunkiStatus app at/over the loginwindow. 2019-12-20 15:44:13 -08:00
Greg Neagle
25f7af52d6 Be more careful when attempting to get stored SHA hash of downloaded icons 2019-12-20 09:58:43 -08:00
Greg Neagle
a87ac53c1c Attempt to convert 'LoggingLevel' to int to avoid Python 3 raising an exception when comparing a string and an int. Addresses #963 2019-12-10 11:45:31 -08:00
Greg Neagle
7e1eed59cd Bump version for future release 2019-12-10 11:43:41 -08:00
Greg Neagle
0b56fe752d Remove pyobjc versions of the GUI apps from the code repo. 2019-12-10 08:53:58 -08:00
Greg Neagle
9ddc5a063a Added python component pkgs to make_munki_mpkg_DEP.sh 2019-12-06 15:24:12 -08:00
Greg Neagle
cc142bec47 make_munki_mpkg.sh now builds the Python.framework if no framework is found -or- the -p option is given.
This helps the make_munki_mpkg_from_git.sh script actually work usefully.
2019-11-19 16:45:12 -08:00
Greg Neagle
4b94579586 Bumping version to 4.0.0 for future release 2019-11-15 09:00:30 -08:00
Greg Neagle
a827e6cfd2 Import division from __future__ to make pylint --py3k happier 2019-11-14 10:03:03 -08:00
Greg Neagle
aec2ef7014 Raise better exceptions/errors when a filepath given to makepkginfo doesn't exist or can't be read. Addresses #960. 2019-11-14 09:57:00 -08:00
Greg Neagle
91f6087751 Handle bytestring output from fdesetup if it returns non-zero. Addresses #959. 2019-11-07 11:55:13 -08:00
Greg Neagle
e20a7c7e63 When getting available license seats in Python 3, make sure data passed to FoundationPlist.readPlistFromString is a byte array. Addresses #957. 2019-11-03 22:44:08 -08:00
Greg Neagle
8065ab94c3 build_python_framework.sh properly handle paths with spaces when calculating root directory of Munki git repo. Addresses #956 2019-11-03 22:37:00 -08:00
Greg Neagle
ebdefe4fc0 Attempt to autodetect repo url if repo URL is undefined _or_ is the insecure default. Addresses an issue in 3.6.3 release where autodetect was skipped. 2019-10-14 09:05:43 -07:00
Greg Neagle
c2eb49e025 Properly decode outout from Adobe install tool in Python 3. 2019-10-11 15:47:53 -07:00
Greg Neagle
174184336b Add timestamp back to MSC logging entries 2019-09-18 10:43:24 -07:00
Greg Neagle
343bf9ae80 Replace overlooked 'MSU' tags with 'MSC' for msc logging 2019-09-18 10:08:07 -07:00
Greg Neagle
f8fdc272a4 Update MACOSX_DEPLOYMENT_TARGET for MSCDockTilePlugin to 10.10 2019-09-18 09:23:10 -07:00
eholtam
61e75f7e49 Updated DEP creation script to allow signing the app and added runtime hardening for notarization support. (#939) 2019-09-04 08:21:59 -07:00
Greg Neagle
330774ddcc Add --options runtime to the signing option for the apps to make notarization easier in the future. 2019-09-04 08:15:28 -07:00
Greg Neagle
c81fd77d59 MunkiStatus: delay starting up NSApplication until CGSession is available. Works around a display issue at boot. 2019-08-27 13:22:53 -07:00
Greg Neagle
504c47283f Attempt to parse 10.15's softwareupdate -l output 2019-08-25 19:20:05 -07:00
Greg Neagle
4c0449f513 Commit some automatic fixes Xcode applied to munki-notifier.xcodeproj/project.pbxproj 2019-08-22 10:22:34 -07:00
Greg Neagle
fad3feefe0 Code reformat in appleupdates.sync 2019-08-21 20:55:01 -07:00
Greg Neagle
df35986f23 New tooling to create the Python 3 framework 2019-08-16 14:32:17 -07:00
Greg Neagle
3cd9b1aa21 Protect against receipt items that are missing the version key 2019-08-08 10:38:07 -07:00
Greg Neagle
619a1d7055 Don't encode CFBundleVersion into a bytestring before checking if it starts with a digit. Fixes a TypeError exception in Python3 2019-08-06 12:50:54 -07:00
Greg Neagle
293efdd767 Fix munkilog.log() so it correctly handles Unicode under Python 2 2019-08-03 21:33:50 -07:00
Greg Neagle
de40d61de8 Adjust human_readable() function to make PyLint happier (and technically more robust) 2019-07-31 09:49:57 -07:00
Joaquín
433fa52aec Fixed repoclean sorting by LooseVersion in reverse mode (#945) 2019-07-31 09:06:46 -07:00
Greg Neagle
11cd7db873 Protect against badly-authored installs arrays when checking if blocking applications are running. 2019-07-30 08:13:35 -07:00
Greg Neagle
16f4f7f9a1 Improved logic for adding items to the lists of fully installed and partially installed items in analyze_installed_pkgs. Addresses here: https://groups.google.com/d/msg/munki-discuss/o9peEXeOZf8/s6ffgmriEwAJ 2019-07-25 16:41:16 -07:00
Greg Neagle
9bd7a14a18 System python optional component pkg in the distribution pkg 2019-07-25 16:38:06 -07:00
Greg Neagle
ca7392ee8d Safer handling of bytestrings when making a diskimage 2019-07-23 16:41:49 -07:00
Greg Neagle
558a6494a9 appleupdates/dist.py get_localization_strings: Make sure data is bytestrings before passing to FoundationPlist.readPlistFromString 2019-07-23 13:40:17 -07:00
Greg Neagle
9e803988da Add resources for python package 2019-07-18 15:04:50 -07:00
Greg Neagle
ec7424f9b7 Update make_munki_mpkg.sh script to build Python component pkg 2019-07-16 22:16:13 -07:00
Greg Neagle
0537cab5ea Bump development version to 3.7. 2019-07-16 22:15:26 -07:00
Greg Neagle
af51af5cdd Change all sh-bang lines to #!/usr/local/munki/python 2019-07-16 22:14:47 -07:00
Greg Neagle
c2d2fef8a6 Convert bytestring data to NSData before passing to NSPropertyListSerialization.
propertyListFromData_mutabilityOption_format_errorDescription_ instead of using memoryview
2019-07-16 22:12:07 -07:00
Greg Neagle
7ff576f159 Python 3 compatibility fixes 2019-07-13 18:21:54 -07:00
Greg Neagle
b5dd66606c Fix authrestart client to not close the socket twice after a request in Python 3. 2019-07-13 07:52:16 -07:00
Greg Neagle
cb6dfcfd90 Simpler implementation of get_input wrapper 2019-07-13 07:31:58 -07:00
Greg Neagle
d3a349a213 Python 3 list vs iterator fix 2019-07-13 07:31:22 -07:00