60 Commits

Author SHA1 Message Date
David Kocik
1689918a3e DPIDialog as base class WebViewDialog. 2024-06-26 17:17:51 +02:00
David Kocik
c29e70d429 Resize login dialog 2024-06-26 17:17:51 +02:00
Jan Bartipan
a63534211f Fixed connect login URL 2024-06-25 14:39:46 +02:00
Jan Bařtipán
6255d57e5e ConnectWebViewPanel: disable error reporting via dialog (only reporting to console), disable dev tools 2024-06-21 14:57:16 +02:00
Jan Bařtipán
07dbc5d7f0 WebViewPanel: Javascript init flow error reporting (WIP) 2024-06-21 14:57:16 +02:00
Jan Bařtipán
e6eff5f57f WebViewPanel: JS arrow function rewritten to old function notation 2024-06-21 14:57:16 +02:00
Jan Bařtipán
dcfb965192 WebViewPanel: logging RunScript just via std::cout 2024-06-21 14:57:16 +02:00
Jan Bařtipán
0ea1f9f89a WebViewPanel: enable dev tools 2024-06-21 14:57:16 +02:00
Jan Bařtipán
e70ee320d9 ConnectWebViewPanel: Connect login flow start moved from ctor to on_page_will_load 2024-06-21 14:57:16 +02:00
David Kocik
b60fb76a4b Login in config wizard 2024-06-21 14:55:56 +02:00
David Kocik
fd205c937c login logout dialog 2024-06-21 14:55:56 +02:00
David Kocik
b2e80bd5be prototype of inner login dialog 2024-06-21 14:55:56 +02:00
Lukas Matena
5998e2f78d Fixes in phrases 2024-06-18 14:48:05 +02:00
David Kocik
2e0cb6a9be Do not allow url ouside connect and backbutton back to loading in connect tab. 2024-06-14 14:28:01 +02:00
David Kocik
de6f111eb6 Open url from Connect in external browser 2024-06-14 14:28:01 +02:00
David Kocik
a03facbeb4 Revert dev adressess 2024-06-14 14:28:01 +02:00
David Kocik
41974d6a8f Revert not sending Access token on REQUEST_CONFIG
RunScript -> RunScriptAsync
2024-06-14 14:28:01 +02:00
David Kocik
c1bff16325 Do not send access token by script and minor changes in WebviewPanel 2024-06-14 14:28:01 +02:00
Jan Bařtipán
7204a0e77b WebView and Connect integration: implemented logout flow via /slicer/logout 2024-06-14 14:28:01 +02:00
Jan Bařtipán
850ac19167 WebView and Connect integration: implemented login ceremony via /slicer/login request (and alternative disabled one with fetch function overriding); all stored JWT tokens merged into single secret store record to reduce number of login dialogs appearances when new app is run for first time on Mac. 2024-06-14 14:28:01 +02:00
David Kocik
e553ac5360 Fix of webview dialog closing.
Custom script message handlers.
2024-05-20 13:06:48 +02:00
David Kocik
1264f57f84 Compatible printer check when sending uuid to connect. 2024-05-16 16:19:07 +02:00
David Kocik
535ecf7b34 Passing filename to Connect PrinterPick 2024-05-16 16:19:07 +02:00
David Kocik
5e5f2c493d New request naming 2024-05-16 16:19:07 +02:00
David Kocik
65a581a026 Use only uuid from Connect request and get rest of the data from endpoint 2024-05-16 16:19:07 +02:00
David Kocik
98ec4e808d Remove script handler on EndModal. 2024-05-16 16:19:07 +02:00
David Kocik
df40aecacc New Connect adresses. 2024-05-16 16:19:07 +02:00
David Kocik
44cf71390b Passing uuid from connect webview to connect printerpick
TODO: More sofisticated logic to pass or not pass uuid
2024-05-16 16:19:06 +02:00
David Kocik
76d7af0b05 Add developer panel and error handling to webview dialog 2024-05-16 16:19:06 +02:00
David Kocik
79a7abeca6 nozzle_diameter changed to printer_variant 2024-05-16 16:19:06 +02:00
David Kocik
cb80309535 Delete leftovers from printer_type implementation. 2024-04-24 15:40:03 +02:00
David Kocik
b402c42e75 Do not show error page when not webview shown. 2024-04-24 14:57:09 +02:00
David Kocik
dbb298e1be Sending only first nozzle diameter. 2024-04-24 14:08:01 +02:00
David Kocik
fd8a580dee WebviewDialog minimal size. 2024-04-24 14:08:01 +02:00
David Kocik
d3d16aa964 Error to Debug log fix. 2024-04-24 14:08:01 +02:00
David Kocik
7bc73be0c9 Runscript only if tab with webview is shown.
Fixes premature script running on sys_color_changed. This can be solved more elegantly.
2024-04-24 14:08:00 +02:00
David Kocik
b05d438fc6 Changes in Connect Printer Status.
First use endpoint PrinterModels to get uuid to model map, than get statuses for uuids from Status endpoint.

Lang code trimmed to 2 chars.
2024-04-24 14:08:00 +02:00
David Kocik
a474d36bfb Printer_model when requesting printer filtering in PrinterPick. 2024-04-24 14:01:47 +02:00
David Kocik
58cd6c5a09 Selecting SLA printer on Connect upload 2024-04-24 14:01:46 +02:00
David Kocik
d4a794e42a Show error page in webviewPanel 2024-04-24 14:01:46 +02:00
David Kocik
1d71b5338a Webview loading html page 2024-04-24 14:01:46 +02:00
David Kocik
7b9d9a33a4 Remove static run_script function. 2024-04-24 14:01:45 +02:00
David Kocik
d72794bde8 Remove FakeWebView 2024-04-24 14:01:45 +02:00
Lukas Matena
a65a70903e Removed unused code and includes 2024-04-12 09:27:35 +02:00
Lukas Matena
23d056fc71 Various small changes 2024-04-12 09:27:34 +02:00
David Kocik
9d9110b60a production address and id 2024-03-28 14:52:38 +01:00
Lukas Matena
137340f70f Fixed couple of compiler warnings 2024-03-28 12:04:51 +01:00
David Kocik
4358382db7 Check selected profile in connect by compatible printers vector.
Select printer in plater based on compatible printers vector, if given.
2024-03-25 17:08:02 +01:00
David Kocik
c669ef49aa sys_color_change for webview windows 2024-03-25 12:05:55 +01:00
David Kocik
123a299a9b Improvements in ConnectTab and PrinterPick Dialog
Webview access token sending and compatible printer request.

Printer Pick Dialog UI changes

Connect request_config improvements

Switch printer or send gcode dialog
2024-03-25 12:05:55 +01:00