Commit Graph

1919 Commits

Author SHA1 Message Date
eholtam 5e9978f711 Remove find() breaks
Removing the breaks in the find function to allow multiple matches per section per manifest.
Addresses issue https://github.com/munki/munki/issues/512
2015-09-01 10:24:14 -05:00
Greg Neagle 0f8a51f9e7 Ignore _mbsetupuser when checking for other GUI users prior to logout/restart 2015-08-20 10:42:54 -07:00
Greg Neagle 8378d43fbf Add missing installSessionErrorAlert method to AlertController 2015-08-20 10:22:33 -07:00
Greg Neagle 05dae35e23 Revert "Merge pull request #502 from munki/msulink"
This reverts commit 6bb4936be8, reversing
changes made to c2239c5de8.
2015-08-19 12:03:07 -07:00
Greg Neagle 6bb4936be8 Merge pull request #502 from munki/msulink
only create Managed Software Update.app symlink if it previously existed
2015-08-19 09:59:27 -07:00
Greg Neagle c2239c5de8 Merge pull request #507 from erikng/master
preupgrade_alert support
2015-08-19 09:58:48 -07:00
Greg Neagle 891d70c778 Fix help message for managedsoftwareupdate --id 2015-08-19 09:46:04 -07:00
Erik Gomez 0bcf01693e preupgrade_alert support 2015-08-17 09:33:00 -05:00
Greg Neagle 853fcfdb23 PyLint cleanups on munkiimport 2015-08-12 14:21:14 -07:00
Greg Neagle 416edbc2dc Fix issue when matching receipts when an individual receipts's version number is different from the overall item version number 2015-08-12 13:00:24 -07:00
Samuel Keeley d02eb2a9c3 Don't make Utilities folder 2015-08-06 10:10:54 -07:00
Greg Neagle 364206acdf Removing notifier from master branch 2015-08-06 09:17:45 -07:00
Greg Neagle fb5d985ba1 Bumping version for 2.3 RC1 2015-08-06 08:39:56 -07:00
Samuel Keeley 0b06bca521 spaces not tabs 2015-07-31 06:36:22 -07:00
Samuel Keeley 917159f1ab only create Managed Software Update.app symlink if it previously existed. 2015-07-31 06:32:40 -07:00
Greg Neagle f39e6b5cd7 Kill stray comma 2015-07-29 15:04:32 -07:00
Greg Neagle 6471f6d2a3 If there is no orignal softwareupdate CatalogURL on 10.11, use --clear-catalog to reset. 2015-07-29 13:42:18 -07:00
Greg Neagle 0ce7846fe5 Make appleupdates_test.py stop complaining 2015-07-29 08:57:12 -07:00
Greg Neagle 9e0deb7540 Some changes to appleupdates.py to work around issues on 10.11 2015-07-29 08:11:03 -07:00
Greg Neagle d0f0862436 Merge branch 'master' of https://github.com/munki/munki 2015-07-29 08:10:14 -07:00
Greg Neagle 1dd8329d66 Inject NSAppTransportSecurity key and value into [NSBundle mainBundle]'s infoDictionary in order to make App Transport Security happy on 10.11 2015-07-29 08:09:39 -07:00
Greg Neagle 498fee6fbb Merge pull request #499 from taniguti/Japanese-localization
Check and correct Japanese strings
2015-07-25 08:35:49 -07:00
Takanori TANIGUCHI 1cf8414c48 Check and fix Japanese strings 2015-07-25 17:51:48 +09:00
Takanori TANIGUCHI ec4e98aae2 Correct year. 2015-07-25 17:44:32 +09:00
Greg Neagle 441e649288 take out another instance of 'launchctl bsexec' usage under 10.11 2015-07-14 13:44:15 -07:00
Greg Neagle 6f3b65feac Don't use under 10.11 since SIP prevents it from doing what we want 2015-07-14 13:39:49 -07:00
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