From ff9a5ea4319def6df372f8991d068b1f155e997e Mon Sep 17 00:00:00 2001 From: Ludovic Dubost Date: Thu, 6 Aug 2020 22:29:06 +0200 Subject: [PATCH] XWiki App allowing to interact with XWiki or external apps --- www/common/application_config_internal.js | 2 +- www/xwiki/index.html | 12 +++ www/xwiki/inner.html | 12 +++ www/xwiki/inner.js | 53 +++++++++++ www/xwiki/main.js | 103 ++++++++++++++++++++++ 5 files changed, 181 insertions(+), 1 deletion(-) create mode 100644 www/xwiki/index.html create mode 100644 www/xwiki/inner.html create mode 100644 www/xwiki/inner.js create mode 100644 www/xwiki/main.js diff --git a/www/common/application_config_internal.js b/www/common/application_config_internal.js index 50249baa8..43951d2e1 100644 --- a/www/common/application_config_internal.js +++ b/www/common/application_config_internal.js @@ -12,7 +12,7 @@ define(function() { * You should never remove the drive from this list. */ config.availablePadTypes = ['drive', 'teams', 'pad', 'sheet', 'code', 'slide', 'poll', 'kanban', 'whiteboard', - /*'oodoc', 'ooslide',*/ 'file', /*'todo',*/ 'contacts']; + /*'oodoc', 'ooslide',*/ 'file', /*'todo',*/ 'contacts', 'xwiki']; /* 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 * listed here by default can't work without a user account. diff --git a/www/xwiki/index.html b/www/xwiki/index.html new file mode 100644 index 000000000..c59dd8edc --- /dev/null +++ b/www/xwiki/index.html @@ -0,0 +1,12 @@ + + + + CryptPad + + + + + + + +