8737 Commits

Author SHA1 Message Date
Remco Burema
0e3524cddb
Reintroduce hack for waiting state in monitor.
Some printers don't send the correct state it seems, so we have to have this hack back.

CURA-8764
2021-12-17 11:50:45 +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
Ghostkeeper
385c02f0bd
Merge branch '4.13' 2021-12-16 17:17:08 +01:00
Ghostkeeper
5a9bafe453
Update SDK version to 7.9.0
This is going to be the new SDK version for Cura 4.13.
2021-12-16 17:15:59 +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
Ghostkeeper
9140b71b19
Merge branch 'libArachne_rebased'
Conflicts:
	plugins/SimulationView/SimulationPass.py -> Reverted layer view optimisation in Master while some whitespace changed in Arachne.
	resources/definitions -> Bunch of conflicts with profile updates.
	resources/quality -> Bunch of conflicts with profile updates.
	resources/texts/change_log.txt -> Removed the Arachne change log (as they are internal versions). It'll have to be re-added when we release this version as stable.
2021-12-14 11:48:58 +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
Jaime van Kessel
8c0d4899ed Remove unneeded {}
CURA-8587
2021-12-13 13:12:06 +01:00
Jaime van Kessel
274b98f9b1 Remove unneeded "primary_action" from managebutton 2021-12-13 13:09:17 +01:00
Jaime van Kessel
08685af9de Switch ManageButton over to implicitWidth & height instead of layout
This makes it a much easier to re-use component.

CURA-8587
2021-12-13 12:24:18 +01:00
Jaime van Kessel
f993243d57 Remove unneeded import
CURA-8587
2021-12-13 12:08:33 +01:00
Jaime van Kessel
e92cc584fb Add missing return type
CURA-8587
2021-12-13 12:01:37 +01:00
Jaime van Kessel
50f1afa5d9 Make plugin_registry protected
CURA-8587
2021-12-13 11:57:00 +01:00
Jaime van Kessel
eb11e92637 Rename local_packages_id to local_packages_ids
CURA-8587
2021-12-13 11:54:13 +01:00
Jelle Spijker
4f997319b0
Try sorting on section, update and display name
Contributes to CURA-8587
2021-12-10 18:31:55 +01:00
Jelle Spijker
e72655cc22
Moved busy/confirmed logic to QML
COntributes to CURA-8587
2021-12-10 17:38:20 +01:00
Jelle Spijker
d876b85259
Don't forcefully remove bundled packages when updating
Contributes to CURA-8587
2021-12-10 12:43:42 +01:00
Jelle Spijker
11c2ccd227
Use the ongoing_request queue
Contributes to CURA-8587
2021-12-10 12:41:37 +01:00
Jelle Spijker
a571e87553
Fixed the spinner
Contributes to CURA-8587
2021-12-10 12:39:44 +01:00
Jelle Spijker
9b7731a21b
Use package_infos to obtain the url
Contributes to CURA-8587
2021-12-10 11:50:38 +01:00
Jelle Spijker
ec8254bca9
Fixed old Marketplace update functionality
Contributes to CURA-8587
2021-12-10 11:50:02 +01:00