Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-13Use dev as development versionj.spijker@ultimaker.com
Since we're no longer running from `master` branch It is more fitting to rename it to either dev or main. This version is only used when running from source when the CURA_VERSION variable isn't set while performing the `conan install` Contributes to CURA-9365
2021-11-30Don't restore files ignored with current backup policy.Remco Burema
Restoring plugins will casue a headache when (they are large and) the central storage was removed in the mean time. Since it's current policy to ignore plugins _anyway_ when backing up, the simple solution is to also just don't restore them, even if they where present to begin with. Of course this is also applied to other to-be-ignored files and folder types. should 'fix' CURA-8666
2021-09-21Handle encoding errors in back-up zipsGhostkeeper
Seems to happen when there's files in there with badly-encoded characters in the file names. Fixes Sentry issue CURA-2S7.
2021-09-20Catch errors when backing up the preferences fileGhostkeeper
The file may not exist. In fact, that may be the whole reason why people want to restore a back-up. Try it, and give an error if it fails. Fixes Sentry issue CURA-2QT.
2021-07-28Updated message with message typesJelle Spijker
Contributes to CURA-8418
2021-07-27Update messages to use the message_typesJaime van Kessel
CURA-8418
2021-06-25Revert "Show warning when restoring backup failed"Konstantinos Karmas
We decided to add the warning message in a separate ticket for 4.11. This reverts commit 584a387debec75023094db6cba84a8bf1781d6ea.
2021-06-25Show warning when restoring backup failedjelle Spijker
We now allow the backup to fail gracefully when partial files fail to be restored. But the user is not actively informed by these failures. Leaving him/her unaware of the state of his configuration folder. This commit show's a message windows, listing the failed files. Due to a string freeze at the moment we reuse the following i18n message: > The following error occurred while trying to restore a Cura backup: followed by a list of files that fails to be restored. Which is not ideal, but a sufficient warning in my opinion. At least better then being completely uninformed. Contributes to CURA-8313
2021-06-24Ignore files-in-use while restoring a backupKonstantinos Karmas
Sometimes, while a backup is being restore, one of the files in the current config folder may be still in use. This means that once the backup tries to replace this file with the one in the backup, the entire backup restoration fails and half the configuration folder has been messed up. To prevent that, we decided to ignore files that are currently in use while restoring a backup. This _may_ lead to a slightly wrong configuration (e.g. a plugin may not be restored properly), but it is an acceptable result, as the rest of the configuration folder is restored properly. CURA-8313
2021-06-22Process events while extracting the downloaded backupKonstantinos Karmas
To prevent the UI from being frozen. This way, the user knows that something is happening in the background and Cura didn't just stop working. CURA-8313
2021-06-22Read preferences from new restored configsKonstantinos Karmas
Before calling the illuminate, we need to make sure that the previous cached Preferences have been overridden by the newly restored preferences from the backup. Otherwise, the `illuminate()` function will bring back the cached preferences and the new ones from the backup will be lost. CURA-8313
2021-06-17Add missing typingJaime van Kessel
CURA-8313
2021-06-17Re-enable the backing up of pluginsJaime van Kessel
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-16Fix issue with restoring backups from 4.10Jaime van Kessel
There were some cases where issues could occur due to plugins no longer being there CURA-8313
2021-06-03Compare version-objects, not strings.Remco Burema
This would've gone so wrong if we actually released 4.10 without this, since, as a string, 4.10 is 'smaller than' 4.6 (for example), because alphanumerical-order. done as part of CURA-8269
2021-06-01Remove plugins that weren't restored in the backup from the installed listJaime van Kessel
CURA-8269
2021-06-01No longer include plugins in the backupJaime van Kessel
Backups are synced with your account anyway. Backing up the plugins means that you quickly reach the limit of the max size (250mb) that the backups allow. CURA-8269
2021-04-19Fix crashing while restoring a backup file with the wrong encodingKostas Karmas
Fixes sentry issue CURA-24R
2021-03-17Obfuscate sensitive preference data from the back-upJelle Spijker
CURA-7180 keyring storage
2020-07-21Don't send -1 as profile countGhostkeeper
The server gives an error about this and we got complaints about it. As far as we know this can only happen when users mess with their profile folders. Still, it's good to not send -1. The original implementation of this is indeed very naive, but we don't have the resources to refactor that now.
2020-06-25Also report failure if the file system can't handle the archive contentsGhostkeeper
For instance if the file name is too long for this file system, if the computer is running out of disk space or if there is a general failure to write here. Fixes Sentry issue CURA-YQ.
2020-05-29Remove trailing whitespace from Python filesNino van Hooff
2020-05-08Updated comments in BackupJelle Spijker
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-03-26Scout some documentation to docstring.Remco Burema
part of CURA-7325
2020-03-26Fix: Definitions could be partly saved between backup restore and quit.Remco Burema
part of CURA-7325
2020-01-31Check if main config file is in backup zip.Remco Burema
Prevent unpacking of possibly spoofed backups (as a last line of defence if other security has failed). Zips with partially known content are a lot harder to spoof. Thanks WhiteHats :-)
2019-05-16Prevent crashes when backup fails to be restoredJaime van Kessel
Also add a bit of logging so that we know what / how it went wrong
2019-05-16Fix backup causing a crash in specific situationsJaime van Kessel
2019-04-24Fix data saving before making a backupLipu Fei
CURA-6471
2019-04-04No longer prevent old versions from being restored in backupJaime van Kessel
CURA-5983
2018-11-26Don't fail the samefile check if second file didn't existGhostkeeper
If the backup file didn't exist but the original did, then apparently they are not the same file so the copy should be allowed.
2018-11-26Don't copy preference file to the same locationGhostkeeper
This crashes Cura on start-up for some people.
2018-10-01Fix getting cura application instanceChrisTerBeke
2018-09-28Make Backup._application privateLipu Fei
2018-09-28Fix missing argumentLipu Fei
2018-09-28Fix refactor and testsLipu Fei
2018-09-28Fix imports in BackupLipu Fei
2018-09-28Resolve circular imports for CuraAPILipu Fei
2018-07-04Add types for backup metadataGhostkeeper
2018-06-13CURA-5330 Fix typing in the BackupsDiego Prado Gesto
2018-06-13Merge branch 'master' into mypy_fixesDiego Prado Gesto
Conflicts: cura/Backups/Backup.py cura/Settings/ExtruderManager.py cura/Settings/MachineManager.py
2018-06-11Convert to Doxygen documentationGhostkeeper
Like the rest of Cura and Uranium.
2018-06-08CURA-5330 Add typing to BackupDiego Prado Gesto
2018-05-24Fix init py in backups moduleChrisTerBeke
2018-05-23Cleanup for cfd1b7b813ccdac76c623243a03633b2059d9a0eChrisTerBeke
2018-05-23Fix AutoSave conflicts with BackupManagerLipu Fei
- 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-22Save settings before moving config file on LinuxChrisTerBeke
2018-05-18Add info message when failed because of version mismatchChrisTerBeke
2018-05-18Do not allow restore different versionChrisTerBeke
2018-05-17Fix ignored files for WindowsChrisTerBeke