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

pull/1/head
yflory 4 years ago
commit 131e4b6c37

@ -1,4 +1,36 @@
# WIP # 4.4.0
## Goals
## Update notes
* no default privacy policy
* nginx update
* calendar
* /api/broadcast
* clarified TELEMETRY in the 4.3.1 release notes
## Features
* prompt premium users to cancel their subscriptions before deleting their accounts
* check that headers for XLSX export are correctly set via the checkup app
* remove HTML from most translations
* localize links to the docs where a translation exists
* implement admin-broadcast features
* add "getting started" banner in the drive
* calendars: BETA
* clear document cache when visiting /logout/
## Bug fixes
* bad channel IDs stored in your drive or accessed via bad links (corrupted somehow)
* don't try to join invalid channels
* don't try to get their metadata
* guard against some type errors in the support page
* remove redundant link from OpenCollective popup
* guard against a type error when copying a pad in nodrive mode
* correctly navigate to anchors when clicking links to anchors in read-only rich-text pads
* OnlyOffice * OnlyOffice
* inform OnlyOffice of userlist changes * inform OnlyOffice of userlist changes
@ -16,19 +48,6 @@
* **soft release of OnlyOffice presentations and docs** * **soft release of OnlyOffice presentations and docs**
* if you've been using them, tell your users to export them before they break * if you've been using them, tell your users to export them before they break
* we still don't recommend that you use either editor! * we still don't recommend that you use either editor!
* bad channel IDs stored in your drive or accessed via bad links (corrupted somehow)
* don't try to join invalid channels
* don't try to get their metadata
* prompt premium users to cancel their subscriptions before deleting their accounts
* check that headers for XLSX export are correctly set via the checkup app
* guard against some type errors in the support page
* remove default privacy policy
* remove HTML from most translations
* localize links to the docs where a translation exists
* remove redundant link from OpenCollective popup
* guard against a type error when copying a pad in nodrive mode
* warn premium users that their subscription won't be cancelled automatically when they delete their account
* implement admin-broadcast features
# 4.3.1 # 4.3.1

