28 Commits

Author SHA1 Message Date
Ghostkeeper
c9480f2f2b
Add types for backup metadata 2018-07-04 17:30:01 +02:00
Diego Prado Gesto
554a3fd908 Merge branch 'master' into mypy_fixes
Conflicts:
cura/Backups/Backup.py
cura/Settings/ExtruderManager.py
cura/Settings/MachineManager.py
2018-06-13 11:53:02 +02:00
Ghostkeeper
2eedc96f36
Convert to Doxygen documentation
Like the rest of Cura and Uranium.
2018-06-11 15:06:48 +02:00
Diego Prado Gesto
a6815e7c61 CURA-5330 Add typing to Backup 2018-06-08 16:31:43 +02:00
ChrisTerBeke
809cab4ea5
Cleanup for cfd1b7b813ccdac76c623243a03633b2059d9a0e 2018-05-23 19:18:11 +02:00
ChrisTerBeke
2bbcb2dd7d Save settings before moving config file on Linux 2018-05-22 17:45:30 +02:00
ChrisTerBeke
a20de3581a Add info message when failed because of version mismatch 2018-05-18 10:08:00 +02:00
ChrisTerBeke
a0d3dae920 Do not allow restore different version 2018-05-18 10:07:20 +02:00
ChrisTerBeke
7b3f334678 Fix ignored files for Windows 2018-05-17 15:07:28 +02:00
Diego Prado Gesto
aa07de45ed Start fixing restore on Windows 2018-05-17 12:13:01 +02:00
ChrisTerBeke
9410f93dbf Remove unused import 2018-05-17 10:16:13 +02:00
ChrisTerBeke
8b0346e11b For now just ignore locked files on windows 2018-05-17 10:15:11 +02:00
ChrisTerBeke
f00459e4cc revert 2018-05-17 09:32:18 +02:00
ChrisTerBeke
fb40ea13cc Try onerror 2018-05-17 09:25:03 +02:00
ChrisTerBeke
eb436a8b0e Ignore permission error on Windows when trying to remove log file 2018-05-17 09:13:55 +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
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
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
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
a4882d8f83 Fixes for archiving paths in backup, fake meta data 2018-05-08 11:46:09 +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