Commit Graph

91 Commits

Author SHA1 Message Date
Greg Neagle 8ee774bd31 Managed Preferences manifest for munki added.
git-svn-id: http://munki.googlecode.com/svn/trunk@986 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-12-23 18:43:35 +00:00
Greg Neagle c99319c89a More localization cleanup and organization
git-svn-id: http://munki.googlecode.com/svn/trunk@979 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-12-15 21:27:27 +00:00
Greg Neagle 6eab17d7ea git-svn-id: http://munki.googlecode.com/svn/trunk@977 a4e17f2e-e282-11dd-95e1-755cbddbdd66 2010-12-14 18:51:46 +00:00
Greg Neagle f0340d2ddc Another pass at localization, this time using build-time generated xibs for non-English languages.
git-svn-id: http://munki.googlecode.com/svn/trunk@976 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-12-14 18:50:23 +00:00
Greg Neagle 24af18799e Add German localization for Managed Software Update.app. Thanks to Martin R. Hufsky.
git-svn-id: http://munki.googlecode.com/svn/trunk@975 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-12-13 23:38:29 +00:00
Greg Neagle 681acae624 Add MCX support, based on code contribution from Dan Roque.
Other minor clean-ups.

git-svn-id: http://munki.googlecode.com/svn/trunk@973 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-12-13 20:11:22 +00:00
Greg Neagle d6f9c9286b Code changes to avoid the indexError: NSRangeException error when returning from an update check.
git-svn-id: http://munki.googlecode.com/svn/trunk@943 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-12-01 01:58:31 +00:00
Greg Neagle 4497c25f53 Explicitly set self.stopBtnState = 0 when starting a MunkiStatusSession.
git-svn-id: http://munki.googlecode.com/svn/trunk@934 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-11-29 22:21:28 +00:00
Greg Neagle c1c9ce2ac7 More changes to enable localization
git-svn-id: http://munki.googlecode.com/svn/trunk@920 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-11-18 18:21:13 +00:00
Greg Neagle eae0b1b19f More NSLocalizedString() inserts.
git-svn-id: http://munki.googlecode.com/svn/trunk@917 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-11-16 19:39:51 +00:00
Greg Neagle 16210ce780 First pass at adding support for localization to Managed Software Update.app; wrapped UI strings with NSLocalizedString().
git-svn-id: http://munki.googlecode.com/svn/trunk@916 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-11-16 18:27:03 +00:00
Greg Neagle e4bc10aedd Managed Software Update.app now warns if any blocking apps are running if the user chooses to update without logging out.
git-svn-id: http://munki.googlecode.com/svn/trunk@910 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-11-12 00:35:46 +00:00
John Randolph 44d2ab28ab fix typo in MSUAppDelegate
prevent curl from using non-authenticated anon DH cipher types, 
  e.g. TLS_DH_anon_WITH_AES_256_CBC_SHA

(seems that curl --ciphers HIGH selects high # bit ciphers, but
not necessarily only secure ones)



git-svn-id: http://munki.googlecode.com/svn/trunk@899 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-11-10 19:27:54 +00:00
Greg Neagle 2e43d20cfb Removes activation delay on "Update now" button; also removes default status from "Update now" so that it's less likely to be activated by accident.
git-svn-id: http://munki.googlecode.com/svn/trunk@896 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-11-08 23:56:26 +00:00
Justin McWilliams d13aa8215d MSU.app:
- Remove the hardcoded setTitle_() call in MSUStatusWindowController.py; the window title defined in English.lproj/MainMenu.xib will be used by default. 


git-svn-id: http://munki.googlecode.com/svn/trunk@895 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-11-08 19:46:07 +00:00
John Randolph a3ef0f6ebc when MSU pops up for updates, only enable the "Update now" button after 4
seconds.
         
this lessens a problem where users may be interrupted by MSU popping up, be
caught off guard while typing and accidentally press enter on the default
"Update now" button



git-svn-id: http://munki.googlecode.com/svn/trunk@888 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-11-05 00:21:04 +00:00
Greg Neagle fa6a848625 Added Run Script build phase to MSU.app project so that SVN version number gets appended to the version number and also set as CFBundleVersion.
git-svn-id: http://munki.googlecode.com/svn/trunk@871 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-10-26 20:29:22 +00:00
Greg Neagle 9b7e165f53 Another dumb syntax error fix
git-svn-id: http://munki.googlecode.com/svn/trunk@841 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-10-21 22:37:20 +00:00
Greg Neagle 3d41ec7430 Fix for displaying names of items to be removed when ManagedInstalls.plist's ShowRemovalDetail is True
git-svn-id: http://munki.googlecode.com/svn/trunk@840 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-10-21 20:56:19 +00:00
Greg Neagle f552e1e6f4 Bump MSU.app version to 3.0.7 since there were changes to the code.
git-svn-id: http://munki.googlecode.com/svn/trunk@822 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-10-19 18:14:31 +00:00
Justin McWilliams 12447c8e74 Managed Software Update/munki.py:trimVersionString() enhancement.
Instead of stripping x parts off the tuple, simply trim all lone trailing 0's from the version.

    Examples:
      10.0.0.0 -> 10.0
      10.0.0.1 -> 10.0.0.1
      10.0.0.1.0.0 -> 10.0.0.1
      10.0.0-abc1 -> 10.0.0-abc1
      10.0.0-abc1.0 -> 10.0.0-abc1



