238 Commits

Author SHA1 Message Date
Mark
334283e893 Found some more margins that wouldnt be fixed numbers and made the code more consistent 2017-10-27 14:12:35 +02:00
fieldOfView
ff847aa329 Fix qml error when there is no connected printer
Also fixes code style
2017-10-25 11:52:43 +02:00
Diego Prado Gesto
6dfd04928f CURA-4485 Activate configuration option disabled in printers within a
cluster.
Just allow when there is a cluster with just one printer.
2017-10-24 14:51:35 +02:00
Diego Prado Gesto
40f548ba99 Merge branch 'CURA-4252_improve_zeroconf_service' 2017-10-17 13:02:58 +02:00
Lipu Fei
b55efdd70e Remove timeout = 0 for get_service_info
CURA-4252
2017-10-16 10:36:14 +02:00
Lipu Fei
7f944ff08b Improve zeroconf service changed handling
CURA-4252

Use a separate thread to handle zeroconf service changed callbacks. If a
service info cannot be retrieved successfully, the request will be
rescheduled and tried again later.
2017-10-12 15:26:17 +02:00
Ghostkeeper
08d475b7ac
Merge branch 'master' of github.com:Ultimaker/Cura 2017-10-12 14:59:13 +02:00
Ghostkeeper
e4a53da763
Merge branch '3.0'
Contributes to issue CL-508.
2017-10-12 14:56:30 +02:00
Lipu Fei
920c90010f Fix base.selectedPrinter is undefined problem 2017-10-12 14:54:01 +02:00
Ghostkeeper
eda61f1ff9
Merge branch 'update_printer_blocked_icon' into 3.0 2017-10-12 14:49:07 +02:00
Simon Edwards
8ed7918b60 Update the icon used to show that a printer is blocked.
This applies to the printer status icons shown in the monitor tab when connected via Cura Connect.
2017-10-12 14:02:19 +02:00
Simon Edwards
eef4d61402 Correct the status message when a printer needs a config change but is unreachable
CL-508
2017-10-12 13:44:03 +02:00
Simon Edwards
427afdbe23 Correctly set up the cluster output device instances with the cluster size
This fixes the Cura Connect messages shown in the network printer selection dialog.

CL-555
2017-10-12 12:41:21 +02:00
Simon Edwards
af3c34b6fd Don't let the user select unreachable printers in the Cura Connect monitor tab
CL-584
2017-10-12 10:46:25 +02:00
Diego Prado Gesto
2915199367 Avoid printer connection when the status is 'error' - CURA-3868 2017-10-11 15:55:30 +02:00
ChrisTerBeke
e97bdc526b Merge branch '3.0' 2017-10-11 14:13:57 +02:00
Ghostkeeper
c4339955b3
Merge branch '3.0' into CL-508_show_lost_connection_status 2017-10-11 14:05:10 +02:00
Ghostkeeper
bf1baa2791 Merge branch '3.0' of github.com:Ultimaker/Cura into 3.0 2017-10-11 14:04:17 +02:00
Simon Edwards
b68707d29c Show the printer unreachable status in the Cura Connect tab when needed.
CL-508
2017-10-11 13:52:45 +02:00
ChrisTerBeke
a5aa13f853 Merge pull request #2585 from Ultimaker/CL-555_manual_ip_connect_bug
CL-555 Don't blow up at plugin start up due to the plugin path not being ready yet
2017-10-11 12:40:50 +02:00
Simon Edwards
3c69442ceb Don't blow up at plugin start up due to the plugin path not being ready yet
CL-555
2017-10-11 11:54:00 +02:00
Ghostkeeper
3df98ecfc5
Change error/success messages for checking cluster-capability
This breaks the string freeze. The developers of this plug-in are well aware. However, it turns out that for these two strings the string freeze had already broken. We'll change these strings first then translate them out of band. I hate this sort of menial administration that could've been prevented...

Contributes to issue CURA-4341.
2017-10-11 11:10:08 +02:00
Ghostkeeper
d962ffb8d8
Merge branch '3.0' 2017-10-10 14:36:38 +02:00
ChrisTerBeke
e5c5f213a9 Fix info message when cluster has 0 machines 2017-10-10 12:58:43 +02:00
Lipu Fei
57b1cb3bc8 Refactor camera request fix
CURA-4376

