3124 Commits

Author SHA1 Message Date
Greg Neagle
c6a029d613 Update version.plist for future release versioning 2020-02-10 08:57:04 -08:00
Greg Neagle
f57336eb3c More protection against badly-defined LoggingLevel in Munki's prefs 2020-02-06 16:06:49 -08:00
Greg Neagle
5fdc5f809b When removing existing destination items before copying from a dmg, properly handle symlinks and regular files. 2020-02-06 15:08:13 -08:00
Greg Neagle
002b40f62c Line length and continued indentation fixes 2020-01-28 21:44:54 -08:00
macmule
2c659b146e Update repoclean (#976)
* Update repoclean

Added --auto flag

* Update repoclean

added missed recommended changes
2020-01-28 21:38:31 -08:00
Greg Neagle
1f3ac5f2eb When parsing old-style .info files, first attempt to decode as MacRoman before trying UTF-8 2020-01-23 11:42:46 -08:00
Greg Neagle
0c622922df Parse old-style .info files in Python 3 without crashing when encountering non-ASCII characters. 2020-01-23 09:51:00 -08:00
Greg Neagle
75d8f7ff07 When recursively removing the com.apple.quarantine xattr when copying from a dmg, do not follow symlinks. 2020-01-14 16:21:56 -08:00
Greg Neagle
8555afc8b7 Properly convert Adobe installsize into an integer. Addresses #974 2020-01-14 09:34:29 -08:00
Greg Neagle
3bd988ffdc Catch exceptions if we can't read a file to generate a hash 2020-01-13 22:24:31 -08:00
Nate Walck
e7ffb40518 Pass pkginfo through to middleware so additional context is available (#966)
* Pass pkginfo through to middleware so additional context is available

* fix typo

* Add pkginfo to get_url()
2020-01-12 12:41:45 -08:00
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