Commit Graph

1289 Commits

Author SHA1 Message Date
Greg Neagle
d6906958c7 Always add catalog info to pkginfo. Fixes issue with --nopkg. Thanks to masonm@the-jci.org. 2013-11-05 15:20:49 -08:00
Greg Neagle
7da8af6700 Added new localized French message. Merci to iceman.grrrr@gmail.com 2013-11-05 15:04:51 -08:00
Greg Neagle
11aa83062f makepkginfo now inserts some user/environment metadata into generated pkginfo files. It stores the metadata under the '_metadata' key. makecatalogs now strips any key starting with _ from pkginfo before adding the pkginfo to a catalog. 2013-11-04 10:43:06 -08:00
Greg Neagle
48b1120e7d Small fix for firmware alert text code 2013-10-22 15:12:02 -07:00
Arjen van Bochoven
ca07f73d92 Expanded license_info_url check to if statement 2013-10-21 21:30:55 +02:00
Arjen van Bochoven
fcb7181830 Change query character to ampersand if the license_info_url contains an question mark. 2013-10-21 20:43:09 +02:00
Greg Neagle
96a16c2769 Detect Apple firmware updates and display a warning in Managed Software Update.app when the user chooses to install 2013-10-14 09:39:01 -07:00
Greg Neagle
f5d937be7e MSU.app Optional Software: if an update is available, allow installation. Previously if such and item did not also allow removal, MSU.app confusingly blocked installation. 2013-10-08 16:05:45 -07:00
Greg Neagle
33957f30f1 munkicommon.getPackageMetaData: If munkicommon.getInstallerPkgInfo(pkgitem) does not return any useful info, do not bail; instead continue on and attempt to get receipt info. If no receipt info, then return None. This works around an issue where some packages cause /usr/sbin/installer -info -pkg foo to crash. 2013-10-08 10:01:20 -07:00
Greg Neagle
036788722a Code formatting, line length, and whitespace cleanup 2013-10-08 09:30:29 -07:00
Greg Neagle
ec942c5992 Updated appleupdates.py with workarounds for changes in upcoming OS X releases. Bumped version to 0.9.2, since this is a non-trivial change. 2013-10-07 14:31:31 -07:00
Greg Neagle
543f2bf16f Change handling of (possibly) unicode strings in the munkicommon.display_foo functions to convert to ASCII, and to properly handle (possibly) unicode msg parameter when there are no additional arguments 2013-10-07 12:40:46 -07:00
Greg Neagle
eb3c5e120c PyLint fixes: remove spaces before EOLs 2013-10-04 12:10:21 -07:00
Greg Neagle
df4f7f2661 Make sure makePredicateInfoObject() doesn't throw an exception if munkicommon.report['StartTime'] is not defined. 2013-10-04 11:55:56 -07:00
Greg Neagle
0ba24a169b When getting list of available updates, honor the list of ignored updates 2013-10-01 14:26:06 -07:00
Greg Neagle
2ce6f6127c Merge branch 'makepkginfo-display_name' of https://github.com/hjuutilainen/munki 2013-09-03 09:25:05 -07:00
Greg Neagle
5beb7c85b3 in adobeutils.getPayloadInfo() handle the case of no xml and no .db 2013-08-20 11:13:48 -07:00
Michael Lynn
65ab4e4153 Added --nopkg option to set installer_type to nopkg
Moved several options (description, display name, name, version) outside of the argument-requiring code block to assist in nopkg pkginfo creation.
2013-08-13 10:36:57 -07:00
Greg Neagle
1a891393c6 pkginfo items must now have an 'licensed_seat_info_available' attribute to cause managedsoftwareupdate to check for available licensed seats for optional installs 2013-08-13 08:10:47 -07:00
Justin McWilliams
b6fdd3a25f Merge branch 'master' of https://code.google.com/p/munki 2013-08-12 16:03:00 -04:00
Justin McWilliams
ceede8f4f5 ManagedInstallReport.plist includes error message details (from curl) for failed downloads. 2013-08-12 16:02:07 -04:00
Greg Neagle
567b8e31a5 Always return a dict from getSPApplicationData() even if something weird happens! 2013-08-02 09:10:09 -07:00
Greg Neagle
27354a4078 Merge branch 'adobeutils-mediadb' of https://code.google.com/r/tim-munki 2013-07-26 08:19:22 -07:00
Hannes Juutilainen
d4d43ec448 Added missing display_name option for apple_update type 2013-07-24 09:11:52 +03:00
Hannes Juutilainen
f0287d2649 Merge branch 'master' of https://code.google.com/p/munki into development
* 'master' of https://code.google.com/p/munki:
  Attempt to adjust makecatalogs to play nicer with PackageURL and PackageCompleteURL keys in pkginfo files
  Adjust error messages; convert munkicommon.display_foo() calls to use extra args instead of % interpolation
  Fix exception syntax to be python2.5 compatible, maintaining support for OS X 10.5 Leopard.
  s/munki\./munkicommon./g to fix display_error calls added in rf8c46ec3eb955cef6a2aefcc52be090234ac3705
  Initial support for checking for available licensed seats for uninstalled optional_installs
  Bumping version.plist for next round of development.
  If self-serve/etc. manifests are corrupt, log and pass instead of crashing.
  Corrected a typo, thanks to Greg Neagle.
  Cleaned up the localization a bit.
