Skip to content

Commit

Permalink
Merge pull request #5 from ONLYOFFICE/develop
Browse files Browse the repository at this point in the history
Release/1.0.0
  • Loading branch information
LinneyS committed Jul 26, 2023
2 parents 65c5178 + 9697e2e commit 55421e9
Show file tree
Hide file tree
Showing 319 changed files with 25,060 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true

[*.go]
indent_style = tab

[*.{js, ts, json, html}]
indent_style = space
indent_size = 4

[frontend/package.json]
indent_size = 2

[{Makefile, *.mk}]
indent_style = tab

[*.md]
indent_style = space
indent_size = 4
trim_trailing_whitespace = false
39 changes: 39 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Logs
_log
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Dependency directories
node_modules/
bower_components/
jspm_packages/

# Coverage directories
coverage/

# Build output
build/
dist/

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

# Miscellaneous
.DS_Store
.vscode

# Env
.env
.env.production

# Backend config
config.yml
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "backend/services/gateway/assets/assets"]
path = backend/services/gateway/assets/assets
url = https://github.com/ONLYOFFICE/document-templates.git
branch = main/new
4 changes: 4 additions & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Authors

* Ascensio System SIA: <integration@onlyoffice.com>

8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Change Log

## 1.0.0
## Added
- configuration page
- collaboration editing for DOCX, XLSX, PPTX
- view option DOC, DOCX, DOCM, DOT, DOTX, DOTM, ODT, FODT, OTT, RTF, TXT, HTML, HTM, MHT, XML, PDF, DJVU, FB2, EPUB, XPS, OXPS, XLS, XLSX, XLSM, XLT, XLTX, XLTM, ODS, FODS, OTS, CSV, PPS, PPSX, PPSM, PPT, PPTX, PPTM, POT, POTX, POTM, ODP, FODP, OTP
- JWT support
84 changes: 84 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
FROM node:current-alpine AS build-frontend
LABEL maintainer Ascensio System SIA <support@onlyoffice.com>
ARG BACKEND_GATEWAY
ARG PIPEDRIVE_CREATE_MODAL_ID
ARG PIPEDRIVE_EDITOR_MODAL_ID
ENV BACKEND_GATEWAY=$BACKEND_GATEWAY \
PIPEDRIVE_CREATE_MODAL_ID=$PIPEDRIVE_CREATE_MODAL_ID \
PIPEDRIVE_EDITOR_MODAL_ID=$PIPEDRIVE_EDITOR_MODAL_ID
WORKDIR /usr/src/app
COPY ./frontend/package*.json ./
RUN npm install
COPY frontend .
RUN npm run build

FROM golang:alpine AS build-gateway
WORKDIR /usr/src/app
COPY backend .
RUN go build services/gateway/main.go

FROM golang:alpine AS build-auth
WORKDIR /usr/src/app
COPY backend .
RUN go build services/auth/main.go

FROM golang:alpine AS build-builder
WORKDIR /usr/src/app
COPY backend .
RUN go build services/builder/main.go

FROM golang:alpine AS build-callback
WORKDIR /usr/src/app
COPY backend .
RUN go build services/callback/main.go

FROM golang:alpine AS build-settings
WORKDIR /usr/src/app
COPY backend .
RUN go build services/settings/main.go

FROM golang:alpine AS gateway
WORKDIR /usr/src/app
COPY --from=build-gateway \
/usr/src/app/main \
/usr/src/app/main
EXPOSE 4044
CMD ["./main", "server"]

FROM golang:alpine AS auth
WORKDIR /usr/src/app
COPY --from=build-auth \
/usr/src/app/main \
/usr/src/app/main
EXPOSE 5052
CMD ["./main", "server"]

FROM golang:alpine AS builder
WORKDIR /usr/src/app
COPY --from=build-builder \
/usr/src/app/main \
/usr/src/app/main
EXPOSE 6260
CMD ["./main", "server"]

FROM golang:alpine AS callback
WORKDIR /usr/src/app
COPY --from=build-callback \
/usr/src/app/main \
/usr/src/app/main
EXPOSE 5044
CMD ["./main", "server"]

FROM golang:alpine AS settings
WORKDIR /usr/src/app
COPY --from=build-settings \
/usr/src/app/main \
/usr/src/app/main
EXPOSE 5150
CMD ["./main", "server"]

FROM nginx:alpine AS frontend
COPY --from=build-frontend \
/usr/src/app/build \
/usr/share/nginx/html
EXPOSE 80
122 changes: 122 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
# ONLYOFFICE App for Pipedrive

