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>
Background communication with keeping tokens
Temporary output is notification
Temporary storing tokens in prusaslicer.ini
Using wx secret store to store tokens if possible
Improved PrusaConnect message - number of compatible models
Fix of saving refresh token
Refactoring of Auth and Auth Session classes.
Description of bug:
During fixing of SPE-1845 there was made changes with 7280b2a0 commit.
But those changes destroyed a initial behavior. All presets are selected correctly now,
but user doesn't receive a notification about temporary installed presets, if any was.
(Error massage contains links to related options in Settings Tabs now)
+ Suppress a showing a SaveFileDialog in loop while name isn't correct.
+ ErrorDialog is extended to use specified function to process a clicked link
* Fix for SPE-1659 : Wrong filaments update, when templates are allowed/suppressed
* Per Extruder Filaments (related to SPE 1599)
* Implemented compatibility for each extruder separately
* Update of the filaments compatibility is extracted to separate function update_filaments_compatible()
* Fixed synchronization of config.ini with the current selections, when preset is changed from sidebar.
* Filament Settings Tab improvements:
* Added extruder combobox to select active extruder
* PresetCombobox is updated in respect to compatibility for active extruder
* For MM printer: Cog icon near the filament will switch to Filament Settings for selected filament
* Bug fixing for https://dev.prusa3d.com/browse/SPE-1599
* Next round of bugfixing for https://dev.prusa3d.com/browse/SPE-1599
* Fixed crashes from https://dev.prusa3d.com/browse/SPE-1599
+ code refactoring for Tab:save_preset()
Now after splitting an object into parts, custom supports, seams, and multimaterial painting are removed, and the user is notified about it.
Also, this commit fixed the text of the notification about removing custom supports, seams, and multimaterial painting by Simplify gizmo. And it also fixed that info about custom supports, seams, and multimaterial painting was still shown in the right panel after the model simplification event when custom supports, seams, and multimaterial were removed.
Custom URL Registration:
- Windows - writes to registers.
- Linux - desktop integration file.
- Macos - info.plist.in creates registration and is controlled only via app config.
Registration is first made in Config Wizard. Or is triggered from Preferences. Path to downloads folder can be set.
URL link starts new instance of PS which sends data to running instance via SingleInstance structures if exists.
New progress notification is introduced with pause and stop buttons.
Downloader writes downloaded data by chunks.
Support for zip files is introduced. Zip files can be opened, downloaded or drag'n'droped in PS. Archive dialog is opened. Then if more than 1 project is selected, only geometry is loaded.
Opening of 3mf project now supports openning project in new PS instance.