Commit Graph

560 Commits

Author SHA1 Message Date
tantonw
4233b7a72d M1 system_profiler "Upgradeable Memory" workaround 2022-02-25 16:35:33 -08:00
Zack T
391d345b64 v2.0.0 = Major refactor, more strict technical checks, etc.
* Major refactor
* \+ Switched to using Regex to determine which models _are not_ compatible with each OS versions
  * This should make the logic much more reliable and easier to maintain going forward
  * \- This also allowed the removal of model specific check functions, although the MacPro logic will still be required due to additional configuration and hardware checks
* Separated the model and upgrading to/from os version validation checks
* \- Removed unnecessary runtime calculations; instead hard coding static values that will not change
* \+ Improved required storage check to validate against technical space minimals depending on current OS version
* Moved logic around to only execute if needed, instead of wasting cycles
* Overall, script executes two-to-three times faster
* Renamed script
2022-02-21 13:57:03 -07:00
Zack T
9bd180d8dd v2.0.0 = Major refactor, more strict technical checks, etc.
* Major refactor
* \+ Switched to using Regex to determine which models _are not_ compatible with each OS versions
  * This should make the logic much more reliable and easier to maintain going forward
  * \- This also allowed the removal of model specific check functions, although the MacPro logic will still be required due to additional configuration and hardware checks
* Separated the model and upgrading to/from os version validation checks
* \- Removed unnecessary runtime calculations; instead hard coding static values that will not change
* \+ Improved required storage check to validate against technical space minimals depending on current OS version
* Moved logic around to only execute if needed, instead of wasting cycles
* Overall, script executes two-to-three times faster
2022-02-21 13:52:28 -07:00
Zack T
e2a7701780 v1.12.2 = Corrected Monterey and Big Sur support on iMac Models
Revert change excluding 16,1 from Monterey....  Apple's numerous pages are vague, misleading, or incorrect.
https://support.apple.com/en-us/HT201634 - Shows that the iMac (Retina 5K, 27-inch, Mid 2015), Model Identifier: iMac15,1 still supports Monterey when it does not.
2022-02-18 23:53:43 -07:00
Zack T
55efd75f2c v1.12.1 = Corrected Monterey and Big Sur support on iMac Models
Corrected Monterey and Big Sur support on iMac Models
2022-02-18 21:52:40 -07:00
Zack T
9fab01b524 v2.0.0 = Revised into a postinstall script used in an AutoPkg Recipe
This script is now used in an AutoPkg recipe.
The recipe builds a pkg and uses this script as a postinstall script to provide a similar functionality as the previous revision.
This change will allow for quicker and easier support for updates to the Office Reset utility.
2022-02-18 21:22:01 -07:00
Zack T
98a937149e v2.5.0 = Logic improvements, minimum version feature & v28 support
+ Added success/fail check when running the `licenseactivator` utility
+ Added a "minimum support version" feature
+ Added support for v28 licenses
2022-02-18 17:55:38 -07:00
Zack T
e0be46a3a7 v2.4.0 = Updated version check logic to support v27 *and* newer
+ Updated version check logic to support v27 *and* newer (not just v27)
2022-02-18 17:43:31 -07:00
Zack T
e15632ecfb v1.1.0 = Updated for changes in 11.5
Updated to support changes with Rosetta 2 in Big Sur 11.5.
2022-01-24 13:33:58 -07:00
Zack T
ab9dabbb2a v2.7.0 = Added falconctl error handling and SysExt reporting logic
+ Accounted for the scenario where the Falcon Service (falconctl stats) errored/failed to provide the expected info
    + This should correct devices reporting `Invalid Customer ID; SysExt not loaded` incorrectly
