280 Commits

Author SHA1 Message Date
David Kocik
02c63a56b8 avoid abrasive filament on non harden nozzle when selecting printer from connect. 2024-08-29 10:36:42 +02:00
YuSanka
7519142b1f Fix for #12874 - Ctrl-P does not open preferences in 2.8.0-alpha5 2024-06-24 20:00:23 +02:00
YuSanka
0237acb38f Follow-up 3bd0728b: Fixed the toolbar icons size, when it's set from Preferences.
see https://github.com/prusa3d/PrusaSlicer/issues/12838#issuecomment-2176534793
2024-06-24 19:49:25 +02:00
David Kocik
b60fb76a4b Login in config wizard 2024-06-21 14:55:56 +02:00
David Kocik
983e1e1b6c Return Check for Config updates button.
But remove the repository management of it.
Do repo extraction before check.
2024-06-12 15:35:22 +02:00
YuSanka
89a70e7b94 ConfigWizard: Show warning dialog when switching from the "Configuration Manager" page
+ Added "Open folder" button next to the repository path and show tooltips for both of them.
+ Deleted "Check for Configuration Updates" menu item
2024-06-12 15:35:21 +02:00
YuSanka
a23964cf1b Perform update in preset archive DB only, when selections in ManagePresetRepositoriesDialog was changed and confirmed 2024-06-12 15:11:14 +02:00
David Kocik
900eca8dbb Multiple fixes and refactoring after code review 2024-06-12 15:11:13 +02:00
David Kocik
52d01478ea Compatibility checks and preset loading.
PresetUpdater: clear cache/vendor before sync_config
GUI_App: Check updates operation with new steps
ConfigWizard: run updater sync on wizard startup and repo change confirmation
Compatibvility check for Prusa SLA - Mockup.
2024-06-12 15:11:12 +02:00
David Kocik
f1575584f2 Calling archive database on startup 2024-06-12 15:11:12 +02:00
YuSanka
12395e2173 Implemented UIManager and ManageUpdatesDialog 2024-06-12 15:11:11 +02:00
David Kocik
ece5207783 Preset Archive Database
testing version of multiple archives with indicies

WIP Archive db

Getting archives from web mockup

WIP paste archives to updater

Preset Updater sync_config with Online Archive Repository

UserAccount -> PresetArchiveDatabase -> PresetUpdater dataflow

LocalArchiveRepository get_file by copying file

Local Archive Repository

fix of thread save multiple call of preset_updater sync

Testing JSON string with repos

WIP offline archive repo unzip before use

Local repository unzipping to temp. get_file() refactored.

todo: checking and writing repository ids correctly.

Refactoring of loading data for archive repository

Comments

WIP download repo manifest

Preset Archive Database sync in thread

delete testing code

escape subpath before download

post rebase fix

resources getting fix

vendor profile id -> name fix
2024-06-12 15:11:10 +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
63e25828ae Fixes in selecting printer and filament 2024-04-24 14:01:47 +02:00
David Kocik
8ee04288fb Select filament from connect. 2024-04-24 14:01:46 +02:00
David Kocik
fd4e2a19f9 if 0 login dialog 2024-04-24 14:01:45 +02:00
YuSanka
0848fecb02 TopBar: Search improvements to respect to the ESettingsLayout::Dlg 2024-04-24 10:49:22 +02:00
YuSanka
c95bc97435 Deleted unused UI-settings ("Set settings tabs as menu items" and "New layout, access via settings button in the top menu") 2024-04-24 10:49:22 +02:00
David Kocik
456087ca23 remove media control references 2024-03-25 12:05:55 +01:00
David Kocik
93d47dd121 Fix of showing Physical printer webview tab at startup 2024-03-25 12:05:55 +01:00
David Kocik
b232894451 Changes in PrusaConnect interface
Prepared handling methods. Inside is WIP.

Handling UPDATE_SELECTED_PRINTER Connect request

ConnectRequestHandler class