- Simplify the exception handling
- Use isFinished() to check the state of the network request
2017-10-10 10:54:35 +02:00
Lipu Fei
d11b229118 Merge pull request #2575 from Ultimaker/CL-554_blue_color_in_monitor_tab
CL-554 Make the blue color on the monitor tab consistent
2017-10-10 10:53:35 +02:00
Simon Edwards
c6f4e263fb Make the blue color on the monitor tab consistent
CL-554
2017-10-10 10:49:04 +02:00
ChrisTerBeke
641b3c21f7 fix merge conflicts 2017-10-10 09:21:31 +02:00
A.Sasin
d1bee922ab Merge branch '3.0' of github.com:Ultimaker/cura into 3.0 2017-10-10 09:17:56 +02:00
A.Sasin
99d9961297 Cura crashed because of RuntimeError after switching between monitor and prepare view
CURA-4376
2017-10-10 09:16:35 +02:00
Lipu Fei
60726ce179 Increase minimumHeight of the Print Address dialog
CURA-4428
2017-10-10 08:24:47 +02:00
Simon Edwards
ebb8437bff Avoid using fractional pixel sizes and positions. It causes poor text rendering on Windows (and may be others) 2017-10-09 16:39:57 +02:00
Simon Edwards
0191215215 Let the printer state text wrap too
CL-521
2017-10-09 16:39:57 +02:00
ChrisTerBeke
f8a1187a8c Re-sending after cancelling print job now really works - CURA-4398 2017-10-09 16:14:02 +02:00
ChrisTerBeke
cbd0bcd1b5 Manually trigger upload finished callback after request finished - CURA-4398 2017-10-09 14:49:18 +02:00
Lipu Fei
f10397acf9 Always set finish flag when finalizing post_reply
CURA-4398
2017-10-09 12:38:18 +02:00
ChrisTerBeke
6c51034e5f Fix sending another file after aborting an upload - CURA-4398 2017-10-09 11:31:32 +02:00
Ghostkeeper
bc419370d0
Merge branch '3.0' 2017-10-06 16:02:13 +02:00
Jaime van Kessel
fddb829273 Added check to see if selectedPrinter is set
CL-500
2017-10-06 14:15:15 +02:00
Jaime van Kessel
a2dabc6442 Re-added elide properties that seem to have gone lost in re-work
CL-521
2017-10-06 13:51:18 +02:00
Jaime van Kessel
8913a64fdc Removed some hardcoded UI values 2017-10-06 13:46:17 +02:00
Jaime van Kessel
af0615f985 Codestyle fixes
CL-524
2017-10-06 13:37:48 +02:00
Jaime van Kessel
21ad2548b7 Also check the status of the job if it's not printing
CL-524
2017-10-06 13:32:06 +02:00
Lipu Fei
e9462b17c8 Add try-excepts for signal disconnections 2017-10-06 12:04:16 +02:00
Ghostkeeper
7e00914e38
Merge branch '3.0' 2017-10-06 10:00:19 +02:00
Lipu Fei
39fc03c550 Revert "Replace new message string with a logging line"
This reverts commit e052c3ba83f1e90777375f51e2612ec1df17fc55.

CURA-4398
2017-10-06 09:57:45 +02:00
Lipu Fei
e052c3ba83 Replace new message string with a logging line
CURA-4398
2017-10-06 09:50:03 +02:00
Diego Prado Gesto
c9e8f7c743 Block sending several files now works even if there is a mismatching - CURA-4398 2017-10-05 18:16:53 +02:00
Lipu Fei
185c350a19 Merge remote-tracking branch 'upstream/3.0' 2017-10-05 15:49:18 +02:00
Lipu Fei
18e636f928 Cleanup post_reply cleanup code
CURA-4398

- Create 2 separate try-except blocks for disconnect()s
- Remove duplicated post_reply cleanup code by creating a function to do
  so
2017-10-05 15:02:30 +02:00