[Koha-bugs] [Bug 14608] HEA : add possibility of sharing usage statistics in Administration page and Web installer

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 28 16:21:19 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14608

--- Comment #3 from Julian FIOL <julian.fiol at biblibre.com> ---
This patch is playing with 2 sysprefs in 
Home › Administration › System preferences > Administration :

'UsageStats' which allow or not the stats sharing
=> it can take 2 values : 'share' or 'don't share'

'UsageStatsLastDisplay' which is the last time you see the message
asking you if you want to share your stats.
=> its value is free but :
- empty       means you never see the message
- 0           means you don't want to see the message
- XXXXXXXXXXX is the last time you see the message (in ms from epoch)


TEST PLAN
---------

Make a new Koha install

At the end of step 3, you should see the possibility of sharing your usage 
statistics with the community, with 3 possibilities :

- Yes   -
--------- 
--> set the 'UsageStats' syspref to "share"
This enable the stats sharing.
--> set the 'UsageStatsLastDisplay' syspref to 0
This prevent showing the message in the administration page.
You should never see it.

- Later -
---------
--> set the 'UsageStats' syspref to "don't share"
This disable the stats sharing.
--> set the 'UsageStatsLastDisplay' syspref to today's date (in ms from epoch)
You shouldn't see the message before 7 days.
Try to change your system clock to NOW+7 days, then reload the Administration
page,
you should see the message again. 

- No    -
--------- 
--> set the 'UsageStats' syspref to "don't share"
This disable the stats sharing.
--> set the 'UsageStatsLastDisplay' syspref to 0
This prevent showing the message in the administration page.
You should never see it.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list