Error screen as default
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
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
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
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
Lukas Matena
fbe63ba1ab Improvements and refactoring of datadir handling 2024-03-11 10:27:22 +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
Lukas Matena
a42223f963 Merge branch 'master_27x' 2024-01-26 13:07:19 +01:00
Lukáš Hejl
69b29a202f Remove forgotten variable m_wifi_config_dialog_was_declined from Slic3r::GUI::GUI_App class. 2024-01-05 22:38:16 +01:00
Lukas Matena
e922fdceb4 Fixed usage of custom filename extension in SLA mode, broken in 283fd6f. 2024-01-05 15:10:01 +01:00
YuSanka
fa86a3d047 Searcher related refactoring:
* Searcher moved form Plater to Gui_App
2023-11-30 15:26:20 +01:00
David Kocik
0e889eae09 Change of wifi config dialog showing rules
do not show automatically after decline
2023-10-31 16:00:50 +01:00
David Kocik
9974e4e33f Wifi config dialog changes.
Usb drive insertion triggers wifi config dialog.
Ini file is not rewritten, rather information is added.
2023-10-31 16:00:50 +01:00
YuSanka
8d1165d6ed SpinInputDouble
+ Update font size for application in respect to the display size
2023-10-18 16:32:12 +02:00
YuSanka
168dadc0fa OSX specific: Set window variant for regular buttons to correct rendering with big font 2023-10-18 16:32:12 +02:00
YuSanka
1a182999a8 SkinnedUI: bug fixing and improvements:
* SPE-1945 : LINUX - Black background in dark mode in search - "Category"
* SPE-1941 : Font size is applied for old PS version (app_config key for font size is changed to "font_pt_size")
* SPE-1939 : Preferences : PS widows have incorrect dims when used max font size
* SPE-1943 : Fixed gtk resize popup window (Manually merged 60dbf71cd6 )
* SPE-1942 : Linux specific: Brim check button on sidebar jumps
* SPE-1944 : PrusaConnect URL is missing in physical Printer
+ Changed icon which is used to comboboxes
2023-10-18 16:32:12 +02:00
YuSanka
c0aef5ff0a Skinned UI: WIP
* Non-MSW specific: Next improvements for BG of the controls
  + Create wrap class BitmapToggleButton to correct create under all platforms
  + TabFilament: Fixes crash on recreating of the app

* Next improvements for background under nonMSW systems
 + Fixed Field::SpinCtrl::propagate_value

* DropDown: Implemented transparent background for rounded corners.
  + Tab: use TextInput and SwitchButton for substitutions
  + nonMSW specific: Don't set BackgroundColors for panels

* ObjectManipulation: Use TextInput instead wxTextCtrl

* Process rectangle/rounded controls
  + Preferences: Added "Suppress round corners" parameter

* Skinned UI: SwitchButton. Use it for CheckBox Field

* Skinned UI: SpinInput
  + ScalableBitmap/ScalableButton respects to different width and height of bitmap.

* Skinned UI: ComboBox

* Skinned UI: CheckBox
2023-10-18 16:32:12 +02:00
David Kocik
0638b3057f wifi for printer config dialog
Enumerating wifi ssid and psk for win, apple and linux.
Win automatically loads password if possible.
Apple retrieves password from keychain on button.
Apple lists only connected network in some cases (ARM or latest OS wdk).
Cmake linking CoreWLAN lib on apple.
Result is written on usb drive.
2023-10-16 16:09:08 +02:00
enricoturri1966
cfcb4f7925 SPE-1960: Associate .bgcode files to GCodeViewer on Windows 2023-10-12 15:05:02 +02:00
ps_copyright
f32859c302 final copyright headers 2023-09-01 14:49:07 +02:00
Vojtech Bubnik
e0f577a33c Fix of SPE-1850 GH #1221
Broken with 99861f1b6ec3793025d528f0badb63e837f8c808 SPE-1207
Custom file extension needs to be included in the list of extensions
of the file dialog. On MacOS the custom extension needs to be the
first one in the list as it will be forced upon the default file
name provided to the file dialog.
2023-08-31 16:38:43 +02:00
YuSanka
0c82f38950 ConfigWizard: Downloads page: Info line is changed
+ Linux and OSX specific: Fixed BG color for the HTML_widget on Materials pages and InfoDialogs
2023-08-17 14:45:46 +02:00
tamasmeszaros
283fd6feb4 Fix sla archive filenames with using the archive format registry 2023-06-09 10:59:41 +02:00
David Kocik
dfe735fb6c Postpone post_init() until opengl is initialized on all systems.
Revert on win
2023-03-01 13:33:44 +01:00
David Kocik
daaa9669e9 File -> Import -> Import Zip Archive 2023-03-01 09:27:49 +01:00
David Kocik
41ab733cd8 Refactoring of DownloaderUtils (remove including ConfigWizard_private.hpp)) 2023-02-17 09:30:09 +01:00