Commit Graph

771 Commits

Author SHA1 Message Date
Greg Neagle
353e4e0a1a Remove 'Textured' attribute from main window; fixes close/minimize/zoom control placements on macOS 26 2025-06-21 13:24:23 -07:00
Greg Neagle
7bda74b2f1 Convert CGDisplay coordinates to NSScreen (AppKit) coordinates so blur windows on secondary displays are positioned correctly. swiftformat reformatting. 2025-06-17 11:31:25 -07:00
Greg Neagle
abb511e6f8 MunkiStatus: Yet another attempt to ensure blurred backdrop covers the entire screen at loginwindow 2025-06-16 14:21:21 -07:00
Christopher Grande
8657425bcc NoDisplaySleepAssertion if Bootstrapping at LoginWindow (#1215)
If in Bootstrap mode, on AC power or Battery over 30% for Apple Silicon, 50% for Intel the Display will be kept awake while MunkiStatus is running.

If a NoDisplaySleep assertion is created it is automatically released when MunkiStatus quits.

Move Release Logic to releaseDisplaySleepAssertion from AppDelegate
2025-05-18 07:52:17 -07:00
Greg Neagle
6b4ad647c4 Update copyright dates 2025-01-25 15:35:09 -08:00
Greg Neagle
b385bd83e4 Attempt to fix issue with blurred background windows not correctly covering entire screen in some conditions 2024-10-18 09:49:43 -07:00
Greg Neagle
aa41b00217 Bump version for future release 2024-10-07 09:28:31 -07:00
Greg Neagle
33048e95fe Remove a no-longer-used function 2024-10-07 09:24:54 -07:00
Tom Burgin
d13030858b space switch in obnoxious mode (#1230) 2024-10-05 09:27:06 +02:00
Greg Neagle
f0efc69780 MunkiStatus: revert window levels for backdrop windows and status and log windows to what they were before adding the blur effect 2024-09-12 09:20:15 -07:00
Greg Neagle
2d34cbee2c Fix for displaying log window in front of the blurred background when MunkiStatus runs at/over the loginwindow 2024-09-05 09:57:57 -07:00
Greg Neagle
f36fceb46e When opening Software Update settings pane, first lower the level of the blurred backdrop windows so that the settings pane will actually display before the backdrop windows are closed 2024-08-29 11:49:54 -07:00
Greg Neagle
17d50aa614 Address issue where, if Managed Software Center was running, its main window was minimized into the Dock, and an aggressive notification was triggered, the blurred background would appear over all screens, but no main (update) window would be visible 2024-08-29 10:09:34 -07:00
Greg Neagle
faa048110f Explicitly set the frame origin for the blurred background windows to avoid offsets we've seen when running after a reboot. Thanks to @nixtar 2024-07-31 09:23:45 -07:00
Greg Neagle
12d997569b Bump app versions to match new release 2024-07-15 08:34:34 -07:00
Greg Neagle
acc09b4333 Merge branch 'Munki6dev' into macmule-installhelper 2024-06-24 10:52:27 -07:00
Greg Neagle
76e7f4b7e8 Code cleanup in MunkiItems.swift 2024-06-24 10:52:07 -07:00
Greg Neagle
251c1ce3b8 Merge branch 'Munki6dev' into macmule-installhelper 2024-06-24 10:50:16 -07:00
Greg Neagle
e6de68c8a7 In "aggressive notification node", replace "dimming" the background with _blurring_ the background. 2024-06-24 08:47:55 -07:00
Greg Neagle
6d223825c0 Add background blurring to MunkiStatus.app 2024-06-20 18:31:12 -07:00
macmule
183005ea6d Macmule installhelper (#1210)
* Update installhelper

• Amended the user bootout and bootstrap commands to not be ran via `launchctl asuser`

* Update MainMenu.xib

• Centered the MunkiStatus.app window icon
• Changed the icon from AppIcon to NSApplicationIcon (which then allows for changing the icon via NSWorkspace's setIcon)
2024-04-01 10:09:13 -07:00
macmule
dc2725e4e7 Relocate MunkiStatus.app and Munki-notifier.app to ../Contents/Helpers/ from ../Contents/Resources/ - Munki6dev base (#1207)
* Relocate MunkiStatus.app and Munki-notifier.app to ../Contents/Helpers/ from ../Contents/Resources/

- Updated location of munki-notifier in code/apps/Managed Software Center/Managed Software Center/Controllers/MainWindowController.swift
- Added code/client/installhelper script
- Amended code/tools/make_munki_mpkg.sh with new locations for munki-notifier and MunkiStatus as well as changes required to leverage `installhelper`
- Amended code/tools/pkgresources/Scripts_app_usage/postinstall to leverage `installhelper`
- Deleted code/tools/pkgresources/Scripts_app_usage/preinstall as the actions within should be handled now by `installhelper`
- Amended code/tools/pkgresources/Scripts_launchd/postinstall to leverage `installhelper`
- Amended launchd/LaunchAgents/com.googlecode.munki.munki-notifier.plist to use the new path to munki-notifier.app
- Amended launchd/LaunchAgents/com.googlecode.munki.MunkiStatus.plist to use the new path to MunkiStatus.app

This is a resubmission of https://github.com/munki/munki/pull/1203, which needed it's base branch changing from `main` to `Munki6dev`

* Update installhelper

 - Removed CHECK_TIME global - 374fbaf922 (r1515000516)
- Remove erroneous login window comments - 374fbaf922 (r1515006835) and 374fbaf922 (r1515006962)
- Simplified IF condition - 374fbaf922 (r1515005565) this was in place incase LimitLoadToSessionType contained multiple values (as it can).

* Update installhelper

- Reverted changes made for - 374fbaf922 (r1515005565)
- Changed constant/global PASSED_ARG to local: launchd_group - https://github.com/munki/munki/pull/1207#discussion_r1515002646 and https://github.com/munki/munki/pull/1207#discussion_r1515002968

* Update installhelper

* Update installhelper

* Update installhelper

* Update installhelper

* Update make_munki_mpkg.sh

Amended so that the launchd pkg is installed by default
2024-03-26 11:04:26 -07:00
Greg Neagle
97a18b4868 Managed Software Center: Xcode 15.2 auto-modification to MainMenu.xib 2024-03-03 19:55:42 -08:00
Greg Neagle
ee7beb0037 MSC.app: tweak placement of new updates progress spinner 2024-02-09 13:44:17 -08:00
Greg Neagle
64cdd0f8cf MSC.app: Add progress spinner to sidebar Updates label 2024-02-09 12:50:04 -08:00
Greg Neagle
2b327569b4 Update copyright dates 2024-01-30 16:14:29 -08:00
Greg Neagle
e3fda78e4c Display days pending message for optional installs for consistency 2024-01-30 08:51:54 -08:00
Greg Neagle
80c28092ac Bump MSC.app version for future release 2024-01-30 08:50:51 -08:00
Greg Neagle
01a9d850cb Tweak appearance and behavior of MSC navigate back button; bump MSC version for future release 2024-01-02 11:53:07 -08:00
Greg Neagle
7dd42afe98 Aggressive notification behavior changes 2023-12-01 13:33:59 -08:00
Greg Neagle
140130435c MSC.app version bump 2023-12-01 13:33:01 -08:00
Greg Neagle
2c1f6a616d Update 'MARKETING_VERSION' in MSC.app project.pbxproj 2023-11-22 12:44:21 -08:00
Greg Neagle
a7df078dea Bump munki-notifier version 2023-11-17 14:20:51 -08:00
Greg Neagle
4ce6bfbc13 Bump MSC.app version 2023-11-17 14:20:17 -08:00
Greg Neagle
e92d538109 Fix issue #1189 when removing an item in My Items in MSC.app 2023-11-17 13:53:33 -08:00
Greg Neagle
5c4e47a458 Avoid munki-notifier race conditions 2023-11-16 18:10:24 -08:00
Greg Neagle
a3ec7f2d6b Add applicationShouldTerminate: handler to munki-notifier 2023-11-16 18:06:24 -08:00
Greg Neagle
b284e53503 Don't create another set of backdrop windows if makeUsObnoxious gets called more than once 2023-11-16 14:11:44 -08:00
Greg Neagle
829457a7dc MSC.app project update for Xcode 15 2023-11-10 13:27:11 -08:00
Greg Neagle
55ab80b38b Bump version of MSC.app for future release 2023-11-07 09:19:10 -08:00
Greg Neagle
faa123f114 Fix for incorrect date/time displayed for force_install_after_date items when the date is after an upcoming change to/from Daylight Saving Time 2023-11-02 15:56:47 -07:00
Greg Neagle
90677e54b4 Adjust CSS so certain text elements can be selected and copied 2023-10-17 10:58:39 -07:00
Greg Neagle
d5143f4ba3 Bump MSC.app version to 6.2.0 2023-04-18 14:50:47 -07:00
Christopher Grande
535751b460 CSS Based Progress Spinner (#1173)
Updated indeterminate progress spinner built with just CSS and redesigned to better match the updated progress indicator in later versions of macOS.
2023-04-18 14:46:52 -07:00
Greg Neagle
d2bb52281c Updated .gitignore for munkishim 2023-03-23 10:29:34 -07:00
Greg Neagle
ec4d8ea4ef Set deployment target to macOS 10.13 2023-03-23 08:41:55 -07:00
Greg Neagle
68f5ab525c Set deployment target to macOS 10.13 2023-03-23 08:40:57 -07:00
Greg Neagle
6aba92db4a Set deployment target to macOS 10.13 2023-03-23 08:40:00 -07:00
Greg Neagle
cf3c24611a Set deployment target to macOS 10.13 2023-03-23 08:38:13 -07:00
Greg Neagle
1960deaf61 Restrict munkishim to be used only for /usr/local/munki/managedsoftwareupdate 2023-03-13 13:11:41 -07:00