2013-07-23 12:38:48 +03:00
Greg Neagle
c34745b82a Attempt to adjust makecatalogs to play nicer with PackageURL and PackageCompleteURL keys in pkginfo files 2013-07-22 09:37:18 -07:00
Greg Neagle
86d0f7465a Adjust error messages; convert munkicommon.display_foo() calls to use extra args instead of % interpolation 2013-07-22 09:36:18 -07:00
ogle
4e3261b95f Fix exception syntax to be python2.5 compatible, maintaining support for OS X 10.5 Leopard. 2013-07-22 16:09:05 +00:00
Justin McWilliams
7c4eeb2d7b s/munki\./munkicommon./g to fix display_error calls added in rf8c46ec3eb955cef6a2aefcc52be090234ac3705 2013-07-18 16:48:33 -04:00
Greg Neagle
fe2a402202 Merge branch 'master' of https://code.google.com/p/munki 2013-07-16 15:21:43 -07:00
Greg Neagle
97d0d34f9b Initial support for checking for available licensed seats for uninstalled optional_installs 2013-07-16 15:21:29 -07:00
Greg Neagle
709d6f8b1d Bumping version.plist for next round of development. 2013-07-02 07:16:03 -07:00
Timothy Sutton
cc552795ad Clean up Media_db.db sqlite query. 2013-07-01 14:56:23 -04:00
Timothy Sutton
4a8e44bb51 adobeutils.py: Support new Adobe CC updaters with only Media_db.db in payload folders. 2013-07-01 14:38:37 -04:00
Justin McWilliams
f8c46ec3eb If self-serve/etc. manifests are corrupt, log and pass instead of crashing. 2013-06-21 10:59:43 -04:00
fridomac
5354349568 Corrected a typo, thanks to Greg Neagle. 2013-06-18 14:11:30 +00:00
fridomac
aa5b2a5092 Cleaned up the localization a bit. 2013-06-18 12:25:02 +00:00
Hannes Juutilainen
ae71171d70 Merge branch 'master' into development
* master:
  More localization fixes.
  Localization fix for the message: 'A restart is required after updating. Please be patient as there may be a short delay at the login window. Log out and update now?'
  Updated Swedish localization by peter.wreiber@gmail.com
  Track whether an update was installed in "only_unattended" mode or not in InstallResults, for additional reporting on various Munki servers.
  updated spanish strings for consistency
  Change application data collection code so that system_profiler SPApplicationsDataType is called only once per Munki session, even if system_profiler fails or hangs.
  Remove -d option from munkiimport as it conflicts with -d option to makepkginfo
  Don't display 'Running installcheck_script/uninstallcheck_script for foo...' messages when checking for updates.
  Support for installing AAMEE/CCP packages that include updates.
  Fix "NameError: name 'report_broken_python' is not defined" crash when attempting to report a broken Python install. The file hasn't been parsed at this point, so the report_broken_python function is nonexistent.
  Fix case where munkicommon.getAppBundleExecutable() returns None due to non-existent Info.plist, causing Munki to crash when parsing the None executable name.
  Patch to adobeutils.py from Pepijn Bruienne <bruienne@gmail.com> to allow makepkginfo to properly parse an Adobe Creative Cloud product package built with Creative Cloud Packager.
  Fix typo in French localization.
  Updated French localization from Richard Lafontaine <iceman.grrrr@gmail.com>
  Add Swedish localization from Peter Wreiber <peter.wreiber@gmail.com>
  minor correction to the spanish translation
2013-06-18 09:16:40 +03:00
Greg Neagle
4550004ce0 More localization fixes. 2013-06-17 11:19:53 -07:00
Greg Neagle
dec2a6962e Localization fix for the message: 'A restart is required after updating. Please be patient as there may be a short delay at the login window. Log out and update now?' 2013-06-17 10:35:45 -07:00
Greg Neagle
a932b3a9d7 Updated Swedish localization by peter.wreiber@gmail.com 2013-06-17 10:33:49 -07:00
Greg Neagle
becb3d2153 Merge https://code.google.com/r/nbalonso-spanish-translation 2013-06-17 10:12:39 -07:00
Justin McWilliams
dd712b5d3a Track whether an update was installed in "only_unattended" mode or not in InstallResults, for additional reporting on various Munki servers. 2013-06-16 11:18:49 -04:00
nbalonso
2ebc0efacc updated spanish strings for consistency 2013-06-10 18:37:42 +03:00
nbalonso
ee595a7dc0 Merge https://code.google.com/p/munki 2013-06-10 17:41:15 +03:00
Greg Neagle
45ade74d30 Change application data collection code so that system_profiler SPApplicationsDataType is called only once per Munki session, even if system_profiler fails or hangs. 2013-06-05 08:49:01 -07:00
Greg Neagle
2422aa7f10 Remove -d option from munkiimport as it conflicts with -d option to makepkginfo 2013-05-31 16:00:46 -07:00
Greg Neagle
b2651e9926 Don't display 'Running installcheck_script/uninstallcheck_script for foo...' messages when checking for updates. 2013-05-31 15:59:35 -07:00
Greg Neagle
ae5d2df02a Merge branch 'master' of https://code.google.com/p/munki 2013-05-17 10:21:18 -07:00
Greg Neagle
5aff95e9cd Support for installing AAMEE/CCP packages that include updates. 2013-05-17 10:20:28 -07:00