aboutsummaryrefslogtreecommitdiff
path: root/app/cryptpad/config
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-05-10 15:17:55 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-05-10 15:18:07 +0200
commit8cd2f72926293a8bca1b42fe7bccb2b9e61740d1 (patch)
treeb8242a66a6a3d9b09fe4a3a2896b5ab09aa20364 /app/cryptpad/config
parent79e61b6bfd1585d1ce318d2805b321c218cf3791 (diff)
downloadnixcfg-8cd2f72926293a8bca1b42fe7bccb2b9e61740d1.tar.gz
nixcfg-8cd2f72926293a8bca1b42fe7bccb2b9e61740d1.zip
Working cryptpad
Diffstat (limited to 'app/cryptpad/config')
-rw-r--r--app/cryptpad/config/application_config.js40
-rw-r--r--app/cryptpad/config/config.js8
2 files changed, 43 insertions, 5 deletions
diff --git a/app/cryptpad/config/application_config.js b/app/cryptpad/config/application_config.js
new file mode 100644
index 0000000..94a613d
--- /dev/null
+++ b/app/cryptpad/config/application_config.js
@@ -0,0 +1,40 @@
+/*
+ * You can override the configurable values from this file.
+ * The recommended method is to make a copy of this file (/customize.dist/application_config.js)
+ in a 'customize' directory (/customize/application_config.js).
+ * If you want to check all the configurable values, you can open the internal configuration file
+ but you should not change it directly (/common/application_config_internal.js)
+*/
+define(['/common/application_config_internal.js'], function (AppConfig) {
+ // To inform users of the support ticket panel which languages your admins speak:
+ AppConfig.supportLanguages = [ 'en', 'fr' ];
+
+ /* Select the buttons displayed on the main page to create new collaborative sessions.
+ * Removing apps from the list will prevent users from accessing them. They will instead be
+ * redirected to the drive.
+ * You should never remove the drive from this list.
+ */
+ AppConfig.availablePadTypes = ['drive', 'teams', 'doc', 'presentation', 'pad', 'kanban', 'code', 'form', 'poll', 'whiteboard',
+ 'file', 'contacts', 'slide', 'convert'];
+ // disabled: sheet
+
+ /* You can display a link to your own privacy policy in the static pages footer.
+ * Since this is different for each individual or organization there is no default value.
+ * See the comments above for a description of possible configurations.
+ */
+ AppConfig.privacy = {
+ "default": "https://deuxfleurs.fr/CGU.html",
+ };
+
+ /* You can display a link to your instances's terms of service in the static pages footer.
+ * A default is included for backwards compatibility, but we recommend replacing this
+ * with your own terms.
+ *
+ * See the comments above for a description of possible configurations.
+ */
+ AppConfig.terms = {
+ "default": "https://deuxfleurs.fr/CGU.html",
+ };
+
+ return AppConfig;
+});
diff --git a/app/cryptpad/config/config.js b/app/cryptpad/config/config.js
index 48bd6ce..3ed7074 100644
--- a/app/cryptpad/config/config.js
+++ b/app/cryptpad/config/config.js
@@ -90,7 +90,7 @@ module.exports = {
* that of your httpPort + 1. You probably don't need to change this.
*
*/
- httpSafePort: 3001,
+ // httpSafePort: 3001,
/* CryptPad will launch a child process for every core available
* in order to perform CPU-intensive tasks in parallel.
@@ -111,11 +111,9 @@ module.exports = {
* key, which can be found on the settings page for registered users.
* Entries should be strings separated by a comma.
*/
-/*
adminKeys: [
- //"[cryptpad-user1@my.awesome.website/YZgXQxKR0Rcb6r6CmxHPdAGLVludrAF2lEnkbx1vVOo=]",
+ "[quentin@pad.deuxfleurs.fr/EWtzm-CiqJnM9RZL9mj-YyTgAtX-Zh76sru1K5bFpN8=]",
],
-*/
/* =====================
* STORAGE
@@ -253,7 +251,7 @@ module.exports = {
*
* This will affect both logging to the console and the disk.
*/
- logLevel: 'debug',
+ logLevel: 'silly',
/* clients can use the /settings/ app to opt out of usage feedback
* which informs the server of things like how much each app is being