From ba0f305dbea167fc7c5ce024690c6056c8a1f59f Mon Sep 17 00:00:00 2001 From: trovier Date: Wed, 29 Nov 2023 16:22:54 +0100 Subject: [PATCH] Initial commit (EN) --- Web/App_GlobalResources/Resource.resx | 6 + .../Common/BaseHeader/BaseHeader.ascx | 1 + .../GettingStarted/184_dropbox.ascx | 5 + .../Dropbox/GettingStartedDropbox.ascx | 150 ++++++++++++++++++ Web/Controls/Help/HelpCenter.ascx | 1 + Web/Controls/Help/Integration/Dropbox.ascx | 57 +++++++ .../Help/Integration/Integration.ascx | 22 +++ .../SideMenu/Integration/IntegrationMenu.ascx | 1 + Web/Integration/dropbox.aspx | 19 +++ Web/Integration/gettingstarted-dropbox.aspx | 21 +++ 10 files changed, 283 insertions(+) create mode 100644 Web/Controls/Help/ArticlesCompleteList/GettingStarted/184_dropbox.ascx create mode 100644 Web/Controls/Help/GettingStarted/Integration/Dropbox/GettingStartedDropbox.ascx create mode 100644 Web/Controls/Help/Integration/Dropbox.ascx create mode 100644 Web/Integration/dropbox.aspx create mode 100644 Web/Integration/gettingstarted-dropbox.aspx diff --git a/Web/App_GlobalResources/Resource.resx b/Web/App_GlobalResources/Resource.resx index 06aa68862..a3c2f5e5b 100644 --- a/Web/App_GlobalResources/Resource.resx +++ b/Web/App_GlobalResources/Resource.resx @@ -4840,4 +4840,10 @@ modify object + + Integrating ONLYOFFICE with Dropbox + + + Integrate ONLYOFFICE with Dropbox. + \ No newline at end of file diff --git a/Web/Controls/Common/BaseHeader/BaseHeader.ascx b/Web/Controls/Common/BaseHeader/BaseHeader.ascx index 6e60329ec..87238f84f 100644 --- a/Web/Controls/Common/BaseHeader/BaseHeader.ascx +++ b/Web/Controls/Common/BaseHeader/BaseHeader.ascx @@ -115,6 +115,7 @@ + diff --git a/Web/Controls/Help/ArticlesCompleteList/GettingStarted/184_dropbox.ascx b/Web/Controls/Help/ArticlesCompleteList/GettingStarted/184_dropbox.ascx new file mode 100644 index 000000000..9652f161b --- /dev/null +++ b/Web/Controls/Help/ArticlesCompleteList/GettingStarted/184_dropbox.ascx @@ -0,0 +1,5 @@ +<%@ Control Language="C#" %> +" + href="<%=VirtualPathUtility.ToAbsolute("~/integration/gettingstarted-dropbox.aspx")%>"> + + \ No newline at end of file diff --git a/Web/Controls/Help/GettingStarted/Integration/Dropbox/GettingStartedDropbox.ascx b/Web/Controls/Help/GettingStarted/Integration/Dropbox/GettingStartedDropbox.ascx new file mode 100644 index 000000000..5b29f5af8 --- /dev/null +++ b/Web/Controls/Help/GettingStarted/Integration/Dropbox/GettingStartedDropbox.ascx @@ -0,0 +1,150 @@ +<%@ Control Language="C#" Inherits="BaseContentUserControls"%> +<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %> +<%@ Register TagPrefix="cc" TagName="LinuxVersionTag" Src="~/Controls/Help/Tags/linux-version/linux-version.ascx" %> + + + +
+ +
+
    +
  • + <%--
  • +
  • +
  • +
  • +
  • +
  • --%> +
+
+ + +
+

About the ONLYOFFICE and Dropbox integration

+
+

Dropbox is a file hosting service designed for cloud collaboration. ONLYOFFICE offers an official integration app to connect ONLYOFFICE Docs with Dropbox and edit office documents in your Dropbox space. You can get the ONLYOFFICE integration module using the official integration link. The module is distributed under the Apache-2.0 License.

+
+ +
+

Main features

+

+
    +
  • Editing and viewing text documents, spreadsheets, and presentations.
  • +
  • Co-editing documents in real-time: two co-editing modes (Fast and Strict), the Track Changes mode, comments, and the built-in chat.
  • +
  • Editing form templates in DOCXF.
  • +
  • Reading PDFs.
  • + <%--
  • JWT support to secure your traffic so that no one can have access to your documents with the exception of the users with proper rights.
  • --%> +
+
+ +
+

Supported formats

