Bug 30741 - [Piwik] Enable user statistics by default
[Piwik] Enable user statistics by default
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 3.1
Other Linux
: P5 normal (vote)
: UCS 3.1-1
Assigned To: Alexander Kläser
Florian Best
:
Depends on:
Blocks: 30743
  Show dependency treegraph
 
Reported: 2013-03-11 15:01 CET by Alexander Kläser
Modified: 2013-03-25 19:57 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kläser univentionstaff 2013-03-11 15:01:09 CET
With the release of UCS 3.1-1, Piwik is enabled by default on systems with evaluation licenses and disabled on systems with customer license.
Comment 1 Alexander Kläser univentionstaff 2013-03-15 20:46:02 CET
The UCR variable license/base is set in the same listener module that sets the license UUID as UCR variable. In the postinst, the listener's execution is forced. Piwik is enabled if license/base=FFPU and umc/web/piwik!=false. By default umc/web/piwik is not set and thus the default behaviour for Piwik tracking depends solely on license/base.


 univention-updater (8.0.74-1) unstable; urgency=low
 .
   * Bug #30741: update license/base in the license_uid

 univention-management-console-frontend (2.0.232-1) unstable; urgency=low
 .
   * Bug #30741: enabled sending of anonymous user statistics to
     https://piwik.univention.de on evaluation systems; added descriptions
     for UCR variable umc/web/piwik
Comment 2 Stefan Gohmann univentionstaff 2013-03-15 20:49:15 CET
Please test in the QA what happens if the piwik server is not available and if the DNS configuration is invalid.
Comment 3 Alexander Kläser univentionstaff 2013-03-18 15:28:36 CET
UMC-frontend-doc had to be adapted to build with the new module umc/piwik.js.


 univention-management-console-frontend-doc (6.0.9-1) unstable; urgency=low
 .
   * Bug #30741: adapted Makefile to account for external modules
Comment 4 Alexander Kläser univentionstaff 2013-03-19 10:25:29 CET
With FF19, the piwik.js script on piwik.univention.de cannot be loaded dynamically via requireJS. See also:

http://rockycode.com/blog/cross-domain-requirejs-text/
Comment 5 Alexander Kläser univentionstaff 2013-03-19 11:25:44 CET
(In reply to comment #4)
> With FF19, the piwik.js script on piwik.univention.de cannot be loaded
> dynamically via requireJS. See also:
> 
> http://rockycode.com/blog/cross-domain-requirejs-text/

My fault, I had the FF plugin Ghostery activated.
Comment 6 Alexander Kläser univentionstaff 2013-03-19 11:34:13 CET
(In reply to comment #5)
> My fault, I had the FF plugin Ghostery activated.

I opened Bug 30822 for this.
Comment 7 Florian Best univentionstaff 2013-03-20 13:20:57 CET
(In reply to comment #1)
> The UCR variable license/base is set in the same listener module that sets the
> license UUID as UCR variable. In the postinst, the listener's execution is
> forced. Piwik is enabled if license/base=FFPU and umc/web/piwik!=false. By
> default umc/web/piwik is not set and thus the default behaviour for Piwik
> tracking depends solely on license/base.
OK

(In reply to comment #2)
> Please test in the QA what happens if the piwik server is not available and if
> the DNS configuration is invalid.
OK, the requests are client side, so i tested what happens when connection to an unresolvable host, and what happens when the piwik.js is not existent. The UMC is usable then.

(In reply to comment #3)
> UMC-frontend-doc had to be adapted to build with the new module umc/piwik.js.
> 
> 
>  univention-management-console-frontend-doc (6.0.9-1) unstable; urgency=low
>  .
>    * Bug #30741: adapted Makefile to account for external modules
OK

Changelog OK
Comment 8 Stefan Gohmann univentionstaff 2013-03-25 19:57:23 CET
UCS 3.1-1 has been released: 
 http://download.univention.de/doc/release-notes-3.1-1_en.pdf
 http://download.univention.de/doc/release-notes-3.1-1.pdf

If this error occurs again, please use "Clone This Bug".