Commit Graph

207 Commits

Author SHA1 Message Date
Zack T
27b6d58567 v0.3 = Change the Location Logic
+ Change how to specify the location logic -- original concept was not possible
2018-04-05 11:17:44 -07:00
Zack T
1bda43f7e7 Code Improvements
+ Code Improvements
2018-04-03 11:14:52 -07:00
Zack T
01c3e37837 v1.0 = Production Version
+ Production Version
2018-04-03 11:06:58 -07:00
Zack T
31658ac7e9 v1.0 = Production Version
+ Production Version
2018-03-31 00:01:04 -07:00
Zack T
be100dfb6a v0.2 = Resolved issues related to adding a shortcut to the dock
+ Resolved issues related to adding a shortcut to the dock
 + Minor formatting and cleanup
2018-03-27 15:46:19 -07:00
Zack T
496586b142 v1.3 = Added check if application exists
+ Added check if application exists; if so remove it.
2018-03-26 23:02:53 -07:00
Zack T
a9c878e1b7 v0.1 = Initial Version
+ Most of the basic logic is laid out and complete
2018-03-26 22:29:24 -07:00
Zack T
aba92a20e9 v1.4 = Resolved issue caused by large ppd files
+ Large .ppd files caused curl to error with "argument list to long" -- resolved this by reading configuration from stdin instead of as cli arguments
2018-03-23 13:43:36 -07:00
Zack T
3944c4fd8d v1.3 = Fixed a couple issues
+ Fixed a logic issue with where the curlAPI array is defined
 + Fixed an issue with a prinft statement that wasn't properly formed
2018-03-23 13:39:07 -07:00
Zack T
744204de38 v1.2 = Added additional exit code check for the curl command
+ Added additional exit code check for the `curl` command
2018-03-23 11:23:54 -07:00
Zack T
51230ea812 v1.1 = Added more verbose output to the Jamf Policy Log
+ Added more verbose output that can be viewed from the Jamf Policy Log
2018-03-23 11:08:42 -07:00
Zack T
c6c0878e04 v1.4 = Improved uninstall logic
+ Improved uninstall logic
 - Commented out code that disables version check -- the .ini files does not exist until first launch (will wait to see if this is needed before added further logic)
2018-03-19 13:08:03 -07:00
Zack T
10d84103f8 v1.3 = Updated to support QGIS 3.0
+ Updated to support QGIS 3.0
2018-03-19 12:30:46 -07:00
Zack T
34ef0ca7c8 v1.2 = Improved overall script logic
+ Installing packages in the proper order
 + Checking exit codes from installer processes
2018-03-19 12:17:21 -07:00
Zack T
a678d98d39 v1.1 = Added installation target check
+ Added installation target check
2018-03-19 12:06:49 -07:00
Zack T
23b9d9d8e6 v1.0 = Initial Version
+ Initial Version
2018-03-19 12:03:46 -07:00
Zack T
c9e4a75b92 v1.0 = Production Ready
+ Production Ready
2018-03-19 10:30:19 -07:00
Zack T
6200dacde2 v1.0.1 = Added full paths to all binary utilities
+ Added full paths to all binary utilities
 - Forgot to remove the `sudo` before the jamf binary command
2018-03-16 23:42:17 -07:00
Zack T
7fed171211 v1.0 = Production Ready
+ Tested in live environment and production ready
2018-03-16 22:19:28 -07:00
Zack T
c1c65489fc v1.2.2 = Resolved MacMini parsing issue
+ Resolved MacMini parsing issue that caused them to fail to report compatibility
2018-03-15 11:30:37 -07:00
Zack T
57e25f4a75 v1.0 = Production Ready
By:  ZT
 + Improved logic in script
 + Added additional options
2018-03-14 22:02:49 -07:00
Zack T
b67b13480c v0.1 = Initial Version
+ Initial Version
2018-03-14 21:58:45 -07:00
Zack T
3bd123f608 v0.4 = Resolved issues with PPD Contents causing Bad Requests
+ Fixed some logic issues
 + Changed how I get the PPD Contents; also escaping characters for xml now
 + Added Category
2018-03-07 13:05:14 -07:00
Zack T
288b0f02ae v0.3 = Added Jamf's Encrypted Script Parameters function
+ Added Jamf's Encrypted Script Parameters function to encrypted the username and password of the API User  (https://github.com/jamfit/Encrypted-Script-Parameters)
2018-03-06 14:03:58 -07:00
Zack T
d012dccead v0.2 = Lots of logic and user experience improvements
+ Improved logic to make sense with the workflow of being run from Jamf or CLI.
 + Changed a few bits to improve user experience
 + Added/improved several checks after tasks
 + Added loop to prompt to create another printer after creating a printer
 + Adjusted language outputed by checkStatusCode()
