08-May-2023
- 🆕 Dynamic Download Estimates (Addresses Issue No. 7; thanks for the idea, @DevliegereM; heavy-lifting provided by @bartreardon!)
- Manually set
configurationDownloadEstimation
within the SYM script totrue
to enable - New
calculateFreeDiskSpace
function will record free space toscriptLog
before and after SYM execution- Compare before and after free space values via:
grep "free" $scriptLog
- Compare before and after free space values via:
- Populate the following variables, in Gibibits (i.e., Total File Size in Gigabytes * 7.451), for each Configuration:
configurationCatchAllSize
configurationOneSize
configurationTwoSize
configurationThreeSize
- Specify an arbitrary value for
correctionCoefficient
(i.e., a "fudge factor" to help estimates match reality)- Validate actual elapsed time with:
grep "Elapsed" $scriptLog
- Validate actual elapsed time with:
- Manually set
- 🔥 Breaking Change for users of Setup Your Mac prior to
1.10.0
🔥- Added
recon
validation, which must be used when specifying therecon
trigger (Addresses Issue No. 19)
- Added
- Standardized formatting of
toggleJamfLaunchDaemon
function- Added logging while waiting for installation of
${jamflaunchDaemon}
- Added logging while waiting for installation of
- Limit the
loggedInUserFirstname
variable to25
characters and capitalize its first letter (Addresses Issue No. 20; thanks @mani2care!) - Added line break to
welcomeTitle
andwelcomeBannerText
- Replaced some generic "Mac" instances with hardware-specific model name (thanks, @Pico!)
- Replaced
verbose
Debug Mode code withoutputLineNumberInVerboseDebugMode
function (thanks, @bartreardon!) - Removed dependency on
dialogApp
- Check
bannerImage
andwelcomeBannerImage
(Pull Request No. 22 AND Pull Request No. 24 thanks @amadotejada!) - A "raw" unsorted listing of departments — with possible duplicates — is converted to a sorted, unique, JSON-compatible
departmentList
variable (Addresses Issue No. 23; thanks @rougegoat!) - The selected Configuration now displays in
helpmessage
(Addresses Issue No. 17; thanks for the idea, @master-vodawagner!) - Disable the so-called "Failure" dialog by setting the new
failureDialog
variable tofalse
(Addresses Issue No. 25; thanks for the idea, @DevliegereM!) - Added function to send a message to Microsoft Teams Pull Request No. 29 thanks @robjschroeder!)
- Added Building & Room User Input, Centralize User Input settings in one area Pull Request No. 26 thanks @rougegoat!)
- Replaced Parameter 10 with webhookURL for Microsoft Teams messaging (Pull Request No. 31 @robjschroeder, thanks for the idea @colorenz!!)
- Added an action card to the Microsoft Teams webhook message to view the computer's inventory record in Jamf Pro (Pull Request No. 32; thanks @robjschroeder!)
- Additional User Input Flags (Pull Request No. 34; thanks @rougegoat!)
- Corrected Dan's copy-pasta bug: Changed
--webHook
to--data
(Pull Request No. 36; thanks @colorenz!) - Enable or disable any combination of the fields on the Welcome dialog (Pull Request No. 37; thanks big bunches, @rougegoat!!)
- Moved various
shellcheck disable
codes sprinkled throughout script front-and-center to Line No.2
- Add Remote Validation results of "Success" or "Installed" to update the List Item with "Installed" instead of "Running" (Pull Request No. 41; thanks @drtaru!)
- Option to disable Banner Text (Pull Request No. 42; thanks, @rougegoat!)
- Switch
policy -trigger
topolicy -event
(Addresses Issue No. 38; thanks for looking out for us, @delize!) - Resolves an issue when
promptForConfiguration
is NOT set totrue
, thecheckNetworkQualityConfigurations
function would display in the "Welcome" dialog (Addresses Issue No. 46; thanks, @jonlonergan!) - Corrected capitalization of
networkQuality
- Added
trigger
validation
to "Elapsed Time" output - Updated
webhookMessage
to include Slack functionality (Pull Request No. 48; thanks @iDrewbs!) - Add button to computer record for Slack webhook (Pull Request No. 49; thanks @drtaru!)
- Fix Banner Text displaying when set to False (Pull Request No. 51; thanks @rougegoat!)
What's Changed
- check bannerImage & welcomeBannerImage - resubmit by @amadotejada in #22
- check for remote & local banners by @amadotejada in #24
- Added sendWebhookMessage function by @robjschroeder in #29
- Add Building & Room User Input, Centralize User Input settings in one area by @rougegoat in #26
- Updating Microsoft Teams webhook message function by @robjschroeder in #31
- Updating webHookMessage function by @robjschroeder in #32
- Additional User Input Flags by @rougegoat in #34
- Changed --webHook to --data by @colorenz in #36
- Additional User Input Flags 2 by @rougegoat in #37
- Add Printer Validation Script by @drtaru in #40
- Remote Validation Changes by @drtaru in #41
- Option to disable Banner Text by @rougegoat in #42
- webhookMessage Function Update for Slack Webhook URL's by @iDrewbs in #48
- Add button to computer record for Slack webhook by @drtaru in #49
- Fix Banner Text displaying when set to False by @rougegoat in #51
New Contributors
- @amadotejada made their first contribution in #22
- @rougegoat made their first contribution in #26
- @colorenz made their first contribution in #36
- @iDrewbs made their first contribution in #48
Full Changelog: v1.9.0...v1.10.0