25360 Commits

Author SHA1 Message Date
Lukas Matena
0e33449e55 Merge branch 'jb_spe2478' 2024-09-12 11:34:56 +02:00
Jan Bařtipán
95a2e44b77 UserAccountSession: has own mutex to guard credentials (access and refresh token, shared secret and next refresh timeout), this prevents deadlock (at UserAccountCommunication::m_session_mutex) in ConfigWizard when offline 2024-09-12 11:34:41 +02:00
Jan Bařtipán
3b8d34ec5f Http: fixed condition for retry (if retry enabled) 2024-09-12 11:34:41 +02:00
Jan Bartipan
5b79c8b50a Http: fixed no_retry handling 2024-09-12 11:34:41 +02:00
Lukas Matena
7b2ee2ae0c Fixed #6832 (again - broken in 69650f7) 2024-09-12 11:32:45 +02:00
Lukas Matena
171508fc40 Fixed some encoding issues 2024-09-12 11:32:04 +02:00
Roman Tyr
6ac8c0d00c added 2.0.5 to index 2024-09-12 09:41:13 +02:00
rtyr
c62692219d fixed printer_variant for non-S MK4 HF MMU 2024-09-12 08:38:21 +02:00
Jan Bartipan
c42efdfef9 ConnectWebViewPanel: fixed login-logout-login issue (removed stub for message handler when calling WebView::RemoveAllUserScripts()), current implementation sends message to C++ runtime to invoke login flow with up-to-date token from C++ runtime 2024-09-11 22:30:29 +02:00
YuSanka
76313f5148 Rename non-printer user preset: Fixed wrong condition to show "Rename" button
(SPE-2472)
2024-09-11 22:08:51 +02:00
Lukas Matena
150db9912c Merge branch 'lm_ys_spe2469' 2024-09-11 22:04:31 +02:00
Lukas Matena
bc7d0af98c Added some const to make it slightly nicer 2024-09-11 21:57:51 +02:00
YuSanka
444e5bdeec ConfigWizard: Fixed a check of name for new custom printer
Note: This feature was broken by improvements from 61834d3f and de32cd70.

(SPE-2469)
2024-09-11 21:19:39 +02:00
David Kocik
77312ec513 Changed values in outgoing json for upload. From single values to arrays. 2024-09-11 21:15:52 +02:00
Roman Tyr
12cf419726 reduced bottom_solid_layers XL0.4 2024-09-06 15:24:51 +02:00
Roman Tyr
ff9071fa3a reduced bottom_solid_layers for nonHF04 2024-09-06 15:22:15 +02:00
David Kocik
afd0e39ae9 Fix missing return value 2024-09-06 14:49:26 +02:00
Lukáš Hejl
ceb13b1faa SPE-2405: Add Zig Zag infill that is rectilinear infill but with a consistent pattern between layers.
This Zig Zag infill is inspired by the Zig Zag infill in Cura.
2024-09-05 16:14:18 +02:00
Lukas Matena
4414f24bc7 Merge branch 'dk_external_login' 2024-09-05 16:12:12 +02:00
David Kocik
6d00fcad77 SPE 2450: Delete cookies in Config wizard login 2024-09-05 16:12:04 +02:00
David Kocik
097ee2e85d SPE 2450: Delete cookies Mac part
+ fixes of other parts
2024-09-05 16:12:04 +02:00
David Kocik
1e55aaef62 SPE 2450: Delete cookies Linux part 2024-09-05 16:12:04 +02:00
David Kocik
6f3b22de4c SPE 2450: Delete cookies after login to prevent remembering login info
Windows only part
2024-09-05 16:12:04 +02:00
Roman Tyr
75aa6ced63 mk4s resources 2024-09-05 12:25:00 +02:00
Roman Tyr
b14d1529b1 Nozzle checks. Cooling on overhangs. 2024-09-05 12:23:36 +02:00
Roman Tyr
f9ef75cba4 added Ultimaker thumbnails 2024-09-05 11:41:41 +02:00
Roman Tyr
99b2efabb0 Templates 2.0.1 - added filaments 2024-09-05 11:41:14 +02:00
Roman Tyr
064076fb23 Ultimaker 2.0.1 fix condition 2024-09-05 11:40:35 +02:00
David Kocik
44191c8831 SPE 2462: Fix of using printer family instead of printer model when filtering printers for PrusaLink 2024-09-04 17:58:28 +02:00
YuSanka
223f88556d Localization: Updated POT and internal dictionaries.
+ Community dictionaries are merged with new POT
+ UpdateDialog: Fix for phrase
2024-09-04 16:36:40 +02:00
Martin Šach
a30003dd3e Fix some includes and undefined variable in assert 2024-09-03 17:34:56 +02:00
Sean P. Kane
4af2ba5eaf Update macOS build directions 2024-09-03 14:26:57 +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
Lukáš Hejl
016103dd95 SPE-2455: Fix extrusions with the zero feedrate after passing through CoolingBuffer. 2024-09-03 12:37:09 +02:00
Lukas Matena
3735ceb624 Merge branch 'dk_wizard' 2024-09-03 12:35:34 +02:00
David Kocik
67d5651278 SPE-2451: Fix of faulty manifest file
Decision tree on (un)selected repo / installed printers
2024-09-03 12:35:22 +02:00
David Kocik
0285ba2d84 SPE-2451: Handling of already broken manifest file.
Fix of false has_installed_printers entry in manifest.
Move saving manifest to place where appconfig is changed as well.
2024-09-03 12:35:22 +02:00
Lukas Matena
593ac53cdd Merge branch 'lh_gcode_processor_artefacts' 2024-09-03 12:31:32 +02:00
Lukáš Hejl
c5982f4019 Accumulate the total estimated print in doubles instead of floats.
Because total print time is typically a big floating point number and the time of trapezoid is typically a small number, summing those numbers leads to a loss in precision. Switching to doubles reduces the loss of precision.
2024-09-03 12:31:19 +02:00
Lukáš Hejl
90073dce70 SPE-2441: Fix discontinuity between the processed blocks' exit speed and the new first block's entry speed.
This discontinuity affected both time estimation and actual speed visualization.
2024-09-03 12:31:19 +02:00
Lukas Matena
392aad64a4 Merge branch 'jb_connect_login_refresh' 2024-09-03 12:29:22 +02:00
Jan Bařtipán
d5ed649ab1 Connect login: fix debug build crash on exit 2024-09-03 12:29:09 +02:00
Jan Bařtipán
3d130ceb76 Connect login: updating also user script when refreshed access token arives, this should fix passing old token on page reload 2024-09-03 12:29:09 +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 Bartipan
74ab2d24b7 ConnectWebViewPanel::get_login_script for refresh wrapped in check if _prusaSlicer_initLogin function (defined by AddUserScript) is already defined (i.e. handle gracefully situation when token refresh happen just before the UserScript gets executed) 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
Jan Bartipan
ac859d711c Connect token refresh on wake up from sleep: also resend config to make sure the token is loaded into frontend 2024-09-03 12:29:09 +02:00
Jan Bařtipán
6a7ac53335 Connect Login Refresh: UserAccountComm: refresh token on wake; WebViewDialog: Connect login retry with exp backoff implemented, added a bit more logging 2024-09-03 12:29:09 +02:00
David Kocik
6491dd7453 Delete unused graphics. 2024-09-03 10:49:42 +02:00
Lukas Matena
7908291160 Couple of fixes in phrases 2024-09-02 16:33:26 +02:00