Greg Neagle
82c076aa46
Add os_build_number and os_build_last_component to predicate info object (AKA built-in 'conditions')
2018-02-11 09:12:57 -08:00
Greg Neagle
4f8b47746d
Fix for #829 . munkiimport: Don't crash with IndexError when --apple-update option is used.
2018-01-24 14:54:04 -08:00
Greg Neagle
1428c40d06
Update copyright notices to include 2018
2018-01-20 08:46:22 -08:00
Greg Neagle
f4078f6019
Set installed_size for High Sierra installer to 14.3GB when importing
2018-01-18 10:28:29 -08:00
Greg Neagle
de06aa73c0
When processing included_manifests skip any empty items in the array. Prevents an unexpected error leading to a crash wirh some webserver confiugurations
2018-01-10 09:21:10 -08:00
Greg Neagle
15e677d5e4
Update some Gurl object method defintions for better compatibility with newer versions of PyObjC
2017-12-16 09:21:51 -08:00
Greg Neagle
2d2681e8cd
Set munki-notifier MacOSX Deployment Target to 10.8
2017-12-16 09:19:33 -08:00
Greg Neagle
3762b82375
When there is an installation deadline, do not display pending update count in Notification Center notifications to allow more room to display deadline details
2017-12-08 10:37:15 -08:00
Greg Neagle
0de5de02e8
Strip leading slashes from relative manifest pathname to prevent managedsoftwareupdate from storing local manifest copies in unexpected paths
2017-12-08 10:32:57 -08:00
Greg Neagle
b676a5d894
app_usage_monitor: fix a commet typo - thanks @dre
2017-12-02 09:10:39 -08:00
Greg Neagle
1fbcceb1c7
Add missing import for NSLog to passwdutil.py
2017-12-01 14:48:59 -08:00
Greg Neagle
97ab9ad234
Fix for Unexpected error in appleupdates when apple update metadata item contains 'RestartAction': 'None' for an item whose RestartAction is already 'None'.
2017-11-30 13:32:06 -08:00
Greg Neagle
0dc1f02511
munkilib/updatecheck/compare.py: Catch KeyError when attempting to find applications in installs arrays when an application item might not have a path key/value
2017-11-28 09:44:20 -08:00
Greg Neagle
f7f7f527b4
makecatalogslib.py: _append_ extra errors to the end of the errors list; _extend_ does the wrong thing :-)
2017-11-27 11:05:03 -08:00
Greg Neagle
ce5ddf2193
munkiimport: Fix issue where pkgs/ was prepended to the relative pkg path in the pkginfo.
2017-11-27 07:01:52 -08:00
Greg Neagle
833cd18806
Make some functions in munkiimportlib.py less chatty to make them easier to use in other code
2017-11-26 17:32:15 -08:00
Greg Neagle
0fc13759ab
makepkginfo: Remove no-longer used --verify-options-only flag and code
2017-11-26 17:30:33 -08:00
Greg Neagle
dd6e936e80
munkiimport now calls code in munkilib/admin/makecatalogs.py to rebuild catalogs instead of subprocessing makecatalogs
2017-11-19 17:56:09 -08:00
Greg Neagle
255f5762f5
Move reusable code from makecatalogs into munkilib/admin/makecatalogslb.py
2017-11-19 17:30:22 -08:00
Greg Neagle
dbf0c95b9d
Move munkiimportlib.py and pkginfolib.py into munkilib/admin
2017-11-19 08:39:22 -08:00
Greg Neagle
810d5d833d
Move lots of munkiimport functions into munkilib/munkiimportlib.py so they can be called by other code
2017-11-19 07:04:44 -08:00
Greg Neagle
b27aefe373
munkiimport now calls code in munkilib/pkginfolib to generate a pkginfo instead of subprocessing makepkginfo.
2017-11-18 15:09:16 -08:00
Greg Neagle
b56c95e791
Move generation of makepkginfo option groups to pkginfolib so munkiimport can add them as well
2017-11-18 13:40:19 -08:00
Greg Neagle
fe659e0180
More tweaks to pkginfolib and makepkginfo
2017-11-18 13:18:17 -08:00
Greg Neagle
f0e6e3d1a9
Move some makepkginfo code into a lib module that can be called by other code (like, say munkiimport...)
2017-11-18 12:35:35 -08:00
Greg Neagle
b59eeff1d1
for UseNotificationCenterDays preference, munki-notifier will use a managed preference value if present, else fall back to reading the value from /Library/Preferences/ManagedInstalls.plist (ignoring user-level preferences)
2017-11-16 17:37:30 -08:00
Greg Neagle
42152f3ef7
Fix for munki-notifier so it will respect Managed Preferences and root preferences for UseNotificationCenterDays
2017-11-16 16:07:36 -08:00
Greg Neagle
828f251b89
Add product id to distribution packages. product id is needed by other tools
2017-11-08 09:16:19 -08:00
Greg Neagle
11bc22b382
Merge branch 'issue814fix' into Munki3dev
2017-11-03 14:26:07 -07:00
Greg Neagle
8e1f2a92b0
More fixes for the missing NetFS.kNAUIOptionKey, NetFS.kNAUIOptionNoUI, and NetFS.kNetFSAllowSubMountsKey constants in High Sierra.
2017-11-03 14:18:32 -07:00
Greg Neagle
4cfdddcd97
Possible fix for issue #814
2017-10-25 09:06:56 -07:00
Greg Neagle
293fb8c449
Fix status text display issue with Unavailable items. Fixes #812
2017-10-23 10:30:27 -07:00
Greg Neagle
041b041d3e
Fix issue where warnings/notes were not displayed for an item if the item had no description. Fixes #811
2017-10-23 09:55:00 -07:00
Greg Neagle
2b0f9a47ef
Re-write AppleUpdates.plist after installing unattended Apple Updates. Attempt at addressing #804 .
2017-10-22 09:29:02 -07:00
Greg Neagle
96816ba6cc
PyLint clean up
2017-10-22 08:34:34 -07:00
Greg Neagle
92169fcdd9
When MSC.app converts an application icon to PNG, use CoreGraphics and Image I/O methods so that embedded ColorSync profiles are preserved. Similar to commit 3d7021af8f.
2017-10-22 08:33:40 -07:00
Greg Neagle
3d7021af8f
Use CoreGraphics and Image I/O to convert icns to png, preserving embedded ColorSync info under macOS < 10.13
2017-10-19 12:48:30 -07:00
Ben Goodstein
49144ed681
Removing references to Managed Software Update in the localized window title of MunkiStatus ( #810 )
2017-10-13 09:48:10 -07:00
Arjen van Bochoven
21927438ae
Localized pkgsinfo support ( #809 )
...
* Add support for localized_strings in pkgsinfo files
* Update Munkiitems.py
Use NSBundle.preferredLocalizationsFromArray_forPreferences_ instead of
NSLocale.currentLocale
* Move localized_strings to GenericItem
And add localized_strings to iteminfo
* Add localized_strings to munkiimport
2017-10-13 09:03:05 -07:00
Greg Neagle
b60bd34580
Bump version for development.
2017-10-09 11:52:53 -07:00
Greg Neagle
2462981994
Don't ignore the value of RestartAction for configuration profile installs. Fixes #808 .
2017-10-09 11:50:00 -07:00
Greg Neagle
e13c21e21e
Prevent an issue on 10.13 when mounting a repo in the cli admin tools by hardcoding certain NetFS constants.
2017-09-18 10:27:37 -07:00
Greg Neagle
eb17f853fb
Don't set overall restartflag to False if a nopkg item doesn't require restart. Thanks to @chymb
2017-09-12 14:13:06 -07:00
Greg Neagle
2c5d2a0006
osinstaller: always initiate restart if startosinstall quits and has sent us SIGUSR1
2017-09-11 11:18:28 -07:00
Greg Neagle
54713665be
Tweaks around restart handling after a successful startosinstall run
2017-09-11 09:44:38 -07:00
Greg Neagle
c45b5e854b
munkiimport: When attempting to get info on existing pkgs in the repo, only print a warning about failure to read catalogs/all if there are any items in pkgsinfo. Better first-import experience for new repos.
2017-09-08 11:00:46 -07:00
Greg Neagle
3b4a333c4b
Updated Russian localization. Thanks to Dino Libertino.
2017-09-08 08:16:36 -07:00
Greg Neagle
4b8c386482
Updated Japanese localization. Thanks to Dino Libertino.
2017-09-08 08:16:04 -07:00
Greg Neagle
d38cb35350
Updated Italian localization. Thanks to Dino Libertino.
2017-09-08 08:15:25 -07:00
Greg Neagle
2aa7cee702
Merge branch 'Munki3dev' into fv_bootstrapping
2017-09-05 16:42:17 -07:00