jamf / PPPC-Utility

Privacy Preferences Policy Control (PPPC) Utility
MIT License
735 stars 46 forks source link

Connection should optionally use client credentials #122

Closed macblazer closed 8 months ago

macblazer commented 8 months ago

Updated the minimum deployment target to macOS 11 in order to use SwiftUI with decent capabilities.

The Upload sheet is now written in SwiftUI, and the client credentials option has been added. The sheet user-entry validation code has been simplified and made more robust. The user now receives confirmation of a successful upload instead of the sheet simply disappearing. If there are any problems with the upload the sheet is left open and displays an inline warning message.

The UX of requiring the connection to be verified before performing the upload has been improved. There are now simply two buttons in the bottom-right of the view. The Cancel button is always present. The other button is first titled "Check Connection", and then once the connection info has been verified the button changes title to "Upload". Also, if the user changes any connection related info after a successful "Check Connection" the button changes back and must go through the connection verification again.

Fixes #120