-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Embedders widget - field for a custom server URL #114
base: master
Are you sure you want to change the base?
Conversation
72c3335
to
255341b
Compare
Codecov Report
@@ Coverage Diff @@
## master #114 +/- ##
==========================================
- Coverage 79.9% 76.18% -3.73%
==========================================
Files 7 5 -2
Lines 622 529 -93
Branches 95 84 -11
==========================================
- Hits 497 403 -94
- Misses 97 98 +1
Partials 28 28 |
@@ -105,6 +116,15 @@ def _setup_layout(self): | |||
EMBEDDERS_INFO[current_embedder]['description'] | |||
) | |||
|
|||
advanced_box = widgetBox(self.controlArea, 'Advanced settings') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Advanced server settings
or maybe just
Custom server
@@ -105,6 +116,15 @@ def _setup_layout(self): | |||
EMBEDDERS_INFO[current_embedder]['description'] | |||
) | |||
|
|||
advanced_box = widgetBox(self.controlArea, 'Advanced settings') | |||
self.use_custom_server_cb = checkBox( | |||
advanced_box, self, 'custom_server', "User custom server", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use private server
advanced_box, self, 'custom_server', "User custom server", | ||
callback=self.changed_server_url) | ||
self.server_url_box = lineEdit( | ||
advanced_box, self, 'server_url', label="Server URL: ", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this could be disabled when the above checkbox is not checked.
we also need "allow insecure" option, eg. like in curl -k or --insecure (Allow connections to SSL sites without checking certs (H)). We need this if there are self signed certificates installed on the imageanalytics server. |
255341b
to
204b651
Compare
@matjazp it seems that hyper library does not support "allow insecure" option https://hyper.readthedocs.io/en/latest/advanced.html#ssl-tls-certificate-verification. With @acopar we discussed to just use HTTP instead of HTTPS those cases |
204b651
to
7bf30c6
Compare
Very useful!! |
3305200
to
fd86858
Compare
fd86858
to
734fe7b
Compare
Issue
No possibility to set custom server url.
Description of changes
Adding a field and functionality for a custom URL set.
Includes