8610 Commits

Author SHA1 Message Date
Jaime van Kessel
852076460f Remove unused imports
CURA-8588
2022-01-03 11:13:28 +01:00
Jaime van Kessel
6a39862349 Merge RestartManager into marketplace
CURA-8588
2022-01-03 11:12:52 +01:00
Jaime van Kessel
6af2677c52 Remove TabManager
Since marketplace itself already needed to be a qObject, there wasn't
really a need to have a seperate object for it
2022-01-03 11:06:19 +01:00
Jaime van Kessel
3b2be48390 Ensure that check for updates is called on startup of Cura
CURA-8588
2022-01-03 11:01:17 +01:00
Jaime van Kessel
0615369cba Clean up import order
CURA-8588
2022-01-03 10:29:15 +01:00
Jaime van Kessel
408b649db7 Add typing to tabmanager
CURA-8588
2022-01-03 10:22:36 +01:00
casper
02c81234d0 Remove references to the toolbox plugin from the themes.json
Some other components were (incorrectly) using these theme variables.
Replaced them by another theme variable with the same value.

CURA 8588
2021-12-30 13:38:16 +01:00
Remco Burema
1cdeaffab7
Make new Marktetplace react to 'get more materials'.
part of CURA-8588
2021-12-30 11:53:42 +01:00
Remco Burema
b794ad6ed2
Delete old 'Toolbox' in favour of new Marketplace.
part of CURA-8588
2021-12-30 11:51:54 +01:00
Jaime van Kessel
cf7772a40a Ensure that local list has update URL
CURA-8587
2021-12-22 14:27:24 +01:00
Jaime van Kessel
532c7a2109 Let new marketplace also check for updates
CURA-8587
2021-12-22 10:19:33 +01:00
Jaime van Kessel
8259868160 Fix update URL
CURA-8587
2021-12-22 10:04:27 +01:00
Jaime van Kessel
afef4f761b Update documentation
CURA-8587
2021-12-20 10:17:30 +01:00
Jaime van Kessel
8df204b327 Remove unneeded control
CURA-8587
2021-12-17 16:49:16 +01:00
Jaime van Kessel
a2a76fefdd Move cleaning up of request to after signals are disconnected
CURA-8587
2021-12-17 16:48:06 +01:00
Jaime van Kessel
83c78c4b4d Remove canInstallChanged signal
It's not needed, this can just be handled with a direct call!

CURA-8587
2021-12-17 16:41:52 +01:00
Jaime van Kessel
8a198f7911 Simplify sorting
CURA-8587
2021-12-17 16:31:11 +01:00
Jaime van Kessel
d015d94965
Update plugins/Marketplace/LocalPackageList.py
CURA-8587

Co-authored-by: Ghostkeeper <Ghostkeeper@users.noreply.github.com>
2021-12-17 16:23:54 +01:00
Jaime van Kessel
4b4229e20a Fix downgrading bundled packages
CURA-8587
2021-12-17 00:44:56 +01:00
Jaime van Kessel
0cfd576c8f Fix setting available version numbers
CURA-8587
2021-12-16 23:35:38 +01:00
Jaime van Kessel
477f62916c Further simplify the data being sent over to the package manager
CURA-8587
2021-12-16 23:21:44 +01:00
Jaime van Kessel
fa7ad7ddb1 Simplify the packageList
CURA-8587
2021-12-16 22:54:12 +01:00
Jelle Spijker
bd7a73e7ef
Invert style of install button
Contribute to CURA-8587
2021-12-16 17:31:08 +01:00
Jelle Spijker
4d8592c6b7
Catch runtime errors when trying to disconnect signal
Contribute to CURA-8587
2021-12-16 17:07:42 +01:00
Jelle Spijker
0a7aee5c09
Only remove Card from List when package is deleted
Updated packages should still be present in the list

