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 - https://github.com/munki/munki/pull/1207/files/374fbaf9220144740d0d0cef5acba20fd6ac554a#r1515000516
- Remove erroneous login window comments - https://github.com/munki/munki/pull/1207/files/374fbaf9220144740d0d0cef5acba20fd6ac554a#r1515006835 and https://github.com/munki/munki/pull/1207/files/374fbaf9220144740d0d0cef5acba20fd6ac554a#r1515006962
- Simplified IF condition - https://github.com/munki/munki/pull/1207/files/374fbaf9220144740d0d0cef5acba20fd6ac554a#r1515005565 this was in place incase LimitLoadToSessionType contained multiple values (as it can).
* Update installhelper
- Reverted changes made for - https://github.com/munki/munki/pull/1207/commits/374fbaf9220144740d0d0cef5acba20fd6ac554a#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
Greg Neagle
2b327569b4
Update copyright dates
2024-01-30 16:14:29 -08:00
Greg Neagle
98863a7206
Bump version for future release
2024-01-30 08:52:40 -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
8edfc6a825
Rename 'board-id' and 'device-id' 'facts' to 'board_id' and 'device_id, respectively. (Hyphens appear to be illegal in attribute names in NSPredicate expressions). Thanks to @mattydee99. See issue #1201 .
v6.4.2
2024-01-24 14:39:06 -08:00
Greg Neagle
dd74af60b1
More gracefully handle exceptions when evaluating a predicate (used in conditional_items and installable_condition). Thanks to @mattydee99. See issue #1201
2024-01-24 14:33:17 -08:00
Greg Neagle
8aab28f37f
Bumping version for future release
2024-01-17 16:53:29 -08:00
Patrick Gallagher
4754ecc960
Add preference to ignore middleware ( #1194 )
...
* Add preference to ignore middleware
* Changed to suggested more pythonic code
2024-01-17 15:51:44 -08:00
Greg Neagle
5d5d8adcee
Return an error from updatecheck.check() when we can't download the primary manifest
v6.4.1
2024-01-17 09:36:39 -08:00
Greg Neagle
262ef188ec
Bump munki version for future release
2024-01-02 11:54:10 -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
150418ff4e
Fix names of board-id and device-id attributes
v6.4.0
2023-12-07 15:42:06 -08:00
Greg Neagle
c3846fd24a
Refine generated installable_condition predicate
2023-12-07 15:39:45 -08:00
Greg Neagle
350b92ce33
Add experimental support for getting supported hardware for a given macOS installer
2023-12-07 15:30:50 -08:00
Greg Neagle
4f8ba52eee
Collect board-id or device-id if available and add to Condtions dict for use in conditional_items, etc
2023-12-07 09:38:56 -08:00
Greg Neagle
35d24d11e9
Address minor output issue when building a Munki pkg
2023-12-05 09:37:29 -08:00
Greg Neagle
b0abcabff5
Bump version for future release
2023-12-05 08:57:16 -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
8134cedbc2
Address issue parsing bundle-style distribution packages introduced here: https://github.com/munki/munki/commit/21a6a4d3a5c8dbe0aeda964e99d4824dad721be0
v6.3.5
2023-11-27 09:03:17 -08:00
Greg Neagle
2c1f6a616d
Update 'MARKETING_VERSION' in MSC.app project.pbxproj
2023-11-22 12:44:21 -08:00
Greg Neagle
1025673bae
Ensure dist pkg declares a minimum os version of 10.13
2023-11-22 12:42:31 -08:00
Greg Neagle
4a91b1d978
Fix for "KeyError: 'AdobeCode'" when importing some older Adobe pkgs
2023-11-22 09:32:13 -08:00
Greg Neagle
9ba39afe2b
Address #1188 and #1104 . Better handling of dependencies/requirements when a required item fails to download, but is also required by other items.
2023-11-20 11:53:30 -08:00