20 Commits

Author SHA1 Message Date
David Kocik
321d79b338 No border webview 2024-11-11 16:12:50 +01:00
David Kocik
85094c5c19 SPE-2515: Improved reload functionality
Fix of script message after error with credentials /api key

Reload improvements

additional webview checks

Reload webview on F5 for mac / linux

Rename button

Fix of loading error page
2024-11-11 16:12:50 +01:00
David Kocik
9f42394629 SPE-2512: Create Webview only when it is being shown
Destroy webview on tab close
2024-11-11 16:12:50 +01:00
David Kocik
20af632115 SPE-2515: Reload button inside html pages and button in menu 2024-11-11 16:12:49 +01:00
David Kocik
1040332c87 SPE-2468: Printables WebView class
read address and download model
Printables as pernament tab
webview debug panel
adding token to request header
Logout to Printables
Correct user-agent
Receiving printables events
Improved refreshing of token to printables
User settings to printables url
merge changes
Changed login to Printables during runtime
Logging in plater fix
2024-11-11 16:12:49 +01:00
David Kocik
b60fb76a4b Login in config wizard 2024-06-21 14:55:56 +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
David Kocik
e553ac5360 Fix of webview dialog closing.
Custom script message handlers.
2024-05-20 13:06:48 +02:00
David Kocik
32d2115334 Set user agent to SLIC3R_APP_FULL_NAME 2024-05-16 16:19:06 +02:00
David Kocik
f6e8a1e898 Do not set user agent on webview creation. It caused not loading of the webview edge backend when running 2 different versions of PS. 2024-05-16 16:19:06 +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
46b97dea0d Is it possible to use RunScriptAsync instead of platform-dependent code? 2024-04-12 09:27:35 +02:00
Lukas Matena
23d056fc71 Various small changes 2024-04-12 09:27:34 +02:00
Lukas Matena
137340f70f Fixed couple of compiler warnings 2024-03-28 12:04:51 +01:00
David Kocik
7c1f8f8807 PrusaConnect web app communications
Set Access token.
2024-03-25 12:05:55 +01:00
David Kocik
2309b66e02 Get apikey from printer message and use it for upload.
Several compiler warning fixes

Fix of MacOS SHA256 generator
2024-03-25 12:05:55 +01:00
David Kocik
822b862fce Printers action and webview development
Automatic "Connect printers" action after login

periodic connect printers update

adding and removing connect tab on login

Webview refactor

remove unused code

load url on adding panel

monitor tab

upload to connect button
2024-03-25 12:05:55 +01:00
David Kocik
2276cedc10 WebView prototype
Web View has working panel with Connect webpage with Auth token login.
Webview2 is used on windows. It uses small dll to find its runtime.

WebViewDialog.cpp, WebViewDialog.hpp, WebView.cpp and WebView.hpp were taken from https://github.com/bambulab/BambuStudio and used as protype for future WebView Development. Thank you.

Co-authored-by: cmguo <chunmao.guo@bambulab.com>

Co-authored-by: lane.wei <lane.wei@bambulab.com>
2024-03-25 12:05:55 +01:00