Commit Graph

2954 Commits

Author SHA1 Message Date
Greg Neagle
97dcaa380c Improvements in listing available Apple updates.
When com.apple.SotwareUpdate's RecommendedUpdates is not defined or empty, don't fall over to /Library/Upates/index.plist information unless we are on 10.8 or earlier.
Addresses an issue where Munki would sometimes claim downloaded but no longer applicable Apple updates were pending.
2019-02-08 15:21:38 +01:00
Greg Neagle
d663f16f74 Small tweaks to toolbar elements for better appearance under Mojave 2019-02-04 16:09:42 -08:00
Elliot Jordan
b5edd2481e Minor typo fix (#904) 2019-02-02 08:37:04 -08:00
Greg Neagle
e68ece8ec1 Fix for munki:// links for item names that contain a period (and do not end with '.html') 2019-01-31 11:46:26 -08:00
Greg Neagle
f4ac054874 Address issue where MSC.app could not create user-level log files if configured to do user-level logging. 2019-01-31 10:31:29 -08:00
Greg Neagle
e10fed04ee Defend against badly-authored packages that define their installKBytes as a float instead of an integer. Addresses #902. 2019-01-30 09:15:11 -08:00
Greg Neagle
e941952d60 volume-check in pkg distribution files now prevents install on volumes with macOS version < 10.10 2019-01-30 09:01:22 -08:00
Greg Neagle
80a844eb13 If an item to be precached contains PackageURL or PackageCompleteURL keys, store those for use by the precaching agent. 2019-01-15 11:55:17 -08:00
Elliot Jordan
5797477305 Minor typo fix in docstring (#900) 2019-01-15 09:04:26 -08:00
Tom Bridge
099451e068 adds line to remove the app status package receipt (#898)
* adds line to remove the app status package receipt

* adds line feed to end of script
2019-01-15 09:02:46 -08:00
Greg Neagle
125e9c6471 Precaching improvements so that managedsoftwareupdate won't remove partially precached items, and that precache_agent is stopped when managedsoftwareupdate does an updatecheck 2019-01-09 08:23:00 -08:00
Greg Neagle
a73ea66162 Provide switch for MunkiStatus output so precache_agent can switch it off. Addresses #897 2019-01-08 11:00:41 -08:00
Greg Neagle
42a291436d Fix logic error in download.uncache() function that caused it to check filesize for not-yet-downloaded items 2019-01-08 10:58:16 -08:00
Ben Goodstein
4d8b05c9b6 MunkiStatus.app Info.plist localization fixes (#895) 2019-01-07 08:48:08 -08:00
Ben Goodstein
88d9858ceb Localization fixes for Info.plist (#894) 2019-01-07 08:08:06 -08:00
Greg Neagle
d515264134 Fix for percent-done display in update status view 2019-01-04 14:53:46 -08:00
Greg Neagle
31e4afa266 Fix timer in MSC.app that monitors for managedsoftwareupdate failing to start or ending unexpectedly. 2019-01-04 13:39:00 -08:00
Greg Neagle
0f5ece3059 Detail description now inside a div element instead of a p element. Allows p elements to be in descriptions. 2019-01-03 16:40:38 -08:00
Greg Neagle
4f44643a4a Also precache items where precache=True and needs_update=True 2019-01-03 09:39:34 -08:00
Greg Neagle
3a26c666ca implement JavaScript integrstion with Main Window controller's openExternalLink() function 2019-01-02 14:52:58 -08:00
Greg Neagle
54721574e9 Update pkg title in Distribution file to mention macOS instead of OS X 2019-01-02 10:45:18 -08:00
Greg Neagle
918d0b7391 Update copyright dates 2019-01-02 10:31:50 -08:00
Greg Neagle
f715a4627e Update .gitignore files; add MunkiStatus/en.lproj; fixes git tracking issues with localized files 2018-12-21 13:45:37 -08:00
Greg Neagle
8422a6d724 Remove extra odd copy of Localization.swift 2018-12-21 12:16:38 -08:00
Christopher Grande
5e113e10d8 Fix for indeterminate progress bar “rolling shutter” effect (#892) 2018-12-18 13:24:32 -08:00
Greg Neagle
6ef70c0424 Fix and tweak detection of need to shutdown for apple updates 2018-12-18 08:23:47 -08:00
Greg Neagle
19362c77e9 Log shut down actions no matter the logging level; don't require halt message to be at the beginning of a softwareupdate output line 2018-12-17 16:13:00 -08:00
Greg Neagle
ff5d94cc28 Clean up code signing configuration for MSC.app and MunkiStatus.app. Resolves an issue where MSC.app will not launch in response to a clicked Notification Center notification. 2018-12-14 15:36:32 -08:00
Greg Neagle
f60564583c Implement user-level logging from MSC.app. Addresses #884. 2018-12-13 14:24:31 -08:00
Greg Neagle
dbf1b560c8 Copy more missing Info.plist keys. NSDockTilePlugIn key hopefully will address #891. 2018-12-13 11:56:02 -08:00
Greg Neagle
31f360c356 Add CFBundleURLTypes to Info.plist for Swift MSC.app. Addresses #890 2018-12-12 09:16:33 -08:00
Greg Neagle
6e18c61190 Merge branch 'softwareupdate-shutdown-master' of https://github.com/weswhet/munki into weswhet-softwareupdate-shutdown-master 2018-12-11 21:42:27 -08:00
Greg Neagle
4115df99bd Better messaging around shut downs 2018-12-11 12:11:05 -08:00
Greg Neagle
7339391cb5 Simplify return value logic in doInstallTasks() 2018-12-11 11:25:05 -08:00
Greg Neagle
c69c0b2166 If shutting down don't call authrestartd.restart() afterwards 2018-12-11 11:25:05 -08:00
Greg Neagle
e5b473107a Cleaning up logic around None/Restart/Shutdown 2018-12-11 11:25:05 -08:00
Wesley Whetstone
aa410eabdb changing return 2018-12-11 11:25:04 -08:00
Wesley Whetstone
133fc6a3ed changing return code and adding proper parameter call 2018-12-11 11:25:04 -08:00
Wesley Whetstone
d11f148da6 adding requested changes and passing shutdown parameter correctly without additional build artifacts 2018-12-11 11:25:04 -08:00
Wesley Whetstone
b7236a9344 adding in the option to have munki showdown after apple updates instaed of restarting. 2018-12-11 11:25:03 -08:00
Greg Neagle
a4ffb4a8b2 Start implementing more of msclog.swift 2018-12-11 06:29:03 -08:00
Greg Neagle
2f8f4274ab Sort 'My Items' items by display name. Addresses #888 2018-12-10 10:45:40 -08:00
Greg Neagle
66f68b11cc Replicating fix from #887 2018-12-10 08:07:28 -08:00
Greg Neagle
5e5d64822a Merge branch 'master' of https://github.com/munki/munki 2018-12-10 08:05:20 -08:00
Per Olofsson
302308ba6c Add missing import of NSTimeZone (#887) 2018-12-10 08:04:10 -08:00
Greg Neagle
6f038f48e6 Forward mailto: links to default mail client since WKWebView doesn't do that by default. Addresses #885 2018-12-06 10:19:17 -08:00
Greg Neagle
b6fb9cbb7f Fix for MSC to display managedsoftwareupdate log if it is not stored in the default location.
Addresses #883
2018-12-05 11:04:54 -08:00
Greg Neagle
9d8cb68b83 Add munki:// to some generated category links. Addresses #882. 2018-12-05 09:18:05 -08:00
Greg Neagle
e7eaf4fe0a Fix check for supported icon file extensions. 2018-12-05 09:09:11 -08:00
Greg Neagle
ce0499048a Automatically add git psuedo-revision number to CFBundleVersion and CFBundleShortVersionString 2018-12-04 18:35:44 -08:00