Jaime van Kessel
4c1f68a447
Ensure that the connectiontype of a connected printer is set correctly
...
CURA-6011
2019-01-04 15:24:01 +01:00
Jaime van Kessel
1973397b92
Remove confusing printer preference text
...
CURA-6003
2019-01-03 15:34:41 +01:00
Jaime van Kessel
e769b324e1
Merge branch 'CURA-6035_send_materials_fix' of github.com:Ultimaker/Cura into 4.0
2019-01-03 11:41:05 +01:00
Lipu Fei
ee72284616
Use appropriate log level
...
CURA-6035
2019-01-03 08:32:42 +01:00
Jaime van Kessel
a16e406507
Properly display the full type + brand of unknown material
...
CURA-6033
2018-12-31 11:01:30 +01:00
Lipu Fei
e79f312fa0
Fix unit tests for SendMaterialJob
...
CURA-6035
2018-12-20 14:20:34 +01:00
Lipu Fei
68372aff60
Use MaterialManager in SendMaterialJob
...
CURA-6035
2018-12-20 10:45:40 +01:00
Remco Burema
9dbc642967
SendMaterials: Make sure the base-material is compared to and make case insensitive. [CURA-6035]
2018-12-19 17:34:31 +01:00
Jaime van Kessel
84a7f2e5a2
Fix review comments
...
CURA-6011
2018-12-18 09:40:08 +01:00
Jaime van Kessel
b8a4d8e80d
Remove the cluster connection type
...
CURA-6011
2018-12-14 17:14:56 +01:00
Jaime van Kessel
226d052468
Move the machines from machinelist into their own model
...
CURA-6011
2018-12-14 17:10:58 +01:00
Lipu Fei
aba3b6dd8e
Rename setKey() and add docs
...
CURA-6011
2018-12-14 10:55:36 +01:00
Lipu Fei
6bf39a32a9
Rename Enum names to camal cases
...
CURA-6011
2018-12-14 09:56:10 +01:00
Aleksei S
973970a895
Every print ouput device should define its connection type(usb, network, cluster and etc)
...
CURA-6011
2018-12-13 16:00:12 +01:00
Diego Prado Gesto
4949f39c34
Add translatable strings to empty and unknown material
...
Contributes to CL-1160.
2018-12-11 12:10:32 +01:00
Diego Prado Gesto
70b0d16fa4
Fix typo
...
Missing parenthesis.
Contributes to CL-1160.
2018-12-11 11:53:26 +01:00
Diego Prado Gesto
2b2e8ebb31
Add some safety checks when checking for the guid of the material
...
Don't crash if the guid doesn't exist.
Contributes to CL-1160.
2018-12-11 11:37:01 +01:00
Ian Paschal
0f357e1078
Replace fix for 'None' materials
...
This was fixed in 4.0 and accidentally got reverted when merging another branch in.
Contributes to CL-1160
2018-12-11 10:51:05 +01:00
Ian Paschal
df4e5c40df
Rename ClusterMonitorItem
...
Contributes to CL-1152
2018-12-10 12:19:52 +01:00
Ian Paschal
8a856f13d2
Re-add config changes in monitor tab
...
Contributes to CL-1152
2018-12-10 11:36:51 +01:00
Lipu Fei
4ff5e43a28
Handle Empty and Unknown material cases
...
CURA-5982
2018-12-04 17:24:51 +01:00
Lipu Fei
fb3c1fc11d
Merge remote-tracking branch 'origin/master' into CURA-5982_fix_crash_no_material
2018-12-04 17:15:26 +01:00
Ian Paschal
a28cae0a43
Improve date rendering
...
- Use "Mon Dec 3 at 12:39" if 7 days or more away.
- Use "Mon at 12:39" if within 7 days but more than one away.
- Use "tomorrow at 12:39" if one day away.
- Use "today at 12:39" if today.
Contributes to CL-1153
2018-12-03 12:18:33 +01:00
Jaime van Kessel
36a86adc0f
Remove spammy log
2018-11-30 16:08:19 +01:00
Simon Edwards
8262c2dfd6
Merge pull request #4889 from Ultimaker/CL-1150_restyle_monitor_printer_tile
...
CL-1150 restyle monitor printer tile
2018-11-28 11:31:11 +01:00
Ian Paschal
370fa0fd14
Remove old sidebar
...
Contributes to CL-1150
2018-11-28 10:46:22 +01:00
Diego Prado Gesto
c56098d82c
Merge pull request #4816 from Ultimaker/tests-for-um3networkplugin
...
Tests for um3networkplugin
2018-11-27 12:59:44 +01:00
Lipu Fei
edf8460619
Return empty material model for empty material
...
CURA-5982
2018-11-27 10:35:19 +01:00
ChrisTerBeke
efd5f3799b
Also catch TypeError now that we have explicit arguments
2018-11-26 16:31:32 +01:00
ChrisTerBeke
6506596ece
Fix typing syntax
2018-11-26 16:19:01 +01:00
ChrisTerBeke
e4d8fb36ab
Add more typing as per request from @sedwards2009
2018-11-26 15:53:04 +01:00
ChrisTerBeke
da5683c876
add typing to models
2018-11-26 15:30:30 +01:00
Marijn Deé
a382b77eaa
Added validation to the models
2018-11-26 14:30:17 +01:00
ChrisTerBeke
68a90ec510
Use simple models instead of namedtuples
...
Named tuples would throw a TypeError if an unknown attribute was set, but we just want to ignore those
2018-11-26 14:08:21 +01:00
Ghostkeeper
48c24b1034
Remove log entry for bonjour services added
...
For most networks that would not be a problematic log entry. But for our own debugging on Ultimaker's network this is a very spammy log entry and doesn't add much value anyway.
2018-11-23 10:50:16 +01:00
Marijn Deé
294527f7fe
Review changes
2018-11-23 09:21:09 +01:00
Marijn Deé
bb5c0326de
Used duoble quotes iso single quotes
2018-11-23 09:20:19 +01:00
Marijn Deé
352427e460
Moved exception handling closer to the cause of error
2018-11-22 10:01:15 +01:00
Marijn Deé
7b0f8882a2
Reverted models to namedtuples from collections because
...
NamedTuple is a Python3.6 feature
2018-11-21 11:01:26 +01:00
Marijn Deé
9e8be286af
Used NamedTuple from typing iso namedtuple from collections so we can at least give type hints
2018-11-21 10:12:53 +01:00
Marijn Deé
f3338aa187
Fixed the failing tests
2018-11-20 16:53:01 +01:00
Marijn Deé
481ca8cd2f
Fixed some bugs and added the color_code field to the named tuple
2018-11-20 16:33:52 +01:00
ChrisTerBeke
2497325d60
Test with named tuples, not working yet
2018-11-19 16:35:19 +01:00
ChrisTerBeke
60dd130393
Use logException where possible
2018-11-19 15:39:12 +01:00
ChrisTerBeke
0b1ac87354
Fix some formatting, cleanup import
2018-11-19 15:03:43 +01:00
ChrisTerBeke
dc17bd8499
Fix the first tests
2018-11-19 13:54:45 +01:00
ChrisTerBeke
ee9210d8d1
Rewrite tests
2018-11-19 10:57:47 +01:00
ChrisTerBeke
23e957e1c5
Some more refactoring, splitting up methods
2018-11-19 10:44:24 +01:00
Marijn Deé
565f009e9b
Added comments
2018-11-16 16:34:44 +01:00
Marijn Deé
1000625d69
Added spaces around all =
2018-11-16 16:07:17 +01:00