174 Commits

Author SHA1 Message Date
Nino van Hooff
ed7134ded8 Organize Toolbox (marketplace) qml files according to type
CURA-6569
2019-11-04 17:35:24 +01:00
Nino van Hooff
7af5f132e0 Only show toolbox/marketplace welcome screen for Essentials builds
CURA-6569
2019-11-04 16:15:00 +01:00
Nino van Hooff
3d352b3585 Show welcome page in marketplace window when not logged in
TODO: marketplace logo

CURA-6569
2019-11-04 15:44:04 +01:00
Ghostkeeper
e13108f267
Don't request updates if update checking is disabled
I remember remarking this at one point but then it was said that we'd only need to implement the 'Minimum Viable Product' for the Toolbox. Well this is what happens then...
2019-11-04 11:52:11 +01:00
Ghostkeeper
729019a2dc
Don't use material manager to reset the material after uninstalling material package
This class is deprecated.

Contributes to issue CURA-6776.
2019-09-20 09:57:27 +02:00
Ghostkeeper
5debdd4cf6
Fix getting extruder list everywhere
Didn't test this beyond my own automated test, it seems.

Contributes to issue CURA-6600.
2019-09-09 16:47:29 +02:00
Ghostkeeper
8bcd9b339a
Use GlobalStack.extrudersList instead of GlobalStack.extruders to iterate
Otherwise the iteration can happen in any arbitrary order (due to the dict) and this can cause the result to not match to the desired combination of configurations per extruder.

Contributes to issue CURA-6600.
2019-09-06 17:20:03 +02:00
Ghostkeeper
ba608c5987
Use container tree to reset quality after deleting packages
Contributes to issue CURA-6600.
2019-08-28 14:57:02 +02:00
Jaime van Kessel
42abece298 Fix crash when a corrupted and unkown message was returned
This is should be pretty rare, but we got a single crash report for it.
2019-07-23 14:54:40 +02:00
Jaime van Kessel
843bb6f5a3 Change some of the logging messages to info
CURA-6525
2019-05-15 17:25:31 +02:00
Jaime van Kessel
5f76070f05 Fix situation where authtoken wasnt updated for the toolbox request headers 2019-04-25 16:16:44 +02:00
Lipu Fei
4065a1204a Fix string comparisons 2019-04-12 08:52:35 +02:00
Jaime van Kessel
9cc4665db8 Fix crash for when resetDownload is called after a long wait
CURA-6448
2019-04-09 17:10:18 +02:00
Jaime van Kessel
2765122b95 Fix case where aborting a download would cause a crash 2019-04-08 17:32:43 +02:00
Lipu Fei
9575c6b3b3 Fix merge conflicts 2019-04-01 13:28:42 +02:00
Jaime van Kessel
e3f2c06542 Remove usage of canUpdate slot
This makes it a bit cleaner, since having it as a slot is a bit weird in the first place (and forced
all kinds of hacks to ensure it got re-evaluated)

CURA-6151
2019-03-27 12:54:20 +01:00
Jaime van Kessel
f4f94b10d2 Move "canUpdate" logic from toolbox to PackageManager
CURA-6151
2019-03-27 12:48:10 +01:00
Jaime van Kessel
86f4fd65c3 Add a property that lists all ID's that have an update available
CURA-6151
2019-03-22 11:56:53 +01:00
Jaime van Kessel
fd015c0381 Detach the data request and the showing of the dialog from eachother.
This way we can fetch the data without having to show the marketplace.
CURA-6151
2019-03-22 11:30:22 +01:00
Lipu Fei
cf0e3effc7 WIP: Refactor NumericTextFieldWithUnit 2019-03-18 08:48:29 +01:00
Jaime van Kessel
0fded58988 Add / fix typing 2019-01-25 13:35:24 +01:00
Jaime van Kessel
662dd80a1d Add logging if the status code of toolbox request is not 200 2019-01-17 16:06:10 +01:00
Jaime van Kessel
9d94b55596 Ensure that the toolbox correctly handles multiple supported SDK versions
CURA-6087
2019-01-14 13:35:10 +01:00
Jaime van Kessel
b363be4afb Fix typing 2019-01-04 11:48:06 +01:00
Diego Prado Gesto
da69c16e09 Split the constants in to files, indicating which constants each file
stores.

