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
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
Ghostkeeper
b549d20ec5
Document which stack layer is which container type
...
Contributes to issue CURA-7024.
2020-02-04 15:17:31 +01:00
Ghostkeeper
232b59bfb6
Merge branch 'master' into CURA-7024_remove_hidden_stacks
2020-02-04 14:25:22 +01:00
Ghostkeeper
ccc295e2bc
Use sets for folder names from the start
...
We use a set here because we want to remove the current version from it later on. However if we change the variable to contain a set instead of a list, MyPy will start complaining that we change the type.
Contributes to issue CURA-7024.
2020-02-04 14:20:08 +01:00
Ghostkeeper
5a7ec98f1e
Slightly improve wording
...
'Layer data' is a bit technical.
2020-02-04 14:14:23 +01:00
Ghostkeeper
f38dc82ac8
Remove hidden stacks and their dependencies
...
This searches for stacks that are hidden and removes them, and also removes any extruder stacks that depended on those hidden global stacks and any user and quality changes profiles referred to by those removed stacks.
Contributes to issue CURA-7024.
2020-02-04 14:12:57 +01:00
Ghostkeeper
bb73831889
Cura directory may be empty
...
Contributes to issue CURA-7024.
2020-02-04 14:11:41 +01:00
Jaime van Kessel
15d83cc6da
Fix typing issue
2020-02-04 13:38:52 +01:00
Ghostkeeper
94e97aff37
Add a function that only gets called when upgrading from version 4.4
...
Contributes to issue CURA-7024.
2020-02-04 13:02:07 +01:00
Ghostkeeper
fa44da3155
Slightly improve wording
...
'Layer data' is a bit technical.
2020-02-04 11:46:29 +01:00
konskarm
35903e7dd3
Merge pull request #6988 from Ultimaker/CURA-7071
...
CURA-7071/Added option to redirect to Web MP from Cura MP
2020-02-04 11:02:30 +01:00
Matt Jani
35aadad747
Merge branch 'master' of https://github.com/Ultimaker/Cura
2020-02-03 16:55:57 +01:00
Ghostkeeper
66e2ca6aa5
Merge branch 'CURA-7099_sync_sideloaded_plugins'
2020-02-03 16:12:56 +01:00
Matt Jani
81429f8985
Cleaned up timelapse post processing script (issue #6730 )
2020-02-03 15:19:11 +01:00
Jaime van Kessel
1fc0705c31
Remove a bit of over verbose logging
...
It would put the content of the entire licence file into the log,
which seems a bit much to me.
2020-02-03 13:20:08 +01:00
Jaime van Kessel
42f7cead4d
Merge branch 'CURA-7155_confusing_license_dialog_page_count' of github.com:Ultimaker/Cura
2020-02-03 13:16:23 +01:00