33 Commits

Author SHA1 Message Date
David Kocik
bb64571751 embed=1 and language code in url 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
0abd4a0ae0 missing includes 2024-06-21 14:55:56 +02:00
YuSanka
c97b1b16c8 Fixes for some phrases. 2024-06-20 16:05:21 +02:00
Martin Šach
01148fc134 Fix includes 2024-06-20 14:53:13 +02:00
Lukas Matena
8601d829d7 Bumped up version to 2.8.0-alpha5 2024-06-14 23:54:48 +02:00
Lukas Matena
df914f01d1 Merge branch 'master' into dk_archive_db_rebased 2024-06-14 15:53:06 +02:00
Lukas Matena
9f68224c45 Remove some unused code 2024-06-14 15:52:13 +02:00
David Kocik
3a1f47e69d Do not poll printers when not top window 2024-06-14 14:28:01 +02:00
David Kocik
31088cc139 Stop timers in destructor.
Fix of crash when changing lang.
2024-06-14 14:28:01 +02:00
David Kocik
de6f111eb6 Open url from Connect in external browser 2024-06-14 14:28:01 +02:00
David Kocik
a03facbeb4 Revert dev adressess 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
5601a6e75f WIP polling timer 2024-06-14 14:28:01 +02:00
David Kocik
399d1f1702 refresh token timer 2024-06-14 14:28:01 +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
David Kocik
3e1baf0a61 Do not poll printers when window is not active. 2024-05-20 15:35:35 +02:00
David Kocik
e3d41bc814 Polling 10 seconds 2024-05-17 15:07:31 +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
2fcb5b2c2c Perform refresh when test connection fails. 2024-04-24 16:17:09 +02:00
David Kocik
5e171ccfe7 Improvement of Printer status polling.
Define polling action that changes when uuid->printer_model map is filled. Also serves to turn off polling.
2024-04-24 14:08:01 +02:00
David Kocik
b05d438fc6 Changes in Connect Printer Status.
First use endpoint PrinterModels to get uuid to model map, than get statuses for uuids from Status endpoint.

Lang code trimmed to 2 chars.
2024-04-24 14:08:00 +02:00
David Kocik
25b36dec14 Added choose_account=1 to redirect url 2024-04-24 14:01:45 +02:00
Lukas Matena
a65a70903e Removed unused code and includes 2024-04-12 09:27:35 +02:00
David Kocik
9d9110b60a production address and id 2024-03-28 14:52:38 +01:00
Lukas Matena
137340f70f Fixed couple of compiler warnings 2024-03-28 12:04:51 +01:00
David Kocik
d289b11950 User Account avatar extension
(Missing support for jpg in ScalableBitmap)
2024-03-25 12:05:55 +01:00
David Kocik
7ad9431e3a New connect endpoint slicer/status replacing slicer/printers
move enum value to if 0
2024-03-25 12:05:55 +01:00
YuSanka
8d74318888 Added missed includes 2024-03-25 12:05:55 +01:00
David Kocik
93df0ce384 Temporary sending session id instead of access key 2024-03-25 12:05:55 +01:00
David Kocik
5f48e61992 Fix of waking up session thread
Polling every 5 seconds
Do not switch printers on Connect webview click
2024-03-25 12:05:55 +01:00
David Kocik
0c7e6cb063 PrusaConnectNew class - new way to upload to Connect
Several bugs in UI fixed
Added Connect user data action, we might need it in future


Missing file in cmake and smaller fixes

new Connect frontend
2024-03-25 12:05:55 +01:00
David Kocik
e9706f4032 Rename source files.
So the files are named as classes from commit 0ba535967bfbf00dbdce0a441105adb98671eb0e
2024-03-25 12:05:55 +01:00