Commit Graph

4962 Commits

Author SHA1 Message Date
Greg Neagle
227be3b520 swiftformat fix 2026-01-04 18:57:12 -08:00
Greg Neagle
fc96e7f8d3 Update licensing info 2026-01-01 12:32:17 -08:00
Greg Neagle
18e8cafee9 Update copyright info 2026-01-01 12:24:05 -08:00
Greg Neagle
2bab0816c8 Update copyright info 2026-01-01 12:15:40 -08:00
Greg Neagle
3d2f05a9d0 Update copyright info 2026-01-01 12:05:54 -08:00
Greg Neagle
73e7e45b2d Update copyright info 2026-01-01 12:03:58 -08:00
Greg Neagle
0caf882fae Update copyright info 2026-01-01 12:00:56 -08:00
Greg Neagle
bbb95e58e8 Update copyright info 2026-01-01 11:58:40 -08:00
Greg Neagle
9af3d0a8b8 Remove a long-abandoned source file 2026-01-01 11:58:06 -08:00
Greg Neagle
ae952ac856 Update version for future release; update copyright dates 2026-01-01 11:35:26 -08:00
Greg Neagle
8b0d875c74 On app launch, display the page of the first sidebar item. Addresses #1299 2026-01-01 11:34:42 -08:00
Greg Neagle
00d12c7e79 makepkginfo/munkiimport: Add '--uninstallpkg' as another alias for '--uninstalleritem'. Addresses #1300 2025-12-30 10:05:44 -08:00
Greg Neagle
11db018bb7 Update target membership for shared/utils/stringutils.swift so that all cli tools will actually build 2025-12-30 10:03:44 -08:00
Greg Neagle
96c5a1bb63 Don't log errors and warnings to Apple Unified Logging twice; add logging level to messages logged to Apple Unified Logging 2025-12-26 21:18:50 -08:00
Greg Neagle
a612055a67 Fix issue with warning messages in the main log where they are prepended with 'WARNING: WARNING: ' 2025-12-26 21:15:39 -08:00
Greg Neagle
db904b7eb3 More tweaks to output and logging when runScript has an error when running a script 2025-12-26 09:56:06 -08:00
Greg Neagle
8fe7105e31 Fix issue with error messages in the main log where they are prepended with 'ERROR: ERROR: ' 2025-12-26 09:21:22 -08:00
Greg Neagle
818d7b9113 Simplify implementation of ScriptRunner class and make runScript's output in case of error more specific 2025-12-26 09:01:11 -08:00
Greg Neagle
69c78cdc19 Restructure plistutilsTests 2025-12-25 09:19:40 -08:00
Greg Neagle
e49f07482a Restructure fetchTests 2025-12-25 09:14:27 -08:00
Greg Neagle
17017b863f Restructure scriptutilsTests 2025-12-25 09:11:27 -08:00
Greg Neagle
78b2941576 Restructure cliutilsTests 2025-12-25 09:04:40 -08:00
Greg Neagle
db40de9605 Some restructuring of urlsTests 2025-12-25 08:59:06 -08:00
Greg Neagle
5d4091cf00 Add tests for comparing versions in plists 2025-12-25 08:58:21 -08:00
Greg Neagle
93e42cb449 catalogs: implement bestVersionMatch function 2025-12-25 08:09:50 -08:00
Greg Neagle
c700f25914 Add some tests for scriptutils 2025-12-24 10:33:55 -08:00
Greg Neagle
aa60d7421b Add some basic tests for cliutils 2025-12-24 09:55:17 -08:00
Greg Neagle
3ff701fe83 runCliAsync now trims trailing newlines of final output and error to match the behavior of runCLI 2025-12-24 09:54:48 -08:00
Greg Neagle
dd7c84ca74 Add some tests around invalid predicates 2025-12-24 09:02:27 -08:00
Greg Neagle
f76ea8ca17 Add some tests for plistutils 2025-12-24 08:50:20 -08:00
Greg Neagle
f5001e9d06 swiftformat fix 2025-12-24 08:49:54 -08:00
Greg Neagle
ea3640fdb3 Add tests for some manifests functions 2025-12-23 20:52:05 -08:00
Greg Neagle
80028c8946 Add some tests for urls functions; make some fixes based on that testing 2025-12-23 20:21:37 -08:00
Greg Neagle
da08178993 Remove some odd text from opening comment block 2025-12-23 13:27:29 -08:00
Greg Neagle
f21ae6d2a5 Add some tests for fetch's headerDictFromList() 2025-12-23 13:24:28 -08:00
Greg Neagle
90e09b090d Add copyright and license info to a few source files 2025-12-23 13:23:32 -08:00
Greg Neagle
781b873522 When logging preflight/postflight output, replace tab with four space indent 2025-12-18 15:07:38 -08:00
Greg Neagle
21cdb46252 Move trailingNewlineTrimmed String protocol extension to shared/utils/stringutils.swift 2025-12-18 13:57:33 -08:00
Greg Neagle
59eef33312 When loggig external script stdout or stderr, prepend each line with a timestamp and indent 2025-12-18 13:46:28 -08:00
Per Olofsson
2c6a69b82d Handle newlines in script output better (#1294)
* Trim newlines on script output

* Attempt to handle newlines better in output from embedded scripts

* Handle empty lines
2025-12-18 13:09:21 -08:00
Greg Neagle
1408294c02 Bump versions of MSC.app helper apps (MunkiStatus.app and munki-notifier.app) 2025-12-18 10:55:29 -08:00
Greg Neagle
c650a1f421 Bump version of MSC.app for future release 2025-12-18 10:51:08 -08:00
Marnin
d99ed6571e Adjust width for pending updates to display horizontally (#1297) 2025-12-18 10:48:47 -08:00
Greg Neagle
967233c17a makepkginfo: add --version-script to the list of options that does not require an installer item 2025-12-18 10:16:20 -08:00
Greg Neagle
50359b5730 When getting values for CatalogURL, ManifestURL, PackageURL, IconURL, and ClientResourceURL from preferences, ignore the value if it is an empty string. Causes Munki 7's behavior here to more closely match that of Munki 6 and earlier. 2025-12-18 09:03:11 -08:00
Greg Neagle
e12ae90a7c When posting a new Notification Center notification, make sure any previous notifications are removed 2025-12-16 07:51:11 -06:00
Greg Neagle
6dd7f443f0 When building http(s) headers from AdditionalHttpHeaders, properly handle header values that contain : characters. Addresses #1296 2025-12-15 22:45:05 -06:00
Greg Neagle
f0a1384407 Bump version for future release. 2025-12-15 22:43:03 -06:00
Greg Neagle
83accce636 Merge branch 'Munki7dev' 2025-12-02 09:38:09 -08:00
Elliot Jordan
4f4ae55c39 Custom environment should be set if present (#1292) v7.0.4 2025-11-26 09:17:10 -08:00