23 Commits

Author SHA1 Message Date
Jaime van Kessel
40a981b902
Re-enable the backing up of plugins
Because we're adding a messgae for the user if the loading of a plugin failed
(which can happen after backing up a plugin in central storage), we can re-enable
the backing up of plugins again.

CURA-8313
2021-06-17 15:36:45 +02:00
Jaime van Kessel
fa690a0f5e
Fix issue with restoring backups from 4.10
There were some cases where issues could occur due to plugins no longer being there

CURA-8313
2021-06-16 13:51:09 +02:00
Jaime van Kessel
cb2a7e1daa
Remove plugins that weren't restored in the backup from the installed list
CURA-8269
2021-06-01 14:37:12 +02:00
Jelle Spijker
d69bf84424
Updated comments in Backup
Converted doxygen style comments to reStructuredText style in the files
 found in Cura/cura/Backup directory recursively  using the script
dox_2_rst.py (provided in the Uranium repo). Comments were manually
 checked and changed if needed.
2020-05-08 15:39:16 +02:00
Remco Burema
380e377cf3
Scout some documentation to docstring.
part of CURA-7325
2020-03-26 18:26:14 +01:00
Remco Burema
3c50b78e68
Fix: Definitions could be partly saved between backup restore and quit.
part of CURA-7325
2020-03-26 18:19:47 +01:00
Jaime van Kessel
186eef0b68 Fix backup causing a crash in specific situations 2019-05-16 15:38:44 +02:00
Lipu Fei
4876d5af00 Fix data saving before making a backup
CURA-6471
2019-04-24 08:21:11 +02:00
Lipu Fei
6e2f7e72b6 Fix missing argument 2018-09-28 12:34:00 +02:00
Lipu Fei
3a01b63343 Fix refactor and tests 2018-09-28 12:33:16 +02:00
Lipu Fei
dd150bbab9 Resolve circular imports for CuraAPI 2018-09-28 12:07:00 +02:00
Ghostkeeper
c9480f2f2b
Add types for backup metadata 2018-07-04 17:30:01 +02:00
Diego Prado Gesto
f2768fd761 CURA-5330 Fix typing in the Backups 2018-06-13 16:35:48 +02:00
Ghostkeeper
2eedc96f36
Convert to Doxygen documentation
Like the rest of Cura and Uranium.
2018-06-11 15:06:48 +02:00
ChrisTerBeke
809cab4ea5
Cleanup for cfd1b7b813ccdac76c623243a03633b2059d9a0e 2018-05-23 19:18:11 +02:00
Lipu Fei
cfd1b7b813 Fix AutoSave conflicts with BackupManager
- Move AutoSave out of the plugins. It's a built-in module now.
 - Add enable/disable saving data on CuraApplication.
 - Avoid saving data in backup restore
2018-05-23 11:25:47 +02:00
ChrisTerBeke
2ed4b1b014 Fixes for restoring preferences on Linux 2018-05-14 10:16:14 +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
ChrisTerBeke
bc424509d9 Fix docstring 2018-05-09 17:58:14 +02:00
ChrisTerBeke
936de402ec use bytes to pass backup file around, generate in memory, small fixes 2018-05-07 15:40:47 +02:00
ChrisTerBeke
64819d517e Start implementing backups functionality 2018-05-07 15:09:08 +02:00
ChrisTerBeke
32e2723c26 Start class layouts for backups and plugins API 2018-05-07 10:55:24 +02:00