Commit Graph

1893 Commits

Author SHA1 Message Date
Greg Neagle 45b3fbf785 Update project settings for Managed Software Center and MunkiStatus to add Japanese localization 2015-07-08 15:25:36 -04:00
Allister Banks d4233edf31 add localization for japanese, haven't modified project settings
munkiStatus and MSC Japanese localizations. MSC’s is tested thoroughly.
Not including additional line in build script that calls localize,
leaving that to @gregneagle
2015-07-08 14:15:21 -04:00
Greg Neagle c92a0ba042 Protect against empty strings being passed as button labels for preinstall/preuninstall_alerts 2015-07-04 12:53:17 -07:00
Greg Neagle fd75be09fa Remove mistaken addition of OnDemand flag to configuration pkginfo in makepkginfo 2015-07-03 15:39:06 -07:00
Greg Neagle 3512f5389b Another attempt to actually accomplish what was intended here: https://github.com/munki/munki/commit/1e511689d562f633b93b7f59cc2e2b349eb987e0 -- turns out ClearAppleUpdateInfo() method wasn't actually being called by anything. Sigh. 2015-06-30 18:39:28 -07:00
Greg Neagle 60ce0fa167 Merge pull request #492 from erikng/master
Move paths.d to core package
2015-06-29 10:56:23 -07:00
Erik Gomez 45a36987f1 Revert to original recursive path. 2015-06-29 12:46:33 -05:00
Erik Gomez 8124b04f07 Add paths.d back to Admin pkg for sanity 2015-06-29 10:30:33 -05:00
Greg Neagle 900b34c481 Merge pull request #490 from Multimac/local_manifest_name
Update getmanifest to create unique filename for local copy of manifest
2015-06-29 08:28:31 -07:00
Erik Gomez 1f4cdff29d Change paths.d location to core package 2015-06-29 10:03:49 -05:00
David Symons 3e4935ec9b Changed filename checking in cleanUpManifests to ignore all files named 'SelfServeManifest' 2015-06-25 14:38:04 +10:00
David Symons cb5117b18d Reworked cleanUpManifests to use os.walk instead of recursion, cleaning it up.
Added better exception handling to manifest folder creation in getmanifest
2015-06-25 14:30:13 +10:00
David Symons 495873e7a1 Added exception for SelfServeManifest to cleanUpManifests 2015-06-23 16:58:15 +10:00
David Symons d041d90b6f Fixing spelling mistake 2015-06-23 16:46:58 +10:00
David Symons b1840af0ac Added cleanUpManifests to check over all manifests and remove those which are no longer used 2015-06-23 16:43:24 +10:00
David Symons d7512980f5 Flattened MANIFESTS, removing unnecessary sub-dictionaries. Also updated variable names to be less confusing 2015-06-23 16:02:22 +10:00
David Symons 96b80d7ce1 Forgot to use addToManifestCache and getFromManifestCache... 2015-06-23 13:42:36 +10:00
David Symons aecf0191a8 Updated getmanifest to copy the folder structure on the server when storing client-side manifests 2015-06-23 13:14:22 +10:00
David Symons f1af30de49 Update getmanifest to create unique filename for local copy of manifest 2015-06-22 12:40:19 +10:00
Greg Neagle 1a3d82291e html-escape labels for additional updates always; add missed template with escaped fields 2015-06-16 17:03:41 -07:00
Greg Neagle a6b4b5be84 Merge pull request #487 from klou/re-enable-makepkginfo-scripts
add arguments check to criteria test
2015-06-10 14:25:15 -07:00
Greg Neagle 73a1a33e80 HTML escape and/or JavaScript quote item fields that are substituted into templates to prevent invalid HTML/JavaScript. 2015-06-10 14:19:14 -07:00
klou 069c8be699 add arguments check to criteria test
Checks for a single argument (installer item) as well as has_valid_install_critieria.  Multiple arguments fail via other checks, zero arguments (script_options) pass for pkginfo generation.
2015-06-10 13:08:24 -07:00
Greg Neagle b37a514624 When url quoting items, encode as UTF-8 first 2015-06-10 09:01:26 -07:00
Greg Neagle 7b4ddff2ba Add .sutcatalog URL for El Cap 2015-06-10 08:28:28 -07:00
Timothy Sutton 4c02751b3d Check for a nil NSNotification.userInfo dict on applicationDidFinishLaunching_()
- seems to be nil/NoneType on 10.6
2015-06-04 10:40:06 -04:00
Clay Caviness 06fe9e25ea builtin.super doesn't work correctly with Cocoa classes, use objc.super instead.
This will allow support for more recent PyObjC installs (3.x) than what's on the system (2.x).
2015-06-03 12:14:01 -04:00
Greg Neagle 64f64dafdf Merge branch 'master' of https://github.com/munki/munki 2015-05-06 09:42:18 -07:00
Greg Neagle 4cec7f7366 Another attempt to fix toolbar display issues on Yosemite 2015-05-06 09:42:09 -07:00
Greg Neagle 743d023037 Merge pull request #477 from dayglojesus/fix_issue_476
fix issue #476
2015-05-05 17:25:23 -07:00
Brian Warsing 23423504fe fix issue #476
makepkginfo was crashing when trying to access non-existent keys in the catinfo
object. Replace `[]` accessor method with `get`.
2015-05-05 15:40:44 -07:00
Greg Neagle e988ba1993 Don't crash if profiles.py functions get called on 10.6.x 2015-05-05 15:05:09 -07:00
Brian Warsing ee1bcac831 follow symlinks when walking pkgs and pkgsinfo
To protect against infinite recursion, `os.walk` will not follow symlinks by
default. However, this safety feature can hamper the utility of makecatalogs if
admins want to symlink-in resources from multiple munki repos, so turn it off.
2015-05-01 11:13:18 -07:00
Greg Neagle 6e977c74ec Replace Updates toolbar image with png in attempt to fix unexpected icon size changes under Yosemite 2015-04-25 19:06:53 -07:00
Greg Neagle 248368ba3a Explictly check that item returned from NSPropertyListSerialization methods is None to distinquish that from perfectly-valid empty objects (empty arrays, dicts, etc) 2015-04-22 11:44:23 -07:00
Greg Neagle 3748463791 Check value of returned object when serializing or deserializing instead of the value of the error 2015-04-16 09:22:25 -07:00
Greg Neagle 5307006ef4 Clear PendingUpdateCount after installing so Dock badge is reset 2015-04-15 14:37:29 -07:00
Greg Neagle 42e2cf17f1 Begin Notification Center support: notifier helper app; docktileplugin, support for NSUserNotificationCenterDelegate methods 2015-04-15 10:44:37 -07:00
Greg Neagle 9d6de2e696 Merge pull request #471 from nmcspadden/master
Fixed indentation issue
2015-04-15 10:21:06 -07:00
Greg Neagle 74112ae2c8 Record PendingUpdateCount in ManagedInstalls preferences for use by docktileplugin 2015-04-15 10:19:00 -07:00
Nick McSpadden 72e6901cc2 Fixed indentation issue 2015-04-15 09:58:19 -07:00
Greg Neagle 85892be850 Merge branch 'one-time-tasks' 2015-04-15 08:54:50 -07:00
Greg Neagle f3d2bdcbb4 Merge pull request #458 from nmcspadden/master
Added uninstaller_item_location check to makecatalogs
2015-04-13 14:19:42 -07:00
Greg Neagle 1e511689d5 Apple Softwre Update: clear ApplicableUpdates.plist as well as AppleUpdates.plist after installing Apple updates. Addresses an issue where recently installed Apple updates may show as needing to be installed again if the SUS server is not reachable. 2015-04-09 18:37:19 -07:00
Erik Gomez 511d7f596c remove --ondemant_script
:(
2015-03-26 20:41:37 -05:00
Greg Neagle 3817e91907 Merge branch 'master' of https://github.com/munki/munki 2015-03-26 16:30:26 -07:00
Greg Neagle 9ae150a6b7 Don't go crazy if force_install_after_date for an item is not actually a date object. 2015-03-26 16:29:47 -07:00
Greg Neagle a82fc141c1 Merge pull request #464 from erikng/master
60 second network wait
2015-03-25 15:52:40 -07:00
Greg Neagle 7dbbf8f368 Add installer_type == 'apple_update_metadata' to has_valid_install_critieria function so makepkginfo doesn't warn when making pkginfo for apple_update items. 2015-03-25 11:36:51 -07:00
Erik Gomez 5253c5ec9d Add options for --ondemand_script and --OnDemand
Example:

makepkginfo --name RepairPermissions --displayname "Repair Permissions" --description "This tool will repair your disk permissions. This is helpful if you are experiencing issues with your machine." --nopkg --pkgvers=1.0 --unattended_install --ondemand_script="RepairPermissions.sh" --OnDemand
2015-03-23 18:56:18 -05:00