Enhancement #3152
Phone Home: change default checkbox selection
Status: | CLOSED | Start date: | ||
---|---|---|---|---|
Priority: | Low | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-phonehome | |||
Target version: | v6.6 | |||
Resolution: | NEEDINFO: | No |
Description
You could configure phone home during the configuration wizard BUT checkbox is setted on "No, thanks" by default
After this poll we decided to change on "YES - contribute to usage statistics"
http://community.nethserver.org/t/closed-poll-phone-home-disabled-or-enabled-by-default/569
Associated revisions
Change default db status to enabled. Refs #3152
History
#1 Updated by Giacomo Sanchietti about 6 years ago
- Category set to nethserver-phonehome
- Status changed from NEW to TRIAGED
- Priority changed from Normal to Low
- Target version set to v6.6
- % Done changed from 0 to 20
#2 Updated by Giacomo Sanchietti about 6 years ago
- Status changed from TRIAGED to ON_DEV
- Assignee set to Giacomo Sanchietti
- % Done changed from 20 to 30
#3 Updated by Giacomo Sanchietti about 6 years ago
- Status changed from ON_DEV to MODIFIED
- % Done changed from 30 to 60
#4 Updated by Giacomo Sanchietti about 6 years ago
- Status changed from MODIFIED to ON_QA
- Assignee deleted (
Giacomo Sanchietti) - % Done changed from 60 to 70
- nethserver-phonehome-1.1.0-1.1.g4fbdc7f.ns6.noarch.rpm
- On a new installation check the status value is enabled:
config getprop phone-home status
#5 Updated by dz0 0te about 6 years ago
- Assignee set to dz0 0te
#6 Updated by dz0 0te about 6 years ago
- Status changed from ON_QA to TRIAGED
- Assignee deleted (
dz0 0te) - % Done changed from 70 to 20
The status value remains disabled.
Installed ns6.6 + full updates (no login from webgui)
$ config getprop phone-home status
disabled
$ yum install --enablerepo=nethserver-testing nethserver-phonehome
installed nethserver-phonehome-1.1.0-1.1g4fbdc7f.ns6.noarch
$ config getprop phone-home status
disabled
$ reboot
$ config getprop phone-home status
disabled
Frome webgui First Wizard from: disabled as default
#7 Updated by Giacomo Sanchietti about 6 years ago
- Status changed from TRIAGED to MODIFIED
- % Done changed from 20 to 60
#8 Updated by Giacomo Sanchietti about 6 years ago
- Status changed from MODIFIED to ON_QA
- % Done changed from 60 to 70
Reported tests don't show a wrong behavior.
Updating an installation where the package is already installed, doesn't change the current value.
You can check the default value by installing the package on machine without nethserver-phonehome or you can simulate it by deleting the key.
More info on db: http://docs.nethserver.org/projects/nethserver-devel/en/latest/databases.html#database-initialization
My bad, I will try to write down a better test case.
Test case 1: simulation of new install- On a clean machine, remove the phone home key:
config delete phone-home
- Install the new package:
yum --enablerepo=nethserver-testing install nethserver-phonehome
- Check the value (must be set to enabled):
config getprop phone-home status
- Make sure the wizard is started after login using this command:
config setprop httpd-admin ForcedLoginModule FirstConfigWiz
- Open the web interface and login
- Check the default value inside the wizard is "Contribute to usage statistics!"
- Disable phone-home:
config setprop phone-home status disabled
- Update the package:
yum --enablerepo=nethserver-testing install nethserver-phonehome
- The status value MUST remain disabled since we have to respect the user choice
config getprop phone-home status
#9 Updated by dz0 0te about 6 years ago
- Assignee set to dz0 0te
#10 Updated by dz0 0te about 6 years ago
- Status changed from ON_QA to VERIFIED
- Assignee deleted (
dz0 0te) - % Done changed from 70 to 90
i'm sorry for previous test, I did not understand that the update doesn't have to change the current status (rightly).
Test case 1: simulation of new install
- All works as expected. Default is enabled from shell and web
Test case 2: updated installation
-OK. The status value remains disabled after the update
#11 Updated by Giacomo Sanchietti about 6 years ago
- Status changed from VERIFIED to CLOSED
- % Done changed from 90 to 100
- nethserver-phonehome-1.1.1-1.ns6.noarch.rpm