Contributes to CURA-6005.
2018-12-18 16:14:13 +01:00
Diego Prado Gesto
e62a570210 Merge branch '4.0' into CURA-6005_cura_drive_plugin 2018-12-17 11:25:19 +01:00
Lipu Fei
3225512851 Fix typing
CURA-6013
2018-12-13 15:48:06 +01:00
Lipu Fei
b6ea61612e Fix merge conflicts 2018-12-12 13:26:01 +01:00
Jaime van Kessel
e30ca20c54 Merge branch '4.0' of github.com:Ultimaker/Cura into CURA-6013-rate-packages 2018-12-12 11:50:26 +01:00
Lipu Fei
f302a76d3a Fix typing issue in Toolbox
CURA-6006
2018-12-12 10:47:18 +01:00
Lipu Fei
2275e5c71f Refactor code to use constants in CuraConstants
CURA-6005
2018-12-11 12:13:46 +01:00
Jaime van Kessel
70b9a44ae4 Removed import of CuraVersion
CURA-6013
2018-12-10 13:04:02 +01:00
Jaime van Kessel
f4220da550 Adds rough first version of rating stars
It's not fully polished just yet

CURA-6013
2018-12-07 15:31:33 +01:00
Jaime van Kessel
2c9c9d8c96 Handle non-happy path for downloading
CURA-6006
2018-12-06 17:23:02 +01:00
Jaime van Kessel
54def4edee Revert "Moved qml pages of toolbox to a loader"
This reverts commit 838949dac74831e38e9f07fe7d628af7807320db.
2018-12-06 14:12:35 +01:00
Jaime van Kessel
2602d5bf02 Add changed checks to prevent unneeded signals from being fired
CURA-6006
2018-12-06 10:46:19 +01:00
Jaime van Kessel
838949dac7 Moved qml pages of toolbox to a loader
This dramatically improves the loading of the toolbox dialog

CURA-6006
2018-12-06 09:45:27 +01:00
Jaime van Kessel
00e95e68eb Removed unneeded Marketplace tag in logging
The logger does that all by itself already. CURA-6006
2018-12-05 14:26:47 +01:00
Jaime van Kessel
d6630b6881 Removed some more cases where data was duplicated and re-used for different purposes
CURA-6006
2018-12-05 14:09:55 +01:00
Jaime van Kessel
a52f866f81 Move most models out of dictionary
CURA-6006
2018-12-05 14:03:32 +01:00
Jaime van Kessel
07d210483c Greatly decrease the bloat / complexity of the toolbox
There was a lot of stuff going on that didn't need to happen, so I cut those parts out in order
to improve the overview.
2018-12-05 13:42:13 +01:00
Jaime van Kessel
b1440737e6 Remove a whole bunch of unused code
CURA-6006
2018-12-05 13:21:17 +01:00
Jaime van Kessel
d9135ac72f Fix more codestyle issues
CURA-6006
2018-12-05 11:06:14 +01:00
Jaime van Kessel
978a01e4c8 Fix typing & codestyle
CURA-6006
2018-12-05 10:51:05 +01:00
Jaime van Kessel
700ae4bebb Removed super spammy logging
CURA-6006
2018-12-05 10:48:06 +01:00
Ghostkeeper
e9216936d7
Compare SDK version as Version instances
This allows it to compare versions that are remote as integer and local as string, or vice-versa. Much more robust.

Contributes to issue CURA-5940.
2018-11-15 15:20:21 +01:00
Ghostkeeper
78e6494430
Read SDK version from new semver field
The sdk_version field should stay the ordinary plain number (the major version number of the semver field) so that older Cura versions don't break. Newly built packages will get built with both sdk_version_semver and the normal sdk_version, so that the packages can be read with any Cura version from 3.6 onwards.

Contributes to issue CURA-5940.
2018-11-15 15:13:36 +01:00
Remco Burema
5f4e3948d3 Merge branch 'master' into CURA-5840-make-plugin-sdk-use-semantic-versioning 2018-11-13 13:16:22 +01:00
Ghostkeeper
7f54cacd0f
Code style
Discovered during work on CURA-5840.
2018-11-09 14:11:38 +01:00
Lipu Fei
75f2f40534 Make API version configuration for Application
CURA-5840
2018-11-08 12:04:43 +01:00