2018-03-06 13:37:16 -07:00
Zack T
220b6d9d3f v0.1 = Major work completed, just need to improve logic
+ I've been working on this script for the last week trying to hash out some of the ideas I had.  It's all there I believe, just need to improve the flow of logic.
2018-03-06 13:30:02 -07:00
Zack T
41d60c322a Production Ready
+ Tested in live environment and production ready
(Forgot to merge previously)
2018-03-05 23:02:01 -07:00
Zack T
0b9fb17306 v1.2 = Changed password acquisition method
+ Changed password acquisition method based on suggestion from a colleague
2018-02-26 19:25:54 -07:00
Zack T
7118314c04 v1.1 = Added a check on the API credentials provided
+ Added a check on the API credentials provided to verify that they were valid and had permissions
2018-02-26 17:12:11 -07:00
Zack T
84545325b3 v1.0 = Production Ready
+ Renamed file
2018-02-26 16:53:28 -07:00
Zack T
6e48c8bc70 v0.5 = Added Mobile Device Support & Function to update both Device Types
+ Added support for Mobile Devices
 + Created function to handle updating of both Device Types
2018-02-23 21:56:54 -07:00
Zack T
5416c949d9 v0.4 = Changing workflow of the EA
- While working through this and testing, found a different way of doing this -- Leaving updateSiteList() Function for others, but I'm not using in my workflow
 + Finalized the update Site EA for Computers, removed from function
2018-02-23 16:37:46 -07:00
Zack T
34ee66b1e4 v0.3 = Created function to update EA for Computer
+ Created function to update EA for Computer
2018-02-23 16:15:56 -07:00
Zack T
5b279c179e v0.2 = Final version of the updateSiteList() Function
+ Finalized the updateSiteList() Function
2018-02-23 16:04:34 -07:00
Zack T
52df98095e Further Code Improvement
Further Code Improvement
2018-02-23 11:05:48 -07:00
Zack T
9a615e26dc General cleanup of current code
General cleanup of current code
2018-02-23 10:22:04 -07:00
Zack T
e5afea0e61 v0.1 = Created function for updating the EA's list of Sites
+ Created function for updating the EA's list of Sites
2018-02-23 01:31:15 -07:00
Zack T
5d470000b9 v1.0 = Production Ready
+ Production Ready
2018-02-23 00:39:07 -07:00
Zack T
84e761aca6 Merge branch 'assignVPPApps' 2018-02-23 00:36:28 -07:00
Zack T
96d1b40636 v0.17 = Added a check on the API credentials provided
+ Added a check on the API credentials provided to verify that they were valid and had permissions
2018-02-23 00:18:18 -07:00
Zack T
b6ac551260 v0.16 = Finalized the curl "PUT" cmd and other cleanup
+ Tested and verified minimum required elements for curl "PUT" cmd to properly configure App
 - Removed all unnecessary code from elements that were not needed
 - Removed quoting ("") that I had used when originally was doing comma delimited values (now using tab delimited)
2018-02-23 00:18:18 -07:00
Zack T
98325795fe v0.15 = Added logic that will decide where to send verbose output
+ Added a function, informBy(), that will decide where to send verbose output
 + The logic directs the output based on where the script is ran; either from CLI or Jamf
2018-02-23 00:18:18 -07:00
Zack T
e2df84b06f v0.14 = Added logic to check the API/curl HTTP Status Codes
+ Modified the curl commands so that we can get the HTTP Status Codes for each API call and then check each call for success/failures
 + Changed the exitCode() function to checkStatusCode() to compare the HTTP Status Codes
2018-02-23 00:18:18 -07:00
Zack T
89c71b4705 v0.13 = Script can be run via CLI or from a Self Service Policy
+ Added and adjusted logic to where the script can be run via CLI or from a Jamf Self Service Policy (for Site Admins)
 + Added option to prompt for credentials
2018-02-23 00:18:18 -07:00
Zack T
c1c669810c v0.12 = Minor maintenance and cleanup
+ Minor mainteanance and cleanup
2018-02-23 00:18:18 -07:00
Zack T
ff804197b2 v0.11 = Resolved issues with the assignApps function
+ Resolved issues with the assignApps function
 + Reordered headers that are echo'ed out to the $outFile
2018-02-23 00:18:18 -07:00
Zack T
e45c3ffb4d v0.10 = Added additional verbosity to several logic structures throughout
+ Added additional verbosity to several logic structures throughout
2018-02-23 00:18:18 -07:00
Zack T
6b001d0851 v0.9 = Redefined the curl command structure to work how I wanted
+ Fixed the JPS server URL variables
 + Redefined the curl command structure to work how I wanted
 + Fixed header creation to properly output to file
 + Added xml structure to pull additional elements for each App
2018-02-23 00:18:18 -07:00
Zack T
711a1946fe v0.8 = Added logic to skip the header line on csv read
+ Added logic to skip the header line on csv read
 + Added in a check to verify if file exists before trying to read it
2018-02-23 00:18:18 -07:00
Zack T
dbafe5b9ab v0.7 = Added additional configurable items
+ Added additional configurable items
 + Adding headers to the output file for readability
 + Adding an exitCode check on the API calls
2018-02-23 00:18:18 -07:00