Commit Graph

491 Commits

Author SHA1 Message Date
Greg Neagle 6e410f4f19 Detect and warn user if machine is managed to allow admins only to install Apple updates and the user is not an admin 2020-04-15 21:42:42 -07:00
Greg Neagle a48aede376 More obnoxious window behavior when there is an Apple update needing restart over 14 days old 2020-04-14 14:53:09 -07:00
Greg Neagle 809ee361a2 Adjust timing on displaying Apple update alert on quit 2020-04-12 14:22:11 -07:00
Greg Neagle 6fd19c3bd6 Display alert about pending Apple updates when attempting to quit if needed 2020-04-12 14:18:48 -07:00
Greg Neagle 549c3bc537 Change wording of how long an update has been pending 2020-04-12 14:17:18 -07:00
Greg Neagle a38c66a422 Display the number of days an update has been pending (if over 2); disable Later button on pending apple updates alert if any update has been pending 14 days or longer 2020-04-12 12:46:52 -07:00
Greg Neagle 9d10e6d920 Silence some Xcode upgrade suggestions 2020-04-12 12:45:12 -07:00
Greg Neagle e01a005e6b write the installatstartup file as a plist instead of plaintext 2020-04-12 08:16:12 -07:00
Greg Neagle b01be61f31 remove unused optional parameter from buildUpdatesPage() 2020-04-11 12:08:00 -07:00
Greg Neagle cdf78c4b5b Bump version of MSC.app 2020-04-11 12:07:04 -07:00
Greg Neagle b6f83e8e3a Use software update icon for Apple softwareupdates in Updates views 2020-04-11 12:06:32 -07:00
Greg Neagle c2b7af7897 Filter list of Apple updates to remove items requiring a restart in 10.14+ if user does not agree to use Software Update prefs pane 2020-04-11 11:14:22 -07:00
Greg Neagle db5651f655 Display alert if there are Apple updates that require restart and open Software Update preferences pane 2020-04-08 07:47:55 -07:00
Greg Neagle 72a0535d0d Update Copyright dates 2020-01-01 08:53:37 -08:00
Greg Neagle 264470e7eb Remove Command-Q shortcut for Quit to prevent using that to quit the MunkiStatus app at/over the loginwindow. 2019-12-20 15:44:13 -08:00
Greg Neagle 0b56fe752d Remove pyobjc versions of the GUI apps from the code repo. 2019-12-10 08:53:58 -08:00
Greg Neagle 174184336b Add timestamp back to MSC logging entries 2019-09-18 10:43:24 -07:00
Greg Neagle 343bf9ae80 Replace overlooked 'MSU' tags with 'MSC' for msc logging 2019-09-18 10:08:07 -07:00
Greg Neagle f8fdc272a4 Update MACOSX_DEPLOYMENT_TARGET for MSCDockTilePlugin to 10.10 2019-09-18 09:23:10 -07:00
Greg Neagle c81fd77d59 MunkiStatus: delay starting up NSApplication until CGSession is available. Works around a display issue at boot. 2019-08-27 13:22:53 -07:00
Greg Neagle 4c0449f513 Commit some automatic fixes Xcode applied to munki-notifier.xcodeproj/project.pbxproj 2019-08-22 10:22:34 -07:00
Christopher Grande 5fbb93f376 Fix for rolling shutter regression on barber-pole animation (#932) 2019-05-03 15:01:22 -07:00
Greg Neagle 0010706cbd Fix for at least one cause of MSC repeatedly displaying a 'Pending Updates' alert when attempting to quit the application 2019-04-21 14:49:36 -07:00
Greg Neagle 60b9bfd227 Simplfy functions that highlight toolbar items 2019-04-04 08:22:22 -07:00
Greg Neagle 5d3b7b0636 Highlight toolbar item imeediately after click instead of waiting for page load. 2019-04-04 06:35:03 -07:00
Greg Neagle 668ad235cd Performance optimizations noticable when there are many hundreds of optional installs 2019-04-03 16:58:16 -07:00
Greg Neagle a5efb23eb0 Fixes for description display in item detail view to more closely match that of MSC 4.x 2019-04-02 18:55:26 -07:00
Greg Neagle 52c290b8e6 Merge branch 'master' into Munki3dev 2019-03-27 10:44:32 -07:00
Greg Neagle 2c0c13e636 Update MSC.app and MunkiStatus.app projects for Xcode 10(.2) compatibility. 2019-03-27 10:43:57 -07:00
Greg Neagle 37e5791b2d Merge branch 'ToolbarItemFix' into Munki3dev 2019-03-20 11:45:53 -07:00
Greg Neagle ffb2dc92dc MSC.app: Remove top border line for each item in updates view.
This line was white, and therefore virtually invisible in Light Mode
(though it did take 1px of vertical space). When switching to Dark Mode,
it added a 1px width to the lines seperating items. We could have switched
the color when switching to Dark Mode, but it seemed easier to just remove
the line. A side-effect is the height of each item is reduced 1px.

Addresses #922
2019-03-15 15:18:13 -07:00
Greg Neagle 5f3f0e458a MSC.app: Fix stupid typo that prevented a restart alert from showing
If an installer pkg or softwareupdate reports the need to restart and a user is still logged in,
MSC.app should display an alert sheet informing the user of the need to restart. Because of the
typo, the alert was never shown, a restart is never "highly encouraged", and eventually a
erroneous "configuration problem" alert is shown. See the screen shots attached to
https://github.com/munki/munki/issues/921 for an example of the issue.
2019-03-14 09:29:28 -07:00
Greg Neagle 835133054a MSC.app: Use a more Python-like method for determining boolean-ish values from Munki's preferences.
Works around an issue where Munki admins might be sloppy and assign string or integer values to
Munki preferences that should be booleans. Python interpeted these non-boolean values in a boolean
context in a way the prior Swift code did not (it treated all non-boolean values as false). This
change attempts to be more forgiving of admin error and treat these values the same way Python would.
Addresses #921
2019-03-14 08:59:45 -07:00
Greg Neagle 309ab3ddec MSC.app: Fix for toolbar item labels sometimes remaining inactive. Fixes #918 2019-03-09 21:54:57 -08:00
Greg Neagle aed4b4ba1c Update base.css, detail.css and updates.css to match versions in MSC 4.8.3628 2019-03-08 11:45:20 -08:00
Greg Neagle c908c96239 MSC.app: Address issues with Forced Logout Warnings
Don't crash when warning of a Forced Logout for Mandatory Installs in XX minutes.
Additionally, don't behave as though user agreed to logout when the warning is
ignored long enough that another warning happens while the previous warning is
displayed. Addresses #916 (and another issue)
2019-03-06 15:00:41 -08:00
Greg Neagle 0463c8047a MSC.app: Remove deprecated NSApplication endSheet method to silence a warning. 2019-03-03 12:08:09 -08:00
Greg Neagle c72ce0899d MSC.app LogViewController: replace deprecated constant with supported one to silence a warning. 2019-03-03 11:39:48 -08:00
Greg Neagle c49fa4b8e0 MSC.app: On 10.11+, clear local cache after each page load
to prevent stale pages from being shown when using back/forward controls or swipes.
This API is not supported pre 10.11, so macOS 10.10 users can get stale pages
when using the back/forward controls.
2019-03-03 11:17:56 -08:00
Greg Neagle 13b0b840f2 MSC.app: Don't remove span tags when filtering html for item descriptions. Addresses #914 2019-03-03 11:02:44 -08:00
Greg Neagle 06d6407d05 MSC.app: Address issue where logout is interrupted by MSC.app if there are updates to be forced soon. 2019-03-02 08:21:41 -08:00
Greg Neagle 09d6db82e5 MSC.app: Fix date display when warning for Mandatory Updates on quit 2019-03-02 07:56:44 -08:00
Greg Neagle 8e9b02cb03 Work around issue with WKWebView when user's home directory is not on the same filesystem (volume) as Managed Software Center.app 2019-02-27 09:27:13 -08:00
Greg Neagle 7ddf98055d MSC.app: when an item's icon_name contains an empty string, align MSC 5's behavior with MSC 4. 2019-02-27 09:25:51 -08:00
Elliot Jordan d14c4304ea Various typo fixes and spelling corrections (#907)
* Fixed "No Comment" typo in strings files

* Fix "problem updates" typo

* Fix "caught" typo

* Fix "pseudo" typo

* Fix "instantiated" typo

* Fix "explicitly" typo

* Fix "osascript" typo

* Spelling fixes and various other corrections

* Fix two more instances of "Logput"

* Fixed a few remaining spelling issues in python files

* Fix "because" typo

PR also submitted upstream to the Murky project for the same correction.

* Fix name of associated app

* Additional spelling corrections in comments/docstrings
2019-02-14 08:30:43 -08:00
Elliot Jordan 9a0adfa0f7 Deduplicate list of conflicting apps in MSC alert (#905) 2019-02-14 08:23:13 -08:00
Greg Neagle d663f16f74 Small tweaks to toolbar elements for better appearance under Mojave 2019-02-04 16:09:42 -08:00
Greg Neagle e68ece8ec1 Fix for munki:// links for item names that contain a period (and do not end with '.html') 2019-01-31 11:46:26 -08:00
Greg Neagle f4ac054874 Address issue where MSC.app could not create user-level log files if configured to do user-level logging. 2019-01-31 10:31:29 -08:00
Ben Goodstein 4d8b05c9b6 MunkiStatus.app Info.plist localization fixes (#895) 2019-01-07 08:48:08 -08:00