Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging

pull/1/head
yflory 8 years ago
commit 498f4065cf

@ -23,6 +23,15 @@ define([
Messages: Messages,
Alertify: Alertify,
};
common.feedback = function (action) {
if (!action) { return; }
$.ajax({
type: "HEAD",
url: '/common/feedback.html?' + action + '=' + (+new Date()),
});
};
var store;
var find = common.find = function (map, path) {

@ -0,0 +1,17 @@
<!DOCTYPE html>
<head>
<style>
body {
max-width: 60vw;
margin: auto;
font-size: 25px;
}
</style>
</head>
<body>
<p>If you're reading this, you were probably curious why CryptPad is requesting web pages when you perform certain actions.</p>
<p>We care about your privacy, and at the same time we want CryptPad to be very easy to use.
We use this file to figure out which UI features matter to our users, by requesting it along with a parameter specifying which action was taken.</p>
<p>If you would like to opt out, visit <a href="/settings/">your user settings page</a>, where you'll find a checkbox to enable or disable user feedback</p>
Loading…
Cancel
Save