+ Fixed a logic error where only the _last_ system extension status (from `systemextensionsctl list`) is checked -- the last may not be the most recent
+ Added an additional "acceptable" system extension state that would result in a passed check (`activated waiting to upgrade`)
- Removed logic supporting older Sensor versions
2022-01-24 13:32:51 -07:00
Zack T
626e07edd5 1.2.0 = Support for Macs with 10 character serial numbers
+ Updated to support 2021 Macs with 10 character serial numbers
2022-01-06 15:23:18 -07:00
Zack T
2e5fda160c v1.5.0 = Support for Macs with 10 character serial numbers
+ Updated to support 2021 Macs with 10 character serial numbers
2022-01-06 15:20:40 -07:00
Zack T
21511d0583 v1.4.2 = Fixed Python3 compatibility
+ Fixed issue where subprocess was returning bytes-like objects instead of string objects
+ Fixed incorrect argument check in an if statement
+ Switched to requests
+ Minor logic improvements
2022-01-06 15:02:05 -07:00
Zack T
84cc6d848a v1.5.0 = Switched to requests and cleanup
+ Switched to using `requests` instead of `urllib`
+ Cleaned up formatting, etc.
+ Added additional file to collect
2021-12-03 17:00:42 -07:00
Zack T
7b852daad8 v1.4.1 = Resolved issue with Python3 compatibility
+ Resolved issue with Python3 compatibility
2021-12-03 16:18:14 -07:00
Zack T
15656e6942 v1.12.0 = Finalized Monterey Support
+ Finalized Monterey Support
+ Includes a fix for iMac15,1
2021-12-03 11:44:32 -07:00
Zack T
53aeead81b Merge pull request #10 from sgmills/master
jamf_ea_LatestOSSupported - check purgeable disk space
2021-12-03 11:34:35 -07:00
Zack T
1634b1d830 v2.6.0 = Added a local log to track EA value history and more
+ Added a local log to track EA value history since this function isn't available within Jamf Pro
+ Updated minimally "supported" OS Version to 10.14 (not supported, but will connect to the cloud)
+ Automatically reporting v5.x location sensors as not supported
- Removed logic for checking v5.x sensors
+ Reporting 6.17 and older sensor versions as not supported
+ Added success check for the Python3 filter_state check
+ Improved the system extension status check by creating an array to handle cases where multiple system extensions are present
2021-12-01 16:14:07 -07:00
Zack T
cd0b86e01c v1.4.0 = Added a local log to track EA value history
+ Added a local log to track EA value history since this function isn't available within Jamf Pro
2021-12-01 15:47:35 -07:00
Zack T
ed9914d1f0 v1.1.0 = Python3 compatibility
+ Python3 compatibility
+ Switched to using `requests` instead of `urllib`
2021-11-30 12:04:39 -07:00
Zack T
fc5f64c0d0 v1.0.1 = Python3 compatibility
+ Python3 compatibility
2021-11-30 12:02:46 -07:00
Zack T
048fd26c41 v1.1.0 = Python3 compatibility
+ Python3 compatibility
2021-11-30 12:01:16 -07:00
Zack T
7f7ec48316 v1.4.1 = Python3 compatibility
+ Python3 compatibility
2021-11-29 22:37:19 -07:00
Zack T
ece1e74593 v1.0.2 = Python3 compatibility
+ Python3 compatibility
2021-11-29 22:32:33 -07:00
Zack T
8396980b97 v1.0.0 = Initial Version
Initial Version
2021-11-29 22:24:23 -07:00
Zack T
89bb03bd20 v1.0.1 = Python3 compatibility
+ Python3 compatibility
2021-11-29 22:23:06 -07:00
Zack T
ba233493e7 v1.4.0 = Python3 compatibility
+ Python3 compatibility
2021-11-29 22:21:32 -07:00
Zack T
592b417c45 v1.0.1 = Python3 compatibility
+ Python3 compatibility
2021-11-29 21:38:44 -07:00
Zack T
9d48b9549b v1.2.1 = Python3 compatibility
+ Python3 compatibility
2021-11-29 21:35:29 -07:00
Zack T
da41da6d3d v1.0.1 = Python3 compatibility
+ Python3 compatibility
2021-11-29 21:21:13 -07:00
Zack T
72798d8506 v1.0.1 = Python3 compatibility
+ Python3 compatibility
2021-11-29 18:23:12 -07:00
Zack T
a30fc50673 v1.0.0 = Initial Version
Initial Version
2021-11-29 18:19:04 -07:00
Zack T
44c136acb7 v1.1.0 = Updated and Improved osascript logic
+ Updated `osascript` logic; now using System Events; improved readability
2021-11-29 18:16:11 -07:00
Zack T
4276c81f98 v1.1.1 = Updated and Improved osascript logic
+ Updated `osascript` logic; now using System Events; improved readability
2021-11-29 18:15:16 -07:00
Zack T
bb0d1a3544 v1.2.1 = Updated and Improved osascript and xpath logic
+ Updated `osascript` logic; now using System Events; improved readability
+ Updated for changes to the `xpath` tool
+ Other miscellaneous improvements
2021-11-29 18:15:16 -07:00
Zack T
6d2c971e20 v1.8.1 = Updated and Improved osascript and xpath logic
+ Updated `osascript` logic; now using System Events; improved readability
+ Updated for changes to the `xpath` tool
+ Other miscellaneous improvements
2021-11-29 18:15:16 -07:00
Zack T
960aba2083 v1.1.1 = Updated and Improved osascript and xpath logic
+ Updated `osascript` logic; now using System Events; improved readability
+ Updated for changes to the `xpath` tool
+ Other miscellaneous improvements
2021-11-29 18:04:03 -07:00
Sam Mills
135fa00731 check purgeable disk space 2021-11-18 10:21:09 -05:00
Zack T
514a3c8992 v1.1.0 = Updated and Improved osascript logic
+ Updated `osascript` logic; now using System Events; improved readability
2021-11-16 11:05:32 -07:00
Zack T
a3dc7045ca v1.2.0 = Updated for changes to the xpath tool
+ Updated for changes to the `xpath` tool
+ Other miscellaneous improvements
2021-11-16 10:58:51 -07:00
Zack T
d44c698e91 v1.2.0 = Updated and Improved osascript and xpath logic
+ Updated `osascript` logic; now using System Events; improved readability
+ Updated for changes to the `xpath` tool
+ Other miscellaneous improvements
2021-11-16 10:49:50 -07:00
Zack T
1e0226e4c5 v1.8.0 = Updated and Improved osascript and xpath logic
+ Updated osascript logic; now using System Events; improved readability
+ Updated for changes to the `xpath` tool
+ Other miscellaneous improvements
2021-11-16 10:44:19 -07:00
Zack T
40cd8c81c0 v1.1.0 = Updated and Improved osascript and xpath logic
+ Updated `osascript` logic; now using System Events; improved readability
+ Updated for changes to the `xpath` tool
+ Other miscellaneous improvements
2021-11-16 10:08:27 -07:00
Zack T
a9e66e65e7 v1.2.0 = Updated for changes to the xpath tool
+ Updated for changes to the `xpath` tool
+ Other miscellaneous improvements
2021-11-16 09:45:44 -07:00
Zack T
6f61a1f819 v1.1.0 = Resolved issue with patching
AutoCAD patches will not install from command line, only via GUI.  This because they have a script that runs on launch of the .pkg (via GUI) that locates the base .app that needs to be upgraded, and then creates a symlink to that .app in /tmp.

