43 Commits

Author SHA1 Message Date
Ghostkeeper
19ba092340
Add property of whether the printer details can be read
We'd assume so, but there is a permissions node for it. If it can't be read by the user, they can't navigate to the printer's overview page. So we should hide the button then.

Contributes to issue CURA-9220.
2022-07-26 16:56:19 +02:00
Ghostkeeper
5eb340e3f0
Check permissions before showing abort/pause/delete context buttons
The user needs permissions to do these things, so don't show them if the user can't use them.

Contributes to issue CURA-9220.
2022-07-25 17:34:34 +02:00
Ghostkeeper
99d93fa58a
Check if the user can change the queue before showing option
If the user can't change the queue of other prints, then it can't move prints to the top.

Contributes to issue CURA-9220.
2022-07-25 17:07:52 +02:00
Ghostkeeper
9e1940dd4b
Move default behaviour up in inheritance hierarchy
This way, any new printer types we define will automatically get these properties that are used by the monitor stage anyway.

Contributes to issue CURA-9220.
2022-07-25 16:55:05 +02:00
Remco Burema
abe7c1bf7f
Search/replace Qt5->Qt6.
part of upgrading Qt to v6.2: CURA-8591
2021-12-28 14:46:02 +01:00
Jaime van Kessel
70d081afaa
Dont immediately show the "not a group host" message
By delaying a bit, we can ensure that this only happens if the cluster
itself isn't offline

CURA-7360
2020-10-16 11:45:47 +02:00
Jaime van Kessel
f6cbb0f88c
Prevent continued connect / disconnect loop
If a cloud printer was connected, it would time out all the time. In some cases
it would do this in a single update loop (so connect and disconnect). Depending
on the machine of the user, this would either be visible or not at all.
2020-08-25 17:02:39 +02:00
Nino van Hooff
89f0970a88 Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
Nino van Hooff
5eb5ffd916 Convert doxygen to rst for UM3NetworkPrinting 2020-05-15 15:05:38 +02:00
Jaime van Kessel
7c7c1ad96c
Fix remote_clusters not being added in second boot
CURA-7055
2020-04-23 10:58:16 +02:00
Jaime van Kessel
2da965e46e
Merge branch 'CURA-7147_preview_img_for_cloud' of github.com:Ultimaker/Cura into 4.6 2020-04-16 15:11:20 +02:00
Remco Burema
006822334c
Fetch preview image from cloud for monitor page.
part of CURA-7147
2020-04-16 12:18:49 +02:00
Jaime van Kessel
fe27da5e8a
Remove a number of unused variables 2020-04-10 13:46:19 +02:00
ChrisTerBeke
99832c3a68
Use printer type name instead of id 2019-09-27 21:09:53 +02:00
ChrisTerBeke
60758093f1
Determine skeleton loading properly 2019-08-15 21:29:20 +02:00
ChrisTerBeke
de3f82610a
Add tooltips for firmware update back, fix print job override state 2019-08-15 19:42:25 +02:00
ChrisTerBeke
eb5e1904ab Fix setting printer type on print job 2019-08-15 13:21:10 +02:00
ChrisTerBeke
e6d30516aa Fix status interval check for cloud devices 2019-08-14 14:21:16 +02:00
ChrisTerBeke
fcd5a563e4 Use cluster_size property from zeroconf if available 2019-08-13 21:42:44 +02:00
ChrisTerBeke
998f58d3fa Tweak offline check interval for cloud device 2019-08-13 15:19:30 +02:00
ChrisTerBeke
445fb59c12
Fix setting connection state after re-connect, don't re-register output device 2019-08-12 23:22:16 +02:00
ChrisTerBeke
27905a02a9
Fix re-connecting after network comes back 2019-08-12 21:47:15 +02:00
ChrisTerBeke
945e5f08a3
Fix checking if still connected or not 2019-08-12 20:08:57 +02:00
ChrisTerBeke
5ac6b7d1e8
Fix typing of received printers 2019-08-12 01:27:32 +02:00
ChrisTerBeke
e977cdd431
Add legacy 'Connect over Network' button back 2019-08-12 01:19:41 +02:00
ChrisTerBeke
e9305a20a6 cleanup not host message 2019-08-09 12:45:38 +02:00
ChrisTerBeke
90c69e079c Fix cluster host checking, show neat actionable message when not host 2019-08-09 12:38:25 +02:00
ChrisTerBeke
6ea766e145 Fix relative import in plugin 2019-08-06 09:21:22 +02:00
ChrisTerBeke
a1b986fd3a
Some fixes and cleanup for the network plugin 2019-08-05 19:37:35 +02:00
ChrisTerBeke
66dbbf7fb6 Use correct none checking (hopefully) 2019-08-02 15:59:55 +02:00
ChrisTerBeke
a2345d3004 Fix 2019-08-02 15:54:52 +02:00
ChrisTerBeke
91ac7dbc24 Some defenses against possible None values 2019-08-02 15:46:14 +02:00
ChrisTerBeke
e7fdd02b6f First round of CI codestyle fixes 2019-08-02 15:26:24 +02:00
ChrisTerBeke
d280252437
Cleanup 2019-07-30 22:21:36 +02:00
ChrisTerBeke
69102643b7 Bring back print job preview images 2019-07-30 16:55:35 +02:00
ChrisTerBeke
1ec2ac4118 some cleanup 2019-07-30 15:20:59 +02:00
ChrisTerBeke
b90e5b3262 re-implement requestWrite 2019-07-29 23:12:55 +02:00
ChrisTerBeke
529b483f36 Remove ABC 2019-07-29 22:00:48 +02:00
ChrisTerBeke
fa5b083b74 Small code improvements 2019-07-29 21:58:29 +02:00
ChrisTerBeke
ddd282eef3 Remove absolute plugin imports, some fixes 2019-07-29 16:11:01 +02:00
ChrisTerBeke
4b212d6c05 Merge more stuff, re-use models for local networking as well 2019-07-29 14:53:50 +02:00
ChrisTerBeke
4268c011a7 Start inheriting both output devices from a base device 2019-07-26 17:05:39 +02:00
ChrisTerBeke
3c1b377308 Restructure codebase - part 1 2019-07-26 15:07:52 +02:00