Merge branch 'master' into staging

This commit is contained in:
yflory 2017-09-12 12:20:47 +02:00
commit 5ac3e97dc8
3 changed files with 7 additions and 5 deletions

View file

@ -129,7 +129,9 @@ define(function () {
out.saveTemplatePrompt = "Choisir un titre pour ce modèle";
out.templateSaved = "Modèle enregistré !";
out.selectTemplate = "Sélectionner un modèle ou appuyer sur Échap";
out.useTemplate = "Vous posséder des modèles pour ce type de pad, souhaitez-vous en utiliser un?";
out.useTemplate = "Commencer avec un modèle?";
out.useTemplateOK = 'Choisir un modèle (Entrée)';
out.useTemplateCancel = 'Document vierge (Échap)';
out.previewButtonTitle = "Afficher ou cacher la prévisualisation de Markdown";

View file

@ -20,6 +20,10 @@ It also contains information on keeping your instance of CryptPad up to date.
See [Cryptpad-Docker](docs/cryptpad-docker.md)
## Setup using Ansible
See [Ansible Role for Cryptpad](https://github.com/systemli/ansible-role-cryptpad)
# Security
CryptPad is *private*, not *anonymous*. Privacy protects your data, anonymity protects you.

View file

@ -654,12 +654,8 @@ define([
if (workgroup || (!Cryptpad.isLoggedIn() && !config.testMode)) { return; }
var filesList = getFiles([ROOT, 'hrefArray', TRASH]);
var fData = files[FILES_DATA];
getFiles([FILES_DATA]).forEach(function (id) {
if (filesList.indexOf(id) === -1) {
if (fData[id] && fData[id].href) {
removePadAttribute(fData[id].href);
}
spliceFileData(id);
}
});