Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection should optionally use client credentials #122

Conversation

macblazer
Copy link
Contributor

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

…that handles the Upload sheet, including the new Client Credentials options. Refactored the actual upload networking code out into an UploadManager type.
@macblazer macblazer requested review from watkyn and adku December 3, 2023 18:42
@macblazer macblazer merged commit 7605083 into jamf:master Dec 4, 2023
1 check passed
@macblazer macblazer deleted the 120-connection-should-optionally-use-client-credentials branch December 4, 2023 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Connection to Jamf Pro should be updated to optionally use client credentials
2 participants