aboutsummaryrefslogtreecommitdiff
path: root/app/cryptpad/config/application_config.js
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/application_config.js
parent79e61b6bfd1585d1ce318d2805b321c218cf3791 (diff)
downloadnixcfg-8cd2f72926293a8bca1b42fe7bccb2b9e61740d1.tar.gz
nixcfg-8cd2f72926293a8bca1b42fe7bccb2b9e61740d1.zip
Working cryptpad
Diffstat (limited to 'app/cryptpad/config/application_config.js')
-rw-r--r--app/cryptpad/config/application_config.js40
1 files changed, 40 insertions, 0 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;
+});