843 Commits

Author SHA1 Message Date
YuSanka
0a57de800c ConfigWizard: Allow to install and select SLA printer preset, when multipart object is in on the bed.
However, it is still not impossible to select an SLA printer when the object has a modifier.
For this case info dialog will be shown.

+ Model: Deleted model_has_multi_part_objects()

SPE-2547
2024-11-20 07:50:15 +01:00
Martin Šach
03e0957f21 Improve config dir detection.
- Specific to linux.
- If the current config dir is not $HOME/.config dir check the
  $HOME/.config dir for previous existing configs.
- Targeted on flatpak where the config dir is configured using
  $XDG_CONFIG_HOME and is not in $HOME, where it will trigger
  a prompt for config migration.
2024-11-18 23:35:19 +01:00
David Kocik
da49e8edfb SPE-2535: Improvments of Printables events
Missing include

Printables event Require login

Improved error page

Prepare opening Printables to Connect upload dialog

debug fix

Another debug fix

prevent reload on load request

Load new url already in on_show

Improved javascript notification
2024-11-11 16:12:50 +01:00
David Kocik
7ffa854ec2 SPE-2535: Handling Printables events
Fix of loading url and deleting cookies

Handling Printables events: download and slice

Link from notification to Printables tab

Webview download notification

cleanup

No reload button on loading screen
2024-11-11 16:12:50 +01:00
David Kocik
1040332c87 SPE-2468: Printables WebView class
read address and download model
Printables as pernament tab
webview debug panel
adding token to request header
Logout to Printables
Correct user-agent
Receiving printables events
Improved refreshing of token to printables
User settings to printables url
merge changes
Changed login to Printables during runtime
Logging in plater fix
2024-11-11 16:12:49 +01:00
Lukas Matena
68f8925461 Improve startup of ConfigWizard (SPE-2457) 2024-10-02 14:27:55 +02:00
Lukas Matena
c16f2f1c1e Fixed couple of compiler warnings 2024-09-27 14:18:12 +02:00
YuSanka
4a2e9d887a CLI: Start PS with entered print/printer/material profiles, when no other input info is provided
(FR from #13327 - Command line in shortcut to select printer configuration doesn't work)

SPE-2465
2024-09-26 14:48:44 +02:00
YuSanka
90017e5e6d Fix for #12920 - Prusa Slicer 2.8 rc 2 / iCCP: known incorrect sRGB profile
(SPE-2485)
2024-09-18 15:00:22 +02:00
Lukas Matena
171508fc40 Fixed some encoding issues 2024-09-12 11:32:04 +02:00
YuSanka
6782922d8b Fixed a Crash on switch printer technology, when "Materials" tab is shown.
+ Fixed Plater selection, when no"Printer" tab is selected and some printer with other technology is installed from Wizard

(SPE-2459)
2024-09-03 12:39:38 +02:00
Jan Bartipan
f9164da380 ConnectWebViewPanel: fixed segfault on quit (accessing already deleted plater in on_activate handler), WebView scripts can now use _prusaSlicer.postMessage({action: 'LOG', ...}) to write logs into OS console 2024-09-03 12:29:09 +02:00
Jan Bařtipán
54baccd6fc Http: added support for retry with exponentail backoff, UserAccountCommunication::on_active triggered from app instrad of panel to correctly handle situation when multiple app windows opened, ConnectWebView: refactored the login script to prevent using old token 2024-09-03 12:29:09 +02:00
David Kocik
abea96fd8a Force opening hyperlink on App updater.
Refactored open_browser_with_warning_dialog due to poor readability - no changes to funcionality.
2024-08-29 14:57:49 +02:00
David Kocik
b7f0b51c3b AppUpdater: Read option "action" and on value "browser" open url in browser.
Increased min size.
2024-08-29 14:57:49 +02:00
David Kocik
02ddb36108 Login url with service. Changed code for registering custom url to not check downloader dest.. 2024-08-29 14:56:20 +02:00
David Kocik
c758c74d7f Change in comparing nozzle diameter in right panel printer status 2024-08-29 10:36:42 +02:00
David Kocik
8edc0b796d followup on 5f4b4da91e0c062153ca24ce4fbc829e5c1e6044
fix of value reading
2024-08-29 10:36:42 +02:00
David Kocik
02c63a56b8 avoid abrasive filament on non harden nozzle when selecting printer from connect. 2024-08-29 10:36:42 +02:00
David Kocik
eb7f27c83d Serialize parameters from json var to config opt format
improved config options filtering

changed outgoing json for upload to connect
2024-08-29 10:36:42 +02:00
David Kocik
ef3d323102 Select printer from connect by nozzle diameter (instead of pritner_variant) and by additional config options.
+ Moved standalone functions to UserAccountUtils
2024-08-29 10:36:42 +02:00
David Kocik
756a76a773 repo_prefix parameter and removing prefix before send to connect.
Change printer_model in full config before applying to print

printer_model prefix handling when showing online printers in sidebar

Select printer from connect by nozzle diameter (instead of pritner_variant) and by additional config options.

+ Moved standalone functions to UserAccountUtils

Set as current without repo prefix

when selecting preset with prefix, mind visible presets.

prefer visible printers for selecting

fix of selecting SLA printer

Added prusalink for prefixed printer_model
2024-08-29 10:36:42 +02:00
Martin Šach
96e3e77fef Prepare fe for include optimization.
- Add pragmas to keep necessary headers with symbols not explicitly
stated in the file.
- Use include paths that IWYU understands.
2024-07-08 15:37:02 +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
enricoturri1966
bafd65d55b SPE-2344: Fix performance hit on MAC in GCodeViewer:
squashed et_spe2344_bis (5c6bba6)
2024-06-24 19:45:08 +02:00
YuSanka
e96bf263b9 Localization: Updated POT and internal dictionaries (CS, PL, DE, IT, ES, FR, JA)
+ community POs are merged with POT
+ Fixes in some phrases
2024-06-24 16:37:31 +02:00
David Kocik
b60fb76a4b Login in config wizard 2024-06-21 14:55:56 +02:00
YuSanka
c97b1b16c8 Fixes for some phrases. 2024-06-20 16:05:21 +02:00
Lukas Matena
5998e2f78d Fixes in phrases 2024-06-18 14:48:05 +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
2f937a4e83 Check of missing sla ini on startup 2024-06-13 11:27:54 +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
68d285b6e1 Fix of sla forward compability 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
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
Lukas Matena
f08264dbe3 ConfigWizard: added a modeless 'progress' dialog when loading 2024-06-12 15:11:15 +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
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
118a1f6438 Using initial manifest file from resources.
The file itself is testing variant.
2024-06-12 15:11:12 +02:00
David Kocik
f1575584f2 Calling archive database on startup 2024-06-12 15:11:12 +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
12395e2173 Implemented UIManager and ManageUpdatesDialog 2024-06-12 15:11:11 +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
YuSanka
3bd0728bc6 Fixed blurring of the Toolbars 2024-06-12 14:39:11 +02:00
YuSanka
4cddd3ea85 GCodeViewer: Fixed crash on start and switch of color mode
(SPE-2340)
2024-06-10 10:12:33 +02:00