2076 Commits

Author SHA1 Message Date
David Kocik
c93631a504 followup 2024-08-29 14:56:19 +02:00
David Kocik
47d793ffb3 Open login in browser only for external services 2024-08-29 14:56:19 +02:00
David Kocik
ce44b8638f Open external browser for login 2024-08-29 14:56:19 +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
David Kocik
6049a37d50 Do not show logged in notification on token refresh. 2024-08-20 13:57:43 +02:00
enricoturri1966
826ab3ce69 SPE-2388: Do not export non printable instances to OBJ and STL files 2024-07-22 11:59:26 +02:00
enricoturri1966
aba835bc8c SPE-2388: Fixed command 'Export Plate as STL/OBJ &Including Supports' which was exporting also non sliced objects 2024-07-22 11:59:26 +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
enricoturri1966
bafd65d55b SPE-2344: Fix performance hit on MAC in GCodeViewer:
squashed et_spe2344_bis (5c6bba6)
2024-06-24 19:45:08 +02:00
David Kocik
09dc8f01de delete registration code 2024-06-21 14:55:56 +02:00
David Kocik
b60fb76a4b Login in config wizard 2024-06-21 14:55:56 +02:00
David Kocik
fd205c937c login logout dialog 2024-06-21 14:55:56 +02:00
David Kocik
b2e80bd5be prototype of inner login dialog 2024-06-21 14:55:56 +02:00
David Kocik
0af38e5507 test of login webview 2024-06-21 14:55:56 +02:00
YuSanka
c97b1b16c8 Fixes for some phrases. 2024-06-20 16:05:21 +02:00
YuSanka
7ec2f3439a TopBar: Show/Hide "Log in" button in respect to the Preferences settings
(SPE-2352)
2024-06-20 16:05:21 +02:00
enricoturri1966
443879d798 SPE-2219 - Added loading progress bar in GCodeViewer 2024-06-20 14:55:16 +02:00
Lukas Matena
5998e2f78d Fixes in phrases 2024-06-18 14:48:05 +02:00
Lukáš Hejl
aaf14f94bb SPE-1838: Remove custom supports, seams, and multi-material painting from an embossed text when the geometry of the embossed text changes. 2024-06-17 12:27:50 +02:00
Lukas Matena
df914f01d1 Merge branch 'master' into dk_archive_db_rebased 2024-06-14 15:53:06 +02:00
Lukas Matena
b6f1a8e8db Only allow loading of printRequest in SLA mode (to prevent a crash) 2024-06-14 15:32:10 +02:00
Lukas Matena
9c0cb3b47c printrequest implementation:
printrequest reader WIP
Co-authored-by: David Kocik <kocikdav@gmail.com>

transformation matrix loading

Loading filaments from printRequest

Conversion of string to double

Reading PrintRequest when material not installed

empty tree check + allow printrequest for mac

PrintRequest: Set print profile if current doesnt have compatible sla material

followup fix of c24477cd10d92de00874504be434872d49a20ec9

Fix compile error on gcc
2024-06-14 15:32:10 +02:00
David Kocik
42e222d8db Allow upload only to Prusa printers and inherited 2024-06-14 14:28:02 +02:00
David Kocik
43620b8dde Pass data json from Connect FE to upload.
Parse filename and return it back to the json in correct form.
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
399d1f1702 refresh token timer 2024-06-14 14:28:01 +02:00
enricoturri1966
93a47c971a Port of b2627055e34d1d42b86b32613e3fd0c07051ee63 from branch et_spe2109 2024-06-12 19:11:05 +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
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
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
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
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
3bd0728bc6 Fixed blurring of the Toolbars 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
David Kocik
3e1baf0a61 Do not poll printers when window is not active. 2024-05-20 15:35:35 +02:00
David Kocik
835e6d4805 Fix of path sharing during upload. 2024-05-20 15:06:56 +02:00
David Kocik
9f95549dcf Pass path string without converting to boost 2024-05-17 12:19:02 +02:00
David Kocik
9a5fee2d19 Upload path fix 2024-05-16 19:14:21 +02:00
David Kocik
2c09c034b3 Remove deprecated arguments from connect upload 2024-05-16 18:04:11 +02:00
David Kocik
c0aa09791f fix of upload filename 2024-05-16 16:19:08 +02:00
David Kocik
64c497ce0d Upload to Connect changes 2024-05-16 16:19:08 +02:00
David Kocik
1264f57f84 Compatible printer check when sending uuid to connect. 2024-05-16 16:19:07 +02:00
David Kocik
535ecf7b34 Passing filename to Connect PrinterPick 2024-05-16 16:19:07 +02:00
David Kocik
7c63c2dbfb WIP new upload 2024-05-16 16:19:07 +02:00
David Kocik
65a581a026 Use only uuid from Connect request and get rest of the data from endpoint 2024-05-16 16:19:07 +02:00
David Kocik
98ec4e808d Remove script handler on EndModal. 2024-05-16 16:19:07 +02:00
David Kocik
cb265cdfee use boost::nowide::fopen to store avatar 2024-05-16 16:19:06 +02:00
David Kocik
f83213d958 Fix of opening avatar file for write. 2024-05-16 16:19:06 +02:00