This app allows users to edit and collaborate on office documents right within [Pipedrive](https://www.pipedrive.com/) deals using ONLYOFFICE Docs.

## Installing ONLYOFFICE Docs

To be able to work with office files within Pipedrive, you will need an instance of ONLYOFFICE Docs. You can install the self-hosted version of the editors or opt for ONLYOFFICE Docs Cloud which doesn't require downloading and installation.

**Self-hosted editors**

You can install free Community version of ONLYOFFICE Docs or scalable Enterprise Edition.

To install free Community version, use [Docker](https://github.com/onlyoffice/Docker-DocumentServer) (recommended) or follow [these instructions](https://helpcenter.onlyoffice.com/installation/docs-community-install-ubuntu.aspx) for Debian, Ubuntu, or derivatives.

To install Enterprise Edition, follow the instructions [here](https://helpcenter.onlyoffice.com/installation/docs-enterprise-index.aspx).

Community Edition vs Enterprise Edition comparison can be found [here](#onlyoffice-docs-editions).

**ONLYOFFICE Docs Cloud**

To get ONLYOFFICE Docs Cloud, get started [here](https://www.onlyoffice.com/docs-registration.aspx).

## App installation and configuration

You can add the ONLYOFFICE app from the [Pipedrive App Marketplace](https://www.pipedrive.com/en/marketplace).

Once done, go to the ONLYOFFICE app settings page (Tools and Integrations -> Marketplace apps -> ONLYOFFICE) and enter the name of the server with ONLYOFFICE Docs installed in the *Document Server Address* field.

Starting from version 7.2 of ONLYOFFICE Docs, JWT is enabled by default and the secret key is generated automatically to restrict the access to the editors and for security reasons and data integrity. You can specify your own *Document Server Secret* on the settings page. In the ONLYOFFICE Docs [config file](https://api.onlyoffice.com/editors/signature/), specify the same secret key to enable the validation.

## App usage

The app allows working with office documents directly within the Pipedrive frontend.

You can create and upload text documents, spreadsheets, and presentations within your Pipedrive Deals. Just click the corresponding button (Create or upload document) in the ONLYOFFICE Documents section.

To edit the created files, reach to the ONLYOFFICE Documents section and open the needed document by clicking the pencil icon. Everyone who has access to the deal can open the file for editing. You can also collaborate on documents in real time together with your colleagues.

## ONLYOFFICE Docs editions

Self-hosted **ONLYOFFICE Docs** is packaged as Document Server:

* Community Edition (`onlyoffice-documentserver` package)
* Enterprise Edition (`onlyoffice-documentserver-ee` package)

The table below will help you make the right choice.

| Pricing and licensing | Community Edition | Enterprise Edition |
| ------------- | ------------- | ------------- |
| | [Get it now](https://www.onlyoffice.com/download-docs.aspx#docs-community) | [Start Free Trial](https://www.onlyoffice.com/download-docs.aspx#docs-enterprise) |
| Cost | FREE | [Go to the pricing page](https://www.onlyoffice.com/docs-enterprise-prices.aspx) |
| Simultaneous connections | up to 20 maximum | As in chosen pricing plan |
| Number of users | up to 20 recommended | As in chosen pricing plan |
| License | GNU AGPL v.3 | Proprietary |
| **Support** | **Community Edition** | **Enterprise Edition** |
| Documentation | [Help Center](https://helpcenter.onlyoffice.com/installation/docs-community-index.aspx) | [Help Center](https://helpcenter.onlyoffice.com/installation/docs-enterprise-index.aspx) |
| Standard support | [GitHub](https://github.com/ONLYOFFICE/DocumentServer/issues) or paid | One year support included |
| Premium support | [Contact us](mailto:sales@onlyoffice.com) | [Contact us](mailto:sales@onlyoffice.com) |
| **Services** | **Community Edition** | **Enterprise Edition** |
| Conversion Service | + | + |
| Document Builder Service | + | + |
| **Interface** | **Community Edition** | **Enterprise Edition** |
| Tabbed interface | + | + |
| Dark theme | + | + |
| 125%, 150%, 175%, 200% scaling | + | + |
| White Label | - | - |
| Integrated test example (node.js) | + | + |
| Mobile web editors | - | +* |
| **Plugins & Macros** | **Community Edition** | **Enterprise Edition** |
| Plugins | + | + |
| Macros | + | + |
| **Collaborative capabilities** | **Community Edition** | **Enterprise Edition** |
| Two co-editing modes | + | + |
| Comments | + | + |
| Built-in chat | + | + |
| Review and tracking changes | + | + |
| Display modes of tracking changes | + | + |
| Version history | + | + |
| **Document Editor features** | **Community Edition** | **Enterprise Edition** |
| Font and paragraph formatting | + | + |
| Object insertion | + | + |
| Adding Content control | + | + |
| Editing Content control | + | + |
| Layout tools | + | + |
| Table of contents | + | + |
| Navigation panel | + | + |
| Mail Merge | + | + |
| Comparing Documents | + | + |
| **Spreadsheet Editor features** | **Community Edition** | **Enterprise Edition** |
| Font and paragraph formatting | + | + |
| Object insertion | + | + |
| Functions, formulas, equations | + | + |
| Table templates | + | + |
| Pivot tables | + | + |
| Data validation | + | + |
| Conditional formatting | + | + |
| Sparklines | + | + |
| Sheet Views | + | + |
| **Presentation Editor features** | **Community Edition** | **Enterprise Edition** |
| Font and paragraph formatting | + | + |
| Object insertion | + | + |
| Transitions | + | + |
| Presenter mode | + | + |
| Notes | + | + |
| **Form creator features** | **Community Edition** | **Enterprise Edition** |
| Adding form fields | + | + |
| Form preview | + | + |
| Saving as PDF | + | + |
| | [Get it now](https://www.onlyoffice.com/download-docs.aspx#docs-community) | [Start Free Trial](https://www.onlyoffice.com/download-docs.aspx#docs-enterprise) |

\* If supported by DMS.

## Project info

Official website: [www.onlyoffice.com](https://www.onlyoffice.com/)

Code repository: [github.com/ONLYOFFICE/onlyoffice-pipedrive](https://github.com/ONLYOFFICE/onlyoffice-pipedrive)

## User feedback and support

In case of technical problems, the best way to get help is to submit your issues [here](https://github.com/ONLYOFFICE/onlyoffice-pipedrive/issues).
Alternatively, you can contact ONLYOFFICE team on [forum.onlyoffice.com](https://forum.onlyoffice.com/).
Loading

0 comments on commit 55421e9

Please sign in to comment.