Contribute to CURA-8587
2021-12-16 17:03:14 +01:00
Jelle Spijker
ffa34ab5fe
Make sure Signal are disconnected when PackageModel is deleted
Contributes to CURA-8587
2021-12-16 17:00:29 +01:00
Jelle Spijker
23d6c2390f
Fixed the updating button
Contributes to CURA-8587
2021-12-16 12:37:41 +01:00
Jelle Spijker
8abeb24ccc
Remove a recently installed and then uninstalled package from the manage list
Contributes to CURA-8587
2021-12-16 12:21:36 +01:00
Jelle Spijker
62c6af1ef3
Don't show the enable button on recently installed plugins
Contributes to CURA-8587
2021-12-16 11:31:51 +01:00
Jaime van Kessel
6703813f1d Remove unused signals
CURA-8587
2021-12-16 10:48:36 +01:00
Jaime van Kessel
14406e13bd Rename hasPluginsEnabledOrDisabledChanged to pluginsEnabledOrDisabledChanged
This makes it more in line with the other signal naming

CURA-8587
2021-12-16 10:42:44 +01:00
Jelle Spijker
aa93186707
Don't show License Dialog when there is no License text
Contributes to CURA-8587
2021-12-16 10:34:08 +01:00
Jelle Spijker
020313da25
Subscribe the user to a reinstalled package again
Contributes to CURA-8587
2021-12-16 10:23:23 +01:00
Jelle Spijker
447e0443a2
Reinstall a package scheduled for removal before attempting to dl and install
Contributes to CURA-8587
2021-12-16 10:08:24 +01:00
Jelle Spijker
951c0234d6
Renamed _manager to _package_manager for more consistent naming
Contributes to CURA-8587
2021-12-16 10:06:54 +01:00
Jelle Spijker
23cc7084c4
Switch between correct states of the un-/installed buttons
Contributes to CURA-8587
2021-12-15 17:51:38 +01:00
Jelle Spijker
9e1e98bdbd
Revert "Show install button after package has been uninstalled"
This reverts commit c66e17dd9e52987ff75b708557e9037f4d9d66f2.
2021-12-15 16:38:54 +01:00
casper
c66e17dd9e Show install button after package has been uninstalled
CURA-8587
2021-12-15 15:13:38 +01:00
casper
2bf8309d45 Merge remote-tracking branch 'origin/CURA-8587_disable_update_install_and_uninstall' into CURA-8587_disable_update_install_and_uninstall 2021-12-15 15:09:32 +01:00
Jelle Spijker
8b2ced122c
Explicitly close the downloaded curapackage
Sometime very small curapackage where download and the `canInstallChanged`
signal was emitted before the zipfile was completely processed.
This could result in a failed installation, which was often the case for
materials.

I also narrowed down the try-catch block.
2021-12-15 15:07:23 +01:00
casper
62596a42e6 Remove un-needed column component
CURA-8587
2021-12-15 10:44:25 +01:00
casper
aea316799a Always set busy = False on installed package
CURA-8587
2021-12-15 10:43:57 +01:00
casper
5f444fa5b7 Simplify enabled busy state
both the `installManageButton` and `updateManageButton` are busy when
`packageData.busy`, so the
`!(installManageButton.busy || updateManageButton.busy)` check didn't
make much sense.

CURA-8587
2021-12-14 17:49:25 +01:00
casper
c338d8f5ce Only show enable/disable button if plugin is installed
CURA-8587
2021-12-14 16:37:16 +01:00
Jaime van Kessel
08eba9f21a Fix updating package
CURA-8587
2021-12-13 15:17:19 +01:00
Jaime van Kessel
d50dc59aac Simplifications and cleanup
CURA-8587
2021-12-13 15:13:00 +01:00
Jaime van Kessel
d422e0d4ee Simplify onClicked for install button
CURA-8587
2021-12-13 14:18:50 +01:00
Jaime van Kessel
62f99a28b3 Simplify the update logic in the package model / card
CURA-8587
2021-12-13 14:15:16 +01:00
Jaime van Kessel
4b358496d9 Simplify enable/disable button visibility
CURA-8587
2021-12-13 13:15:16 +01:00
Jaime van Kessel
aa29114470 Correctly set defaults of managebutton
CURA-8587
2021-12-13 13:13:42 +01:00