13 Commits

Author SHA1 Message Date
Ghostkeeper
b67d8d4103
Fix type of fallback variable
These have to be strings because the configparser getter can only return strings.

Contributes to issue CURA-5936.
2018-11-14 13:46:13 +01:00
Ghostkeeper
ae2b312472
Add typing for all version upgrade plug-ins
Hopefully we'll take this typing along when we next copy-paste the stuffs.

Contributes to issue CURA-5936.
2018-11-14 13:41:23 +01:00
Diego Prado Gesto
b85b39ff35 CURA-5188 If the auto_slice option was enabled in previous version,
keep it like this in the new version.
Since the default value of this preference changed, we don't want to
confuse users that still use the auto_slice option. Those users with
clean install or intalling Cura for the first time will have this
preference disabled.
2018-04-23 11:29:18 +02:00
Diego Prado Gesto
a5e38bb486 CURA-5175 Add variants to the version upgrade.
Upgrade the version number in the variants and add the hardware_type
metadata.
2018-03-29 16:54:30 +02:00
Ghostkeeper
b3d652839d
Rename quality type from 'low' to 'fast'
Not only the profile name was changed, but also the quality type.

See commit 1538486e852e9208a1a447c87a23f9a88e33ff52.

Contributes to issue CURA-5177.
2018-03-29 12:00:59 +02:00
Ghostkeeper
50b4bac672
Upgrade quality profile names
These files have been renamed.

Contributes to issue CURA-5177.
2018-03-29 12:00:59 +02:00
Lipu Fei
143ee07228 Fix quality_type "Extra coarse" -> "extra coarse"
CURA-5129
2018-03-21 13:25:35 +01:00
Diego Prado Gesto
1111fbaa78 CURA-4870 Changing the version upgrade to include new metadata entries
for the container stacks.
2018-03-14 13:53:04 +01:00
Ghostkeeper
cf21e7c74b
Also upgrade definition_changes and user
Because these files share their version numbers with quality changes.

Contributes to issue CURA-5054.
2018-03-09 16:21:42 +01:00
Ghostkeeper
e18b1cde55
Store extruder position under 'position' instead of 'extruder'
Otherwise it thinks it is still an extruder ID.

Contributes to issue CURA-5054.
2018-03-09 15:37:30 +01:00
Ghostkeeper
fb814b6519
Implement upgrade for quality changes extruder metadata
The metadata used to be the ID of the extruder. Now it's the position of the extruder stack.

Contributes to issue CURA-5054.
2018-03-09 14:54:08 +01:00
Ghostkeeper
e30d15ab66
Implement getCfgVersion
Mostly copied from the implementation in the 3.0 to 3.1 upgrade.

Contributes to issue CURA-5054.
2018-03-09 14:02:15 +01:00
Ghostkeeper
60de2aff65
Basic upgrade module from 3.2 to 3.3 implementation
'Basic' meaning no implementation at all.

Contributes to issue CURA-5054.
2018-03-09 13:59:31 +01:00