Commit Graph

204 Commits

Author SHA1 Message Date
Greg Neagle f338e5ead5 And the refactoring continues... 2017-01-01 15:16:07 -08:00
Greg Neagle 242bbc9855 Move more functions out of updatecheck and into new modules 2017-01-01 14:43:54 -08:00
Greg Neagle dcedb3a418 Make munkicommon.stopRequested() work in all run modes 2016-12-15 08:40:35 -08:00
Greg Neagle f46c04307f Replace all references to 'Managed Software Update.app' with 'Managed Software Center.app' 2016-12-14 17:02:14 -08:00
Greg Neagle bbd34966ca Always send status updates so MSC.app can display them if it is open. 2016-12-14 16:59:54 -08:00
Greg Neagle ddf1940bf6 Move authrestart module out of munkicommon to root of munkilib 2016-12-14 15:48:40 -08:00
Greg Neagle 61120839db Set global verbose and munkistatusoutput variables via munkicommon.display module 2016-12-14 15:17:17 -08:00
Wesley Whetstone 1163fbb3d2 readding changes to manasoftwareupdate 2016-12-01 10:40:10 -08:00
Greg Neagle 5ae397eee4 Merge branch 'fv-auth-restart' 2016-11-28 10:44:33 -08:00
Greg Neagle fa8895429e After doing unattended installs, don't recheck Apple updates availability if there were none available when we started (or we weren't supposed to check them at all) 2016-06-29 17:05:23 -04:00
Greg Neagle 97499e703c Revert "After doing unattended installs, don't recheck Apple updates availability if there were none available when we started (or we weren't supposed to check them at all)"
This reverts commit f02cde7f5d.
2016-06-29 17:01:10 -04:00
Greg Neagle f02cde7f5d After doing unattended installs, don't recheck Apple updates availability if there were none available when we started (or we weren't supposed to check them at all) 2016-06-29 17:00:35 -04:00
Wesley Whetstone 73f0581fe1 changing msu logging and comments for restart 2016-06-22 10:00:31 -07:00
Wesley Whetstone 1a496d1f34 adding necessary code to managedsoftwareupdate doRestart 2016-06-21 14:28:30 -07:00
Greg Neagle 28cb5f7c66 Better handling of manifest names that include Unicode characters, including handling --id from managedsoftwareupdate at the command-line. 2016-05-11 10:21:15 -07:00
Greg Neagle 109146c368 Keep MSC.app launch trigger file around for 5 seconds before removing to make launching MSC more reliable on 10.10+. 2016-04-15 13:23:35 -07:00
Greg Neagle 41ef4ac741 Convert Exception objects to unicode before passing them to munkicommon.display_* functions. Addresses issue #584 2016-03-30 10:50:00 -07:00
Greg Neagle 2abb90bba8 Remove more cases of premature str() conversion for munkicommon.display_*() functions. Addresses potential unicode issues. 2016-03-18 11:19:17 -07:00
Greg Neagle 12d4f0d27e Update copyright info on files; remove abandoned tools from code/tools 2016-03-15 09:32:28 -07:00
Greg Neagle 17ea06d631 munkistatusoutput tweak 2016-03-09 21:14:17 -08:00
Samuel Keeley 5c12185da4 Replace http://www.apache.org/licenses/LICENSE-2.0 with https://www.apache.org/licenses/LICENSE-2.0 2015-11-13 20:35:24 -08:00
Greg Neagle 087bed6b72 PyLint cleanups for managedsoftwareupdate 2015-10-09 08:59:26 -07:00
Greg Neagle 3fd17e5587 Rephrase logging about skipping Apple updates when Munki items to install contain Apple items; move code block to clearer place 2015-10-09 07:12:10 -07:00
Pepijn Bruienne f3e86d2087 Add logging about skipped ASU checks when installing Apple items. 2015-10-09 09:40:09 -04:00
Greg Neagle 891d70c778 Fix help message for managedsoftwareupdate --id 2015-08-19 09:46:04 -07:00
Greg Neagle 5307006ef4 Clear PendingUpdateCount after installing so Dock badge is reset 2015-04-15 14:37:29 -07:00
Greg Neagle 74112ae2c8 Record PendingUpdateCount in ManagedInstalls preferences for use by docktileplugin 2015-04-15 10:19:00 -07:00
Greg Neagle a82fc141c1 Merge pull request #464 from erikng/master
60 second network wait
2015-03-25 15:52:40 -07:00
Erik Gomez d102c15cfe Update managedsoftwareupdate 2015-03-21 18:53:24 -05: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 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 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 1745cd295f Seperate the ideas of skipping the check phase and only installing so that managedsoftwareupdate doesn't auto-install cached items when the Munki server cannot be reached. 2015-02-06 09:35:15 -08:00
Erik Gomez 19524fe259 Update managedsoftwareupdate
Refresh time now one second.
2014-11-25 10:16:41 -06:00
Erik Gomez 130152b801 Update managedsoftwareupdate 2014-11-22 23:54:44 -06:00
Erik Gomez 8b444133ec Update managedsoftwareupdate
Extend time up to 30 seconds, checking every half second.
2014-11-22 23:50:59 -06:00
Greg Neagle 719429747d Warn if client is using the default repo, which is insecure. 2014-11-12 10:38:12 -08:00
Greg Neagle 816dcb5c12 Change Munki URL in startup text printed when running managedsoftwareupdate. 2014-11-04 15:36:13 -08:00
Greg Neagle 423ec8b790 PyLint cleanup: replace all unused_foo variables with dummy_foo variables to make PyLint happy 2014-10-26 11:42:33 -07:00
Greg Neagle 60bc2dcd13 revert part of Revision: 90752e2f9768; proceed to install if options.logoutinstall or options.installonly are true, instead of doing options.auto actions first. The prior change caused SuppressLoginwindowInstall to prevent install during a bootstrapping session. 2014-08-21 16:00:20 -07:00
Greg Neagle 9f6bc782b4 If Munki is configured to check and install AppleSoftwareUpdatesOnly, update the LastCheckDate and LastCheckResult 2014-08-12 22:44:14 -07:00
Greg Neagle 7d79748174 Remove trailing whitespace from all lines in managedsoftwareupdate (code style issue) 2014-07-22 10:27:21 -07:00
Greg Neagle 79093c048f Merging Arjen's MUNKI_VERBOSITY_LEVEL environment variable 2014-06-24 15:39:02 -07:00
Arjen van Bochoven 2af6c13f87 Renamed VERBOSE to MUNKI_VERBOSITY_LEVEL 2014-06-25 00:23:32 +02:00
Arjen van Bochoven 62986bac54 Store verbosity level in environment variable
Pre- and post-flight scripts can use verbosity level from managedinstall
2014-06-23 23:33:04 +02:00
Greg Neagle 90752e2f97 When running managedsoftwareupdate in --auto mode, if the Munki repo server is not available, do not exit immediately, but attempt to install any cached updates (either those marked for unattended_install or if at the loginwindow, all updates) 2014-06-19 15:12:13 -07:00
Greg Neagle d343ede672 Add support for product icon downloads from Munki server 2014-03-24 10:21:42 -07:00
Greg Neagle c0d96c31fd Allow non-root user to run managedsoftwareupdate --version 2014-03-22 19:50:35 -07:00
Greg Neagle 20a8466836 Send an update notification after a 'managedsoftwareupdate --installonly' run so any open instance of MSC.app updates its display 2014-03-14 16:21:27 -07:00
Greg Neagle 64597994ae Make sure the need to restart is not lost when Munki updates need a restart but Apple updates do not. 2014-02-21 08:43:11 -08:00