83 Commits

Author SHA1 Message Date
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
Lipu Fei
406b64b331 Remove unneeded code
CURA-4644
2018-04-12 13:14:58 +02:00
Lipu Fei
596e0be7b6 CuraPackageManager handles packages and plugins
CURA-4644
2018-04-12 12:57:58 +02:00
Lipu Fei
6ae9694998 Add CuraPackageManager 2018-04-05 15:14:15 +02:00