Justin McWilliams
37170e4915
Slow down a potential busy loop if MSU GUI is waiting for a restart alert to be dismissed.
2012-04-13 15:13:56 +05:30
Greg Neagle
069c522bd9
Add CFBundleName definition to English.lproj/InfoPlist.strings
2012-04-10 10:32:21 -07:00
Greg Neagle
d7236fce3a
Fix for items marked for forced_install_after_date that also require logout or restart
2012-04-03 09:19:15 -07:00
Greg Neagle
cae13631fa
MSU.app: Encode update descriptions in UTF-8 before passing to WebKit WebFrame loadData_MIMEType_textEncodingName_baseURL_. Fixes an issue with certain Mac OS X versions.
2012-02-17 14:55:38 -08:00
Greg Neagle
1914a1142a
Bump MSU.app version
2012-01-06 11:40:58 -08:00
Greg Neagle
a0decf2625
Change copyright notice to 2010-2012
2012-01-04 13:52:33 -08:00
Greg Neagle
2be63ee00a
Don't display on battery power warning unless charge is less than 50%. Reverse buttons in warning dialog to match those in Apple Software Update.
2011-12-07 14:00:38 -08:00
Greg Neagle
69419d939b
MSU.app now displays a warning if user chooses to update while on battery power.
2011-12-06 14:29:53 -08:00
Greg Neagle
736f722276
MSU: warn user if on battery power when choosing to update
2011-12-06 14:00:08 -08:00
Greg Neagle
ac9141125d
Add getPowerInfo() to munki.py for use by MSU.app
2011-12-05 11:16:12 -08:00
Justin McWilliams
95f162e750
Don't log repetitive lines when running softwareupdate; only log if the stdout has changed since the last loop iteration.
...
This should change things like:
Nov 16 13:12:03 Registering updated applications…
...
Nov 16 13:12:19 Registering updated applications…
Nov 16 13:12:19 Registering updated applications…
Nov 16 13:12:20 Registering updated applications…
Nov 16 13:12:20 Registering updated applications…
Nov 16 13:12:21 Registering updated applications…
Nov 16 13:12:21 Registering updated applications…
Nov 16 13:12:22 Registering updated applications…
Nov 16 13:12:22 Writing package receipts…
Nov 16 13:12:23 Writing package receipts…
Nov 16 13:12:23 Writing package receipts…
Nov 16 13:12:24 Writing package receipts…
Nov 16 13:12:24 Writing package receipts…
Nov 16 13:12:25 Writing package receipts…
Nov 16 13:12:25 Writing package receipts…
...
Nov 16 13:12:59 Writing package receipts…
To simply:
Nov 16 13:12:03 Registering updated applications…
Nov 16 13:12:22 Writing package receipts…
2011-11-17 14:30:55 -05:00
Justin McWilliams
19fbb4ed56
Case-insensitive sort MSU GUI update list, preferring forced install items, then preferring display_name to name.
2011-11-17 12:50:16 -05:00
Greg Neagle
d0ca63a43b
Merge branch 'status-launch-and-cache-on-checksum'
2011-09-27 09:26:12 -07:00
Greg Neagle
833d509c94
Fix - send update notification to MSU.app after an unattended install; fix method signature for utils.runExternalScript
2011-09-14 16:43:50 -07:00
Greg Neagle
239663353f
Fix issues in munki.py when writing trigger files; edits to launchdaemons so managedsoftwareupdate-loginwindow runs only when a trigger file is present
2011-09-14 15:31:42 -07:00
Greg Neagle
765bf5094f
Removed new MSU launch trigger file; combining with existing trigger
2011-09-14 10:39:31 -07:00
Greg Neagle
116569f4fd
Updated MSU.app build scripts to get Git revision only for the MSU.xcode.project tree and to not fail if GitRevision is already in Info.plist
2011-09-07 15:14:56 -07:00
Rob Middleton
cb5e0076d0
Speed launch of MSU.app status mode to cover the login window following logout install actions.
2011-09-07 21:23:48 +10:00
Greg Neagle
7264f20ac1
Updated copyright notice in Managed Software Update.app
2011-08-24 14:19:22 -07:00
Greg Neagle
3a45395672
Updated build script for MSU.app to insert build number derived from Git and Git revision into Info.plist
2011-08-24 11:31:52 -07:00
Greg Neagle
98ac900592
Update discardTimeZoneFromDate() function in updatecheck.py to match that in MSU.app's munki.py. Fixes issue with Lion caused by differing string representations of NSDates between Lion and Snow Leopard.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@1294 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-08-16 02:11:15 +00:00
Greg Neagle
51b04c7548
Cleaner version of discardTimeZoneFromDate(the_date)
...
git-svn-id: http://munki.googlecode.com/svn/trunk@1293 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-08-15 21:42:47 +00:00
Greg Neagle
92eed69394
Fix for Lion: calculating the local time for force_install_after_date
...
git-svn-id: http://munki.googlecode.com/svn/trunk@1292 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-08-15 15:51:16 +00:00
Greg Neagle
d8f947e0d1
Fix so restart/logout required icons show next to appropriate items in MSU.app; this was broken by the code that tried to display the exclamation icon for items with force_install_after_date
...
git-svn-id: http://munki.googlecode.com/svn/trunk@1291 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-08-13 02:18:36 +00:00
Greg Neagle
ce5a36dcd1
Further cleanup of the endSheet methods to explicitly check for NSAlertDefaultReturn, NSAlertAlternateReturn, NSAlertOtherReturn returncodes; avoiding potential issues should an alert sheet be closed with NSApp.endSheet_()
...
git-svn-id: http://munki.googlecode.com/svn/trunk@1278 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-08-08 16:33:53 +00:00
Greg Neagle
bdd9ca8b0e
Fix for issue where a (newer) forced logout warning replaces a currently displayed forced logout warning in MSU.app
...
git-svn-id: http://munki.googlecode.com/svn/trunk@1275 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-08-05 23:18:28 +00:00
Justin McWilliams
2126bb5763
MSU GUI should log which version is being launched.
...
This helps when debugging reported problems with the MSU GUI in Munki executions where the GUI was updated; was it updated before or after launching? ;)
git-svn-id: http://munki.googlecode.com/svn/trunk@1272 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-08-05 15:50:08 +00: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
Greg Neagle
916b67b153
Add code to prevent auto-relaunch of MSU.app after logout/login or restart on Lion.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@1241 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-07-20 15:17:04 +00:00
Greg Neagle
2656d7ab96
MSU.app: Fix for non-visible optional items forgetting their state when "Add or Remove" was clicked when the list was filtered.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@1182 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-05-18 15:42:38 +00:00
Greg Neagle
253187fd4c
Managed Software Update.app: Add search/filter field to Optional Software view to assist in finding items when there are lots of optional_installs.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@1181 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-05-17 23:22:19 +00:00
Rob Middleton
7b771b08f2
NO -> objc.NO for 10.5
...
git-svn-id: http://munki.googlecode.com/svn/trunk@1157 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-05-03 06:57:56 +00:00
Greg Neagle
eeec63aaa5
Another attempted fix for WebView/WebCore crashing issue. Thx Rob Middleton.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@1156 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-05-02 15:27:54 +00:00
Greg Neagle
10d2532d8b
Bumped version number for MSU.app to 3.0.15.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@1118 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-04-14 15:14:54 +00:00
Greg Neagle
60f38d0fde
Attempt at fix for WebKitView crashing issue.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@1117 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-04-14 15:11:18 +00:00
John Randolph
24d6d1a0e0
merge /branches/msu_logging in
...
see issue 62 &
changes 1064, 1065, 1070 for other discussion
git-svn-id: http://munki.googlecode.com/svn/trunk@1081 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-03-22 17:04:30 +00:00
Greg Neagle
685314da25
Fix so PyObjC __NSDate and __CFDate objects are converted to strings (previously we only did __NSCFDate) . Need to revisit date handling to/from CFPreferences...
...
git-svn-id: http://munki.googlecode.com/svn/trunk@1046 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-02-25 00:18:56 +00:00
Justin McWilliams
dc3c1203e8
Updating wording for installs that require logout or restart, to make it clear that there may be a delay before MSU is displayed at the login window.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@1029 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-02-15 20:11:41 +00:00
Greg Neagle
a853f78c9f
Update copyright dates across the board.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@1010 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-01-25 18:22:14 +00:00
Rob Middleton
1e434697aa
Fix issue 56. MSU.app needs to reload preferences from disk after returning from a call to managedsoftwareupdate.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@1001 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-01-16 04:52:30 +00:00
Greg Neagle
9ebaa7ce5f
Change to Managed Software Update.app so it is more aggressive about checking for updates when manually launched.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@996 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2011-01-14 19:19:19 +00:00
Greg Neagle
6dd285b6a4
Added AdditionalHttpHeaders to preference manifest.
...
git-svn-id: http://munki.googlecode.com/svn/trunk@987 a4e17f2e-e282-11dd-95e1-755cbddbdd66
2010-12-23 19:14:48 +00:00
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