90 Commits

Author SHA1 Message Date
Ghostkeeper
c7d7dd11d1
Merge branch 'master' into PyQt6_upgrade
Conflicts:
	cura/PlatformPhysics.py -> Removed shapely on master, while QTimer import got updated to Qt6.
	plugins/Toolbox -> Entire folder is deleted in master, but it was updated to Qt6 here. This can all be removed.
2022-02-21 11:52:28 +01:00
Gabriel Féron
aad41807c3
Remove unused import of sentry_sdk 2022-01-11 20:28:41 +01:00
Jaime van Kessel
3bfea5b970 Ensure that stored log lines are sent to sentry if they haven't already been logged
CURA-8760
2022-01-03 14:10:36 +01:00
Remco Burema
20b435af76
Qt5->Qt6: More renamed stuff.
part of CURA-8591
2021-12-29 11:18:49 +01:00
Remco Burema
9d7b1e49ee
Qt5->Qt6: Make CrashHandler window show up again.
part of CURA-8591
2021-12-29 09:30:48 +01:00
Remco Burema
abe7c1bf7f
Search/replace Qt5->Qt6.
part of upgrading Qt to v6.2: CURA-8591
2021-12-28 14:46:02 +01:00
Ghostkeeper
59669f6bad
Apply bitmask to user scope
As discussed, this is a method to prevent leaking personally identifiable information through crash reports, while still keeping the useful information for the developers on how widely spread the crashes are.
2020-09-08 02:00:58 +02:00
Remco Burema
30ad6e1445
On crash report unbundled plugins + version numbers.
3T-sessions have their own internal tickets now! See CURA-7509 for this one.
2020-06-12 18:39:18 +02:00
Nino van Hooff
98587a9008
Merge pull request #7551 from Ultimaker/doxygen_to_restructuredtext_comments
Converted doxygen style comments to reStructuredText style
2020-05-29 16:46:25 +02:00
Nino van Hooff
89f0970a88 Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
Remco Burema
8bbb69300c
Fix anonymizing home directory if path contains double-backslash. 2020-05-29 12:38:42 +02:00
Jelle Spijker
6aedab78dc
Converted comments in dir Cura/cura to rst style
Converted doxygen style comments to reStructuredText style in the files found in Cura/cura directory using the script dox_2_rst.py (provided in the Uranium repo). Comments were manually checked and changed if needed.
2020-04-21 16:58:45 +02:00
Ghostkeeper
a1438e91d0
Merge branch '4.5'
Conflicts:
	cura_app.py -> Due to moving some imports around.
2020-02-25 12:07:47 +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
Dimitriovski
a4a076ea5c
Removed the user input from the CrashHandler as we are not using it for sending that data to Sentry
CURA-7223
2020-02-17 12:02:52 +01:00
Jaime van Kessel
e74f049142
Fix bunch of issues found by pylint 2020-01-10 16:37:46 +01:00
Thomas Karl Pietrowski
ba5a0b0085 SentrySDK: Turn on deep integration on demand
Only whenever the sentry_sdk module is there functions of this module will be used.
The only changes, which were needed to be made, are done on cura_app.py and cura.CrashHandler.
Whenever the module is not available, it's functions will be omitted.

The if-clauses could happen earlier, but this at least the bare minimum, and, to be honest, on Ultimaker's distribution it won't speed up anything.
I expect the if-clause to take the same amount of runtime sooner or later. The check is the same and it should be on Ultimaker's distribution always be "True".

Signed-off-by: Thomas Karl Pietrowski <thopiekar@gmail.com> (github: thopiekar)
2020-01-02 22:22:44 +01:00
Jaime van Kessel
0295113b31
Add user (identified by MAC) & ensure that no personal info is in server_name 2019-12-19 11:23:39 +01:00
Jaime van Kessel
c15599f1c4
Add some extra info to crash handler screen 2019-12-16 11:23:12 +01:00
Jaime van Kessel
8fa6239365
Fix spelling mistake 2019-12-16 11:08:09 +01:00
Jaime van Kessel
157a25a992
Fix minor codestyle issues 2019-12-16 11:06:48 +01:00
Remco Burema
76401d78a9
Sentry: Add locale (both cura and os) to tags. 2019-12-13 16:53:17 +01:00
Jaime van Kessel
028a60318c
Add extra tag if crash was during startup or not 2019-11-22 15:43:45 +01:00
Jaime van Kessel
466c90ca6c
Add some extra context info to the crashes 2019-11-22 14:41:54 +01:00
Jaime van Kessel
c7649e3db1
Add some extra tags to make crash reports more traceable 2019-11-22 14:04:35 +01:00
Jaime van Kessel
23057f786f
Add initial stubs for sentry logging 2019-11-22 12:59:05 +01:00
Lipu Fei
6b93c97a5e Use certifi for uploading crash reports
CURA-6698
2019-08-14 14:55:36 +02:00
Remco Burema
4813ff0bb7 Ask users to write English in crash-report. 2019-05-17 10:37:25 +02:00
Aleksei S
e8cf9e034d Catch All Exception except: SystemExit, KeyboardInterrupt, GeneratorException
CURA-5939
2018-12-06 13:41:50 +01:00
Ghostkeeper
fce703536b
Move factory reset to Uranium
This way it can be called from other crash handling routines there too, such as ConfigurationErrorMessage which may be triggered by arbitrary configuration errors in Uranium.

Contributes to issue CURA-5045.
2018-03-28 08:43:46 +02:00
Ghostkeeper
2214a5f40a
Remove duplicate imports
Contributes to issue CURA-5045.
2018-03-27 16:30:10 +02:00
Ghostkeeper
da0d7a25c3
Remove semicolon
What is this? Java???

Contributes to issue CURA-5045.
2018-03-27 16:02:43 +02:00
Mark
e2478b636a Typo 2018-03-22 09:49:22 +01:00
Mark
46e53ff0c3 Clarify text
CURA-4833
2018-03-21 10:26:23 +01:00
Ghostkeeper
5d2e98cdd4
Translate to American English
The spelling in AmE is with a Z.
2018-03-09 15:55:27 +01:00
Ghostkeeper
71afbba789
Merge branch '3.2' 2018-03-09 15:36:51 +01:00
fieldOfView
51062a4784 Add a button to open the configuration folder. 2018-02-19 15:30:39 +01:00
fieldOfView
ca3dd511a8 Add a button to open the configuration folder. 2018-02-15 16:39:37 +01:00
Mark
c508e77fe2 Improved the text 2018-02-15 15:49:06 +01:00
Jack Ha
8bb70d6cc2 CURA-4934 fix crash handler cleanup in some rare case 2018-02-08 14:19:47 +01:00
Lipu Fei
8ffd5442e7 Fix indexing error in CrashHandler
CURA-4895
2018-02-06 10:53:12 +01:00
Lipu Fei
4438e06416
Remove TODO
CURA-4895
2018-02-05 17:21:51 +01:00
Diego Prado Gesto
a85a720184 CURA-4895 Close the splash screen when the early crash dialog appears. Increase the size of 'show detailed crash report button' 2018-02-05 17:17:46 +01:00
Diego Prado Gesto
383319d631 CURA-4895 Correctly format the date for the backup file 2018-02-05 11:28:17 +01:00
Lipu Fei
b59eadce1c Fix AutoSave crashing the early crash dialog
CURA-4895
2018-02-05 11:28:16 +01:00
Lipu Fei
547baff239 Always show crash dialog
CURA-4895
2018-02-05 11:27:40 +01:00
Lipu Fei
30b1e74881 Fixes for early crash dialog
CURA-4895
2018-02-05 11:26:38 +01:00