Commit graph

375 commits

Author SHA1 Message Date
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
Mark
0e11a165a3 add typing 2018-06-03 18:14:34 +02:00
Mark
30a05e6ba6 make sure old plugins are updatable 2018-06-03 12:57:08 +02:00
Ian Paschal
74ba10444e CURA-5357 Prevent uninstall of plugins that are not-yet-installed 2018-06-01 14:31:52 +02:00
Ruben D
33e49bebbe
Don't connect when aborting while the signal is not yet connected
Do this using try-except so that it is thread safe.
2018-05-31 10:59:17 +02:00
Lipu Fei
f1bb0e58e7 Do not use CuraVersion data if strings are empty
CURA-5357
2018-05-30 09:20:02 +02:00
Ian Paschal
13b3e4afa5 CURA-5357 Drag & dribble multiple packages like a plugable trickle, yo
Also improved interfacing with `CuraVersion.py`
2018-05-30 09:11:49 +02:00
Ian Paschal
8a35d52ddd Rename "cura_version" to "sdk_version" 2018-05-28 17:21:08 +02:00
Lipu Fei
57ca41291a Fix package upgrade
CURA-5296

The removal of already installed package is already handled by the
package manager in the package upgrade. Removing the package before the
download starts will make the package to be removed before the new
content is available and its license gets approved by the user.
2018-05-28 13:10:42 +02:00