David Kocik
565d89a2e2
Simple error page
2024-03-25 12:05:55 +01:00
David Kocik
b032bf792b
Fix of Webview2 deps.
...
Added checking existence of target (Mac + Linux).
Force webview2 to be appended to build list (Win).
2024-03-25 12:05:55 +01:00
David Kocik
218a24c7cf
Printer webview tab with apikey injecting (username w password does not work).
...
Webview developer tools added but hidden in tech.
Fixed adding / removing / loading webview tabs and blinking on add.
Rename tabs and related functions.
Apikey injection from https://github.com/SoftFever/OrcaSlicer . Thank you.
Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-03-25 12:05:55 +01:00
David Kocik
7c1f8f8807
PrusaConnect web app communications
...
Set Access token.
2024-03-25 12:05:55 +01:00
David Kocik
af97422ea9
Store avatar png in temp folder
2024-03-25 12:05:55 +01:00
David Kocik
e9706f4032
Rename source files.
...
So the files are named as classes from commit 0ba535967bfbf00dbdce0a441105adb98671eb0e
2024-03-25 12:05:55 +01:00
David Kocik
f3dd5fa17d
Rename Auth to UserAccount
2024-03-25 12:05:55 +01:00
Lukas Matena
5791bcb43f
Fix cmake for WebView2
2024-03-25 12:05:55 +01:00
David Kocik
2031fb5133
Set downloaded avatar to scalable button
2024-03-25 12:05:55 +01:00
David Kocik
c129340712
Prusa Account communication changes after testing all possible error states.
2024-03-25 12:05:55 +01:00
YuSanka
5804d5aa71
TopBar: Fixed Rescale() function
2024-03-25 12:05:55 +01:00
David Kocik
f716497318
Remember session refactoring. Browser login redirect dialog only until first confirmation
2024-03-25 12:05:55 +01:00
David Kocik
1be8144b1c
Prusa Auth renamed to Account in UI
2024-03-25 12:05:55 +01:00
YuSanka
946c0caf78
TopBar: Added user name to "Login" button
...
+ Deleted unused names for mode button
2024-03-25 12:05:55 +01:00
David Kocik
7011322f62
Download Prusa account Avatar
...
Missing adding avatar to topbar
2024-03-25 12:05:55 +01:00
YuSanka
ce91ef8f49
TopBar: Search: Fixed OSX issue with Layout on Show()
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
YuSanka
e92304c6eb
TextInput: Added possibility to set function on DropDown icon
2024-03-25 12:05:55 +01:00
YuSanka
a336a2c379
TopBar: Fixed strange small rectangle in TopLeft corner
...
OSX specific issues:
* Fixed Layout
* Fixed a crash on start
* Buttons: Fixed colors on selecting and hovering
MSW specific:
*Fixed update color mode
2024-03-25 12:05:55 +01:00
YuSanka
e4e19f1358
TextInput: Implemented SysColorsChanged function
2024-03-25 12:05:55 +01:00
YuSanka
1fdfbf3921
Deleted code related to mode sizer.
2024-03-25 12:05:55 +01:00
David Kocik
30a1279d90
connect_polling app config variable
...
Can be used to disable periodical update of Connect printers.
2024-03-25 12:05:55 +01:00
David Kocik
db43c069d9
Fix of not selecting presets from Connect when physical printer was selected.
...
Note: There might be other similar settings that needs to be done next to the unselecting of ph printer.
2024-03-25 12:05:55 +01:00
David Kocik
488254f7fb
Missing Mac implementation of receiving login data from browser.
...
+ fix of current connect address
2024-03-25 12:05:55 +01:00
David Kocik
ff64f7167d
Fixes and icons.
...
Sla printer icons with Connect status.
Fix of non-static variable and missing includes
update of priter_type table
missing include
2024-03-25 12:05:55 +01:00
YuSanka
bf8c3e7653
Fixed OSX build and some of warnings
2024-03-25 12:05:55 +01:00
YuSanka
1c4b9d43d1
Search improvements:
...
* Set max size.
* Close search dialog, when both of search dialog and search input lose a focus
* Update dialog position in respect to the position and size of search input
2024-03-25 12:05:55 +01:00
David Kocik
161d3f40d4
notification about printer change
2024-03-25 12:05:55 +01:00
David Kocik
55525d2ebf
upload file to connect - missing api key to work
2024-03-25 12:05:55 +01:00
David Kocik
da977db4c4
disable testing notification and monitor tab showing
2024-03-25 12:05:55 +01:00
YuSanka
7b8238a905
TopBar : Follow-up 217c41ee - Fixed User and Workspace menus
2024-03-25 12:05:55 +01:00
David Kocik
167d92872f
Automatic reset on failed login and other communication fixes
2024-03-25 12:05:55 +01:00
YuSanka
e065f0c83b
TopBar: Added "Search" control
...
+ Deleted old search controls from tab and canvas3D
2024-03-25 12:05:55 +01:00
YuSanka
4263ca6283
TopBar: Fixed a hovering for the bar items
2024-03-25 12:05:55 +01:00
YuSanka
ba5e8b87a9
Fix for using of accelerators from menu items.
...
After TopBar implementation we don't use wxMenuBar anymore.
As a result menu accelerators was unused.
To workaround this issue the accelerator_entries_cache is generated during creating menu items
and than items from this cache are added to the acceleration table for mainframe.
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
YuSanka
55ba9f2351
Topbar: Implement Auth menu
2024-03-25 12:05:55 +01:00
David Kocik
78c9aa668c
User Account: Store more user data, not only username
...
Compare new and old printer maps
2024-03-25 12:05:55 +01:00
YuSanka
cecfe485ab
WIP: New simple top bar : Improve/delete redundant mode sizers
...
+ UI-fixes for OSX
2024-03-25 12:05:55 +01:00
YuSanka
ada1fc37ff
WIP: Experiments with New simple top bar
2024-03-25 12:05:55 +01:00
YuSanka
5f34abf473
Follow-up a6324174: Add missed icons
2024-03-25 12:05:55 +01:00
YuSanka
e774d25f7a
Implemented UI to show a state of printers in PrusaConnect
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
David Kocik
adc650ef4e
PrusaConnect communication with PrusaAuth login
...
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.
2024-03-25 12:05:55 +01:00
enricoturri1966
c916249f2b
SPE-2132: Emission of gcode lines 'M104.1 T P Q S' in place of 'M104 T P S'
2024-03-25 10:48:20 +01:00
Martin Šach
fa23ab8285
Make sure that after wipe tower toolchange the G1 Z is always emitted.
...
Even if the G1 Z would be redundant, it is still emitted.
Fixes : #12361
2024-03-25 10:48:20 +01:00
YuSanka
bd903fd6fb
Localization: Updated internal dictionaries (CS, DE, ES, FR, IT, PL, JA)
2024-03-25 10:45:38 +01:00
YuSanka
d172b7b8ee
Added missing units for "filament_stamping_loading_speed" and "filament_stamping_distance"
2024-03-25 10:26:09 +01:00
David Kocik
f624c55f6f
Store PrusaLink passwords in wxsecretstore
2024-03-25 10:22:30 +01:00
Lukáš Hejl
6c6f90fe4b
Disable smoothing of the spiral vase when absolute E coordinates are used.
2024-03-22 16:37:37 +01:00