@ -106,7 +106,6 @@ var setHeaders = (function () {
return function (req, res) { return function (req, res) {
// apply a bunch of cross-origin headers for XLSX export in FF and printing elsewhere // apply a bunch of cross-origin headers for XLSX export in FF and printing elsewhere
applyHeaderMap(res, { applyHeaderMap(res, {
"Cross-Origin-Resource-Policy": 'cross-origin',
"Cross-Origin-Opener-Policy": /^\/sheet\//.test(req.url)? 'same-origin': '', "Cross-Origin-Opener-Policy": /^\/sheet\//.test(req.url)? 'same-origin': '',
"Cross-Origin-Embedder-Policy": 'require-corp', "Cross-Origin-Embedder-Policy": 'require-corp',
}); });
@ -114,6 +113,10 @@ var setHeaders = (function () {
// Don't set CSP headers on /api/config because they aren't necessary and they cause problems // Don't set CSP headers on /api/config because they aren't necessary and they cause problems
// when duplicated by NGINX in production environments // when duplicated by NGINX in production environments
if (/^\/api\/(broadcast|config)/.test(req.url)) { return; } if (/^\/api\/(broadcast|config)/.test(req.url)) { return; }
applyHeaderMap(res, {
"Cross-Origin-Resource-Policy": 'cross-origin',
});
// targeted CSP, generic policies, maybe custom headers // targeted CSP, generic policies, maybe custom headers
const h = [ const h = [
/^\/common\/onlyoffice\/.*\/index\.html.*/, /^\/common\/onlyoffice\/.*\/index\.html.*/,

@ -58,7 +58,7 @@ define([
var metadataMgr; var metadataMgr;
var sframeChan; var sframeChan;
Messages.calendar = "Calendar"; // XXX Messages.calendar = "BETA Calendar"; // XXX
Messages.calendar_default = "My calendar"; // XXX Messages.calendar_default = "My calendar"; // XXX
Messages.calendar_new = "New calendar"; // XXX Messages.calendar_new = "New calendar"; // XXX
Messages.calendar_day = "Day"; Messages.calendar_day = "Day";

@ -12,7 +12,7 @@ define(function() {
* You should never remove the drive from this list. * You should never remove the drive from this list.
*/ */
config.availablePadTypes = ['drive', 'teams', 'pad', 'sheet', 'code', 'slide', 'poll', 'kanban', 'whiteboard', config.availablePadTypes = ['drive', 'teams', 'pad', 'sheet', 'code', 'slide', 'poll', 'kanban', 'whiteboard',
/*'doc', 'presentation',*/ 'file', /*'todo',*/ 'contacts', 'calendar']; /*'doc', 'presentation',*/ 'file', /*'todo',*/ 'contacts' /*, 'calendar' */];
/* The registered only types are apps restricted to registered users. /* The registered only types are apps restricted to registered users.
* You should never remove apps from this list unless you know what you're doing. The apps * You should never remove apps from this list unless you know what you're doing. The apps
* listed here by default can't work without a user account. * listed here by default can't work without a user account.

@ -2003,6 +2003,7 @@ define([
if (p === 'todo') { return; } if (p === 'todo') { return; }
if (p === 'file') { return; } if (p === 'file') { return; }
if (p === 'accounts') { return; } if (p === 'accounts') { return; }
if (p === 'calendar') { return; }
if (!common.isLoggedIn() && AppConfig.registeredOnlyTypes && if (!common.isLoggedIn() && AppConfig.registeredOnlyTypes &&
AppConfig.registeredOnlyTypes.indexOf(p) !== -1) { return; } AppConfig.registeredOnlyTypes.indexOf(p) !== -1) { return; }
return true; return true;

@ -2540,6 +2540,7 @@ define([
if (type === 'todo') { return; } if (type === 'todo') { return; }
if (type === 'file') { return; } if (type === 'file') { return; }
if (type === 'accounts') { return; } if (type === 'accounts') { return; }
if (type === 'calendar') { return; }
if (!APP.loggedIn && AppConfig.registeredOnlyTypes && if (!APP.loggedIn && AppConfig.registeredOnlyTypes &&
AppConfig.registeredOnlyTypes.indexOf(type) !== -1) { AppConfig.registeredOnlyTypes.indexOf(type) !== -1) {
return; return;

@ -1179,7 +1179,7 @@
"broadcast_newCustom": "Mitteilung der Administratoren", "broadcast_newCustom": "Mitteilung der Administratoren",
"admin_broadcastCancel": "Mitteilung löschen", "admin_broadcastCancel": "Mitteilung löschen",
"admin_broadcastActive": "Aktive Mitteilung", "admin_broadcastActive": "Aktive Mitteilung",
"admin_broadcastHint": "Sende eine Mitteilung an alle Benutzer auf dieser Instanz. Alle existierenden und neue Benutzer werden sie als Benachrichtigung erhalten. Du kannst sie mit **Vorschau der Benachrichtigung** überprüfen. Die Vorschau ist mit einem roten Symbol gekennzeichnet und nur für dich sichtbar.", "admin_broadcastHint": "Sende eine Mitteilung an alle Benutzer auf dieser Instanz. Alle existierenden und neue Benutzer werden sie als Benachrichtigung erhalten. Du kannst sie mit <b>Vorschau der Benachrichtigung</b> überprüfen. Die Vorschau ist mit einem roten Symbol gekennzeichnet und nur für dich sichtbar.",
"broadcast_preview": "Vorschau der Benachrichtigung", "broadcast_preview": "Vorschau der Benachrichtigung",
"admin_maintenanceCancel": "Wartungsarbeiten stornieren" "admin_maintenanceCancel": "Wartungsarbeiten stornieren"
} }

@ -1165,7 +1165,7 @@
"admin_broadcastCancel": "Effacer le message", "admin_broadcastCancel": "Effacer le message",
"admin_broadcastActive": "Message actif", "admin_broadcastActive": "Message actif",
"admin_broadcastButton": "Envoyer", "admin_broadcastButton": "Envoyer",
"admin_broadcastHint": "Envoyez un message à tous les utilisateurs de cette instance. Tous les utilisateurs existants et nouveaux le recevront sous forme de notification. Prévisualisez les messages avant de les envoyer avec **Aperçu de la notification**. Les aperçus de notifications ont une icône rouge et ne sont visibles que par vous.", "admin_broadcastHint": "Envoyez un message à tous les utilisateurs de cette instance. Tous les utilisateurs existants et nouveaux le recevront sous forme de notification. Prévisualisez les messages avant de les envoyer avec <b>Aperçu de la notification</b>. Les aperçus de notifications ont une icône rouge et ne sont visibles que par vous.",
"admin_broadcastTitle": "Message d'annonce", "admin_broadcastTitle": "Message d'annonce",
"broadcast_surveyURL": "Lien vers l'enquête", "broadcast_surveyURL": "Lien vers l'enquête",
"admin_surveyActive": "Ouvrir l'enquête", "admin_surveyActive": "Ouvrir l'enquête",

@ -1171,7 +1171,7 @@
"admin_surveyActive": "Open survey", "admin_surveyActive": "Open survey",
"broadcast_surveyURL": "Survey link", "broadcast_surveyURL": "Survey link",
"admin_broadcastTitle": "Broadcast message", "admin_broadcastTitle": "Broadcast message",
"admin_broadcastHint": "Send a message to all users on this instance. All existing and new users will receive it as a notification. Preview messages before sending them with **Preview notification**. Preview notifications have a red icon and are visible only to you.", "admin_broadcastHint": "Send a message to all users on this instance. All existing and new users will receive it as a notification. Preview messages before sending them with <b>Preview notification</b>. Preview notifications have a red icon and are visible only to you.",
"admin_broadcastButton": "Send", "admin_broadcastButton": "Send",
"admin_broadcastActive": "Active message", "admin_broadcastActive": "Active message",
"admin_broadcastCancel": "Delete message", "admin_broadcastCancel": "Delete message",

Loading…
Cancel
Save