Commit graph

25680 commits

Author SHA1 Message Date
Jelle Spijker
9406d454d4
Merge pull request #10003 from Patola/4.10
Updated pt_BR strings for Cura 4.10.
2021-06-25 14:06:07 +02:00
Konstantinos Karmas
102e66cf50 Remove empty plurals from 4.10 translations 2021-06-25 13:42:27 +02:00
Konstantinos Karmas
b1e79f79d4 Add lionbridge translations for 4.10
* de_DE
* es_ED
* fr_FR
* it_IT
* ja_JP
* ko_KR
* nl_NL
* pt_PT
* ru_RU
* tr_TR
* zh_CN
2021-06-25 13:22:26 +02:00
Konstantinos Karmas
d35f018729 Prevent exception being logged if no backups window was created
CURA-8313
2021-06-25 09:52:48 +02:00
Konstantinos Karmas
4435a10f9d Revert "Show warning when restoring backup failed"
We decided to add the warning message in a separate ticket for 4.11.

This reverts commit 584a387deb.
2021-06-25 09:22:12 +02:00
Jelle Spijker
9a27a63b7e
Merge pull request #10031 from Ultimaker/CURA-8313_Fail_gracefully_when_a_file_is_in_use_while_restoring_the_backup
CURA-8313: Ignore files-in-use while restoring a backup
2021-06-25 08:48:28 +02:00
jelle Spijker
584a387deb Show warning when restoring backup failed
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-25 08:24:06 +02:00
Konstantinos Karmas
4fe199ccc7 Ignore files-in-use while restoring a backup
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-24 17:26:57 +02:00
Ghostkeeper
4d29de4579
Revert CURA-8055 in the 4.10 branch. This should not have been merged in there.
Revert "Change file extension to .umm"

This reverts commit 56db7f7144.

Revert "Re-enable compression"

This reverts commit 62bc9be22b.

Revert "Add documentation"

This reverts commit e9031f1aff.

Revert "Fix writing bytes to string-stream"

This reverts commit 66b2825a66.

Revert "Hide button entirely if no export is available"

This reverts commit ec727e1068.

Revert "Basic implementation of exporting all materials in a .zip archive"

This reverts commit bdcaef134f.

Revert "Implement default path for exporting all materials"

This reverts commit e66783664b.

Revert "Implement a sync button and file dialogue to export all materials"

This reverts commit abba3bdd10.

Revert "Add notion of whether printers support the material export archive"

This reverts commit f436cb8e7b.
2021-06-24 14:15:54 +02:00
Patola
365808e6bc
changed translation of Digital Library
changed it to just Digital Library as per Ruben's request
2021-06-24 11:17:04 +02:00
Evangelos Trantos
aabbdd2040
Merge pull request #10023 from Ultimaker/CURA-8332_Cura_crashes_when_access_to_keyring_is_denied
CURA-8332: Cura crashes when access to keyring is denied
2021-06-23 15:13:23 +02:00
Jaime van Kessel
c7ce0f2236
Merge branch 'CURA-8313_Restore_backup_messes_configurations' of github.com:Ultimaker/Cura into 4.10 2021-06-23 13:32:46 +02:00
Konstantinos Karmas
ceca0c417a Catch the KeyringLocked also when setting the token in the keyring
CURA-8332
2021-06-23 11:22:12 +02:00
Konstantinos Karmas
8ade68dbef Catch the KeyringLocked error instead of the MacOS specific
Turns out that when the KeychainDenied error is raised, it is being caught by the macOS keyring api and the non-macOS-specific KeyringLocked error is raised instead, so we need to catch this one.

CURA-8332
2021-06-23 11:20:35 +02:00
Konstantinos Karmas
bcd44b8b6f Process events while extracting the downloaded backup
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-22 17:01:36 +02:00
Konstantinos Karmas
4f5e055cd8 Show the backup item as busy while it is being restored
Previously, after pressing the "Restore" button of a backup, there was no indication about it being restored. This commit changes that by making the "Restore" button of that backup display the busy rotating wheel.

CURA-8313
2021-06-22 16:33:32 +02:00
Konstantinos Karmas
51de50cd05 Hide the backup window when the application is shutting down
CURA-8313
2021-06-22 16:31:37 +02:00
Konstantinos Karmas
b1ee6d3d22 Revert "Hide the backup window when the application is shutting down"
This reverts commit 32eac86999.
2021-06-22 16:29:52 +02:00
Konstantinos Karmas
32eac86999 Hide the backup window when the application is shutting down
CURA-8313
2021-06-22 16:24:43 +02:00
Konstantinos Karmas
7c72e84215 Read preferences from new restored configs
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-22 15:16:13 +02:00
Jaime van Kessel
4479cd8610
Merge pull request #10001 from sustmi/czech-translations-4.10
Czech translations for v4.10
2021-06-22 15:14:54 +02:00
Ghostkeeper
3331b7c267
Merge branch 'CURA-8332_Dont_crash_if_keyring_access_is_denied_on_mac' into 4.10 2021-06-21 17:36:06 +02:00
Konstantinos Karmas
f62a403f28 Really fix the mypy issue
Hopefully

