Commit Graph

232 Commits

Author SHA1 Message Date
ansuz
d9b6d94580 use consistent capitalization for CryptPad
run docs/ARCHITECTURE.md:[XWiki-Labs](https://labs.xwiki.com/) has published an open source suite (called [Cryptpad](https://github.com/xwiki-labs/cryptpad)) of collaborative editors  which employ end to end encryption.
docs/ARCHITECTURE.md:Cryptpad is capable of using a variety of data stores.
docs/ARCHITECTURE.md:Cryptpad was initially written to use [websockets](https://en.wikipedia.org/wiki/WebSocket) for transportation of messages.
docs/ARCHITECTURE.md:The encryption scheme employed by Cryptpad is a [symmetric encryption](https://en.wikipedia.org/wiki/Symmetric-key_algorithm) which utilizes a single [pre-shared-key](https://en.wikipedia.org/wiki/Pre-shared_key) known by all participants.
readme.md:See [Cryptpad-Docker](https://github.com/xwiki-labs/cryptpad-docker) repository for details on how to get up-and-running with Cryptpad in Docker. This repository is maintained by the community and not officially supported.
readme.md:If you have any questions or comments, or if you're interested in contributing to Cryptpad, come say hi in our [Matrix channel](https://app.element.io/#/room/#cryptpad:matrix.xwiki.com).
www/common/translations/README.md:To illustrate the process of translating, this guide will make an english-pirate translation of Cryptpad.
www/common/translations/README.md:We'll assume that you have a work locally-installed, properly functioning installation of Cryptpad.
www/common/translations/README.md:If you don't have Cryptpad installed locally, start by following the steps in the main readme.
www/common/translations/README.md:    out.main_title = "Cryptpad: Zero Knowledge, Collaborative Real Time Editing";
www/common/translations/README.md:    out.main_title = "Cryptpad: Knowledge lost at sea while ye scribble with yer mateys";
www/common/translations/README.md:It's advisable to save your translation file frequently, and reload Cryptpad in your browser to check that there are no errors in your translation file.
www/common/translations/README.md:When you're happy with your translation file, you can visit http://localhost:3000/assert/translations/ to view Cryptpad's tests.
www/common/translations/messages.ca.json:    "topbar_whatIsCryptpad": "Què és CryptPad",
www/common/translations/messages.de.json:    "topbar_whatIsCryptpad": "Was ist CryptPad",
www/common/translations/messages.el.json:    "topbar_whatIsCryptpad": "Τι είναι το CryptPad",
www/common/translations/messages.es.json:    "main_title": "Cryptpad: Zero Knowledge, Editor Colaborativo en Tiempo Real",
www/common/translations/messages.es.json:    "tos_title": "Condiciones de servicio Cryptpad",
www/common/translations/messages.es.json:    "tos_e2ee": "Los documentos Cryptpad pueden ser leídos o modificados por cualquiera que pueda adivinar o que pueda tener el enlace. Recomendamos que utilices mensajes cifrados de punto a punto (e2ee) para compartir URLs, no asumimos ninguna responsabilidad en el evento de alguna fuga.",
www/common/translations/messages.es.json:    "topbar_whatIsCryptpad": "Qué es CryptPad",
www/common/translations/messages.es.json:    "settings_autostoreHint": "<b> Automático </b> Todos los pads que visita se almacenan en su CryptDrive. <br> <b> Manual (siempre pregunte) </b> Si aún no ha guardado un pad, se le preguntará si desea para almacenarlos en su CryptDrive. <br> <b> Manual (nunca preguntar) </b> Los Pads no se almacenan automáticamente en su Cryptpad. La opción para almacenarlos estará oculta.",
www/common/translations/messages.fi.json:    "home_host": "Tämä on itsenäinen yhteisön ylläpitämä Cryptpad-instanssi.",
www/common/translations/messages.fi.json:    "topbar_whatIsCryptpad": "Mikä on CryptPad",
www/common/translations/messages.fr.json:    "topbar_whatIsCryptpad": "Qu'est-ce que CryptPad",
www/common/translations/messages.fr.json:    "admin_updateAvailableHint": "Une nouvelle version de Cryptpad est disponible",
www/common/translations/messages.id.json:    "main_title": "Cryptpad: Informasi Aman, Kolaborasi Waktu Nyata"
www/common/translations/messages.it.json:    "topbar_whatIsCryptpad": "Cos'è CryptPad",
www/common/translations/messages.it.json:    "settings_autostoreHint": "<b>Automatico</b> Tutti i pad che visiti sono conservati nel tuo CryptDrive.<br><b>Manuale (chiedi sempre)</b> Se non hai ancora conservato alcun pad ti verrà chiesto se vuoi conservarli nel tuo CryptDrive.<br><b>Manuale (non chiedere mai)</b> I pads non sono conservati automaticamente nel tuo Cryptpad. L'opzione di conservarli sarà nascosta.",
www/common/translations/messages.it.json:    "survey": "Sondaggio Cryptpad",
www/common/translations/messages.it.json:    "crowdfunding_button": "Supporta Cryptpad",
www/common/translations/messages.ja.json:    "topbar_whatIsCryptpad": "CryptPadとは何か",
www/common/translations/messages.json:    "settings_autostoreHint": "<b>Automatic</b> All the pads you visit are stored in your CryptDrive.<br><b>Manual (always ask)</b> If you have not stored a pad yet, you will be asked if you want to store them in your CryptDrive.<br><b>Manual (never ask)</b> Pads are not stored automatically in your Cryptpad. The option to store them will be hidden.",
www/common/translations/messages.json:    "topbar_whatIsCryptpad": "What is CryptPad",
www/common/translations/messages.nb.json:    "topbar_whatIsCryptpad": "Hva er CryptPad",
www/common/translations/messages.nl.json:    "settings_autostoreHint": "<b>Automatisch</b> Alle geopende werkomgevingen worden automatisch opgeslagen in uw CryptDrive.<br><b>Handmatig (altijd vragen)</b> Als u een werkomgeving nog niet hebt opgeslagen, zult u gevraagd worden of u het in uw CryptDrive wilt opslaan.<br><b>Handmatig (nooit vragen)</b> Werkomgevingen worden niet automatisch opgeslagen in uw Cryptpad. The optie om op te slaan wordt verborgen.",
www/common/translations/messages.pl.json:    "main_title": "Cryptpad: Wspólne edytowanie w czasie rzeczywistym, bez wiedzy specjalistycznej",
www/common/translations/messages.pl.json:    "tos_title": "Warunki korzystania z usług Cryptpad",
www/common/translations/messages.pl.json:    "tos_e2ee": "Dokumenty Cryptpad mogą być odczytywane i modyfikowane przez każdego kto może zgadnąć lub w inny sposób uzyskać identyfikator dokumentu. Polecamy korzystania z oprogramowania szyfrującego end-to-end (e2ee) do udostępniania linków URL. Nie będziesz rościł sobie żadnych wierzytelności w wypadku gdy taki URL dostanie się w niepowołane ręce.",
www/common/translations/messages.pt-br.json:    "main_title": "Cryptpad: Zero Knowledge, Edição Colaborativa em Tempo Real",
www/common/translations/messages.pt-br.json:    "tos_title": "Termos de serviço doCryptpad",
www/common/translations/messages.pt-br.json:    "topbar_whatIsCryptpad": "O que é CryptPad",
www/common/translations/messages.ro.json:    "settings_autostoreHint": "<b>Automat</b> Toate documentele accesate sunt stocate în CryptDrive-ul dumneavoastră.<br><b>Manual (întreabă întotdeauna)</b> Dacă nu ai stocat încă un document, vei fi întrebat dacă dorești să îl stochezi în Cryptdrive-ul tău.<br><b>Manual (nu mai întreba)</b> Documentele nu sunt stocate automat în Cryptpad-ul tău. Opțiunea de a le stoca ulterior va fi ascunsă.",
www/common/translations/messages.ru.json:    "topbar_whatIsCryptpad": "Что такое CryptPad",
www/common/translations/messages.zh.json:    "footer_aboutUs": "關於 Cryptpad", for many more examples
2021-08-04 14:18:07 +05:30
ansuz
3b44c09bc4 check COOP headers for multiple endpoints
and improve some error reporting in the checkup RPC
2021-07-01 16:42:09 +05:30
ansuz
942a136886 somewhat stricter httpUnsafeOrigin validation 2021-06-15 03:52:12 +05:30
ansuz
98c8d7086f include instance version in Env 2021-06-09 18:43:31 +05:30
ansuz
87a52b67f5 re-add an incorrectly removed curly brace 2021-06-09 14:23:58 +05:30
ansuz
41db88a360 WIP admin 'network' panel 2021-06-08 20:24:30 +05:30
ansuz
b88963cec2 conditionally log some information about the checkup page when launching the server 2021-06-01 17:53:57 +05:30
ansuz
32494fca0c let NGINX handle its own headers 2021-05-12 14:29:29 +05:30
ansuz
eb32651c67 leave some notes about a minor race condition 2021-05-05 12:07:45 +05:30
ansuz
30fc2a5edf Merge branch 'staging' into restricted-registration 2021-05-01 02:04:22 +05:30
ansuz
bd37e45eb4 disable some seemingly problematic server code 2021-04-30 10:38:03 +05:30
ansuz
15a8284a30 add some logging and avoid some errors 2021-04-29 07:09:16 +05:30
ansuz
50045c08d0 WIP restrict registration 2021-04-26 18:31:33 +05:30
ansuz
e90031b8d1 refined header fix for standalone instances 2021-04-15 19:43:08 +05:30
ansuz
3a0fe6968d refine the header fixes for chrome to avoid breaking standalone instances 2021-04-15 18:03:13 +05:30
ansuz
ae173d31cb fix a chrome header issue 2021-04-15 15:17:08 +05:30
ansuz
34e02a23e7 deduplicate server code for caching rendered API endpoints 2021-04-12 13:19:11 +05:30
ansuz
4e3a7fef24 add notes from our review 2021-04-02 17:14:15 +05:30
yflory
8f679c141c Broadcast update 2021-03-30 17:41:12 +02:00
yflory
96892bff48 Merge branch 'staging' into broadcast 2021-03-30 13:53:49 +02:00
yflory
b108960d67 Rename ooslide and oodoc 2021-03-24 15:01:52 +01:00
ansuz
3141d7add1 remove trailing slashes from configured origins
in both the server and the example config file
2021-03-22 14:12:14 +05:30
yflory
7971a6d267 Major broadcast refactoring 2021-03-16 17:00:23 +01:00
yflory
d15c0461cc Add /api/broadcast and improve message deletion 2021-03-12 12:46:11 +01:00
ansuz
1ef6a96cd1 avoid duplicating CSP headers in production environments 2021-03-03 11:11:06 +05:30
ansuz
3c4b2ffad0 avoid setting headers for /api/config that will be duplicated by nginx 2021-03-03 09:59:04 +05:30
ansuz
929159a0f4 implement server offline mode (no ws) 2021-01-08 14:49:04 +05:30
yflory
396eb4d263 Stop autodownloading big mediatags 2020-11-24 16:38:31 +01:00
ansuz
ebc394c4b3 expose defaultStorageLimit via /api/config 2020-11-17 18:09:34 +05:30
ansuz
aa547a7b76 align nodejs http headers with example nginx 2020-11-03 16:48:31 +05:30
ansuz
804443e5f7 send basic team info along with support tickets
...and fix a server bug that had broken /api/config.supportMailbox
2020-10-15 15:12:12 +05:30
ansuz
369c92c01d initialize Env from server and deduplicate several attributes 2020-10-12 17:39:53 +05:30
ansuz
c99de4ffc2 expose the canonical representation of adminKeys via /api/config 2020-10-12 14:56:09 +05:30
ansuz
b5d3a10dc2 guard against possible typeErrors from unvalidated config input 2020-10-09 13:28:13 +05:30
ansuz
6519f8242e Merge branch 'signing-key-format' into staging 2020-06-30 14:52:57 -04:00
ansuz
ebcc9a069b add server-side support for the new format of public signing keys 2020-06-25 13:14:26 -04:00
yflory
b94a596751 remove unsafe-inline requirement in pad 2020-06-22 18:45:16 +02:00
ansuz
5196440e65 guard against a typeError when httpSafeOrigin is not defined 2020-04-06 10:16:02 -04:00
ansuz
9fa93172cf tolerate trailing slashes in httpSafeDomain 2020-04-03 10:37:23 -04:00
ansuz
3b05d24f10 wip csp issue 2020-04-02 17:46:29 -04:00
Jason Heard
9b3013278b Check httpSafeOrigin in config variable 2020-03-10 14:21:23 -06:00
ansuz
53ed247bc2 expose maxUploadSize and premiumUploadSize via /api/config 2020-03-03 16:47:44 -05:00
ansuz
e70c3ff0ab add some default config values and warn if provided values seem incorrect 2020-02-28 12:01:52 -05:00
ansuz
74771f13f5 implement caching for /api/config responses 2020-02-27 13:48:19 -05:00
ansuz
80c012f34d prepare to merge history keeper and rpc 2020-01-27 17:57:39 -05:00
ansuz
c388641479 drop support for 'retainData' configuration 2020-01-23 15:13:19 -05:00
ansuz
f45de2b52f move some server deps from repo root to lib/ 2020-01-23 15:01:56 -05:00
ansuz
671999c600 treat onlyoffice iframes specially with regard to CSP 2020-01-21 08:39:55 -05:00
yflory
47768112b4 Merge branch 'staging' into communities-oo 2020-01-16 14:52:37 +01:00
Ludovic Dubost
d593f3961c Updated OnlyOffice editors, Updated x2t.js to 5.4.2 2020-01-05 20:32:34 +01:00
Ludovic Dubost
1065ef5d4c Fix security policy for ooslide and oodoc which would break x2t wasm export on Chrome 2020-01-04 02:03:30 +01:00
ansuz
05699b2c94 unify websocket configuration points 2019-12-23 18:27:11 -05:00
ansuz
a8b363dba0 drop support for 'websocketPath' and 'useExternalWebsocket' configuration points 2019-12-23 18:23:50 -05:00
ansuz
97bc793ca8 simplify websocket configuration even more 2019-12-23 17:39:13 -05:00
ansuz
67cde69120 drop support for configuration points we can't possibly support 2019-12-23 17:28:01 -05:00
ansuz
4c51d464fd drop replify integration 2019-12-23 17:15:07 -05:00
ansuz
cffb0da833 remove ssl support in node server.
Use a reverse proxy for this.
2019-12-23 17:05:08 -05:00
ansuz
2dfbb522b0 simplify server websocket configuration 2019-12-23 17:01:00 -05:00
ansuz
663a1138b4 trim leading spaces from domains 2019-12-18 12:01:58 -05:00
yflory
5a055233c0 Fix cryptget inner 2019-12-17 10:57:13 +01:00
ansuz
d4b4a50253 remove annoying console.log 2019-09-12 17:26:45 +02:00
ansuz
3ff40df1b8 change server from PACKAGE mode to FRESH mode when you flush the cache 2019-09-10 17:32:10 +02:00
ansuz
f8cd1dc266 have historyKeeper remove files that are a day or more past their expiration time 2019-09-04 14:21:22 +02:00
ansuz
42528632ac display correct pad expiration time based on /api/config 2019-08-30 15:17:03 +02:00
ansuz
1ec1d8b0e0 make fresh mode the default behaviour 2019-08-30 15:03:22 +02:00
ansuz
874093a126 push something that actually works 2019-08-26 18:42:20 +02:00
ansuz
9d40018da3 support cross-origin blobs 2019-08-26 18:39:23 +02:00
ansuz
255f208a4a always enable tasks, but allow for admins to disable the integrated loop in the main server process 2019-08-21 13:36:27 +02:00
ansuz
d30470f1aa correct an invalid comment 2019-08-21 13:22:43 +02:00
yflory
22c9af6961 Support page 2019-06-25 16:39:15 +02:00
ansuz
7665720d77 integrate task execution into the server directly 2019-04-23 13:28:05 +02:00
yflory
e0665cb190 Use the new logging API for the history keeper 2019-04-17 15:28:29 +02:00
ansuz
d5a9eacef0 standardize loading of server configuration 2019-04-17 13:48:39 +02:00
ansuz
4e9273f35c improved logger behaviour and updated default configuration 2019-04-09 11:40:51 +02:00
ansuz
78749456d6 more notes for later 2019-04-08 18:39:45 +02:00
ansuz
e1e6d51038 new logging api 2019-04-08 18:11:36 +02:00
ansuz
dd6767e267 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2019-04-01 16:35:58 +02:00
yflory
f9fc154979 Add mastodon and display admin email in the contact page 2019-04-01 14:39:32 +02:00
ansuz
4566bf4ed8 drop support for various serverside config points 2019-04-01 12:09:11 +02:00
yflory
f24d34c0af History keeper is now separated from chainpad-server 2019-03-29 17:03:53 +01:00
ansuz
744f212b26 keep config.js in config/
and persist it via various docker mechanisms
2019-03-28 17:35:30 +01:00
ansuz
8aeb6246d8 expose admin email via /api/config 2019-03-28 17:18:04 +01:00
ansuz
322ceb7ea1 process admin keys at startup, instead of on demand 2019-03-28 17:17:40 +01:00
yflory
7d4589bdb0 Send valid admin keys to the clients 2019-03-27 18:12:34 +01:00
yflory
bb5f03bd0f Add admin panel 2019-03-27 17:00:28 +01:00
yflory
9ceebb603d Reorder config file 2019-02-28 17:08:19 +01:00
yflory
0e61c46dcf Move fonts to the onlyoffice build 2019-01-28 17:06:17 +01:00
ansuz
1281c9b2be remove some dead serverside code 2019-01-28 15:28:38 +01:00
yflory
d5f98c916b Update CSP for OnlyOffice apps 2019-01-28 12:18:18 +01:00
ansuz
9d0e0a4efa log font path to make sure it's working 2019-01-24 18:42:29 +01:00
ansuz
802075f83c log errors when trying to serve fonts 2019-01-24 18:41:14 +01:00
ansuz
f775d395f4 serve cached onlyoffice-compatible fonts 2019-01-24 18:40:12 +01:00
yflory
dbe8571a40 Removing console.log in the server about onlyoffice fonts 2019-01-24 16:23:07 +01:00
yflory
29f8cfbfe0 Remove sockjs dependency and ooserver code 2019-01-21 10:44:39 +01:00
yflory
1e672c4a6b Use onlyoffice spreadsheets without ooserver 2019-01-07 12:02:38 +01:00
yflory
760f58b74c Merge branch 'staging' into oo2 2018-12-13 16:24:11 +01:00
ansuz
26540b4b94 correctly support httpSafeOrigin loaded from configuration file 2018-10-17 13:48:31 +02:00
yflory
874156ccf0 Prevent shared folders from being moved to the trash using the del key 2018-09-17 17:53:18 +02:00
yflory
bd1b120ab1 Add feedback about crowdfunding 2018-09-17 16:02:52 +02:00
yflory
bf9cf95292 Merge branch 'staging' into oo2 2018-09-03 10:49:12 +02:00