712 Commits

Author SHA1 Message Date
Ian Paschal
88fc7d0fba Don't try to get the plugin path when there's no plugin registry
i.e. in tests
Contributes to CL-1274
2019-03-04 14:27:35 +01:00
Ian Paschal
a74717ca3c Get plugin path like most other plugins do
Contributes to CL-1274
2019-03-04 12:42:48 +01:00
Ian Paschal
3889570697 K.I.S.S.
Contributes to CL-1274
2019-03-04 12:04:34 +01:00
Ian Paschal
c8580cf417 Prevent circular dependencies
Contributes to CL-1274
2019-03-04 11:27:52 +01:00
Ian Paschal
a1e0ddd9df Don't hardcode plugin directory
Contributes to CL-1274
2019-03-04 10:19:33 +01:00
Ian
cac8c85489 Don't use __file__
Contributes to CL-1274
2019-03-01 10:46:41 +01:00
Ian
cf9a1c0248 Sort UM imports alphabetically for easy scanning
Contributes to CL-1274
2019-03-01 10:46:27 +01:00
Jaime van Kessel
21c6bba1ce Add the discovered printer functionality
This can be used in the add machine wizard to short circuit the creation of a printer.
So instead of first selecting a printer and then connecting it, it will be possible to have
a list that contains all network discovered printers (from all plugins that can do this).

This means we can select one of those printers and directly add it (thus no longer needing that step)

CURA-6179
2019-02-27 11:05:54 +01:00
Ghostkeeper
650204dae7
Merge branch '4.0' 2019-02-21 09:09:19 +01:00
Simon Edwards
60547b4265
Merge pull request #5329 from Ultimaker/CL-1247_improve_cloud_disabled_states
CL-1247 Improve cloud disabled states
2019-02-20 13:17:11 +01:00
Simon Edwards
43b1c86920 Use QUrl.fromLocalFile() to create the file:// URLs for the images 2019-02-20 09:31:51 +01:00
Simon Edwards
3ad916b565 Fix the path to the pop up images in the monitor tab. 2019-02-19 17:07:09 +01:00
Simon Edwards
ebc3537537
Merge pull request #5325 from Ultimaker/CL-1222_improve_cloud_flow_toggle
Improve "don't ask me again" checkbox
2019-02-19 15:31:38 +01:00
Ian Paschal
0ef014a542 Don't show "Review Connection" unless you're on the LAN
Contributes to CL-1247
2019-02-19 12:24:04 +01:00
Ian Paschal
ee0eb6aac2 Don't return value of self._parseModels
Because it always returns none
2019-02-19 10:20:28 +01:00
Ian Paschal
05b5dfa05f Improve "don't ask me again" checkbox
Contributes to CL-1222
2019-02-19 10:13:05 +01:00
Lipu Fei
64150cc7cf Merge remote-tracking branch 'origin/4.0' 2019-02-18 13:52:27 +01:00
ChrisTerBeke
11cf409d71 Fix codestyle 2019-02-15 17:07:45 +01:00
ChrisTerBeke
e80eccaea3 Manually create printer properties for cloud output device 2019-02-15 16:46:47 +01:00
Ghostkeeper
d42ba9dda0
Merge branch '4.0'
Conflicts:
	resources/quality/ultimaker2_plus/um2p_pp_0.8_draft.inst.cfg -> Weights being changed while a whole slew of fixes were being done on 4.0
	resources/quality/ultimaker2_plus/um2p_pp_0.8_verydraft.inst.cfg -> Ditto
2019-02-15 13:58:47 +01:00
Ian Paschal
0a945b8ba5 Code style
Contributes to CL-1250
2019-02-15 10:18:47 +01:00
Ian Paschal
f7d86667ed Simplify code a bit
Contributes to CL-1250
2019-02-15 10:14:14 +01:00
Ian Paschal
4feb53fdf4 Revert "Expect to always have a build plate"
This reverts commit 0be6c9e6d37dad83b7c447bffd439a6a2b2bb1e4.
2019-02-15 10:12:19 +01:00
Ian Paschal
0be6c9e6d3 Expect to always have a build plate
Contributes to CL-1250
2019-02-15 10:10:39 +01:00
Ian Paschal
5d294a7ff5 Handle self.build_plate = None
Contributes to CL-1250
2019-02-15 10:04:39 +01:00
Ian Paschal
72ce40deba Update buildplate with other props
Contributes to CL-1250
2019-02-15 09:36:38 +01:00
Ian Paschal
7a9dbe3a3f Don't explode the log with errors when there's no cloud response 2019-02-14 14:24:34 +01:00
Ian Paschal
af565aff55 Clarify if using key or human-readable name
This is refering to "glass", not "Glass". According to @lipufei, "name" should denote a human readable/capitalized name.

