Greg Neagle
b1b79ed51b
Fix for Dock update badge not being properly updated, caused by a regression here in commit 292bc808c6
2017-04-07 09:38:10 -07:00
Greg Neagle
39b0d0720c
Exit faster/earlier and do less when another instance of managedsoftwareupdate is running.
2017-04-04 13:22:05 -07:00
Greg Neagle
292bc808c6
- Groundwork for installing from locally-installed app instead of dmg
...
- Run some finishing tasks including postflight script when signalled by startosinstall that it's ready to restart
- launchd.py extended to optionally _not_ cleanup a launchd job on exit so that startosinstall isn't killed prematurely and can live on after managedsoftwareupdate's untimely death
2017-04-04 10:49:15 -07:00
Greg Neagle
2219f13621
Add macOS install support to managedsoftwareupdate
2017-04-01 21:28:48 -07:00
Greg Neagle
0b1a1f344a
managedsoftwareupdate: Remove munkicommon import; replace with refactored modules
2017-03-02 11:01:27 -08:00
Greg Neagle
d3801b1071
new launchagent for munki-status, new make_munki_mpkg.sh script
2017-02-26 12:01:43 -08:00
Greg Neagle
90d457b082
more of the needed munki-notifier pieces
2017-02-26 10:30:33 -08:00
Greg Neagle
0ef9b61120
Simplfy idle check when deciding whether or not to remove the bootstrap flag file
2017-02-02 11:54:57 -08:00
Greg Neagle
4fb323f4b0
Remove managedsoftwareupdate's check for server availabilty -- if the server is not available, it will fail while attempting to get the primary manifest.
2017-02-02 11:52:35 -08:00
Greg Neagle
4053a0dbe7
Update copyright dates to 2017
2017-01-17 20:14:31 -08:00
Greg Neagle
e605490e95
Lots of PyLint clean ups
2017-01-10 08:59:41 -08:00
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