855 Commits

Author SHA1 Message Date
David Kocik
dee44def17 SPE-2663: Notification on startup about secret repo not updating.
Warning dialog of failed update check.
Warning Dialog in Config wizard.
Icon in Wizard.
Rebase fix.
2025-02-17 15:39:54 +01:00
David Kocik
c862ecf8e4 Read filament from MMU tools 2025-01-29 15:19:18 +01:00
YuSanka
79ae911140 GUI_InitParams: Set initial values for members
and fixed a typo in opengl_compatibiity_profile
2025-01-21 14:40:07 +01:00
YuSanka
0494021cc3 FileReader: Use separate functions for loading of a model from any file and for loading of all information (model, config and config substitutions) from the 3mf.
+ Added localization markers for errors

Plater: load_files() : Check for type_zip_amf and prusa is removed from conditions (it doesn't used as project's extensions anymore).

+ ModelProcessing: Some functions, like delete zero object, detection if model need to be converted from other units or looks like multipart are moved inside load_model() and theirs return values are written in load statistics, which have to be used by UI later.
2025-01-13 14:13:04 +01:00
Lukas Matena
229d425dd3 Some fixes in phrases 2024-12-17 22:23:38 +01:00
David Kocik
42c39dd232 typos 2024-12-13 13:58:09 +01:00
David Kocik
66e362e2dd SPE 2553: Do a silent removal of desktop files. 2024-12-13 13:58:09 +01:00
David Kocik
37c1a81e34 SPE-2553: Find non-flatpak desktop files and delete them.
Changed destination of search to not use XDG vars.
2024-12-13 13:58:09 +01:00
David Kocik
de32b37a84 SPE-2544: Refactoring of trimming repo prefix 2024-12-09 17:32:46 +01:00
David Kocik
dde66d5243 SPE-2517: Added "Error running JavaScript" phrase to blocked wxLog warning (#12950)
Some users keep getting this warning and it has no real value to us.
2024-12-09 17:31:04 +01:00
David Kocik
c70cb1ac15 Fix of asserts 2024-11-25 12:19:12 +01:00
David Kocik
3bdaef4910 SPE-2561: Printables Print dialog
Fix of opening webview dialog from webview panel

CLOSE_DIALOG connect action

Login on logged out Print request

Register CLOSE_DIALOG callback.

refactoring
2024-11-20 09:43:59 +01:00
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