Commit graph

4475 commits

Author SHA1 Message Date
Lipu Fei
0e772beb14 Fix typing in MachineActionManager
CURA-5812
2018-10-19 09:58:06 +02:00
Lipu Fei
59704e4c0e Make sure that a machine's default actions are added before it gets activated
CURA-5812
2018-10-19 09:58:06 +02:00
Lipu Fei
c67abb61a8 Remove unused argument "index" in addFirstStartAction()
CURA-5812
2018-10-19 09:58:06 +02:00
Lipu Fei
6dc01d4c08 Add typing for MachineActionsManager
CURA-5812
2018-10-19 09:58:06 +02:00
Lipu Fei
c1b9d527bb Add typing for MachineAction
CURA-5812
2018-10-19 09:58:06 +02:00
Lipu Fei
9b94db8957 Directly use empty containers in MachineManager
CURA-5812

Instead of looking up for the empty containers via ContainerRegistry,
import and use them directly.
2018-10-19 09:57:57 +02:00
Lipu Fei
e5efd1e41f Move constant definition into constructor
CURA-5812
2018-10-19 09:57:57 +02:00
Diego Prado Gesto
54f32a1d82 Merge branch 'ui_rework_4_0' into cura4.0_header 2018-10-18 19:33:39 +02:00
Diego Prado Gesto
1cc7e0e586 Set the height of the stage menu in the theme instead of hardcoded.
I also adjusted a bit the design to fulfill the requirments from UX/UI
team.

Contributes to CURA-5772.
2018-10-18 16:33:13 +02:00
Ghostkeeper
db0da61506
Forbid interpolation in setting visibility preset files
We might use characters that collide with this.

Contributes to issue CURA-5734.
2018-10-18 14:54:20 +02:00
Diego Prado Gesto
a4c609d514 Remove email label from the account widget.
It's not needed and it's not currently public data that is published
with the user token.

Contributes to CURA-5784.
2018-10-18 14:28:00 +02:00
ChrisTerBeke
38b615c734
Update OAuth2 scopes
Part of STAR-273.
2018-10-17 17:43:04 +02:00
Diego Prado Gesto
b670cd82c4 Merge branch 'master' into cura4.0_header 2018-10-17 16:10:45 +02:00
Jaime van Kessel
907ecc54bd Use the material weight as fallback
CURA-5814
2018-10-17 14:49:03 +02:00
Jaime van Kessel
3ad113f70f Added some missing typing.
Since i was changing some stuff here, i better leave it more typed as I found it.

CURA-5814
2018-10-17 14:14:12 +02:00
Jaime van Kessel
45da5b9130 Added more specific overrides for get/set globalContainerStack
This helps a lot with the type hinting in other bits of the code, since for CuraApplicaiton we know it's always going to be a GlobalStack

CURA-5814
2018-10-17 14:07:12 +02:00
Jaime van Kessel
ccb0d63041 Rename print_time_message_values to something print_times_per_feature
Since this actually makes sense and describes what it holds. CURA-5814
2018-10-17 13:50:52 +02:00
Jaime van Kessel
440dee2191 Removed unused code
CURA-5814
2018-10-17 13:32:26 +02:00
Jaime van Kessel
3fd9d35ea4 Removed outdated documentation
CURA-5814
2018-10-17 13:31:58 +02:00
Jaime van Kessel
6555f4d4f3 Add typing
Because of boyscouting. CURA-5814
2018-10-17 13:31:03 +02:00
Jaime van Kessel
4c5bf3297c Merge branch 'master' of github.com:Ultimaker/Cura into CURA-5734-rework-and-unit-test-setting-visibility-preset 2018-10-17 10:49:29 +02:00
Jaime van Kessel
d086e6fa86 Fix review comments
CURA-5734
2018-10-17 10:47:34 +02:00
Jaime van Kessel
6eb8b75490 Update typing and fixed the bug it exposes. 2018-10-16 11:31:33 +02:00
Ghostkeeper
b5d8c1af6f
Merge branch 'master' into fieldOfView-feature_firmware_updater
Conflicts:
	cura/PrinterOutput/PrinterOutputModel.py - Bunch of code that was moved.
	plugins/USBPrinting/USBPrinterOutputDevice.py - Collisions with code style fixes.
	plugins/UltimakerMachineActions/UpgradeFirmwareMachineAction.qml - Bunch of code that was moved.