This updated "fixes" this issue with the usual trickery.
2021-11-16 09:16:47 -07:00
Zack T
d2f91dbf27 v1.11.0c - Correct logic error for specific hardware revisions
+ Corrected a logic error in the iMac and MBP ModelCheck functions for the minor hardware revisions that are supported with newer OS versions while others are not
+ Removed `$` from variables in arithmetic expressions as they are unnecessary
2021-09-30 14:07:31 -07:00
Zack T
27a97db855 v1.11.0b - Added support for MBP 11,4 & 11,5 with Monterey
+ Missed Monterey support for MBP 11,4 and 11,5; addressed in this updated
+ Added a MBP specific model check function
+ Corrected a logic error for the latest model checks in a the iMacModelCheck
2021-09-30 14:01:40 -07:00
Zack T
32315d045a v1.11.0a - Initial Support for Monterey
+ Adding initial support for macOS Monterey based on information know as of today.
2021-09-22 14:40:53 -07:00
Zack T
b17d04f068 v2.5.0 = Fixed false reports from SysExtCtl list & Network Filter State
+ Multiple extension versions can show up in the list from `/usr/bin/systemextensionsctl list`, added logic to only check against the sensor version currently installed.
+ Fixed logical error the Network Filter State conditional...whoops
2021-05-07 17:02:52 -07:00
Zack T
29fe619ea2 Merge PR#7 from koalatee
remove default python, allow option for bash

Plus:
From @MLBZ521 
* Check if $python_path exists, if it doesn't fall back to `defaults read`
* Add full path to binaries
* Add a value check for $filter_state for the result from `defaults read`
2021-05-07 16:44:52 -07:00