Commit Graph

31 Commits

Author SHA1 Message Date
Greg Neagle efeca8e0fc Change 'touch' operation to use binary flag for consistency 2023-11-16 14:10:28 -08:00
Greg Neagle 767f64b12a Update copyright info 2023-02-22 09:59:22 -08:00
Greg Neagle 5ee0f5928a Update copyright dates 2022-05-10 16:09:38 -07:00
Greg Neagle 9d3e265cb8 Update copyright dates 2021-02-20 09:05:58 -08:00
Greg Neagle e1b5d505bc Revert "Revert "munki: rename "/usr/local/munki/python" symlink to "munki-python" (#997)""
IOW, restore the rename of "/usr/local/munki/python" symlink to "munki-python" (#997)

This reverts commit b9f9fffccc.
2020-09-15 16:46:34 -07:00
Greg Neagle b9f9fffccc Revert "munki: rename "/usr/local/munki/python" symlink to "munki-python" (#997)"
This change is still a good future goal, but is causing problems that are too difficult to work around right now and is delaying the vital release of Munki 5.1 for Big Sur compatibility.

This reverts commit 3bb91cabca.
2020-09-15 09:04:47 -07:00
David Aguilar 3bb91cabca munki: rename "/usr/local/munki/python" symlink to "munki-python" (#997)
Avoid masking the system /usr/bin/python by calling our symlink
"munki-python" instead of "python".

Closes #996
2020-07-07 13:58:34 -07:00
Greg Neagle 72a0535d0d Update Copyright dates 2020-01-01 08:53:37 -08:00
Greg Neagle af51af5cdd Change all sh-bang lines to #!/usr/local/munki/python 2019-07-16 22:14:47 -07:00
Greg Neagle df60207145 Add 'from __future__ import absolute_import' to all files to enforce Python3-style imports 2019-05-03 21:34:56 -07:00
Greg Neagle 918d0b7391 Update copyright dates 2019-01-02 10:31:50 -08:00
Greg Neagle 1428c40d06 Update copyright notices to include 2018 2018-01-20 08:46:22 -08:00
Greg Neagle d4596fb6f5 Fix a missed variable rename that caused logout notifications to be broken 2017-04-22 21:06:40 -07:00
Greg Neagle e04345b620 logouthelper: remove import of munkicommon; replace with the refactored modules 2017-03-02 09:04:45 -08:00
Greg Neagle 22a8bfdbbe Recreate a launchagent that logouthelper can use to launch Managed Software Center. 2017-02-26 13:00:06 -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 427064223b move some more functions out of updatecheck.py 2016-12-16 14:16:02 -08: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 12d4f0d27e Update copyright info on files; remove abandoned tools from code/tools 2016-03-15 09:32:28 -07:00
verycarefully d20bd0bdf4 Configure syslog in logouthelper, too 2016-01-08 16:07:05 -05:00
Justin McWilliams cec30b1439 Ensure 60, 30, 10 & 5m reboot notices are seen.
Ensure that 60, 30, 10, and 5 minute notifications are *all* seen before forcefully rebooting a machine, not merely the 60 minute notification.

Previously, if the 60m notice was seen, then the machine was put to sleep for 55m+, it could reboot without another notice after waking up.
2015-11-18 14:13:53 -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 e118a18deb Update logouthelper to check for Managed Software Center instead of Managed Software Update 2014-07-22 10:04:02 -07:00
Greg Neagle fddd138000 Bumping version to 1.0.0. Updated copyright dates. 2014-01-10 08:20:15 -08:00
Greg Neagle f8f558edc5 logouthelper now properly checks both InstallInfo.plist and AppleUpdates.plist for 'force_install_after_date' items. 2013-03-08 13:28:46 -08:00
Greg Neagle 4b71ace130 Updated copyright info on all files with copyright info. 2013-01-28 11:55:09 -08:00
Justin McWilliams 5d901765a1 Fix logouthelper from crashing 100% of the time.
updatecheck.discardTimeZoneFromDate() was renamed to subtractTimeZoneOffsetFromDate() in https://code.google.com/p/munki/source/detail?r=cc67bb8ca134c2782b15fb1c32ca8fa811a74f3d
2013-01-10 16:03:15 -05:00
John Randolph 4cddf73b2c bug:
If a force_install_date in InstallInfo was in the past, logouthelper will
advance it to NOW + 60 minutes and start ignoring InstallInfo upcoming
force_install_date values.

If the admin revises the old force_install_date to the future after
logouthelper has already run, logouthelper does not load the new
force_install_date and sticks with its new value.

This patch fixes this.
2012-05-30 19:05:40 -04:00
Justin McWilliams 06801d2ef7 Reduce the likihood of a lingering /var/run/com.googlecode.munki.ManagedSoftwareUpdate by sleeping for 1/2 a second (instead of .1) and using open() instead of subprocess+touch to write the file. 2011-11-08 12:42:41 -05:00
Justin McWilliams d03b2ba11f Merging forced_install_after_date branch to trunk.
This adds Force Install Notifications support to the MSU GUI, and logouthelper support to managedsoftwareupdate/launchd. Documentation on using the pkginfo force_install_after_date key to come....

This merge also includes localization fixes and on-the-fly updating of the MSU GUI when managedsoftwareupdate runs in the background while the GUI is open, changing InstallInfo.

With this merge, the Munki version is increased to 0.8.0 and MSU GUI version to 3.2.


git-svn-id: http://munki.googlecode.com/svn/trunk@1270 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-08-04 19:23:19 +00:00