245 Commits

Author SHA1 Message Date
Lipu Fei
3b62284276 Merge remote-tracking branch 'origin/3.5' 2018-09-18 16:15:55 +02:00
Lipu Fei
a33ce8178a Support mulitple bundled_packages JSON files
CURA-5718
2018-09-18 15:53:56 +02:00
Lipu Fei
4777c3f41d Merge remote-tracking branch 'origin/CURA-5718_fix_upgrade_for_bundled_plugins' 2018-09-17 17:27:32 +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
6929d96119 Merge remote-tracking branch 'origin/3.5' 2018-09-17 16:14:49 +02:00
Lipu Fei
6d1db55072 Fix SDK version comparison 2018-09-17 16:14:28 +02:00
Ghostkeeper
c6fa9474d6
Merge branch '3.5' 2018-09-17 14:41:45 +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
Ghostkeeper
9e21af65b4
Merge branch '3.5' 2018-09-17 10:54:44 +02:00
Jaime van Kessel
4c460b6fa5 Prevent crash if sdk_version is "dev" 2018-09-14 16:15:56 +02:00
Ghostkeeper
5a374f31ef
Merge branch '3.5' 2018-09-13 16:27:49 +02:00
Jaime van Kessel
757c8754b1 Merge branch '3.5' of github.com:Ultimaker/Cura 2018-09-13 16:23:55 +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
Jaime van Kessel
c59ff82c64 Revert "[CURA-5708] Hide the Materials-tab in ToolBox (v3.5 only)"
This reverts commit f9585b5fae9cdd3f56dc8d8b04f28db5fcf15434.
2018-09-12 13:39:10 +02:00
Jaime van Kessel
00494d8301 Merge branch '3.5' of github.com:Ultimaker/Cura 2018-09-12 13:38:56 +02:00
Remco Burema
f9585b5fae [CURA-5708] Hide the Materials-tab in ToolBox (v3.5 only) 2018-09-12 13:38:15 +02:00
Jaime van Kessel
a809575bc8 Add bunch of ID's to qml components so it's easier to test them.
CURA-5618
2018-09-11 16:05:53 +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
d6046c725a Fix Toolbox QML null object warnings
CURA-5670
2018-09-07 09:29:31 +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
98d8a3f3e3 Fix code style and small cleanup
CURA-5676
2018-08-31 13:49:10 +02:00
Lipu Fei
c4afbe7a67 Convert links to a dict
CURA-5676

Easier to process.
2018-08-31 13:45:04 +02:00
Lipu Fei
9433cf7c45 Change email field to show full email address
CURA-5676
2018-08-31 13:23:41 +02:00
Lipu Fei
e17cf3dfbf Show company website full link as text
CURA-5676
2018-08-31 13:20:42 +02:00
Aleksei S
9258c9a7fc Added links to toolbox
CURA-5676
2018-08-31 11:03:30 +02:00
Aleksei S
fe9cada459 Increase plugin API version to 5
CURA-5627
2018-08-27 13:59:00 +02:00
Ian Paschal
944ababa1c Copy normal tile behavior to showcase tiles
Contributes to CURA-5604
2018-08-03 14:48:04 +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
7856e47467 Remove old filtering
Contributes to CURA-5604
2018-08-03 14:30:49 +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
Ian Paschal
c47de04983 Fix bracket style
Contributes to CURA-5598
2018-08-03 11:41:08 +02:00
Ian Paschal
bcedef3bbe Continue scrolling over compatibility charts
Contributes to CURA-5598
2018-08-03 11:38:42 +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
Diego Prado Gesto
f1379135e0 CURA-5510 Add the Generic materials to the list of the bundled packages
so that they show up as installed.

Show the installed icon on those packages as well.
2018-07-17 13:49:17 +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
dd7168e8b8 CURA-5536 Add the installed check also to the featured items. 2018-07-13 13:41:19 +02:00
Diego Prado Gesto
62b1d361fa CURA-5536 Set different colors indicating that all the inner packages
are installed of just some.
2018-07-13 13:21:38 +02:00