Ghostkeeper
3032221b70
Prevent division by 0 if total download size is 0
...
This can happen if the downloads are all so small that it gets rounded to 0kB.
Fixes Sentry issue CURA-ZM.
2020-07-06 17:23:58 +02:00
Nino van Hooff
9ffadb369d
Fix ExtruderConfigurationModel.__eq__
...
Fixes an issue where 2 configurations
(empty, empty) and (pla, empty) were considered
equal
CURA-7248
2020-07-02 15:44:22 +02:00
Jaime van Kessel
1a04744679
Prevent crash when starting the firmware update twice
...
CURA-6Q
2020-06-16 09:50:18 +02:00
Nino van Hooff
89f0970a88
Remove trailing whitespace from Python files
2020-05-29 14:30:33 +02:00
Nino van Hooff
c2c96faf5f
Convert remaining doxygen to rst
2020-05-28 17:13:44 +02:00
Jaime van Kessel
fe27da5e8a
Remove a number of unused variables
2020-04-10 13:46:19 +02:00
Jaime van Kessel
c6dfb6e4cf
Set FirmwareUpdater in error state if file is empty
...
CURA-6Q
2020-04-02 16:44:18 +02:00
Jaime van Kessel
e74f049142
Fix bunch of issues found by pylint
2020-01-10 16:37:46 +01:00
Jaime van Kessel
81b33b8649
Add some missing typing
2020-01-10 14:58:53 +01:00
fieldOfView
01f5956871
Fix typo in content disposition header
2019-12-02 12:11:10 +01:00
Jaime van Kessel
c2e6116983
Add names to all the threads
2019-11-01 16:20:42 +01:00
Jaime van Kessel
552b456a69
Merge branch 'network-printer-selection-is-back' of github.com:Ultimaker/Cura
2019-10-25 12:49:18 +02:00
ChrisTerBeke
9a3ff527ac
Bring back the printer selection dialog for networked printers
2019-10-25 12:25:41 +02:00
Jaime van Kessel
3491900bf1
Fix grammar in a comment
2019-10-25 11:06:01 +02:00
Ghostkeeper
969b74e1f6
Prevent crash when sync list somehow contains None
...
I couldn't figure out how it could ever contain None, but we received logs from a user that indicate a crash here because that set contains None and that is not orderable. This is a hotfix to fail more gracefully instead of crashing the entire application.
2019-10-24 11:56:08 +02:00
Lipu Fei
43ee68bdc7
Remove deprecated PrinterOutputDevice.setAcceptsCommands
...
CURA-6858
2019-10-22 14:11:36 +02:00
Lipu Fei
8b913f4009
Merge remote-tracking branch 'origin/master' into CURA-6863_duplicated_material_oddness
2019-10-14 12:23:49 +02:00
Remco Burema
09dc6ae44a
Scouting: Try not to spam signals or errors as much.
...
nominally part of CURA-6863
2019-10-14 01:03:41 +02:00
Jaime van Kessel
05a6c9c3cf
Make code a bit smarter about reusing ExtruderConfigurationModels
...
This prevents a lot of unneeded signal noise
2019-10-11 11:04:16 +02:00
Diego Prado Gesto
d38e60ce06
Merge branch 'master' into feature_intent
2019-09-13 09:02:30 +02:00
Ghostkeeper
82aa0492ea
Revert "CS-171 Add R2 support"
2019-09-06 14:00:04 +00:00
Jaime van Kessel
9d5ee286b4
Merge branch 'CURA-6537_ui_feedback_on_invalid_firmware' of github.com:Ultimaker/Cura
2019-09-05 16:10:30 +02:00
ChrisTerBeke
da4fcc8ee6
Revert "Revert "Remove network manager re-creation that was causing issues""
...
This reverts commit a04bcbb3e9d7a193a30684cc07a55ad8141f9a0b.
2019-09-05 14:08:18 +02:00
ChrisTerBeke
a04bcbb3e9
Revert "Remove network manager re-creation that was causing issues"
...
This reverts commit 06d54f397096771ce3655c62a46f9413a6430369.
2019-09-05 11:05:26 +02:00
ChrisTerBeke
06d54f3970
Remove network manager re-creation that was causing issues
2019-09-04 19:19:49 +02:00
Jaime van Kessel
8c98773f55
Fix issues with sorting if no printer type is set
2019-08-27 14:18:07 +02:00
Lipu Fei
3853fb6d19
Add UI feedback on invalid firmware update
...
CURA-6537
2019-08-27 08:52:13 +02:00
Jaime van Kessel
63f9483037
Connect the config changed of the configuration to that of the output model
2019-08-23 17:15:08 +02:00
ChrisTerBeke
882352c99d
Test fixes, not working yet
2019-08-23 17:03:39 +02:00
ChrisTerBeke
36f6dba2fc
Fix not displaying configuration with both extruders empty
2019-08-23 16:23:51 +02:00
Jaime van Kessel
bc4b2a596a
Rename _printer_configuration to _active_printer_configuration
...
CURA-6732
2019-08-22 15:58:12 +02:00
Jaime van Kessel
a1ca705de9
Add documentation
...
CURA-6732
2019-08-22 15:10:17 +02:00
Jaime van Kessel
5cb485d4d3
Only emit uniqueConfigurationsChanged signal if the set changed
...
CURA-6732
2019-08-22 15:07:57 +02:00
Jaime van Kessel
34c3a04744
Added missing tests for peripheral
...
Not part of the ticket, but I'm boyscouting this.
2019-08-22 14:24:19 +02:00
Jaime van Kessel
561a3e53e5
Only add available configuration if it wasn't already in the list
...
CURA-6732
2019-08-22 14:09:39 +02:00
Jaime van Kessel
d1720db5ad
Ensure that the available configurations are also used in the uniqueConfigurations
...
CURA-6372
2019-08-22 14:07:44 +02:00
Jaime van Kessel
d2e9715409
Add availableConfiguration property to the output model
...
CURA-6732
2019-08-22 14:02:29 +02:00
Jaime van Kessel
9ceb9ce18b
Fix typing issues
...
They were caused by upgrading to a higher mypy version, which found more mistakes
2019-07-23 12:58:46 +02:00
Lipu Fei
4b8a216771
Fix typing
2019-07-22 09:34:00 +02:00
Lipu Fei
6a843866a0
Fix code style
...
CURA-6651
2019-07-18 11:57:07 +02:00
Jaime van Kessel
f402235406
Fix shadowed use of builtin type
...
CURA-6651
2019-07-16 10:27:50 +02:00
Ghostkeeper
fed275024a
Add slot to store peripherals
...
You can get the list of names of peripherals this way.
Contributes to issue CURA-6651.
2019-07-15 17:29:30 +02:00
Ghostkeeper
7927169da1
Add peripheral class
...
It has a non-human-readable type for the plug-ins to use and a human-readable name which can be requested with the peripherals() property.
Contributes to issue CURA-6651.
2019-07-15 17:27:23 +02:00
Diego Prado Gesto
c4044e731a
Fix typo in a log warning message
2019-05-16 12:04:26 +02:00
Jaime van Kessel
f48bc7a047
Fixed highlighting matching configuration if a material is empty
2019-04-26 12:00:57 +02:00
Jaime van Kessel
da736cc4be
Add import redirects with deprecation warning so we don't break plugin compatibility
2019-04-25 14:11:42 +02:00
Jaime van Kessel
5b818d203a
Move a bunch of network only functions out of machine manager
...
Machine manager is way to big as is, so we need to move more code out of it to
locations where the code is actually used.
2019-04-05 17:45:19 +02:00
Lipu Fei
8780fce7a7
Move MaterialOutputModel back
2019-03-28 14:26:54 +01:00
Lipu Fei
4a171eebf6
Move models around again
...
- Move machine related models to cura.Machines.Models
- Move printer device related models to cura.PrinterOutput.Models
- Other UI/GUI related modules in cura.UI
2019-03-26 08:29:22 +01:00
Lipu Fei
81fbc525e4
Rename ConfigurationModel to PrinterConfigurationModel
2019-03-20 09:52:35 +01:00