24 Commits
Author SHA1 Message Date
OpenSauce04 478ea38584 Updated TelemetryAboutURL to no longer redirect to a 404 page 2024-02-29 09:33:18 -08:00
William Douglas 45457f4de1 Fixup lint error '(*T).Fatalf from a non-test goroutine' 2022-11-03 09:14:37 -07:00
Mark D Horn 59302346d6 linter: enable whitespace
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2020-04-24 14:53:17 -07:00
Mark D Horn 79680a63fa telemetry: Added coverage
Add fail test for bad binary path.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2020-03-25 18:30:27 -07:00
Mark D Horn 9addbc449a telemetry: Prevent error when not present
We were attempting to run the telemetry command to opt out
on the target when the binary was not present.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2020-03-25 18:30:27 -07:00
Karthik Prabhu Vinod 5244585e59 Fix missing telemetry spool dir
Signed-off-by: Karthik Prabhu Vinod <karthik.prabhu.vinod@intel.com>
2020-03-18 20:15:22 +00:00
puneetse a4bf9679fa Update TelemetryAboutURL
Documentation has moved to https://docs.01.org/clearlinux making the current URL invalid.
2020-02-19 11:08:17 -08:00
Alex Jaramillo 8e3af8152c telemetry: do not fail if bundle is not installed
This change removes the need for telemetrics bundle to be present for
the installer to work.

Signed-off-by: Alex Jaramillo <alex.v.jaramillo@intel.com>
2019-09-23 15:43:27 -07:00
Alex Jaramillo 21fb4ed6c9 telemetry: execute additional telemetry steps
This change executes opt-in when users agree to provide crash information
to the clear linux team and opt-out when users do not agree.

Signed-off-by: Alex Jaramillo <alex.v.jaramillo@intel.com>
2019-09-18 14:00:20 -07:00
Mark D Horn b86ff39669 telemetry: model: Only save when user defined
We should only store the telemetry answer when it was
user selected. This fix was needed due to the new advanced
configuration which save the temporary state.

Need to update the ister model for the new change.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-09-12 19:20:47 -07:00
Mark D Horn 142ad41f51 telemetry: tui: gui: allow user default in YAML
If the telemetry value is added to the YAML will set the default
as if the user had selected it in the UI.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-09-12 19:20:47 -07:00
Alex Jaramillo 201767721b telemetry: rework record generation
Use a new feature from telem-record-gen where the telemetry record is
generated independently of telempost daemon. This change allows to
simplify the code to interact with telemetry.

Signed-off-by: Alex Jaramillo <alex.v.jaramillo@intel.com>
2019-08-19 16:14:42 -07:00
Alex Jaramillo eb019bcd7a telemetry: Include hypervisor to telemetry payload
Include the name of the hypervisor in the telemetry payload when
installed in VM.

Signed-off-by: Alex Jaramillo <alex.v.jaramillo@intel.com>
2019-06-26 15:50:40 -07:00
Mark D Horn 29a74c2480 telemetry: Change default to no choice made
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-06-19 21:19:38 -07:00
Mark D Horn 29ea992b71 telemetry: Update the default text
Make the text more clear about the data which might be shared.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-06-19 21:19:38 -07:00
Mark D Horn d1237d1c52 network: fix to ensure an endless loop
Item flagged by security assessment software scan.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-04-23 19:14:55 -07:00
Reagan Lopez 9ee68d0a3e Initialize localization in test files
Signed-off-by: Reagan Lopez <reagan.lopez@intel.com>
2019-04-23 18:52:18 -07:00
Ikey Doherty 2f9461b2e1 gui: Initial introduction of pre-alpha installer GUI (bootstrap)
This GUI has been implemented in GTK+ and is very much a work in
progress. So far, we have a number of initial pages implemented:

 - Disk Configuration
 - Bundles
 - Keyboard
 - Language
 - Timezone
 - Telemetry

Note, some of the pages are quite ugly and basic and will need
some improvements. Additionally, the disk config page is currently
very crude, only supporting automatic installation mode.

Additionally, the use of pkexec will ignore environmental variables
for the proxy, thus, proxy support is a bust in the GUI installer.
Some OS-level work is expected to resolve this magically anyway.

There are some ugly hardcoded elements, such as relying on a system
wallpaper file for CSS, and the cooked-in CSS vs an on-disk .css file
that designers can edit and tweak locally. Note that error handling
is incredibly immature right now, resulting in a panic. Realistically
we need to show a "success" or "failure" page within a stack on the
install page to let the user know what happened, and offer the choice
of a reboot.

As a final note, the UX is still not rock solid, and will need
a design-develop feedback loop to improve. This commit represents
my initial handoff for others to jump in and vastly improve the
GUI.

Signed-off-by: Ikey Doherty <ikey.doherty@intel.com>
2019-04-19 14:25:56 -07:00
Mark D Horn 53fb6f0f8a Only archive records when telemetry is enabled
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2019-01-22 13:03:19 -08:00
Mark D Horn 55512b1bf0 Refactor the telemetry bundle into the package
Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2018-10-23 10:03:34 -07:00
Mark D Horn a2afa04ca9 Fix the OS naming
Update product name and text on install screen

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2018-10-18 17:04:55 -07:00
Mark D Horn e8b7bca288 Use Telemetry control, not system
Fixes: #68

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2018-09-21 14:19:20 -07:00
Mark D Horn 95b7efeb5e Fixes to re-enable telemetry testing
Have to run a local http server for testing local IPs
- Create a new network interface
- Update the local host file
- Spawn a HTTP server on the private ip
- Only use ip address base URL for testing

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2018-08-20 13:59:22 -07:00
Mark D Horn e84bb0e403 First Open Source push of code base
This is code is still alpha. The Text-based User Interface is
undergoing a resign of the layout before beta.

Signed-off-by: Mark D Horn <mark.d.horn@intel.com>
2018-08-13 14:14:30 -07:00