Commit Graph

438 Commits

Author SHA1 Message Date
Elliot Jordan 41e6d38cc5 Spelling fixes for Munki 7 branch (#1263)
* Fix SidebarViewController.swift file name

* Fix spelling in comments

* Fix spelling in strings and output

* Fix spelling in variables and key names

* One more pass at spelling fixes
2025-08-27 12:27:12 -07:00
Greg Neagle 395ab2a08d Fix forceLogoutNow logic 2025-08-25 14:02:29 -07:00
Greg Neagle b66ef898cb Fix for forced logout warning alerts not appearing 2025-08-25 10:03:00 -07:00
Greg Neagle a49189d39a Address unhandled objc error when runCLIAsync can't launch a script due to a missing script interpreter 2025-08-25 09:29:45 -07:00
Greg Neagle 475b436775 Update Swift code to match chnage in Python code in commit a04b455 and commit 522ee66 2025-08-15 10:50:32 -07:00
Greg Neagle 2f4c1c3c39 Simplify the posix_spawn wrapper 2025-07-28 07:43:52 -05:00
Greg Neagle f112ce8b7c Fix for running CLI editor during interactive munkiimport 2025-07-27 22:47:15 -05:00
Greg Neagle ddded786b3 Fix for installer_choices_xml for pkg installs 2025-07-26 09:58:29 -07:00
Greg Neagle 8fd09d9369 Use a different method to determine if a script is executable; previous method did not work well with sudo 2025-07-11 17:23:28 -07:00
Greg Neagle 9d6ad57d0d Improve error messages when custom admin scripts fail to run 2025-07-11 17:22:00 -07:00
Greg Neagle 6fe6bf9425 More useful error message when an admin-provided conditions script fails 2025-07-11 09:48:06 -07:00
Greg Neagle 26562eb764 Don't prompt to open pkginfo in an editor if the editor preference is an empty string. Matches Munki 6 behavior 2025-07-10 14:17:54 -07:00
Greg Neagle 69f4e741c0 Address an issue when package_path is defined in a pkginfo where an incomplete path to the package was passwd to /usr/sbin/installer 2025-07-08 16:45:43 -07:00
Greg Neagle 8ae093973f Fix some typos in some comments 2025-07-08 16:44:13 -07:00
Greg Neagle 2ccf2be85f Change long options for drag-n-drop items to match those in Munki 6 and earlier 2025-07-07 10:04:02 -07:00
Greg Neagle c6695aa55b supervisor: fix for build issues on macOS 26/Xcode 26 2025-06-27 10:03:28 -07:00
Greg Neagle 7eaba0edf2 Getting rid of some calls to listItemsOfKind() 2025-06-10 14:43:47 -07:00
Greg Neagle 6010373a56 update comment 2025-06-10 14:40:34 -07:00
Greg Neagle 29dc02747e Make listFilesRecursively() faster by removing an lstat call for most directory items 2025-06-09 21:59:42 -07:00
Greg Neagle 4c1c9e697b Quiet a compiler warning 2025-06-09 09:00:26 -07:00
Greg Neagle db47ccec28 Update comment 2025-06-09 08:29:46 -07:00
Greg Neagle 40864980e6 New listFilesRecursively function needs to handle filenames with non-ASCII chars 2025-06-08 20:57:30 -07:00
Greg Neagle 84ba6fa5ff More updated comments 2025-06-08 19:56:34 -07:00
Greg Neagle 112e0a74a4 swiftformat update; add some notes 2025-06-08 19:44:35 -07:00
Greg Neagle 7038cae715 Much faster algorithm for getting a recursive list of files 2025-06-08 16:44:58 -07:00
Greg Neagle b27bdd1f07 New implementation for getting a recursive list of files 2025-06-07 16:06:01 -07:00
Greg Neagle 0fa92d7390 Add tab-completion for 'help' command in interactive mode 2025-06-03 11:59:31 -07:00
Greg Neagle 6a40cc8010 more comments 2025-06-03 10:55:42 -07:00
Greg Neagle 16e15bdef4 swiftformat changes 2025-06-03 10:03:15 -07:00
Greg Neagle 842e5af453 swiftformat changes 2025-06-03 10:01:46 -07:00
Greg Neagle b2ede3cdab swiftformat changes 2025-06-03 10:01:04 -07:00
Greg Neagle d5b8fc6549 Add tab-completion for 'find' command; swiftformat changes 2025-06-03 10:00:07 -07:00
Greg Neagle 66bec6c0ad Fix typo 2025-06-03 09:58:19 -07:00
Greg Neagle b4f6f57cfc Add support for interactive mode for manifestutil; support tab-completion 2025-06-03 09:02:14 -07:00
Greg Neagle 1b2614a4fb More robust PEM parsing. Thanks to Scott Blake. 2025-05-31 08:11:33 -07:00
Greg Neagle 5fb027ffba Change managedsoftwareupdate --auto behavior to print output unless --quiet is specified 2025-05-29 18:01:38 -07:00
Greg Neagle 4fa5baaa30 Update some option descriptions 2025-05-29 18:00:28 -07:00
Greg Neagle bdf298c56a Set macOS deployment target for installhelper to macOS 10.15 2025-05-29 09:41:17 -07:00
Greg Neagle d0b18a48e5 Update project settings 2025-05-29 09:40:37 -07:00
Greg Neagle 0ae17479c7 Update project settings 2025-05-29 09:38:58 -07:00
Greg Neagle d534f753c5 A couple more ParsableCommand -> AsyncParsableCommand fixes 2025-05-28 14:53:09 -07:00
Greg Neagle 4e31fc73c5 Another missed ParsableCommand -> AsyncParsableCommand 2025-05-28 12:52:18 -07:00
Greg Neagle 41fcd9a6bc Another missed ParsableCommand -> AsyncParsableCommand 2025-05-28 09:50:42 -07:00
Greg Neagle e15d51a267 Add productKey to Apple update items so that Managed Software Center will display them; add some tests for the new code here 2025-05-24 21:55:27 -07:00
Greg Neagle e649c4a803 Default installer_type for diskimages containing an Install macOS app is now stage_os_installer 2025-05-22 16:59:50 -07:00
Greg Neagle 750cca4520 Use a singleton class to load middleware so we don't reload the dylib for each and every request 2025-05-21 14:06:17 -07:00
Greg Neagle 830e69f2a3 Remove never-used pkginfo paramter in the various fetch/download calls, and in the middleware protocol 2025-05-21 09:05:56 -07:00
Greg Neagle c339748c51 Change pkginfo type notation to [String:Any]? so plugin projects don't need even more dependencies 2025-05-20 13:44:25 -07:00
Greg Neagle 8a6902550d Change pkginfo in middleware request to a 'let' declaration since it should not be changed by the middleware 2025-05-20 13:41:01 -07:00
Greg Neagle 4e310609f6 Add optional pkginfo to middleware requests to match existing Python implementation 2025-05-20 13:37:37 -07:00