Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
client: support server TLS certificate change
- `client/comms`: Instead of just keeping track of the connection being conneccted or not, a `ConnectionStatus` type is introduced which includes `InvalidCert` in addition to `Connected` and `Disconnected`. This is then passed to core and the UI through the `ConnEventNote`. - `client/core`: A new function `UpdateCert` is added which uses TLS certificate supplied by the user to connect to a server. If the connection is successful, the new certificate is stored in the db. - `client/webserver`: A new api request `/api/updatecert` is added to allow the user to update the TLS Certificate for a host. - `ui`: The settings page is updated. Instead of all the options for each server being on the settings page, there is just a link to a dex settings page specific to a server. This contains all the options that previously existed on the settings page in addition to the new option to update the TLS Certificate.
- Loading branch information
Showing
38 changed files
with
681 additions
and
316 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.