Commit Graph

1853 Commits

Author SHA1 Message Date
Greg Neagle
74112ae2c8 Record PendingUpdateCount in ManagedInstalls preferences for use by docktileplugin 2015-04-15 10:19:00 -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
Greg Neagle
9d750e9418 Merge branch 'master' into one-time-tasks 2015-03-22 09:55:43 -07:00
Greg Neagle
d0c1c40353 Special case for Office 2011 updaters when building lists of files; install location should be empty string 2015-03-22 09:55:19 -07:00
Greg Neagle
6c30e378d8 Merge branch 'master' into one-time-tasks 2015-03-22 09:09:21 -07:00
Greg Neagle
ca355d0289 Special case for Office 2011 updaters when building lists of files 2015-03-22 09:08:44 -07:00
Erik Gomez
d102c15cfe Update managedsoftwareupdate 2015-03-21 18:53:24 -05:00
Greg Neagle
66f6cffecf Merge branch 'master' into one-time-tasks 2015-03-20 10:26:48 -07:00
Nick McSpadden
938f50ead9 TABS 2015-03-20 10:26:17 -07:00
Nick McSpadden
6877101604 Better future-proof check for uninstaller_item_location
AdobeCCPUninstaller _must_ have an uninstaller_item_location key. If
uninstaller_item_location is specified, it must be valid.
2015-03-20 10:24:57 -07:00
Greg Neagle
33fd840a76 Bump version to 2.2.4 for release 2015-03-20 10:23:59 -07:00
Nick McSpadden
01c0b5393d Supports AdobeUberUninstaller removal 2015-03-16 10:00:52 -07:00
Greg Neagle
1f06922b70 Merge branch 'master' into one-time-tasks 2015-03-16 09:09:32 -07:00
Nate Walck
b767cf999f Added logging so it is easier to determine if updates are installed at login window or a user GUI session 2015-03-16 09:03:04 -07:00
Greg Neagle
a3d0c492fe Add support for pkginfo 'OnDemand' key to enable on-demand tasks 2015-03-14 19:29:14 -07:00
Greg Neagle
42a70f284c Tweak makepkginfo's warning message when there is no installation check info 2015-03-14 13:00:49 -07:00
Brian Warsing
79b319fa3e revise warning message and adjust formatting
Revise warning msg to remove ref to missing PayloadIdentifier and clean-up the
multiline string formatting to make it easier to read.
2015-03-14 11:36:56 -07:00
Brian Warsing
45ec79557a update warning to include PayloadIdentifier msg
In the unlikely event a profile with a missing PayloadIdentifier is
successfully parsed, produce a warning.
2015-03-14 09:54:47 -07:00
Brian Warsing
eba3458790 add PayloadIdentifier as install criteria
PayloadIdentifiers are used to determine install status. Add this to the list
of acceptable install criteria.

In addition, DRY out the code and supply an explicit return value.
2015-03-14 09:47:10 -07:00
Brian Warsing
2557fd48bd produce a warning when install criteria is missing
Adds a check that produces a warning to stderr when the package being parsed
does not contain:
- a populated installs array
- a populated receipts array
- a populated installcheck_script
2015-03-14 08:24:38 -07:00
Brian Warsing
8a018bbc0d insert new func has_valid_install_critieria
Inspects compiled catalog info dictionary for valid install criteria.
Returns boolean.
2015-03-14 08:05:32 -07:00
Brian Warsing
ac663350b0 kill hanging whitespace
Rather than including this in an effective commit, kill this hanging whitespace
in a separate commit on the off-chance it needs to be reverted.
2015-03-14 08:03:29 -07:00
Brian Warsing
13c7e34f6f do not return None when there's no receipts
munkicommon.getPackageMetaData was returning None when the receipts array was
empty. This eventually produced a fatal error and halted makepkginfo. Remove
the early return statement and allow getPackageMetaData to return the empty
list.
2015-03-14 07:54:30 -07:00
Nick McSpadden
34769fb436 Revert "Now works with other "Adobe" uninstaller_types"
This reverts commit a77c42b2a9.
2015-03-13 15:04:18 -07:00
Nick McSpadden
a77c42b2a9 Now works with other "Adobe" uninstaller_types 2015-03-13 12:58:07 -07:00
Greg Neagle
ba387f2b7c Convert all command-line arguments to Unicode (assuming utf-8 encoding) to eliminate issues with item paths containing Unicode characters 2015-03-13 12:20:20 -07:00
Nick McSpadden
2c140e915a Added uninstaller_item_location check to makecatalogs 2015-03-13 12:12:32 -07:00
Greg Neagle
8701bacf78 Bump version to 2.2.3 for new release 2015-03-12 11:58:09 -07:00
Greg Neagle
57db17404b Don't skip checking for Apple software updates when AppleSoftwareUpdatesOnly is set to true 2015-03-12 11:33:01 -07:00
Greg Neagle
845e1f8766 Fix dpi metadata on toolbar icons 2015-03-10 14:08:52 -07:00
Samuel Keeley
b9c1f63bfc Fix DPI for icons 2015-03-10 14:01:04 -07:00
Greg Neagle
af87349c11 Bump version plist to 2.2.1 2015-03-10 11:02:48 -07:00
Greg Neagle
256ae69383 Process self-serve uninstalls the same way we do self-serve installs; avoids picking up a catalogs list from SelfServeManifest 2015-03-10 11:01:11 -07:00
Samuel Keeley
dbb9dacc3d optimized icns from optimized pngs 2015-03-09 11:17:00 -05:00
Samuel Keeley
b868bc41a0 lossless optimization of PNG assets 2015-03-09 09:34:00 -05:00
Samuel Keeley
60a8fe7ae4 Update uninstall_munki.sh 2015-03-09 09:05:19 -05:00
Samuel Keeley
13e79760ea Update uninstall_munki.sh
Also remove Managed Software Center.app.

(I hope nobody uses this!)
2015-03-04 23:59:27 -08:00
Greg Neagle
b5bc93bf8d Make MSC responsible for triggering a restart if needed and GUI user is present to avoid process synchronization issues 2015-02-25 15:35:42 -08:00
Greg Neagle
c43a1e666d Don't add receipt info for payload-free flat pkgs to pkginfo since they do not leave receipts in the pkgutil receipts database. 2015-02-24 11:08:02 -08:00
Greg Neagle
f42af65d17 makepkginfo: When getting receipt info from flat distribution pkgs, prefer the info from the subpackage's PackageInfo files to the top-level Distribution file 2015-02-23 19:12:02 -08:00
Greg Neagle
ed9c0905b3 Merge branch 'master' of https://github.com/munki/munki 2015-02-19 17:01:15 -08:00
Greg Neagle
b145d6f0ce Display an error message when attempting to import a profile that does not nave a PayloadType of 'Configuration' 2015-02-19 17:00:59 -08:00