hoaproject / Central

Hoa is a modular, extensible, and structured set of PHP libraries.
https://hoa-project.net/
Other
104 stars 8 forks source link

issue on main website : stats contirubtion #68

Closed Grummfy closed 7 years ago

Grummfy commented 7 years ago

In the Activity part in the right bottom, no more graph where displayed

Pierozi commented 7 years ago

This is due to CSP unsafe-eval, I will check if I can fix it on server configuration.

EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "default-src 'self' *.hoa-project.net *.hoa.io *.github.io *.github.com *.discourse.org *.tile.openstreetmap.org 'unsafe-inline'". at new Function (<anonymous>) at https://static.hoa-project.net/Javascript/D3.js:1998:17 at Function.dsv.parseRows (https://static.hoa-project.net/Javascript/D3.js:2046:23) at Function.dsv.parse (https://static.hoa-project.net/Javascript/D3.js:1996:18) at Object.response (https://static.hoa-project.net/Javascript/D3.js:1987:18) at XMLHttpRequest.respond (https://static.hoa-project.net/Javascript/D3.js:1902:29)
Pierozi commented 7 years ago

It's fixed, thanks for the reporting!

Hywan commented 7 years ago

Thanks!