Diego Prado Gesto
77fd05ac70
Disable other buttons while toolbox is downloading to avoid crashes.
...
I did it that way to not be risky because we're close to the release.
Contributes to CURA-5778.
2018-10-01 17:21:34 +02:00
Lipu Fei
a33ce8178a
Support mulitple bundled_packages JSON files
...
CURA-5718
2018-09-18 15:53:56 +02:00
Lipu Fei
da047ea674
isInstalled() should check old plugins as a fallback
2018-09-17 17:26:38 +02:00
Lipu Fei
15657f4cfc
Remove unneeded code
2018-09-17 17:26:19 +02:00
Lipu Fei
4db213c55a
Fix missing import
2018-09-17 16:24:10 +02:00
Lipu Fei
a4b20e046d
Merge remote-tracking branch 'origin/3.5' into CURA-5718_fix_upgrade_for_bundled_plugins
2018-09-17 16:22:22 +02:00
Lipu Fei
6d1db55072
Fix SDK version comparison
2018-09-17 16:14:28 +02:00
Lipu Fei
3ac5a316d3
Check package upgradable using PM first, old plugins later
...
CURA-5718
For package upgradable, we need to check if a package is installed
local. For that, we first check in the package manager, if nothing, then
we fall back to check the old plugins.
2018-09-17 12:05:10 +02:00
Lipu Fei
1064d837ed
Exclude bundled plugins in the old plugins list
2018-09-17 12:05:10 +02:00
Jaime van Kessel
4c460b6fa5
Prevent crash if sdk_version is "dev"
2018-09-14 16:15:56 +02:00
Lipu Fei
b39d6c7d87
Package upgrade should also check SDK version
2018-09-13 13:42:53 +02:00
Lipu Fei
d1301d16a9
Skip the do-not-handle URLs instead of returning
...
CURA-5718
The request-url dict is not ordered so you cannot garuantee the ordering
when you use .items(). This can cause a problem that if a do-not-handle
item occurs first then nothing will be handled at all.
2018-09-12 16:58:22 +02:00
Diego Prado Gesto
e3681ddd9f
Also hack the way to get the generic materials, since the tag-filtered
...
calls to the api don't work yet.
Contributes to CURA-5670.
2018-09-11 13:39:53 +02:00
Jaime van Kessel
301605c30c
Added missing typing to toolbox
2018-09-11 13:20:42 +02:00
Thomas Karl Pietrowski
5139e61475
Found the dead line while reading some code
2018-09-10 09:42:47 +02:00
Lipu Fei
b21200c6a8
Check for None before updating model
...
CURA-5670
2018-09-05 17:16:58 +02:00
Diego Prado Gesto
b638b2274a
Count only the material packages by author, not all packages.
...
Contributes to CURA-5670.
2018-09-03 15:12:52 +02:00
Diego Prado Gesto
bf1d3b964f
Skip loading a reply if it's not later handled.
...
Contributes to CURA-5670.
2018-09-03 14:30:05 +02:00
Ian Paschal
988b9059b9
Fix code-style
...
Contributes to CURA-5670
2018-08-31 16:55:03 +02:00
Ian Paschal
dec76a19ed
Build models using reserved tags
...
Contributes to CURA-5670
2018-08-31 16:13:01 +02:00
Lipu Fei
c4afbe7a67
Convert links to a dict
...
CURA-5676
Easier to process.
2018-08-31 13:45:04 +02:00
Aleksei S
9258c9a7fc
Added links to toolbox
...
CURA-5676
2018-08-31 11:03:30 +02:00
Lipu Fei
1bacdabf35
Minor refactor
2018-08-03 14:42:34 +02:00
Ian Paschal
8268419eda
Remove debug print()
...
Contributes to CURA-5604
2018-08-03 14:31:30 +02:00
Ian Paschal
2a6da9fe8e
Only show material packages when clicking an author
...
Contributes to CURA-5604
2018-08-03 14:28:45 +02:00
Diego Prado Gesto
6694b7ac81
CURA-5541 Change is_enabled field to is_active field to be consistent
...
with the fields in the PackageManager.
2018-07-27 15:56:29 +02:00
Ian Paschal
0bde1487e7
Add generic material packages to materials page
...
Contributes to CURA-5510
2018-07-16 16:13:43 +02:00
Diego Prado Gesto
af697c6999
CURA-5536 The api call does not return the package_count for the showcase, so we can't trust in that value. The total number of material packages by author is now calculated.
2018-07-13 15:13:38 +02:00
Diego Prado Gesto
96cc1be2ff
CURA-5536 Calculate the number of installed packages by author.
2018-07-13 13:20:56 +02:00
Jack Ha
2bd8350141
Added error checking, added typing, renamed function. CURA-5389
2018-07-12 14:06:34 +02:00
Lipu Fei
76417b7fb2
Hide materials belong to a to-be-removed package
2018-07-11 10:57:57 +02:00
Lipu Fei
328fd9081e
Merge remote-tracking branch 'origin/master' into remove-package-check
2018-07-10 14:57:46 +02:00
Lipu Fei
cc5f35dd91
Rename some functions and variables
2018-07-10 14:57:01 +02:00
Ian Paschal
ac0192f01f
Improve fixes
2018-07-09 11:29:25 +02:00
Jack Ha
bff9a3afb5
Merge branch 'master' into remove-package-check
2018-07-09 11:25:19 +02:00
Jack Ha
5af5aa9e35
Added reset profiles/materials and uninstall functionality and dialog. CURA-5389
2018-07-09 09:57:31 +02:00
Ian Paschal
75d5828f5f
Merge branch 'master' into fix_tests_cura_engine_backend
2018-07-06 09:48:07 +02:00
Ian Paschal
85be9cea07
Fixes for Toolbox
2018-07-05 16:06:37 +02:00
Diego Prado Gesto
c738f306fb
Fix style in some components
2018-07-05 14:35:12 +02:00
Jack Ha
675c5064ed
Added checkPackageUsageAndUninstall and the package usage check. No confirmation dialog yet
2018-07-05 11:47:06 +02:00
Lipu Fei
dc8d9e0f96
Merge branch 'master' into mypy_fixes
2018-06-29 13:45:55 +02:00
Mark
5fe812b4a4
Add downloadnumber to model and plugin view
2018-06-26 15:29:35 +02:00
Ghostkeeper
b07db74011
Fix more typing errors
...
It never ends.
Contributes to issue CURA-5330.
2018-06-15 15:44:29 +02:00
Diego Prado Gesto
eb65a11e18
CURA-5330 Fix code style and typing in Toolbox plugin
2018-06-13 18:22:27 +02:00
Diego Prado Gesto
6e575c9cf5
CURA-5463 The packages that are scheduled to be removed, are not old
...
packages.
2018-06-11 15:54:11 +02:00
Jack Ha
96f2e6e1ed
CURA-5402 hopefully solved merge conflicts
2018-06-06 14:39:53 +02:00
Lipu Fei
4598b7a831
Merge remote-tracking branch 'origin/3.4'
2018-06-05 09:55:57 +02:00
Ian Paschal
71f41b8ada
CURA-5442 Final fixes
2018-06-04 17:00:59 +02:00
Ian Paschal
096f0775a8
CURA-5442 Compare plugin registry to package manager
2018-06-04 11:49:42 +02:00
Jack Ha
c6ac344ed5
Merge branch '3.4'
2018-06-04 11:40:03 +02:00