Contributes to CL-1250
2019-02-14 11:49:43 +01:00
Ian Paschal
0275de7f77 Make sure to set the build plate so it's not empty
Contributes to CL-1250
2019-02-14 11:46:41 +01:00
Jaime van Kessel
a8f66a558c Merge branch '4.0' of github.com:Ultimaker/Cura 2019-02-14 10:53:01 +01:00
Ian Paschal
e39e09a692 Fix incorrect method name
Contributes to CL-1165
2019-02-13 15:21:09 +01:00
Simon Edwards
8f37421c11
Merge pull request #5291 from Ultimaker/CL-1222_cloud_flow_pop_up
CL-1222 Ensure pop-up is not shown if cloud connection is already configured
2019-02-13 14:30:40 +01:00
Ian Paschal
25cfd4f496 Avoid double negatives in cloud flow metadata
Contributes to CL-1222
2019-02-13 14:21:23 +01:00
Jaime van Kessel
f35ad5cf83 Merge branch 'CURA-5977_test_definition_container' of github.com:Ultimaker/Cura 2019-02-13 14:02:09 +01:00
Simon Edwards
d08b8d813d Generate the correct path for the svg on Windows.
CL-1222
2019-02-13 12:24:59 +01:00
Ian Paschal
cf4bcf81e7 Make pop up permanent
Contributes to CL-1222
2019-02-13 11:49:53 +01:00
Ian Paschal
d74f4f36bd Improve cloud flow checks
Contributes to CL-1222
2019-02-13 11:30:31 +01:00
Ian Paschal
8fecf7fb39 Don't crash when clicking don't show again
Contributes to CL-1222
2019-02-13 11:04:51 +01:00
Ian Paschal
c15e49876a Revert "Use parseBool instead of "is True" and "is False""
This reverts commit aa454ea357b8a64405601b37e1a0ec5f230a34c5.
2019-02-13 11:00:11 +01:00
Ian Paschal
aa2acac244 Fix typo
Contributes to CL-1222
2019-02-13 10:52:37 +01:00
Ian Paschal
70fc363048 Fix cloud pop up paths
Contributes to CL-1222
2019-02-13 10:49:53 +01:00
Ian Paschal
aa454ea357 Use parseBool instead of "is True" and "is False"
Contributes to CL-1222
2019-02-12 12:18:29 +01:00
Ian Paschal
0e913044de Ensure pop-up is not shown if cloud connection is already configured
Contributes to CL-1222
2019-02-11 10:21:54 +01:00
Ghostkeeper
d2e1c47029
Use spaces instead of tabs
Yeah, or remove extraneous tabs at the end of a line.
2019-02-11 08:53:42 +01:00
ChrisTerBeke
9d6bd4b29a
Check access token before using it 2019-02-08 21:03:59 +01:00
Ghostkeeper
51420c8311
Merge branch '4.0' 2019-02-08 14:23:36 +01:00
Ian Paschal
8807243108
Merge pull request #5286 from Ultimaker/CL-1222_cloud_flow_pop_up
CL-1222 Cloud flow pop-up (Finalize copy)
2019-02-08 14:09:53 +01:00
Ian Paschal
937dce591d Finalize copy
Contributes to CL-1222
2019-02-08 13:53:02 +01:00
Simon Edwards
1163d8f442
Merge pull request #5271 from Ultimaker/CL-1222_cloud_flow_pop_up
CL-1222 Cloud flow pop up
2019-02-08 13:26:03 +01:00
Ian Paschal
0dfcaadc49 Typecheck improvements
Contributes to CL-1222
2019-02-08 13:13:26 +01:00