103 Commits

Author SHA1 Message Date
Diego Prado Gesto
ed6b63b41b Merge branch 'master' of github.com:Ultimaker/Cura 2018-05-15 16:47:42 +02:00
Diego Prado Gesto
bc965bacfc CURA-5358 Not use the prefix for installing packages and so no need to
rename directories for the packaged files
2018-05-15 16:46:07 +02:00
Jack Ha
9281c23555 Fix uninstallable user package which was also bundled; make update package somewhat better by not trying to uninstall builtin package 2018-05-15 16:23:54 +02:00
Aleksei S
50dabdbac8 Merge branch 'bugfix-toolbox-update' 2018-05-15 11:51:45 +02:00
Ghostkeeper
0aa1aaf11b
Fix loading packages.json when file doesn't exist yet
Contributes to issue CURA-5364.
2018-05-15 11:23:26 +02:00
Ghostkeeper
0a9f389396
Search for bundled packages file in all search paths
For this we need to rename bundled_packages to disambiguate between that and the other packages.json file for user-installed packages.

Contributes to issue CURA-5364.
2018-05-15 11:14:17 +02:00
Jack Ha
49c4f66d95 Ugly fix for uninstalling installed packages, but not uninstalling bundled packages. 2018-05-15 10:50:33 +02:00
Jack Ha
1f088aabc4 Cleanup and simplify toolbox plugin update 2018-05-14 16:11:44 +02:00
Jack Ha
0f0b6a9712 Fix/Implement update in toolbox 2018-05-14 16:01:59 +02:00
Ian Paschal
dd14a8e685 CURA-5296 Better finding for packages.json 2018-05-14 14:44:40 +02:00
Diego Prado Gesto
04534936c3 CURA-5358 Change the name in the dict to search for the 'qualities' that
are inside a curapackage.
2018-05-14 11:36:19 +02:00
Diego Prado Gesto
527f269b5d Fix an issue that kept the plugins in the "installed" list despite of
already being removed from the data folder.
2018-05-11 16:32:31 +02:00
Diego Prado Gesto
7d725936ef Clean up the package manager a bit:
- Remove an unused method.
- Safely check if the plugin info exist
2018-05-11 11:43:34 +02:00
Jack Ha
45fc8480a1 CURA-5296 fix first startup not loading bundled packages 2018-05-09 13:18:02 +02:00
Ian Paschal
4a78825f55 CURA-5296 Delete package info individually 2018-05-08 17:03:09 +02:00
Ian Paschal
d6ad8ed09e CURA-5296 Move installed plugins to "installed" dict 2018-05-08 16:52:09 +02:00
Ian Paschal
db15b1c2a1 CURA-5296 Fix packages.json path 2018-05-08 16:28:28 +02:00
Ian Paschal
0accdc6320 Cura-5296 Use separate packages.json files in app and user data 2018-05-08 11:54:19 +02:00
Ian Paschal
4cfd047b11 CURA-5296 Simplifications to CuraPackageManager 2018-05-07 15:47:03 +02:00
Ian Paschal
4a2e36978e Merge remote-tracking branch 'origin/master' into CURA-5296_bundled_packages 2018-05-04 15:00:40 +02:00
Jaime van Kessel
7d2257838b Added missing typing 2018-05-03 20:42:06 +02:00
Jaime van Kessel
34483b4b34 Merge branch 'master' of github.com:Ultimaker/Cura 2018-05-03 20:27:35 +02:00
Jaime van Kessel
21e2fcbcf6 Also added missing context usage of archive 2018-05-03 20:27:02 +02:00
Ruben D
f3be394080
Properly get the application
Why are we getting this passed via parent???
2018-05-03 20:26:20 +02:00
Jaime van Kessel
7665f8a7cb Reading packages from archive now uses With context 2018-05-03 20:22:38 +02:00
Mark
ce7f64d8e3 ignore empty directories in plugin folder 2018-05-03 14:36:08 +02:00
ChrisTerBeke
80d7dc18cb Fix is_dir for Python 3.5 2018-05-03 13:37:33 +02:00
Ian Paschal
45e32e6c05 CURA-5296 Quick hack to test using a list of IDs 2018-05-03 09:12:35 +02:00
Lipu Fei
49649e3d4a Add final so the management JSON is always saved
CURA-5035
2018-05-02 12:57:26 +02:00
Lipu Fei
09af97634d Simplify code
CURA-5035
2018-05-02 12:53:33 +02:00
Lipu Fei
5cc5f32a73 Remove unnecessary is_bundled modifications
CURA-5035
2018-05-02 12:52:29 +02:00
Lipu Fei
d4cf944e11 Simplify code
CURA-5035
2018-05-02 12:51:13 +02:00
Lipu Fei
8250ea8366 Add version for cura package management JSON
CIRA-5035
2018-05-02 12:50:50 +02:00
Ian Paschal
62aeb6c954 CURA-5035 Review feedback 2018-05-02 12:01:29 +02:00
Lipu Fei
cc207a3f92 Clean up unused variables 2018-05-01 11:53:52 +02:00
Lipu Fei
863d67ae64 Use Resources.Plugins for finding plugin storage path 2018-05-01 11:16:21 +02:00
Lipu Fei
7ee085fe50 Check all subdirs in data storage dir for package removal 2018-05-01 10:48:03 +02:00
Ian Paschal
096f304aef CURA-5035 Crash because old packages don't have 'author_id' 2018-05-01 10:45:22 +02:00
Lipu Fei
51abd32328 Use dict get fallback to prevent errors 2018-05-01 10:33:48 +02:00
Lipu Fei
1fb2edace5 Use ContainerRegistry.lockFile in Cura package management
Prevent concurrent I/O issues.
2018-05-01 10:31:56 +02:00
Lipu Fei
cff4dc8a0c Use json.load() directly 2018-05-01 10:28:42 +02:00
Ian Paschal
01007946b4 CURA-5035 Separate API calls! 2018-04-30 16:42:11 +02:00
Ian Paschal
679f87ebb3 CURA-5035 Don't show required plugins
Also renamed folder of UserAgreementPlugin to UserAgreement
2018-04-26 15:11:32 +02:00
Ian Paschal
fbf73176d3 Use UM.Version instead of VersionTools 2018-04-20 11:25:39 +02:00
Ian Paschal
7a0fe74989 CURA-5035 Added material authors + icons 2018-04-17 17:07:06 +02:00
Ian Paschal
85ebe741a8 CURA-5035 Don't show authors with 0 packages 2018-04-13 17:27:57 +02:00
Ian Paschal
523518020c CURA-5035 Better linking between Toolbox and CuraPluginManager 2018-04-13 16:25:01 +02:00
Ian Paschal
5d395f549a CURA-5035 Added already installed plugins 2018-04-12 17:22:50 +02:00
Lipu Fei
0f966115e6 WIP: Make CuraPackageManager aggregate PluginRegistry data
CURA-4644
2018-04-12 15:46:53 +02:00
Lipu Fei
8a181ea395 Save curapackage into cache for delayed installation
CURA-4644

Do not rely on the originally provided curapackage file because they can be
gone after Cura restarts. Copy the curapackages into cache for delayed
installation.
2018-04-12 13:25:24 +02:00