git-svn-id: http://munki.googlecode.com/svn/trunk@793 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-10-14 17:39:57 +00:00
Greg Neagle f07e01655b Fix for incorrectly initialized KVO arrays in Managed Software Update.app; bumped MSU.app to version 3.0.6; bumped munkitools version to 0.6.0.757.0.
git-svn-id: http://munki.googlecode.com/svn/trunk@758 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-09-21 23:30:06 +00:00
Greg Neagle 0b667a61b2 Moved getconsoleusers to munki.py; there were copies in both MSUAppDelegate.py and MSUStatusWindowController.py (this is a leftover from when Managed Software Update and MunkiStatus were separate apps).
Removed readPlist(filepath) from MSUStatusWindowController; it now uses the equivalent function from FoundationPlist.

Other minor cleanups.

git-svn-id: http://munki.googlecode.com/svn/trunk@739 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-09-09 23:37:53 +00:00
Greg Neagle d88121a005 Bump version to 3.0.5
Display installed size for Apple Software Updates.


git-svn-id: http://munki.googlecode.com/svn/trunk@731 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-09-07 23:07:01 +00:00
Greg Neagle c1b625d817 Checks to prevent unhandled IndexErrors exceptions
git-svn-id: http://munki.googlecode.com/svn/trunk@708 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-09-01 22:16:44 +00:00
Greg Neagle 5863306955 Bug fix for readSelfServiceManifest()
git-svn-id: http://munki.googlecode.com/svn/trunk@706 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-09-01 18:39:07 +00:00
Greg Neagle 16487dac1c Changes for optional installs. Bump version to 3.0.4
git-svn-id: http://munki.googlecode.com/svn/trunk@703 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-09-01 16:59:08 +00:00
Greg Neagle c40e49aa8c Updated FoundationPlist.py to same version in /usr/local/munki/munkilib/
Minor NIB/XIB tweaks.

git-svn-id: http://munki.googlecode.com/svn/trunk@693 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-26 21:33:42 +00:00
Greg Neagle f8cf2fb9d0 MSU.app: munki.py cleanup to make pylint happier.
git-svn-id: http://munki.googlecode.com/svn/trunk@691 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-26 15:03:17 +00:00
Greg Neagle 92942c7d17 Managed Software Update version 3.0.3: status window is now resizable, and the stop button no longer can be activated via the space bar. Removed commented-out code in munki.py.
git-svn-id: http://munki.googlecode.com/svn/trunk@690 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-08-26 14:36:38 +00:00
Greg Neagle 9a47af9605 Changes to eliminate "WebKit Threading Violation" errors from the log; now use self.performSelectorOnMainThread_withObject_waitUntilDone_ to make sure the description is updated on the main thread.
git-svn-id: http://munki.googlecode.com/svn/trunk@602 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-23 17:39:46 +00:00
Greg Neagle 8cf50e6b51 Fixed handling of plain text descriptions so that line breaks and other whitespace is displayed properly.
Fixed bogus "You software is up to date" alert when there were Apple Software Updates to install.

git-svn-id: http://munki.googlecode.com/svn/trunk@600 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-22 22:38:52 +00:00
Greg Neagle 117ef8d23f Merged MunkiStatus.app and Managed Software Update.app. Added UI for Optional Software.
git-svn-id: http://munki.googlecode.com/svn/trunk@579 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-07-21 02:52:21 +00:00
Greg Neagle 49246c448c Managed Software Update 2.0.2: bounces icon in the Dock to request user attention if there are updates but the app is not active; changes in logic around checking for updates.
git-svn-id: http://munki.googlecode.com/svn/trunk@531 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-04-27 20:47:42 +00:00
Greg Neagle 4b6606d76a in getAppleUpdates(), check prefs['InstallAppleSoftwareUpdates'] to handle the case where munki has found AppleUpdates, but admin has later set InstallAppleSoftwareUpdates to False.
git-svn-id: http://munki.googlecode.com/svn/trunk@519 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-03-29 17:18:09 +00:00
Greg Neagle 92667c9a9b Now uses SBApplication.applicationWithURL_ to get the _MunkiStatusApp object if SBApplication.applicationWithBundleIdentifier_ fails, which it might if MunkiStatus has never been launched on that particular machine.
git-svn-id: http://munki.googlecode.com/svn/trunk@496 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-03-04 22:48:02 +00:00
Greg Neagle 7d5aeee811 Change to logic in updateInProgress() to minimize the number of calls to SBApplication.applicationWithBundleIdentifier_, which prints annoying warnings to the log.
git-svn-id: http://munki.googlecode.com/svn/trunk@480 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-03-02 21:22:54 +00:00
Greg Neagle 9b212c9825 Wait a bit longer before giving up when checking to see if an updatecheck was successfully kicked off.
git-svn-id: http://munki.googlecode.com/svn/trunk@476 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-02-23 22:06:43 +00:00
Greg Neagle 33bedf4a74 Altered logic when waiting to see if we were successful in starting an update check.
git-svn-id: http://munki.googlecode.com/svn/trunk@466 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-02-19 01:05:13 +00:00
Greg Neagle e4681ccd6f Appearance tweaks in Managed Software Update.app
git-svn-id: http://munki.googlecode.com/svn/trunk@463 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-02-18 00:53:10 +00:00
Greg Neagle 934f1329bc New PyObjC-based version of Managed Software Update.app.
git-svn-id: http://munki.googlecode.com/svn/trunk@458 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-02-17 18:39:22 +00:00