Commit Graph

26 Commits

Author SHA1 Message Date
Lukas Matena
c655aa7cc5 SendSystemInfo: Use GET instead of ping to check internet connection 2021-10-18 15:34:51 +02:00
Lukas Matena
0ec56738e5 SendSystemInfo macOS fixes (get system language, fix ping) 2021-10-18 15:34:51 +02:00
Lukas Matena
bda6a60035 SendSystemInfo: Reporting RAM in GiB 2021-10-18 15:34:51 +02:00
Lukas Matena
9b314f9f0d Several fixes and improvements in SendSystemInfoDialog:
- do not show memory in MB, show it in GiB rounded to one decimal place
- when sending fails, the HTTP error code is not presented to the user (it is logged though)
- when the user cancels the sending, no extra "sending cancelled" message is shown
- in case there is no internet connection, the dialog is not shown at all
- a 6 second timeout for a case that connection is lost during sending
- the dialog is only shown when the wizard does not show on startup
2021-10-18 15:34:51 +02:00
Lukas Matena
7c51188a22 SendSystemInfo: Trim leading/trailing whitespace from all the values 2021-10-18 15:34:51 +02:00
Lukas Matena
3da9b2a127 An attempt to fix the SendSystemInfo dialog on GTK3 2021-10-18 15:34:51 +02:00
Lukas Matena
552afcc63d SendSystemInfo: Open the dialog based on appconfig, even in alphas 2021-10-18 15:34:51 +02:00
Lukas Matena
65f722c97c SendSystemInfo: Only get the scaling on Win, not on mac or Linux 2021-10-18 15:34:51 +02:00
Lukas Matena
b087ba7089 SendSystemInfo: Use /proc/info instead on lscpu on Linux,
center dialog after resizing
2021-10-18 15:34:51 +02:00
Lukas Matena
05ee30ed29 Show PrusaSlicer logo in the SendSystemInfoDialog 2021-10-05 15:36:00 +02:00
Lukas Matena
05fd0aec04 Disable the dialog before merge with master 2021-10-05 15:09:53 +02:00
Lukas Matena
207a4ed43e This reverts commits a186017 and 2423e7f 2021-10-05 15:09:53 +02:00
Lukas Matena
6a678be95a SendSystemInfo: Return number of logical cores on Apple 2021-10-05 15:09:53 +02:00
Lukas Matena
48494c1df6 REVERT LATER: More debugging logging 2021-10-05 15:09:53 +02:00
Lukas Matena
d19c94b7a2 Use /etc/machine-id as unique id on Linux 2021-10-05 15:09:53 +02:00
Lukas Matena
49ec05ede8 Use hardware UUID as unique id on Apple 2021-10-05 15:09:53 +02:00
Lukas Matena
cbdd63375d Use MAC address as a base of unique system ID on Windows 2021-10-05 15:09:53 +02:00
Lukas Matena
1c730ef18e SendSystemInfoDialog: Collect CPU info on Windows 2021-10-05 15:09:53 +02:00
Lukas Matena
9435ba6637 SendSystemInfoDialog now opens through CallAfter, GL extensions are sorted 2021-10-05 15:09:53 +02:00
Lukas Matena
d3bd14c377 Added some more info (wxWidgets, gtk, Linux distro, CPU info, monitors) 2021-10-05 15:09:52 +02:00
Lukas Matena
510ae9e526 REVERT LATER: Something for debugging 2021-10-05 15:09:52 +02:00
Lukas Matena
7394928894 SendSystemInfo: do not close the dialog when failed/cancelled, set content-type to json 2021-10-05 15:09:52 +02:00
Lukas Matena
3bb1c8ab40 SendSystemInfoDialog: Actual sending of the info 2021-10-05 15:09:52 +02:00
Lukas Matena
26a85e975e SendSystemInfoDialog: Use HTML for formatting 2021-10-05 15:09:52 +02:00
YuSanka
43deb8a500 SendSystemInfoDialog: Layout adjustments 2021-10-05 15:09:52 +02:00
Lukas Matena
68c74c6259 First draft of SendSystemInfoDialog 2021-10-05 15:09:52 +02:00