David Kocik
eb7f27c83d
Serialize parameters from json var to config opt format
...
improved config options filtering
changed outgoing json for upload to connect
2024-08-29 10:36:42 +02:00
David Kocik
a627c4c64e
full config in json for upload
2024-08-29 10:36:42 +02:00
David Kocik
a30961f59a
Rename paramters in jsons and add FilamentConfig.
2024-08-29 10:36:42 +02:00
David Kocik
3ff2b179b9
filament abrasive option in outgoing json for upload to connect
2024-08-29 10:36:42 +02:00
David Kocik
d384c5a13f
Copy all printer config options to outcoming json for selecting printer.
2024-08-29 10:36:42 +02:00
David Kocik
756a76a773
repo_prefix parameter and removing prefix before send to connect.
...
Change printer_model in full config before applying to print
printer_model prefix handling when showing online printers in sidebar
Select printer from connect by nozzle diameter (instead of pritner_variant) and by additional config options.
+ Moved standalone functions to UserAccountUtils
Set as current without repo prefix
when selecting preset with prefix, mind visible presets.
prefer visible printers for selecting
fix of selecting SLA printer
Added prusalink for prefixed printer_model
2024-08-29 10:36:42 +02:00
Jan Bařtipán
38939b0703
Online service configuration: fixed URL in connect select pritner
2024-08-09 10:07:47 +02:00
Jan Bařtipán
6eca12a1ed
Online service configuration can be now changed via env variables, added support for turning webdev tools via command line option
2024-08-09 10:07:47 +02:00
Jan Bařtipán
7fb3638d46
PrinterWebViewPanel: fixed passing API Key when uploading gcode, fixed passing API key via session storage, improved cleaning up credential infra on printer change (removing API key from storage or deregistering delegate/event for HTTP digest auth)
2024-08-09 09:54:35 +02:00
Jan Bařtipán
c953dd9eea
WebView: handling authentication challenge (passing user credentials) for OSX (working) and Linux (WIP)
2024-08-09 09:54:35 +02:00
Martin Šach
96e3e77fef
Prepare fe for include optimization.
...
- Add pragmas to keep necessary headers with symbols not explicitly
stated in the file.
- Use include paths that IWYU understands.
2024-07-08 15:37:02 +02:00
David Kocik
3ad90846c7
NozzleDiameter parameter for upload fix.
2024-06-26 17:20:48 +02:00
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