25186 Commits

Author SHA1 Message Date
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
Jan Bařtipán
05361f3da7 Fixed downloading resources of installed bundle 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
e1229a86fc Correct mz file closing 2024-06-12 15:11:12 +02:00
David Kocik
118a1f6438 Using initial manifest file from resources.
The file itself is testing variant.
2024-06-12 15:11:12 +02:00
YuSanka
ed27ad0ca5 ConfigWizard: Show all installed printers without respect to the selected archives, till new selection wasn't confirmed
+ Improved deletion of printers after confirm new archive selection
2024-06-12 15:11:12 +02:00
YuSanka
15d0932a9e PresetArchiveDatabase: Added function to check is archive is selected 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
1cf8d0390d UIManager: Added selection of the loaded archive (UI only)
+ Fixed state of selections till changes weren't saved
2024-06-12 15:11:11 +02:00
YuSanka
030a6c9f3b ConfigWizard: Changes related to load configuration from ArchiveRepository 2024-06-12 15:11:11 +02:00
YuSanka
d4d2c13235 UIManager: Fixed update after change selection and process it 2024-06-12 15:11:11 +02:00
YuSanka
2e5b155861 UIManager: Fixed layouts after load/remove repositories
+ Added selection initialization
+ Call error messages where it's needed
2024-06-12 15:11:11 +02:00
David Kocik
4e5f1dbd29 Improvements of Archive repo db.
Save repo states to json in config folder.
Use uuid to manage repos.
Check conflicts of ids and other errors.
2024-06-12 15:11:11 +02:00
YuSanka
10638751af ConfigWizard: Added "Configuration Manager" page 2024-06-12 15:11:11 +02:00
YuSanka
12395e2173 Implemented UIManager and ManageUpdatesDialog 2024-06-12 15:11:11 +02:00
David Kocik
f6724ea0bd WIP interface for managing local repositories and used repositories 2024-06-12 15:11:10 +02:00
David Kocik
3e9c9d9558 Minor fixes downloading preset repo assets
Author: barzto@gmail.com
2024-06-12 15:11:10 +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
Lukas Matena
f889bf470c Merge branch 'ys_spe2327' 2024-06-12 14:39:38 +02:00
YuSanka
f0531c6fc2 TopBar and TopBarMenus: Code refactoring to use callbacks instead of direct use of UserAccount and Mainframe. 2024-06-12 14:39:12 +02:00
YuSanka
fa61ea4e9e TopBarMenus: Added sys_color_changed() to correct process a changing of the application color mode
SPE-2320
2024-06-12 14:39:12 +02:00
YuSanka
86780b5a6c ScalableBitmap: Check if the bitmap has a square shape,
when loading from the path
2024-06-12 14:39:12 +02:00
YuSanka
3bd0728bc6 Fixed blurring of the Toolbars 2024-06-12 14:39:11 +02:00
YuSanka
986b0e1cdb Fix for for SPE-2338 - [LINUX] "Menu" / "Log in" has wrong label layout (is bottom placed)
(set icon size for 20px instead of 24)
+ Sidebar: nonMSW specific : Added right margin for bottom buttons
+ Gizmos toolbar: Code cleaning
2024-06-12 14:39:11 +02:00
YuSanka
8590e34aaf UI improvements:
- Increase margin around the toolbar icons
- Fixed layout for search button in search control
- Fixed background for Scene / Preview buttons
- Fix for #12576 - Show "collapse sidebar" button, even if "Show sidebar expand/collapse button" wasn't enabled but sidebar is collapsed
- Account button: "Anonymous" default name is changed to "Log in"
2024-06-12 14:39:11 +02:00
Lukas Matena
615329b1f6 GCodeViewer: tweaked background alpha in segment properties dialog 2024-06-11 21:35:10 +02:00
Martin Šach
8c55b5f443 Fix size_t -> std::size_t 2024-06-10 14:55:05 +02:00
Lukas Matena
99c8bb2dbb Merge branch 'lm_imgui_atlas' 2024-06-10 10:47:10 +02:00
Lukas Matena
5fac6934ec Automatic addition of missing glyphs: require extra frame when chars are added 2024-06-10 10:46:59 +02:00