Commit Graph

3854 Commits

Author SHA1 Message Date
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
Rob Renstrom
cc7252d0dc Update make_munki_mpkg.sh (#1223)
norestart for launchd component package
2024-07-18 10:22:51 -07:00
Greg Neagle
12d997569b Bump app versions to match new release 2024-07-15 08:34:34 -07:00
Greg Neagle
85f39b76d0 Merge branch 'Munki6dev' into macmule-installhelper 2024-07-01 09:47:26 -07:00
Greg Neagle
dd80a61875 Merge branch 'main' into Munki6dev 2024-07-01 09:46:11 -07:00
aysiu
cccfba0500 Display force_install_after_date in managedsoftwareupdate summary (if applicable) (#1220)
* Show force_install_after_date in summary after managedsoftwareupdate run
---------

Authored-by: Alan Siu <alanysiu@gmail.com>
2024-07-01 09:44:47 -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
d7a27ea4fd Bump version for future release 2024-06-24 10:51:29 -07:00
Greg Neagle
251c1ce3b8 Merge branch 'Munki6dev' into macmule-installhelper 2024-06-24 10:50:16 -07:00
Greg Neagle
34b9e28e2a Merge branch 'main' into Munki6dev 2024-06-24 10:47:46 -07:00
Greg Neagle
40cc0ef8f9 Add version info to welcome message (#1219) 2024-06-24 10:46:35 -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
Greg Neagle
793e468b87 Bump version.plist for future release 2024-06-04 13:41:34 -07:00
Greg Neagle
23a6344c95 Merge branch 'Munki6dev' into macmule-installhelper 2024-06-04 13:40:47 -07:00
Greg Neagle
6c4a8bc29f Restore 'catalogs' as an item included in ManagedInstallReport.plist under 'Conditions'. Addresses #1218 2024-06-04 13:39:24 -07:00
Greg Neagle
bb2d1e0ca2 When running an embedded pkginfo script, ignore errors when converting script output to UTF-8 2024-06-03 09:03:01 -07:00
Greg Neagle
3c4368c208 Merge branch 'Munki6dev' into macmule-installhelper 2024-05-21 15:20:43 -07:00
Greg Neagle
fbe22d2ce1 Fix so new conditional/predicate comparisons based on installed applications actually work.
Bump version to 6.5.1 for future release.
2024-05-21 15:17:07 -07:00
Greg Neagle
14256fc454 Bumping version for future release 2024-05-02 08:06:18 -07:00
macmule
d746c046cb Changes made to installhelper and make_munki_pkg.sh (#1216)
* 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)

* Corrections to installhelper

* Update installhelper

---------

Co-authored-by: Greg Neagle <Gregneagle@mac.com>
2024-05-02 08:04:22 -07:00
Greg Neagle
ab341ea99b Merge branch 'Munki6dev' into macmule-installhelper 2024-04-18 15:27:12 -07:00
Greg Neagle
6bb572b148 Add more detail to warning message when failing to import a middleware file 2024-04-17 08:56:01 -07:00
Greg Neagle
16320e56ae Merge branch 'Munki6dev' into macmule-installhelper 2024-04-15 08:40:17 -07:00
Greg Neagle
aeac6e96a9 Start consolidating functions that deal with date/times and rely less on undocumented pyObjc conversions 2024-04-12 13:56:11 -07:00
Greg Neagle
a222d0739d Merge branch 'Munki6dev' into macmule-installhelper 2024-04-10 09:44:39 -07:00
Greg Neagle
2edea029eb Fix string format error for new package references messages 2024-04-10 09:31:06 -07:00
Greg Neagle
b4265aa7fc Merge branch 'Munki6dev' into macmule-installhelper 2024-04-01 10:58:12 -07:00
Greg Neagle
c9e3250859 Improved debug warnings when attempting to find a valid uninstall method for an item 2024-04-01 10:57:21 -07:00
Steve
af4296d50e manifest delete option added (#1212)
Co-authored-by: Steve Kueng <steve.kueng@umb.ch>
2024-04-01 10:53:46 -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
29fd72a80c Fix for deprecation messages new in macOS 14.4 that corrupt installer output 2024-03-22 10:35:27 -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
bf91a80072 Modernize launchctl syntax for launchd pkg postinstall; load authrestartd daemon 2024-03-03 19:47:56 -08:00
Greg Neagle
bf1ce5a3d1 Add support for installed application info for conditional expressions 2024-03-02 11:31:26 -08:00
Greg Neagle
45b7ac64e7 Print additional info when an item cannot be removed because all its pkgs are shared with other items 2024-02-29 11:17:10 -08:00
Greg Neagle
18ea6c42ca Tweaks around behvaiors with requires dependencies that cannot be resolved, and how they interact with autoremove 2024-02-29 10:52:21 -08:00
Greg Neagle
47992f885b Switch app_usage pkg scripts to /bin/sh from /bin/bash 2024-02-28 10:25:11 -08:00
Greg Neagle
0954498f5d Tweak what process we're looking for to identify currently logged in users 2024-02-27 11:11:30 -08:00
Greg Neagle
15de9eea80 Modernize launchctl commands in app_usage pkg pre- and postinstall scripts. (Dropping support for pre-macOS 10.10) 2024-02-27 10:11:06 -08:00
Greg Neagle
9e541a8e1a Update Python build script and packaging bits to support Python 3.12; update Python requirements 2024-02-23 11:18:58 -08:00
Greg Neagle
36769cdbbc Revert "Change all shebangs in prep for Python 3.12 (where symlinks to the Python executable are broken)"
This reverts commit fdec07b615.
2024-02-23 10:49:00 -08:00
Greg Neagle
df25ade13a Change where munki-python symlink points for compatibility with Python 3.12 framework (and possiblt Python 3.11) 2024-02-23 09:35:26 -08:00
Greg Neagle
64dea93562 Update version for future release 2024-02-23 09:05:54 -08:00
Greg Neagle
fdec07b615 Change all shebangs in prep for Python 3.12 (where symlinks to the Python executable are broken) 2024-02-23 09:05:16 -08:00
Greg Neagle
1850dbe077 Replace use of deprecated imp module with importlib.util for middleware and repo plugins 2024-02-20 10:46:32 -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