Ghostkeeper
|
9ab41c062b
Handle encoding errors in back-up zips
|
3 years ago |
Ghostkeeper
|
a1ecea020c
Catch errors when backing up the preferences file
|
3 years ago |
Jelle Spijker
|
2263969d5f
Updated message with message types
|
3 years ago |
Jaime van Kessel
|
900db57f0f
Update messages to use the message_types
|
3 years ago |
Konstantinos Karmas
|
4435a10f9d
Revert "Show warning when restoring backup failed"
|
3 years ago |
jelle Spijker
|
584a387deb
Show warning when restoring backup failed
|
3 years ago |
Konstantinos Karmas
|
4fe199ccc7
Ignore files-in-use while restoring a backup
|
3 years ago |
Konstantinos Karmas
|
bcd44b8b6f
Process events while extracting the downloaded backup
|
3 years ago |
Konstantinos Karmas
|
7c72e84215
Read preferences from new restored configs
|
3 years ago |
Jaime van Kessel
|
ee16f61d65
Add missing typing
|
3 years ago |
Jaime van Kessel
|
40a981b902
Re-enable the backing up of plugins
|
3 years ago |
Remco Burema
|
4fc43c2b32
Compare version-objects, not strings.
|
3 years ago |
Jaime van Kessel
|
2d572eef7f
No longer include plugins in the backup
|
3 years ago |
Kostas Karmas
|
7e98fb7fb0
Fix crashing while restoring a backup file with the wrong encoding
|
3 years ago |
Jelle Spijker
|
3fd3fd7c7d
Obfuscate sensitive preference data from the back-up
|
3 years ago |
Ghostkeeper
|
c7b960edfa
Don't send -1 as profile count
|
4 years ago |
Ghostkeeper
|
79cc6ec897
Also report failure if the file system can't handle the archive contents
|
4 years ago |
Nino van Hooff
|
89f0970a88
Remove trailing whitespace from Python files
|
4 years ago |
Jelle Spijker
|
d69bf84424
Updated comments in Backup
|
4 years ago |
Remco Burema
|
a03a2885b6
Check if main config file is in backup zip.
|
4 years ago |
Jaime van Kessel
|
1c9eab6b2b
Prevent crashes when backup fails to be restored
|
5 years ago |
Jaime van Kessel
|
8acafe09f6
No longer prevent old versions from being restored in backup
|
5 years ago |
Ghostkeeper
|
5469613c17
Don't fail the samefile check if second file didn't exist
|
6 years ago |
Ghostkeeper
|
c9eb57cead
Don't copy preference file to the same location
|
6 years ago |
ChrisTerBeke
|
acb7df710c
Fix getting cura application instance
|
6 years ago |
Lipu Fei
|
c04c7654c1
Make Backup._application private
|
6 years ago |
Lipu Fei
|
6e46772170
Fix imports in Backup
|
6 years ago |
Ghostkeeper
|
c9480f2f2b
Add types for backup metadata
|
6 years ago |
Diego Prado Gesto
|
554a3fd908
Merge branch 'master' into mypy_fixes
|
6 years ago |
Ghostkeeper
|
2eedc96f36
Convert to Doxygen documentation
|
6 years ago |
Diego Prado Gesto
|
a6815e7c61
CURA-5330 Add typing to Backup
|
6 years ago |
ChrisTerBeke
|
809cab4ea5
Cleanup for cfd1b7b813ccdac76c623243a03633b2059d9a0e
|
6 years ago |
ChrisTerBeke
|
2bbcb2dd7d
Save settings before moving config file on Linux
|
6 years ago |
ChrisTerBeke
|
a20de3581a
Add info message when failed because of version mismatch
|
6 years ago |
ChrisTerBeke
|
a0d3dae920
Do not allow restore different version
|
6 years ago |
ChrisTerBeke
|
7b3f334678
Fix ignored files for Windows
|
6 years ago |
Diego Prado Gesto
|
aa07de45ed
Start fixing restore on Windows
|
6 years ago |
ChrisTerBeke
|
9410f93dbf
Remove unused import
|
6 years ago |
ChrisTerBeke
|
8b0346e11b
For now just ignore locked files on windows
|
6 years ago |
ChrisTerBeke
|
f00459e4cc
revert
|
6 years ago |
ChrisTerBeke
|
fb40ea13cc
Try onerror
|
6 years ago |
ChrisTerBeke
|
eb436a8b0e
Ignore permission error on Windows when trying to remove log file
|
6 years ago |
ChrisTerBeke
|
2ed4b1b014
Fixes for restoring preferences on Linux
|
6 years ago |
ChrisTerBeke
|
30d66fb8de
Copy preferences under Linux to add them to backup, notification messages
|
6 years ago |
ChrisTerBeke
|
2742d61f9b
Add TODO for later
|
6 years ago |
ChrisTerBeke
|
4429b5b5c1
Count backup items for meta data, small fixes
|
6 years ago |
ChrisTerBeke
|
a7342f4619
Do not safe data after restoring backup
|
6 years ago |
ChrisTerBeke
|
79cebca9f0
Rudimentary restore functionality
|
6 years ago |
ChrisTerBeke
|
703e52c0c7
Ignore cura.cfg in the backups as it might contain secret data from plugins
|
6 years ago |
ChrisTerBeke
|
c827703417
Fix ignoring files
|
6 years ago |