24441 Commits

Author SHA1 Message Date
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
David Kocik
f624c55f6f Store PrusaLink passwords in wxsecretstore 2024-03-25 10:22:30 +01:00
enricoturri1966
fad42fb8f3 SPE-2183 - Modified LibBGCode.cmake to get latest version of libbgcode, where an out of bound access has been fixed into function MeatPack::unbinarize() (#12390) 2024-03-18 16:10:06 +01:00
Lukas Matena
de1e8b8953 Merge branch 'lm_ys_nx_console' (SPE-2028, SPE-2164) 2024-03-11 10:27:46 +01:00
YuSanka
1afb514fa1 CLI: Printers with no vendor information are added for "--query-printer-profile" 2024-03-11 10:27:22 +01:00
YuSanka
7553d26b3c Fixed OSX build 2024-03-11 10:27:22 +01:00
YuSanka
d0e31a0e61 CLI: If model for slicing is loaded from 3mf file, then its geometry has to be used and arrange couldn't be apply for this model.
So, check a state of "dont_arrange" parameter and set it to "true", if its value is "false".
2024-03-11 10:27:22 +01:00
YuSanka
ce910eb60a CLI: Fixed "query-printer-models".
If printer_technology options isn't used, then ALL installed printer models will be returned.
2024-03-11 10:27:22 +01:00
YuSanka
a46980ca47 Added CLI options to slice using the installed profiles
SPE-2164
2024-03-11 10:27:22 +01:00
YuSanka
f4f1eb5f9b Information about extruders count is added for each of printer profiles
+ Added JsonUtils to post-process written json.
2024-03-11 10:27:22 +01:00
Lukas Matena
fbe63ba1ab Improvements and refactoring of datadir handling 2024-03-11 10:27:22 +01:00
YuSanka
5bea4e7104 Follow-up 85c0d636 - Fix for get_printer_profiles_node()
Clear nodes before filling.
+ Fixed tooltips for "query-..." options
2024-03-11 10:20:29 +01:00
YuSanka
eb8a460b24 ProfilesSharingUtils : Improvements for requests.
"query-printer-models" and "query-print-filament-profiles" return presets which are separated to "user" and regular print/material/printer profiles

+ Removed print of state information
2024-03-11 10:20:29 +01:00
YuSanka
5f5147377e Move ProfilesSharingUtils to backend (to libslic3r from GUI) 2024-03-11 10:20:29 +01:00
YuSanka
02b65b2366 ProfilesSharingUtils : Implemented load_full_print_config() function to load full print config from PresetBundle. 2024-03-11 10:20:29 +01:00
YuSanka
61ceac8ea2 ProfilesSharingUtils : Improvements for requests.
* "query-printer-models" is extended to expose printer presets for each printer variant
* "query-printer-profiles" is currently commented as not-used
* "query-print-filament-profiles" is extended to expose "is_user_profile" state for each print/material profiles

+ Removed includes related to GUI.
+ Removed a code to loaded all known vendors.
2024-03-11 10:20:29 +01:00
YuSanka
4e997d8dd5 ProfilesSharingUtils : Implemented detection of the application DataDir to avoid manual set for this value.
Use just native functions (without wxWidgets)
Note: Most of code is extracted from wxWidgest (wxStandardPaths and wxFileName classes implementation) to avoid use of wxString
2024-03-11 10:20:27 +01:00
YuSanka
4f0894aa6c SPE-2028 : Implement the command line interface for querying presets 2024-03-11 10:17:36 +01:00
YuSanka
8c2f6d7b7d Fixed an update of Searcher on UI recreation.
Bug was caused by fa86a3d0, when instance of searcher was moved to GuiApp
and as result wasn't recreate on UI recreation.
Searcher instance is in MainFrame now.
2024-03-06 12:21:39 +01:00
YuSanka
c857ae8db5 Fixed warnings 2024-03-04 11:28:16 +01:00
YuSanka
705102e947 Fixed a typo: Added missed "break" after previous merging 2024-02-29 15:00:57 +01:00
Lukas Matena
ac468bad2d Switch config folder to -alpha again 2024-02-21 16:42:01 +01:00
Lukas Matena
1f87c498cd Merge branch 'master_27x' 2024-02-20 23:01:02 +01:00
Jan Bařtipán
d7cd43e8a7 Update How to build - Mac OS.md with troubleshooting section, 2024-02-20 21:30:07 +01:00
YuSanka
79edd48fbc Fix for #4682 - When reloading a model that had manifold errors, warning triangle is still shown 2024-02-20 16:20:40 +01:00
Lukas Matena
671d9ebb34 Bumped up version to 2.7.2-beta1 version_2.7.2-beta1 2024-02-20 12:24:12 +01:00
YuSanka
1f324fde08 Localization: Updated internal dictionaries (CS, DE, ES, FR, IT, PL) 2024-02-20 10:39:24 +01:00