345 Commits

Author SHA1 Message Date
Lipu Fei
927135e0da Fix typing
CURA-6460
2019-06-17 13:44:08 +02:00
Lipu Fei
42b1e4f8f6 Fix typing
CURA-6311
2019-06-17 08:48:15 +02:00
Ghostkeeper
a55cc6fade
Also remove removed keys from visible settings
It's listed among the setting keys that you explicitly made visible.

Contributes to issue CURA-6460.
2019-06-12 13:36:40 +02:00
Ghostkeeper
056afdde5f
Merge branch 'rename_minimum_diameter' into CURA-6460_remove_square_tower
Conflicts:
	plugins/VersionUpgrade/VersionUpgrade41to42/VersionUpgrade41to42.py -> Change there that needed to be merged here, but we had changed lines around it.
2019-06-12 13:34:59 +02:00
Ghostkeeper
2fb722b287
Apply changed visible settings to preferences file
Otherwise the change will not be made to the actual file, just in memory.

Contributes to issue CURA-6311.
2019-06-12 13:32:43 +02:00
Ghostkeeper
a82e4bbb0b
Remove setting from 'values' category
Oops.

Contributes to issue CURA-6311.
2019-06-12 13:31:30 +02:00
Ghostkeeper
cf9f97e897
Merge branch 'rename_minimum_diameter' into CURA-6460_remove_square_tower
Conflicts:
	plugins/VersionUpgrade/VersionUpgrade41to42/VersionUpgrade41to42.py -> Both had a version upgrade implementation.
	plugins/VersionUpgrade/VersionUpgrade41to42/__init__.py -> Both had a version upgrade implementation.
2019-06-12 13:03:05 +02:00
Ghostkeeper
5fcb59d9fc
Also rename setting in list of visible settings
Yeah, that's why the preferences file had a setting version number...

Contributes to issue CURA-6311.
2019-06-12 12:55:33 +02:00
Ghostkeeper
4f954f18bd
Remove unnecessary updating of main version number
Contributes to issue CURA-6311.
2019-06-11 17:45:08 +02:00
Ghostkeeper
489b9c4c53
Add version upgrade for version 4.1 to 4.2
This is necessary for the renamed setting.

Contributes to issue CURA-6311.
2019-06-11 17:44:04 +02:00
Lipu Fei
9911f98deb Add version upgrade 4.1 to 4.2
CURA-6460
2019-06-06 13:11:56 +02:00
Jaime van Kessel
728d8c3141 Add test for VersionUpgrade41to42 2019-06-03 16:22:54 +02:00
Jaime van Kessel
7cc4ac741c Add version upgrade that adds empty intent profile to the stacks
CURA-6534
2019-06-03 11:49:03 +02:00
Lipu Fei
50e4519298 Fix upgrade 40 to 41 2019-05-23 10:46:14 +02:00
Lipu Fei
d16da3da3a Add group_id and fix remove printer
CURA-6483

 - Added a unique group_id (a GUID) to all created GlobalStack.
 - Changed version upgrade to generate unique group_ids for
   GlobalStacks.
 - RemoveMachine() now uses group_ids to remove hidden GlobalStacks.
2019-04-29 15:53:08 +02:00
Jaime van Kessel
f2044998ae
Merge pull request #5604 from Ultimaker/CURA-6447_fix_start_onboarding
CURA-6447 Fix start onboarding
2019-04-17 10:59:23 +02:00
Diego Prado Gesto
eb3e343be5 Rename variable
Even if we could reuse the other, it make sense to call it 'deviation'

Contributes to CURA-6458.
2019-04-16 12:04:34 +02:00
Ghostkeeper
6325a5f1c2
Change setting value defaults for maximum resolution to use deviation
All profiles that use maximum resolution should use maximum deviation instead, and halve it.

