25114 Commits

Author SHA1 Message Date
David Kocik
41974d6a8f Revert not sending Access token on REQUEST_CONFIG
RunScript -> RunScriptAsync
2024-06-14 14:28:01 +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
Jan Bařtipán
7204a0e77b WebView and Connect integration: implemented logout flow via /slicer/logout 2024-06-14 14:28:01 +02:00
Jan Bařtipán
850ac19167 WebView and Connect integration: implemented login ceremony via /slicer/login request (and alternative disabled one with fetch function overriding); all stored JWT tokens merged into single secret store record to reduce number of login dialogs appearances when new app is run for first time on Mac. 2024-06-14 14:28:01 +02:00
David Kocik
5601a6e75f WIP polling timer 2024-06-14 14:28:01 +02:00
David Kocik
399d1f1702 refresh token timer 2024-06-14 14:28:01 +02:00
Lukas Matena
1dd8e64009 Changed description 2024-06-14 14:27:05 +02:00
YuSanka
caa437773a ConfigWizard: Fixed a crash on start, when for some of printers wasn't set selected material
+ Added missed includes and fixed some of warnings
2024-06-14 12:51:54 +02:00
David Kocik
e7e9b8c7a1 Do not run preset updater and rebuild bundle map on ConfigWizard::run
Call preset updater sync and update check before CW as it always was.
2024-06-14 10:43:28 +02:00
David Kocik
7a41ad4937 updated indexes and inis 2024-06-13 20:40:36 +02:00
David Kocik
2f937a4e83 Check of missing sla ini on startup 2024-06-13 11:27:54 +02:00
Lukas Matena
fa1bb08d25 Merge branch 'fs_SPE-2126' 2024-06-12 19:15:08 +02:00
Filip Sykala - NTB T15p
5898fc5467 Propagate transformation from UI to backend on close embossed SVG
(from GLVolume to ModelVolume)
2024-06-12 19:14:59 +02:00
Filip Sykala - NTB T15p
c5d94d1d95 Propagate transformation from UI to backend on close Emboss gizmo
(from GLVolume to ModelVolume)
Fix SPE-2126
2024-06-12 19:14:59 +02:00
Lukas Matena
a30ca5eb71 Merge branch 'lm_et_spe2109_bis' 2024-06-12 19:11:20 +02:00
Lukas Matena
2423da86a2 The paining cache is not a member of GLVolumeCollection, not a static variable:
this is needed because static variables are destroyed after OpenGL context is
destroyed, and the GLModels should not oulive it.
2024-06-12 19:11:05 +02:00
Lukas Matena
f5b35950a7 Fixed issues when rendering shells of painted objects 2024-06-12 19:11:05 +02:00
Lukas Matena
46bb8e5ac6 Added a cache so that painted areas do not have to be recalculated in every frame,
the painted areas are not rendered as painted when the volume is in hover state
2024-06-12 19:11:05 +02:00
enricoturri1966
93a47c971a Port of b2627055e34d1d42b86b32613e3fd0c07051ee63 from branch et_spe2109 2024-06-12 19:11:05 +02:00
David Kocik
fffbf04599 Production addresses of repo server 2024-06-12 15:35:22 +02:00
David Kocik
3bc28f277c Upgrade algorithm that handles legacy printers so it works over list of new vendors 2024-06-12 15:35:22 +02:00
David Kocik
9a0e54fe6a Resources changes 2024-06-12 15:35:22 +02:00
YuSanka
ea29d83109 Fixed selection of the "Update configuration" page, when update performing is not possible.
+ Disable Preview/Next buttons, when "Update configuration" page is active and no one archive is selected
Partially reverted 47da5338
2024-06-12 15:35:22 +02:00
David Kocik
68d285b6e1 Fix of sla forward compability 2024-06-12 15:35:22 +02:00
David Kocik
c47d761d6c Changes in profile files. 2024-06-12 15:35:22 +02:00
David Kocik
c35195bd03 Change of PrusaResearch.ini and idx 2024-06-12 15:35:22 +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
David Kocik
810f6cf35c Extracting local archives on run. 2024-06-12 15:35:22 +02:00
David Kocik
4236c6d952 Is extracted flag for local repos. 2024-06-12 15:35:21 +02:00
David Kocik
3e0483b405 Changes in PresetArchiveDatabase and PresetUpdater
PresetArchiveDatabase stores if repo is has installed printers and offers secret repo even if user is unloged or unworthy if repo has installed printers.
PresetArchiveDatabase shares its pointers to archives by doing copy of pointer. So only selected repos are shared to PresetUpdater.
PresetUpdater does copy both index and ini file to vendor folder durring installation of profile, so index is available f.e. for secret repo when not logged in.
2024-06-12 15:35:21 +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
de32cd70de ConfigWizard: Fixed validation of the custom printer name
+ Reload materials pages after load repositories from archive
(follow-up 61834d3f, SPE-2336)
2024-06-12 15:35:20 +02:00
YuSanka
a6548a810c WIP to merge with last commit 2024-06-12 15:33:07 +02:00
YuSanka
7c315dc60d ConfigWizard: Set enable conditions for "Finish" and "Select all standard" buttons
* Disable "Finish" button, when no one printer is selected or "Configuration Manager" page is active
* Disable "Select all standard" button, when no one printer page is added or "Configuration Manager" page is active
+ Check and install missing materials after reload configurations from archive
+ Activate Vendor page, if no one printer is selected from loaded archive
2024-06-12 15:11:15 +02:00
YuSanka
4b7b5e4643 Config Wizard: Remove CONFIRM button
(Use Next button or hiding of the "Update configuration" page to this purpose)
+ Added warning line, when no one archive is selected
SPE-2333
2024-06-12 15:11:15 +02:00
Lukas Matena
f08264dbe3 ConfigWizard: added a modeless 'progress' dialog when loading 2024-06-12 15:11:15 +02:00
Lukas Matena
bfaa960c23 ConfigWizard: Removed expensive lookups in listboxes, they are not needed 2024-06-12 15:11:15 +02:00
YuSanka
acd7da4462 ConfigWizard: Create Vendor's printers pages only when some of those profiles are already installed or vendor is selected. 2024-06-12 15:11:15 +02:00
YuSanka
ebb440b652 Fix for SPA-2329 - Crash on "Select all standard printers"
(This button is visible now only when some of standard printers exist)
+ Finish button is enabled when at least one printer is selected
2024-06-12 15:11:15 +02:00
Jan Bařtipán
2b69f5f4d5 PresetArchiveDatabase: set preset repo api server URL to linbuilder REVERT BEFORE MERGING to master 2024-06-12 15:11:15 +02:00
Jan Bařtipán
cba98ecdca Fixed vendor page title (using name from manifest instead of id) 2024-06-12 15:11:14 +02:00
YuSanka
de584c3055 Fixed default selection for installed vendors
(SPE-2325)
2024-06-12 15:11:14 +02:00
David Kocik
690126f674 button enabling 2024-06-12 15:11:14 +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
YuSanka
c325bb0629 ConfigWizard and ManageUpdatesDialog: Enable "confirm" buttons in respect to the changed selections 2024-06-12 15:11:14 +02:00
YuSanka
944e5f6d79 ConfigWizard: Fixed crashes on "Confirm configuration update" 2024-06-12 15:11:14 +02:00
YuSanka
d2d39db33a Reverting of the 19b78275
It looks like this workaround is no need any more after update of the wxWidgets to 3.2.0
2024-06-12 15:11:14 +02:00
David Kocik
f2e136e256 Server address 2024-06-12 15:11:13 +02:00
David Kocik
900eca8dbb Multiple fixes and refactoring after code review 2024-06-12 15:11:13 +02:00
David Kocik
37d57af09a Repository changes in resources. 2024-06-12 15:11:13 +02:00