2018-10-15 16:52:22 +02:00
Ghostkeeper
6cf2e89f6b
Document CameraImageProvider
Makes it easier than looking up the Qt documentation online.
2018-10-13 16:40:26 +02:00
Ghostkeeper
99fc372b32
Update printer information when switching global container stacks
This was just evaluated once during the creating of a USB connection. But you can switch out the printer without breaking/making a USB connection, so in that case we have to update it here.

Contributes to issue CURA-5749.
2018-10-12 14:55:13 +02:00
Ghostkeeper
f7bef851db
Remove code duplication for recreate network timer 2018-10-12 11:09:46 +02:00
Ghostkeeper
7c6970bec3
Merge branch 'feature_firmware_updater' of https://github.com/fieldOfView/Cura into fieldOfView-feature_firmware_updater 2018-10-11 16:42:11 +02:00
Jaime van Kessel
cc6d5617ee Update documentation & typing
CURA-5772
2018-10-11 10:41:29 +02:00
Ghostkeeper
4c6744b6fc
Code style: Space around binary operators
I just looked for lines with interpolation = None because I was looking for another possible bug, but fixing this in the meanwhile too.
2018-10-10 14:28:50 +02:00
Ghostkeeper
b37252f124
Minor code style fixes
Contributes to issue CURA-5734.
2018-10-10 14:18:37 +02:00
fieldOfView
ab7fe3138d Remove unused imports 2018-10-09 17:06:20 +02:00
fieldOfView
a36deea651 Move updateFirmware to PrinterOutputDevice...
along with codestyle and typing fixes
2018-10-09 16:26:45 +02:00
Jaime van Kessel
937c2dfa8c Merge branch 'WIP_kill_extruder_manager' of github.com:Ultimaker/Cura 2018-10-09 11:05:21 +02:00
Ghostkeeper
314b966cc9
Improvements to translated strings
These strings were recently found to have been confusing to the translators. Improvements are:
- Pulling the (untranslated) error message out of the message sentence. We really want the error message to be at the end so we'll force the translators to translate it as a prefix.
- Remove extra spaces at the end.
- Remove Python logic from within the i18nc call, since gettext doesn't understand that.

Contributes to issue CURA-5741.
2018-10-08 15:03:21 +02:00
Diego Prado Gesto
193f113851 Clean up Cura.qml:
- Create a Skeleton folder where the main parts of the application will
be stored.
- Separate the top menus to a different file.

Contributes to CURA-5784.
2018-10-08 10:33:01 +02:00
fieldOfView
28dc32adab Fix typing in GenericOutputController 2018-10-04 11:47:51 +02:00
Aleksei S
436860f841 Don't show prime tower shadow if only one extruder is enabled
CURA-5740
2018-10-04 11:36:02 +02:00
Lipu Fei
7d7de32dbd Add ExtruderStack to GlobalStack in single extrusion machine fix 2018-10-03 16:53:07 +02:00
Ian Paschal
3ef6359930 Merge remote-tracking branch 'origin' into clean_print_job_info_block 2018-10-03 16:07:34 +02:00
Lipu Fei
18cb21186c Merge remote-tracking branch 'origin/master' into WIP_kill_extruder_manager 2018-10-03 15:45:18 +02:00
fieldOfView
c4919d65f4 Merge branch 'master' into feature_firmware_updater 2018-10-03 14:02:24 +02:00
Jaime van Kessel
f3fdb46dba Add missing types 2018-10-03 13:33:30 +02:00
Jaime van Kessel
dabe747ec0 Merge branch 'CURA-5744-move-oauth-login' of github.com:Ultimaker/Cura 2018-10-03 13:25:09 +02:00
Lipu Fei
b97f4ea30c Merge remote-tracking branch 'origin/3.5' 2018-10-03 11:49:38 +02:00
Lipu Fei
c3e7e426ff Fix getDefaultVariantNode for UM2
CURA-5790

UM2 has optional variant which depends on whether Olsson Block is
enabled. getDefaultVariantNode() should take that into account.
2018-10-03 11:24:27 +02:00
fieldOfView
718ac0a307 Create firmware update progress window from QML 2018-10-03 09:17:51 +02:00
Ian Paschal
9caeddf824 Merge branch 'master' of https://github.com/Ultimaker/Cura into clean_print_job_info_block 2018-10-03 09:08:26 +02:00
Diego Prado Gesto
c0c66649b8 Merge branch '3.5' 2018-10-02 20:27:18 +02:00
fieldOfView
3908781f6f Fix this sh*t
Sorry, I kind of dropped the ball before.
2018-10-02 17:08:39 +02:00