From 3127d0f7ede57f9d5b23f55d4a45285ae579ffed Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 2 Feb 2024 21:31:51 +0100 Subject: [PATCH 1/3] Upgrade to v5.7.0 --- manifest.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index 5e6129f..8a505a9 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "CryptPad" description.en = "Zero Knowledge realtime collaborative office suite" description.fr = "Suite bureautique chiffrée pour la collaboration en temps réel" -version = "5.6.0~ynh1" +version = "5.7.0~ynh1" maintainers = ["ddataa"] @@ -48,8 +48,8 @@ ram.runtime = "50M" [resources] [resources.sources.main] - url = "https://github.com/xwiki-labs/cryptpad/archive/refs/tags/5.6.0.tar.gz" - sha256 = "85a1b1781df750e250402fb095125e58b329feab4e542abb57fd886a616a0cfb" + url = "https://github.com/xwiki-labs/cryptpad/archive/refs/tags/5.7.0.tar.gz" + sha256 = "87cf091f2d0f26bc4d2df53460bade79e3b0d1804dfe6ef1e592ceb2654cd21f" autoupdate.strategy = "latest_github_tag" [resources.ports] From 457ec2b26a14214749226af113ce0991bcd4140a Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 2 Feb 2024 20:31:54 +0000 Subject: [PATCH 2/3] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 135881e..9710346 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in CryptPad is a collaboration suite that is end-to-end-encrypted and open-source. It is built to enable collaboration, synchronizing changes to documents in real time. Because all data is encrypted, the service and its administrators have no way of seeing the content being edited and stored. -**Shipped version:** 5.6.0~ynh1 +**Shipped version:** 5.7.0~ynh1 **Demo:** https://cryptpad.fr/ diff --git a/README_fr.md b/README_fr.md index fc697f2..e7aada5 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po CryptPad est une suite de collaboration chiffrée de bout en bout et open source. Il est conçu pour permettre la collaboration, en synchronisant les modifications apportées aux documents en temps réel. Étant donné que toutes les données sont chiffrées, le service et ses administrateurs n'ont aucun moyen de voir le contenu modifié et stocké. -**Version incluse :** 5.6.0~ynh1 +**Version incluse :** 5.7.0~ynh1 **Démo :** https://cryptpad.fr/ From bd96c794f2f5500845face893f30c441356e15ad Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 3 Feb 2024 08:15:33 +0100 Subject: [PATCH 3/3] Update nginx.conf --- conf/nginx.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index c272291..e05466f 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -96,6 +96,14 @@ if ($unsafe) { # Finally, set all the rules you composed above. more_set_headers "Content-Security-Policy: default-src 'none'; child-src $childSrc; worker-src $workerSrc; media-src $mediaSrc; style-src $styleSrc; script-src $scriptSrc; connect-src $connectSrc; font-src $fontSrc; img-src $imgSrc; frame-src $frameSrc; frame-ancestors $frameAncestors"; +# Include mime.types to be able to support .mjs files (see "types" below) +include mime.types; + +# Add support for .mjs files used by pdfjs +types { + application/javascript mjs; +} + location ^~ /cryptpad_websocket { proxy_pass http://127.0.0.1:__PORT__; proxy_set_header X-Real-IP $remote_addr;