254 Commits

Author SHA1 Message Date
Dimitriovski
75d2a72424
Remove the label(s) from the compatibility dialog if there are no packages
CURA-7038
2020-01-07 14:19:31 +01:00
Lipu Fei
0a495b3f6f Remove unused code in Toolbox
CURA-6387
2020-01-07 12:44:45 +01:00
Lipu Fei
a84e6c3c92 Fix Toolbox due to network manager refactor
CURA-6387
2020-01-07 11:37:37 +01:00
Jaime van Kessel
0c1c4e4856
Move HttpRquestData to it's own file
CURA-6387
2020-01-06 11:34:32 +01:00
Lipu Fei
625b08baf8 Merge master and fix
CURA-6387
2020-01-06 11:18:12 +01:00
Lipu Fei
55d31b9846 Move HttpRequestManager to Uranium
CURA-6387
2020-01-03 08:59:29 +01:00
Lipu Fei
77511c2590 Use network manager in Toolbox
CURA-6387
2020-01-03 08:59:29 +01:00
Dimitriovski
802c095c9f
Removed unused list
CURA-7038
2019-12-31 14:07:40 +01:00
Dimitriovski
42851b0851
Removed unnecessary pass statement from reply.operation
CURA-7038
2019-12-31 14:03:56 +01:00
Dimitriovski
dde0dd8ce3
Removed the 'workaround' that I've added earlier. Simplified the flow. The dialog is now showing display_name instead of package_id
CURA-7038
2019-12-31 14:02:41 +01:00
Dimitriovski
96311c974b
Fixed failing tests. Hid the sync Message when it's clicked.
CURA-7038
2019-12-31 12:07:42 +01:00
Dimitriovski
ada2a776d5
Reworked the Compatibility Dialog and how it shows the subscribed packages
CURA-7038
2019-12-30 17:36:46 +01:00
Dimitriovski
12be21e594
Reworked the flow to show only not installed packages for installing in the Compatibility Dialog
CURA-7038
2019-12-23 17:23:26 +01:00
Dimitriovski
4375118a9f
Refactored most of the code into separate functions
CURA-7038
2019-12-23 16:58:44 +01:00
Dimitriovski
bd8c1e4c96
Initial implementation for the Compatibility Dialog window
CURA-7038
2019-12-23 15:18:09 +01:00
Dimitriovski
9cf5a388f3
Change for CURA-6979. Check for packages installed in Cloud MP but not in Cura MP.
CURA-7038
2019-12-20 13:59:45 +01:00
Dimitriovski
dc20db393e
Initial work for Compatiility Dialog done
CURA-7038
2019-12-20 13:10:22 +01:00
Dimitriovski
799e7fc48c
changed to use the new function name from UM
CURA-6979
2019-12-17 16:26:59 +01:00
Ghostkeeper
9870097ab5
Code style: Spaces around binary operators
Contributes to issue CURA-6979.
2019-12-17 16:11:47 +01:00
Ghostkeeper
1155b4bab2
Code style: Double quotes around strings
Contributes to issue CURA-6979.
2019-12-17 16:10:09 +01:00
Dimitriovski
d958e74467 Use the new name of the function from Uranium's PackageManager
CURA-6979
2019-12-16 15:57:49 +01:00
Dimitriovski
46d3a73e7e Some more refactoring
CURA-6979
2019-12-16 15:52:00 +01:00
Dimitriovski
3c2da64c94 Some refactoring done after code review
CURA-6979
2019-12-16 15:39:21 +01:00
Dimitriovski
ebc0813603 Refactored 'installed_plugins' to 'installed_packages' for brevity
CURA-6979
2019-12-16 10:53:56 +01:00
Dimitriovski
1f5df8fe79 Restore wrongly deleted code
CURA-6979
2019-12-16 10:43:55 +01:00
Dimitriovski
b048c27238 Added check for discrepancies between Cloud subscribed packages and Cura installed packages
CURA-69679
2019-12-16 09:54:49 +01:00
Lipu Fei
832b4f28dc Fix merge conflicts with 4.4 2019-11-07 13:56:20 +01:00
Lipu Fei
8baa009f1f Use IsEnterpriseVersion in Toolbox
CURA-6569
2019-11-05 10:53:52 +01:00
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
ChrisTerBeke
b1316b8a05 Fix installed_packages query params 2019-11-04 12:56:41 +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
ChrisTerBeke
b919be48bc Introduce new API call for fetching package updates 2019-11-01 10:50:02 +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