Jaime van Kessel
1b65e47bea
Move imports of Arcus & Savitar up
...
This was needed due to the crashhandler being imported
CURA-7245
2020-02-24 17:08:19 +01:00
Jaime van Kessel
77f0ff588f
Merge branch 'CURA-7245_sentry_prune_more_user_data' of github.com:Ultimaker/Cura into 4.5
2020-02-24 17:01:29 +01:00
Jaime van Kessel
9c0e6f9338
Apply suggestions from code review
...
Codestyle!
2020-02-24 16:57:37 +01:00
Nino van Hooff
94e9753b6c
Update cura/CrashHandler.py
...
Import Any and re-order if-statements for efficiency
CURA-7245
2020-02-24 16:26:32 +01:00
Nino van Hooff
2cd6149ef0
Update cura/CrashHandler.py
...
Add typing to pruneSensitiveData
Co-Authored-By: Jaime van Kessel <nallath@gmail.com>
2020-02-24 16:14:12 +01:00
Nino van Hooff
62dfadecdf
Prune all sensitive data before sending it to Sentry
...
CURA-7245
2020-02-24 15:27:17 +01:00
Ghostkeeper
0dfa65bb6d
Disable Polish translation for 4.5
...
These translations weren't updated this round, so we'll disable them from the interface. The files are still available if someone else wants to translate them.
Contributes to issue CURA-7201.
2020-02-24 14:17:21 +01:00
Jaime van Kessel
610dc7f115
Merge branch '4.5' of github.com:Ultimaker/Cura into 4.5
2020-02-24 13:55:00 +01:00
Ghostkeeper
d521c245c5
Update translations for zh_TW
...
These are supplied by the community translator, Heh Ji, via e-mail.
Contributes to issue CURA-7201.
2020-02-24 13:35:05 +01:00
Ghostkeeper
734e912048
Merge branch 'CURA-7201_translations_4.5' into 4.5
2020-02-24 13:17:22 +01:00
Ghostkeeper
adee26e63d
Merge branch '4.5' of https://github.com/Patola/Cura into Patola-4.5
2020-02-24 13:14:58 +01:00
Jaime van Kessel
239a8ea3db
Revert speedup
2020-02-24 13:07:59 +01:00
Jaime van Kessel
b86658996b
Revert "Chop up the render function to make it a bit more readable"
...
This reverts commit 61a605d02be0d0f34893fa5d544111a3b0d49132.
2020-02-24 12:45:13 +01:00
Dimitriovski
9282423db1
Added lifetime=0 to the sync_message to make it stay there
2020-02-24 10:59:41 +01:00
Ghostkeeper
6dd799d042
Remove superfluous bracket
...
As found by Vandrasc.
Contributes to issue CURA-7201.
2020-02-21 16:49:45 +01:00
Ghostkeeper
3161a6ac08
Fixes discovered by PoEdit
...
Some inconsistencies with the ellipses, mostly.
There was also one line that was missing from every language. This happened because the Lionbridge import script I made doesn't properly process those.
Smartling also displayed the wrong texts to the translator sometimes. The translator didn't understand that they had to use singular for some texts, so those had to be corrected. I could correct them for every language except Turkish, so those lines are now wrong.
Contributes to issue CURA-7201.
2020-02-21 16:47:38 +01:00
Ghostkeeper
b413fc3fd8
Update translations from Lionbridge for 4.5
...
These are the new translations that we got from the translation service.
Contributes to issue CURA-7201.
2020-02-21 13:30:47 +01:00
Ghostkeeper
ed17cfafb7
Reduce minimum value warning for Anti-Ooze Retracted Position
...
For BAM and filled materials the default would give a warning position since for a filament switch it needs to retract more than for the normal print.
Done as a 5 minute fix.
2020-02-19 11:40:44 +01:00
Cláudio 'Patola' Sampaio
8735ac062a
Updated pt_BR strings for Cura 4.5
2020-02-19 08:33:24 +01:00
Ghostkeeper
e52dc56a64
Prevent crashing on PermissionError when importing http.server ( #7095 )
...
* Fix PermissionError when importing http.server
Instead of crashing, now it'll just not start the server. This means that you won't be able to receive the response from the log-in so you won't be able to log in. The browser gives an error that it can't find the page on localhost. But at least it doesn't crash.
Fixes crash CURA-3Q.
* Log an error when the HTTP server can't be started
Contributes to crash CURA-3Q.
* Indicate that types are optional
Attempt to fix the typing issue with MyPy. I can't run this locally so the CI server will have to tell me if this fixed it.
Contributes to Sentry issue CURA-3Q.
2020-02-17 17:01:11 +01:00
Jaime van Kessel
769fc8fd37
Fix crashing when material could not be found
...
See CURA-3M in sentry. It most commonly happens with the anycubic,
since it had some weird stuff with it suddenly supporting materials.
This change will make it so that no crash happens. Old profiles will still have
an empty material. This isn't really an issue, since the interface will mark this
as an error (prompting users to switch).
2020-02-17 10:57:24 +01:00
Dimitriovski
b9ff66af00
Merge pull request #7091 from Ultimaker/CURA-7200_package_zip_not_found
...
Fix LicensePresenter: reset state when presenting licenses
v4.5-beta
2020-02-11 13:43:49 +01:00
Nino van Hooff
72c1b4d10c
Fix LicensePresenter: reset state when presenting licenses
...
CURA-7200
2020-02-11 13:34:17 +01:00
Jaime van Kessel
277d730ed8
Merge branch '4.5' of github.com:Ultimaker/Cura into 4.5
2020-02-11 11:52:10 +01:00
Jaime van Kessel
70f22d04e4
Fix setting the environment for Sentry
2020-02-11 11:51:33 +01:00
ninovanhooff
8ac52e8baa
Merge pull request #7089 from Ultimaker/CURA-7207_fix_package_compatibility
...
CURA-7207_fix_package_compatibility
2020-02-11 11:27:02 +01:00
Nino van Hooff
a33cfdfba6
Simplify package compatibility checking
...
CURA-7207
2020-02-11 11:21:28 +01:00
Nino van Hooff
ea44911a98
Merge remote-tracking branch 'origin/CURA-7207_fix_package_compatibility' into CURA-7207_fix_package_compatibility
...
# Conflicts:
# plugins/Toolbox/src/CloudSync/SubscribedPackagesModel.py
2020-02-11 11:09:51 +01:00
Nino van Hooff
f78359ae76
Fix pylint typing
...
CURA-7207
2020-02-11 11:09:23 +01:00
Ghostkeeper
ea9a9d58b1
Fix typing of list of API versions
...
Contributes to issue CURA-7207.
2020-02-11 11:09:02 +01:00
Ghostkeeper
0c42b1fdea
Code style: Method names with lower camelcase
...
Contributes to issue CURA-7207.
2020-02-11 11:06:33 +01:00
Ghostkeeper
bcf4bc8138
Simplify _is_any_version_compatible
...
It now literally says: for any version, is it compatible?
Contributes to issue CURA-7207.
2020-02-11 11:02:32 +01:00
Nino van Hooff
5beba6050f
Fix api version checking
...
CURA-7207
2020-02-11 09:52:39 +01:00
Remco Burema
97106b46dd
Merge pull request #7088 from Ultimaker/CURA-7203_Fix_windows_save_to_removable_drive
...
Fix the "save to removable drive" not appearing
2020-02-11 09:51:31 +01:00
Kostas Karmas
c54c79d2db
Fix the "save to removable drive" not appearing
...
CURA-7203
2020-02-11 09:46:15 +01:00
Ghostkeeper
1bb9371d08
Merge branch 'master' of https://github.com/maukcc/Cura into maukcc-master
2020-02-10 16:40:17 +01:00
Ghostkeeper
6f707f3149
Bump SDK version number of Cura 4.5 to 7.1
...
We've added new things to our API. This allows plug-in developers to use them.
Contributes to issue CURA-7205.
2020-02-10 10:45:07 +01:00
Ghostkeeper
e6af3f3842
Update metadata of PO files
...
It's now version 4.5. Also the report address was erased again by msgmerge.
Contributes to issue CURA-7201.
2020-02-07 14:28:00 +01:00
Ghostkeeper
73aa80af4b
Update translations with to-translate texts for Cura 4.5
...
The translators will have to fill in the empty ones now.
These are generated by calling on the i18n-update-po target of CMake.
Contributes to issue CURA-7201.
2020-02-07 14:23:32 +01:00
Ghostkeeper
850f14f14a
Update translation templates for Cura 4.5
...
These are the new texts to be translated this release. Obtained by executing the extract-messages target of CMake.
Contributes to issue CURA-7201.
2020-02-07 14:21:27 +01:00
Ghostkeeper
a8ccec709f
Add test for spaces in definition IDs
...
Contributes to issue CURA-7201.
2020-02-07 13:55:24 +01:00
Ghostkeeper
a168e9f8a6
Don't use spaces in definition IDs
...
Use underscores. Spaces are encoded differently with the quote_plus function and also the translation system borks on these.
Contributes to issue CURA-7201.
2020-02-07 13:55:24 +01:00
Nino van Hooff
050ff62344
Don't show license Screen when there are no licenses to show
...
CURA-7198
2020-02-07 13:47:15 +01:00
ninovanhooff
7af847d8a3
Merge pull request #7068 from Ultimaker/CURA-6964_update_noto_sans_fonts
...
Update fonts using Google Noto Sans Fonts
2020-02-05 17:23:35 +01:00
Ghostkeeper
341e149d0e
Ignore g-code lines with syntax errors
...
Discovered while working on CURA-7145.
2020-02-05 12:52:54 +01:00
Lipu Fei
632cfeb18b
Update fonts using Google Noto Sans Fonts
...
CURA-6964
Fonts are downloaded from https://www.google.com/get/noto/#sans-lgc
with the "Condensed" fonts removed.
2020-02-05 11:25:27 +01:00
ninovanhooff
53d69f3f26
Merge pull request #7066 from Ultimaker/CURA-7024_remove_hidden_stacks
...
Remove hidden stacks in 4.4 to 4.5 version upgrade
2020-02-04 16:16:20 +01:00
Ghostkeeper
3513266549
Guard against unexpected file structures
...
We shouldn't break on that.
Contributes to issue CURA-7024.
2020-02-04 15:52:12 +01:00
Ghostkeeper
a1f3444271
Don't delete containers from plugins directory
...
Some plug-ins provide extra profiles and we don't want to check them or delete them regardless of what their content is.
Contributes to issue CURA-7024.
2020-02-04 15:46:06 +01:00
Ghostkeeper
4307942544
Also remove instance containers referred to by extruder stacks
...
Contributes to issue CURA-7024.
2020-02-04 15:33:06 +01:00