[Bug 14608] New: Hea, add possibility of sharing usage statistics in Administration page and Web installer
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14608 Bug ID: 14608 Summary: Hea, add possibility of sharing usage statistics in Administration page and Web installer Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: ASSIGNED Severity: enhancement Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: julian.fiol@biblibre.com Reporter: julian.fiol@biblibre.com QA Contact: testopia@bugs.koha-community.org Depends on: 13585 This patch add the possibility of sharing Koha usage statistics with the community on http://hea.koha-community.org/ The data sent anonymously can be find here : http://wiki.koha-community.org/wiki/KohaUsageStat_RFC#Which_data_are_sent_.3... It add a choice in the web installer to send, not send or remind later to share these stats. If you choose 'Yes', it will send anonymously stats every months. If you choose 'No', it will not send your stats and never remind you to do it. If you choose 'Later', it will remind you to make a choice in 7 days on the Administration page. This message has the same 3 possibilities : 'Yes' : it will send anonymously stats every months. 'No' : it will not send your stats and never remind you to do it. 'Later' : it will show you again this message in 7 days. If you have an already installed koha, it will show you directly the message on the Administration page with the same choices and effect than above. This patch depends on Bug 13585 - HEA - Cronjob Setup which will activate the monthly cron to actually share statistics. Referenced Bugs: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13585 [Bug 13585] HEA - Cronjob Setup -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14608 Julian FIOL <julian.fiol@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Hea, add possibility of |HEA : add possibility of |sharing usage statistics in |sharing usage statistics in |Administration page and Web |Administration page and Web |installer |installer -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14608 Julian FIOL <julian.fiol@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14608 --- Comment #1 from Julian FIOL <julian.fiol@biblibre.com> --- Created attachment 41212 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41212&action=edit Bug 14608 : Add a message on the Administration page to share statistics This patch add a message on the Administration page to share your usage statistics to hea.koha-community.org If you click on : 'Yes' : It set the 'UsageStats' syspref to 1 (activate sharing) and the 'UsageStatsLastDisplay' syspref to 0. 'Later' : It set the 'UsageStats' syspref to 0 and the 'UsageStatsLastDisplay' syspref to the today's date and it will show again the message after 7 days. 'No' : It set the 'UsageStats' syspref to 0 and the 'UsageStatsLastDisplay' syspref to 0. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14608 --- Comment #2 from Julian FIOL <julian.fiol@biblibre.com> --- Created attachment 41213 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41213&action=edit Bug 14608 : Add Hea activation in Koha Web Installer This patch add the possibility to share your usage statistics to hea.koha-community.org in the web installer. If you click on : 'Yes' : It set the 'UsageStats' syspref to 1 (activate sharing) and the 'UsageStatsLastDisplay' syspref to 0. 'Later' : It set the 'UsageStats' syspref to 0 and the 'UsageStatsLastDisplay' syspref to the today's date. A message on the Administration page will offer you again the possibility of sharing your stats in 7 days. 'No' : It set the 'UsageStats' syspref to 0 and the 'UsageStatsLastDisplay' syspref to 0. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14608 --- Comment #3 from Julian FIOL <julian.fiol@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.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14608 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@bugs.koha-c | |ommunity.org --- Comment #4 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- The new pref should be added to the updatedb (atomicupdate file). -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14608 --- Comment #5 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- The UsageStatsLastDisplay pref should be hidden (like UsageStatsID and usagestatslastupdatetime). -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14608 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Failed QA --- Comment #6 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Otherwise everything looks good. Marked as Failed QA. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14608 --- Comment #7 from Julian FIOL <julian.fiol@biblibre.com> --- Created attachment 41712 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41712&action=edit Bug 14608 : Adding the new syspref UsageStatsLastDisplay to the updatedb (atomicupdate dir) In response of Joubu comment #4 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14608 --- Comment #8 from Julian FIOL <julian.fiol@biblibre.com> --- Created attachment 41713 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41713&action=edit Big 14608 : Hide UsageStatsLastDisplay syspref In response of Joubu comment #5 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14608 Julian FIOL <julian.fiol@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14608 Zeno Tajoli <z.tajoli@cineca.it> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |z.tajoli@cineca.it Patch complexity|--- |Medium patch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14608 Zeno Tajoli <z.tajoli@cineca.it> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|z.tajoli@cineca.it | -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14608 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |julian.maurice@biblibre.com -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14608 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|julian.fiol@biblibre.com |julian.maurice@biblibre.com -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14608 Marc Véron <veron@veron.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |veron@veron.ch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14608 Marc Véron <veron@veron.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Patch doesn't apply --- Comment #9 from Marc Véron <veron@veron.ch> --- CONFLICT (content): Merge conflict in koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org