+

+
    +
  • For editing: DOCX, DOCXF, PPTX, XLSX.
  • +
  • For filling forms: OFORM.
  • +
  • For editing with possible data loss: CSV, EPUB, FB2, ODP, ODS, ODT, RTF, TXT.
  • +
  • For converting to Office Open XML formats: CSV, DOC, DOT, EPUB, ET, FB2, FODP, HTM, ODP, ODS, ODT, POT, PPT, RTF, TXT, XLS.
  • +
  • For viewing only: CSV, DJVU, DOC, DOT, EPUB, ET, FB2, FODP, HTM, ODP, ODS, ODT, OXPS, PDF, POT, PPT, RTF, TXT, XLS.
  • +
+
+ + <%--
+

What's new in version 1.1.2

+

Added

+
    +
  • Security filtering
  • +
  • Viewing option for DOCX, XLSX, PPTX formats
  • +
  • JWT support
  • +
+

Changed

+
    +
  • Minor documentation style changes
  • +
  • Minor code style changes
  • +
+

The full change log is available here.

+
+
+
--%> + +
+

Connecting ONLYOFFICE Docs to Dropbox

+
+

Requirements

+

+
    +
  • ONLYOFFICE Docs integration app +

    The app uses the pre-configured tenant of ONLYOFFICE Docs Cloud and does not require any additional configuration.

    +
  • +
+
+ + <%--
+

Configuring JWT for the ONLYOFFICE and Odoo integration

+

JWT or JSON Web Token is a string sent from client to server within the HTTP request to validate the authenticity of the client. JWT is saved on the client-side only so the transmission between parties is protected and digitally signed.

+

The token is generated using the JWT (JSON Web Tokens) standard. The tokens are signed by the server's key, so the client is able to verify that the token is legitimate.

+

ONLYOFFICE Docs validates the token. The data from the payload is considered valid and is used instead of the corresponding data from the main parameters. If the token is invalid, the command is not executed. To learn more, please read the API Security guide.

+

In Odoo, JWT is enabled by default.

+

Follow these steps to configure it manually if needed:

+
    +
  1. Go to Home menu -> Settings -> ONLYOFFICE.
  2. +
  3. Enter the values in the following fields: +
      +
    • Document Server JWT Secret: The secret key is generated automatically to restrict the access to ONLYOFFICE Docs. if you want to specify your own secret key in this field, also specify the same secret key in the ONLYOFFICE Docs config file to enable the validation.
    • +
    • Document Server JWT Header: Standard JWT header used in ONLYOFFICE is Authorization. In case this header is in conflict with your setup, you can change the header to the custom one.
    • +
    +
  4. +
+
--%> + +
+

Start using ONLYOFFICE Docs within Dropbox

+
+

To edit or view a file:

+
    +
  1. Locate the required file in the All files section or in existing folders if any.
  2. +
  3. Click the required file with the right-mouse button to open a contextual menu.
  4. +
  5. Hover over the Open in menu item and choose the ONLYOFFICE Docs option. +
    + ONLYOFFICE_Dropbox_open_file" /> + ONLYOFFICE_Dropbox_open_file" /> +
    +
    +
  6. +
  7. The file will be opened in the corresponding ONLYOFFICE editor in a separate tab.
  8. +
+
+
+
+ + diff --git a/Web/Controls/Help/HelpCenter.ascx b/Web/Controls/Help/HelpCenter.ascx index 1cf3246fb..b904c0235 100644 --- a/Web/Controls/Help/HelpCenter.ascx +++ b/Web/Controls/Help/HelpCenter.ascx @@ -165,6 +165,7 @@

">Alfresco

">Chamilo

">Confluence

+

">Dropbox

">Drupal

">HumHub

">Jira

diff --git a/Web/Controls/Help/Integration/Dropbox.ascx b/Web/Controls/Help/Integration/Dropbox.ascx new file mode 100644 index 000000000..6b874d9ad --- /dev/null +++ b/Web/Controls/Help/Integration/Dropbox.ascx @@ -0,0 +1,57 @@ +<%@ Control Language="C#" Inherits="BaseContentUserControls" %> +<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %> + + + +
+

Integration Guides

+ <%--
+

+ +

+
+ +
+
--%> + + +
\ No newline at end of file diff --git a/Web/Controls/Help/Integration/Integration.ascx b/Web/Controls/Help/Integration/Integration.ascx index ce18cf48c..e0dc16a4c 100644 --- a/Web/Controls/Help/Integration/Integration.ascx +++ b/Web/Controls/Help/Integration/Integration.ascx @@ -122,6 +122,28 @@ + +