CURA-8332
2021-06-21 17:20:36 +02:00
Konstantinos Karmas
4a8b5ae61e Fix mypy issue
CURA-8332
2021-06-21 17:07:36 +02:00
Konstantinos Karmas
9fd0ac333e Don't check against generic exception
Define the KeychainDenied exception locally in non-Mac operating systems.

CURA-8332
2021-06-21 16:47:47 +02:00
Konstantinos Karmas
502bdda8ea Fix reference before assignment
Fixes sentry issue CURA-2M1.
2021-06-21 16:34:01 +02:00
Konstantinos Karmas
7785142831 Log info instead of exception when keyring is denied on Mac
CURA-8332
2021-06-21 16:14:48 +02:00
Konstantinos Karmas
c3782c9468 Check for KeychainDenied Exception only on OSX
CURA-8332
2021-06-21 15:40:18 +02:00
Konstantinos Karmas
3ae59c5bf4 Merge branch '4.10' of https://github.com/Ultimaker/Cura into 4.10 2021-06-21 15:13:18 +02:00
Konstantinos Karmas
50d9b1284c Don't log sentry issues when backup fails due to size
We do not consider this necessary since it is not a crash.
2021-06-21 15:13:03 +02:00
Jaime van Kessel
84052d496f
Merge pull request #10011 from Ultimaker/CURA-8334_Fix_tooltip_arrow_showing_in_Manage_printers_button
CURA-8334: Don't draw tooltip background if height is 0
2021-06-21 15:05:31 +02:00
freejoe
5a5e913f57 Change adhesion_type to 'raft';
Change travel_speed to 65mm/s for LKx printers;
2021-06-21 13:45:28 +02:00
Konstantinos Karmas
06b0d12844 Don't draw tooltip background if height is 0
In some buttons (specifically, the "Manage printers" button), the tooltip arrow is being drawn even though the tooltip text is empty. This commit fixes that by making sure that the background rectangle (PointingRectangle) of the tooltip is not be visible if the height of the tooltip is 0.

CURA-8334
2021-06-21 13:24:22 +02:00
Konstantinos Karmas
951c656096 Import they KeychainDenied exception only on Mac
CURA-8332
2021-06-21 10:55:22 +02:00
Konstantinos Karmas
c1618565ea Don't crash if keyring access is denied on MacOS
CURA-8332
2021-06-21 10:47:53 +02:00
Cláudio 'Patola' Sampaio
16cdeae240 Updated pt_BR strings for Cura 4.10 2021-06-19 06:38:43 +02:00
Cláudio 'Patola' Sampaio
6bf1b358da Updated pt_BR strings for Cura 4.10 2021-06-19 06:37:06 +02:00
Miroslav Sustek
856de59dec Add missing Czech translations for Cura 4.10 + fix "Top View" translation 2021-06-18 19:29:07 +02:00
fvrmr
cfe395460f Update 0.png
Changed img for page 0
credits to img @jellespijker
2021-06-18 13:01:12 +02:00
Remco Burema
e85498edda
Small change-log tweaks for 4.10.beta 2021-06-17 18:52:07 +02:00
fvrmr
8de16deec3
Write release notes and update whats new pages
Release notes 4.10 beta
Update whats new pages and images.
2021-06-17 18:40:59 +02:00
Remco Burema
1bd6b3f091
Merge pull request #9991 from Ultimaker/CURA-8313
Re-enable backing up of plugins
2021-06-17 18:28:37 +02:00
Jaime van Kessel
ee16f61d65
Add missing typing
CURA-8313
2021-06-17 16:21:01 +02:00
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
Konstantinos Karmas
29099b5690
Merge pull request #9990 from Ultimaker/CURA-8290_whats_new_text
Increased the height of the welcome wizard screen.
2021-06-17 15:13:50 +02:00
jelle Spijker
abc76e593a Increased the height of the welcome wizard screen.
Discussed with UX what the best approach would be.
Both came to the conclusion that this is the simplest
and more aesthetic approach.

The extra white space at the bottom and height of the
first screen is still acceptable according to UX.

Contributes to CURA-8290_whats_new_text
2021-06-17 14:41:56 +02:00
Ghostkeeper
87c28299fb
List VersionUpgrade49to410 in bundled packages
That way it properly shows as a bundled package in the list of installed plug-ins.
2021-06-17 12:07:09 +02:00
Remco Burema
8aa071056b
Now unused API field only took integers originally.
We want to keep it this way so people can still make plugins work for older versions of Cura, like 3.6, where the 'api' field with just a single major version, instead of the 'supported_sdk_versions', which can be either a version-string like '7.6.0' or a list of version strings.
2021-06-17 11:15:33 +02:00
Ghostkeeper
ddfcc94649
Merge branch 'CURA-8320_update_sdk' into 4.10 2021-06-16 16:45:37 +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