Commit graph

4854 commits

Author SHA1 Message Date
Ghostkeeper
eab150d7ee
Only look for user package management path in storage dirs
If we happen to find it in the installation (or some other place we can't write to) then it's going to crash. So don't do that.

Contributes to issue CURA-5364.
2018-05-16 09:29:03 +02:00
ChrisTerBeke
d27ac3cf31 Merge branch 'master' into feature-backup-manager 2018-05-15 16:50:25 +02:00
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
Diego Prado Gesto
5345bc2867 CURA-5358 Fill the dictionaries also if it's a custom material. But
making difference between those materials that depend on a built-in
material and those that don't depend on others.
2018-05-15 16:08:19 +02:00
Diego Prado Gesto
70ca053832 CURA-5358 Add the quality folder to the scope of the VersionUpgrade 2018-05-15 15:32:02 +02:00
ChrisTerBeke
82a1c95d98 Merge branch 'master' into feature-backup-manager 2018-05-15 12:56:19 +02:00
Aleksei S
50dabdbac8 Merge branch 'bugfix-toolbox-update' 2018-05-15 11:51:45 +02:00
Jack Ha
ed1ba41aa6 Undo setting wrong name in PrintInformation. CURA-5323 2018-05-15 11:42:17 +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
ChrisTerBeke
95c9062913 Merge branch 'master' into feature-backup-manager 2018-05-15 11:05:07 +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
c54957540b Merge branch 'master' into bugfix-toolbox-update 2018-05-15 09:45:14 +02:00
Maxim Kulkin
9cb3960690 Add travel_avoid_supports setting support 2018-05-14 23:43:05 -07:00
alekseisasin
d433c54a0a If the file type is not registered still show it's name in project field CURA-5323 2018-05-14 17:42:54 +02:00
ChrisTerBeke
e14f57892a Merge branch 'master' into feature-backup-manager 2018-05-14 17:16:36 +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
Diego Prado Gesto
8ad409ff55
Merge branch 'master' into WIP_improve_initialization 2018-05-14 15:15:02 +02:00
Aleksei S
8718ee34c9 Merge branch 'master' of github.com:Ultimaker/cura 2018-05-14 15:04:54 +02:00
Aleksei S
d946733357 Project update after undo click
CURA-5323
2018-05-14 15:04:01 +02:00
Ian Paschal
dd14a8e685 CURA-5296 Better finding for packages.json 2018-05-14 14:44:40 +02:00
Ghostkeeper
757824ae93
Move deleteAll to Uranium
Because it's used by WorkspaceFileHandler.

Contributes to issue CURA-5330.
2018-05-14 13:52:31 +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
ChrisTerBeke
2ed4b1b014 Fixes for restoring preferences on Linux 2018-05-14 10:16:14 +02:00
ChrisTerBeke
30d66fb8de Copy preferences under Linux to add them to backup, notification messages 2018-05-14 09:47:44 +02:00
ChrisTerBeke
aa73b88975
Merge branch 'master' into feature-backup-manager
* master:
  Fix an issue that kept the plugins in the "installed" list despite of already being removed from the data folder.
  Fix some crashes and issues in the Toolbox when working with no internet connection.
  Use the application language for the dates
  Small fixes and change the "plugins" text to "packages"
  Change layout of the installed plugins tab. - There were some alignment problems when there were more than 2 buttons in a column (disable, uninstall and update) - Now the progress bar shows on top of the "Update" button.
  Don't correct bed origin any more
  Clean up the package manager a bit: - Remove an unused method. - Safely check if the plugin info exist
  Improve translation of short time format
  Adding some love
  Updating changelog about engine icon
2018-05-13 01:21:20 +02:00
ChrisTerBeke
2742d61f9b
Add TODO for later 2018-05-13 01:20:42 +02:00
ChrisTerBeke
4429b5b5c1
Count backup items for meta data, small fixes 2018-05-12 23:35:01 +02:00
ChrisTerBeke
a7342f4619 Do not safe data after restoring backup 2018-05-11 17:13:40 +02:00
ChrisTerBeke
79cebca9f0 Rudimentary restore functionality 2018-05-11 16:45:32 +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
Diego Prado Gesto
43657010ba CURA-5164 The Preferences is not a singleton class anymore since in some point
several instances need to be created.

- In the ThreeMFWorkspaceReader we need to create some temporal
instances of Preferences that makes it not singleton anymore.

- The current preferences are kept in the Application class and so all
the calls to the preferences are changed to get the preferences from
Application.

- The method getInstance in Preferences is kept as deprecated since some
external plugins.
2018-05-11 08:50:42 +02:00
ChrisTerBeke
5b8f5e7e08 Merge branch 'master' into feature-backup-manager 2018-05-09 17:58:33 +02:00
ChrisTerBeke
bc424509d9 Fix docstring 2018-05-09 17:58:14 +02:00
Jack Ha
6b44ec8e4a CURA-5296 undo add version upgrade to required plugins 2018-05-09 14:24:10 +02:00
Jack Ha
cf61059449 CURA-5296 added version upgrades to required plugins 2018-05-09 14:19:30 +02:00
Jack Ha
45fc8480a1 CURA-5296 fix first startup not loading bundled packages 2018-05-09 13:18:02 +02:00
ChrisTerBeke
703e52c0c7 Ignore cura.cfg in the backups as it might contain secret data from plugins 2018-05-09 11:25:19 +02:00
ChrisTerBeke
c90a958eaf Merge branch 'master' into feature-backup-manager 2018-05-08 17:27:54 +02:00
Ian Paschal
7ac7f91d5d
Merge pull request #3790 from Ultimaker/CURA-5296_bundled_packages
Cura-5296 Make bundled resources visible to CuraPackageManager
2018-05-08 17:03:55 +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
ChrisTerBeke
c827703417 Fix ignoring files 2018-05-08 13:47:02 +02:00
ChrisTerBeke
1b1d99c4bc Ignore cura.log in backups 2018-05-08 13:22:17 +02:00
ChrisTerBeke
62c4a88168 Merge branch 'master' into feature-backup-manager 2018-05-08 12:50:31 +02:00