This pull request adds a new feature to Computers. It adds a tab under the show page that display's a computer's warranty information that has been pulled straight from Apple. Computers that can be updated are ones who have checked in a system profile. (The API is based off of the system's serial number)
Features
Warranty tab that shows a computer's warranty information from Apple
Rake tasks to automatically remove/refresh warranty info for all applicable computers.
This uses the older API from Apple to retrive warranty info, which may cause problems in the future. However, the code catches errors from connecting to Apple, so it would most likely just stop fail to update as opposed to crashing. We plan on looking at Apple's new GSX API to switch over to that in the future, which will add a ton of new capabilities.
Oddities that can be ignored/removed
Re-added old route to test with Ohio U's current setup. (We haven't had time to release a new package to have client computers get their manifests from the updated route yet..)
config/routes.rb line 26
Not sure how you are using the public/assets file to redirect outside of the munkiserver folder, so we just replaced that file and let the assets folder get created under public.
I'm showing quite a bit of information that probably doesn't need to be under the warranty tab just to show what can be pulled down.
This pull request adds a new feature to Computers. It adds a tab under the show page that display's a computer's warranty information that has been pulled straight from Apple. Computers that can be updated are ones who have checked in a system profile. (The API is based off of the system's serial number)
Features
Steps to try update
Notes
Oddities that can be ignored/removed