Contributes to issue CURA-6458.
2019-04-16 11:36:07 +02:00
Lipu Fei
f303485595 Remove changelog preferences entry in version upgrade
CURA-6436
CURA-6447
2019-04-12 12:13:55 +02:00
Lipu Fei
2b39d6422c Move PrinterOutputDevice into cura.PrinterOutput module 2019-03-20 09:43:09 +01:00
Ghostkeeper
e7d2400199
Merge branch '4.0' 2019-02-04 13:06:32 +01:00
Lipu Fei
18cec8dbe8 Fix typing
CURA-6153
2019-02-01 10:20:16 +01:00
Remco Burema
435c8deded Add 'connect_group_name' to 'group_name' rename to version-upgrade. [CURA-6153] 2019-01-31 20:25:21 +01:00
Lipu Fei
d8850f4946 Fix version upgrade 40 to 41 to set setting_version 7
CURA-6113
2019-01-15 11:36:10 +01:00
Lipu Fei
b2dace2d48 Fix version upgrade
CURA-6113
2019-01-14 11:25:02 +01:00
Diego Prado Gesto
c6da824203 Merge branch '4.0' 2019-01-14 08:56:33 +01:00
Jaime van Kessel
d21bf53230 Add version upgrade for 4.0
Contributes to CURA-6011 and CURA-5995
2019-01-07 10:34:22 +01:00
Ghostkeeper
265a1b3fa0
Add version upgrade plug-in for 4.0 to 4.1
This currently only updates the stack files, but all files have to be upgraded because of that stupid setting_version.

Contributes to issue CURA-5848.
2018-12-27 16:50:05 +01:00
Jaime van Kessel
9ffc039254 Fix logo aliasing
CURA-6044
2018-12-20 14:01:12 +01:00
Lipu Fei
6992fd2991 Update plugin versions to match package versions
CURA-6019
2018-12-17 13:03:21 +01:00
Ghostkeeper
c235f339ae
Increment API version to 6
All plug-ins now have to re-check whether they are still compatible with the current version of Cura.

Contributes to issue CURA-6019.
2018-12-14 17:29:02 +01:00
Aleksei S
088b2f6f28 Added an extra import module, did not pass coding style test
CURA-5936
2018-11-22 11:36:32 +01:00
Ghostkeeper
8ec7d6dba3
Fix type issues in old version upgrade plug-ins
The one actual change was this: To give a KeyError when stuff can't be found in a dictionary, rather than returning None there and then getting a TypeError later.

Contributes to issue CURA-5936.
2018-11-14 13:56:46 +01:00
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
94e27fbbdb Add the quality folder to the version upgrade in order to update quality
profiles.

Contributes to CURA-5915.
2018-11-08 15:42:39 +01: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
fieldOfView
9ac744b9ba Remove unnecessary import and declaration of i18n in plugins 2018-10-03 22:00:24 +02:00
Jaime van Kessel
13eaa14752 Set preference for sending info to default state instead of removing them
CURA-5095
2018-10-02 11:37:04 +02:00
Lipu Fei
d1fce50f60 Add Preferences upgrade 34 to 35 unit test 2018-10-01 16:30:27 +02:00
Lipu Fei
5fc8b95425 Better data handling
CURA-5095

Avoid missing sections/options
2018-09-20 12:59:27 +02:00
Lipu Fei
5a235a59dd Reset send slice info and show privacy dialog
CURA-5095

Because the data Cura collects has been changed.
2018-09-20 12:55:30 +02:00
Ghostkeeper
2e6401b7dc
Don't depend on the name of resource folders not changing
If we choose to rename the resource folders, then this plug-in should still look in the old resource folders. So hard-code these resource folders in the state that they were in at version 2.5 so that we can freely change them in a modern version.
2018-09-14 11:36:31 +02:00
Ghostkeeper
572afb052e
Remove unused import
This import was actually causing the test to fail on my computer due to a dependency on the order of importing libArcus vs. PyQt.
2018-09-14 11:30:25 +02:00
Ghostkeeper
b0e7562579
Rename VersionUpgrade plug-in from 40 to 35
Because the next version is going to be called 3.5, not 4.0.
2018-09-07 10:59:45 +02:00
Aleksei S
fe9cada459 Increase plugin API version to 5
CURA-5627
2018-08-27 13:59:00 +02:00
Aleksei S
4635c8117d Add changed_settings(retraction_combing) to Version Upgrade Cura3.4
CURA-5505
2018-08-21 11:49:13 +02:00
Diego Prado Gesto
5ef8aa09f8 Translate the old material types to the new in the Version Upgrade. 2018-07-16 13:05:32 +02:00
Lipu Fei
853266e8a8 Fix upgrade from 3.4 to 4.0 2018-07-09 10:58:04 +02:00
alekseisasin
a499a6bb66
Merge pull request #4027 from Ultimaker/feature_prime_tower_shells
Prime Tower Shells
2018-07-06 14:39:29 +02:00