Skip to content

Commit f086753

Browse files
committed
Merge pull request 'Release/9.6.1' from develop into master
Reviewed-on: https://git.onlyoffice.com/ONLYOFFICE/onlyoffice-owncloud/pulls/22
2 parents 80aa7f7 + dafef6a commit f086753

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+780
-170
lines changed

.github/workflows/artifact.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,14 @@ on:
55
push:
66
branches: [master]
77
pull_request:
8-
types: [opened, reopened]
98
branches: [master]
109

1110
jobs:
1211
artifact:
1312
runs-on: ubuntu-latest
1413
steps:
1514
- name: Checkout
16-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1716
- name: Get Info
1817
run: |
1918
echo "version=$(grep -Eo '[0-9]+(\.[0-9]+)+' CHANGELOG.md | head -n 1)" >> $GITHUB_OUTPUT
@@ -28,15 +27,20 @@ jobs:
2827
cd onlyoffice
2928
rm -rf ./.github/
3029
rm -rf ./.git/
30+
rm ./.eslintrc.json
3131
rm ./.gitmodules
32+
rm ./.stylelintrc.json
33+
rm ./npm-shrinkwrap.json
34+
rm ./package.json
35+
rm ./ruleset.xml
3236
rm -rf ./assets/document-templates/.git
3337
rm -rf ./assets/document-formats/.git
3438
cd ./appinfo
3539
sed -i 's|<licence>apl2|<licence>agpl|' info.xml
3640
cd $cwd
3741
tar -czvf onlyoffice.tar.gz onlyoffice
3842
- name: Upload Artifact
39-
uses: actions/upload-artifact@v3
43+
uses: actions/upload-artifact@v4
4044
with:
4145
name: onlyoffice
4246
path: onlyoffice.tar.gz

.github/workflows/lint-eslint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
working-directory: ./js
2020
steps:
2121
- name: Install NodeJS
22-
uses: actions/setup-node@v3
22+
uses: actions/setup-node@v4
2323
with:
2424
node-version: ${{ env.NODE_VERSION }}
2525

2626
- name: Code Checkout
27-
uses: actions/checkout@v3
27+
uses: actions/checkout@v4
2828

2929
- name: Install Dependencies
3030
run: npm ci

.github/workflows/lint-php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
name: php-lint
2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v3
22+
uses: actions/checkout@v4
2323

2424
- name: Set up php ${{ matrix.php-versions }}
2525
uses: shivammathur/setup-php@v2

.github/workflows/lint-phpcs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
name: php-cs
1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020
- name: Setup PHP
2121
uses: shivammathur/setup-php@v2
2222
with:

3rd-Party.license

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ownCloud ONLYOFFICE integration app uses code from the following 3rd party projects:
1+
ONLYOFFICE app for ownCloud uses code from the following 3rd party projects:
22

33
JWT - JSON Web Token implementation (https://github.com/firebase/php-jwt/blob/master/LICENSE)
44
License: BSD

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Change Log
22

3+
## 9.6.1
4+
## Added
5+
- setting for setup unknown author display name
6+
- setting for sending notifications by email
7+
- opening docm, xlsm, pptm files
8+
- support IMPORTRANGE
9+
10+
## Changed
11+
- URL for requests to Conversion API
12+
- reading JSON instead of XML from Conversion API
13+
314
## 9.5.1
415
## Added
516
- default empty templates

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ![onlyoffice icon](screenshots/icon.png) ownCloud ONLYOFFICE integration app
1+
# ![onlyoffice icon](screenshots/icon.png) ONLYOFFICE app for ownCloud
22

33
This app allows users to edit office documents from [ownCloud](https://owncloud.com) using ONLYOFFICE Docs packaged as Document Server - [Community or Enterprise Edition](#onlyoffice-docs-editions).
44

@@ -7,14 +7,16 @@ This app allows users to edit office documents from [ownCloud](https://owncloud.
77
The app allows to:
88

99
* Create and edit text documents, spreadsheets, and presentations.
10+
* Create and edit PDF forms.
11+
* Edit PDF files.
1012
* Share files with different permission types - viewing/editing, commenting, reviewing, filling forms. It's also possible to restrict downloading (in all editors) and modifying filters (in spreadshhets). Sharing via public link is also available.
1113
* Co-edit documents in real-time: use two co-editing modes (Fast and Strict), Track Changes, comments, and built-in chat. Co-editing is also available several federated ownCloud instances connected to one Document Server.
1214
* Work with documents, spreadsheets, and presentations within ownCloud Web.
1315

1416
Supported formats:
1517

16-
* For editing: DOCM, DOCX, DOCXF, DOTM, DOTX, EPUB, FB2, HTML, ODT, OTT, RTF, TXT, CSV, ODS, OTS, XLSM, XLSX, XLTM, XLTX, ODP, OTP, POTM, POTX, PPSM, PPSX, PPTM, PPTX.
17-
* For viewing only: DJVU, DOC, DOT, FODT, HTM, MHT, MHTML, OFORM, PDF, STW, SXW, WPS, WPT, XML, XPS, ET, ETT, FODS, SXC, XLS, XLSB, XLT, DPS, DPT, FODP, POT, PPS, PPT, SXI.
18+
* For editing: DOCM, DOCX, DOTM, DOTX, PDF, EPUB, FB2, HTML, ODT, OTT, RTF, TXT, CSV, ODS, OTS, XLSM, XLSX, XLTM, XLTX, ODP, OTP, POTM, POTX, PPSM, PPSX, PPTM, PPTX.
19+
* For viewing only: DJVU, DOC, DOT, FODT, HTM, MHT, MHTML, STW, SXW, WPS, WPT, XML, XPS, ET, ETT, FODS, SXC, XLS, XLSB, XLT, DPS, DPT, FODP, POT, PPS, PPT, SXI.
1820

1921
ODT, ODS, and ODP is also available for instant conversion. After you enable the corresponding option in the admin settings, ODF-formatted documents are immediately converted in the editor and opened after you click on it.
2022

@@ -36,9 +38,9 @@ To use ONLYOFFICE behind a proxy, please refer to [this article](https://helpcen
3638

3739
You can also use our **[Docker installation](https://github.com/ONLYOFFICE/docker-onlyoffice-owncloud)** to install pre-configured Document Server (free version) and ownCloud with a couple of commands.
3840

39-
## Installing ownCloud ONLYOFFICE integration app
41+
## Installing ONLYOFFICE app for ownCloud
4042

41-
The ownCloud administrator can install the integration app from the in-built application market.
43+
The ownCloud administrator can install the app from the in-built application market.
4244
For that click the upper-left hamburger menu and select **Market**. After that find **ONLYOFFICE** in the list of available applications and install it.
4345

4446
If the server with the ownCloud installed does not have an Internet access, or if you need it for some other reason, the administrator can install the application manually:
@@ -49,7 +51,7 @@ If the server with the ownCloud installed does not have an Internet access, or i
4951
cd apps/
5052
```
5153

52-
2. Get the ownCloud ONLYOFFICE integration app.
54+
2. Get the ONLYOFFICE app for ownCloud.
5355
There are several ways to do that:
5456

5557
a. Download the latest signed version from the official store for [ownCloud](https://marketplace.owncloud.com/apps/onlyoffice).
@@ -73,7 +75,7 @@ There are several ways to do that:
7375

7476
4. In ownCloud open the `~/settings/admin?sectionid=apps&category=disabled` page with _Not enabled_ apps by administrator and click _Enable_ for the **ONLYOFFICE** application.
7577

76-
## Configuring ownCloud ONLYOFFICE integration app
78+
## Configuring ONLYOFFICE app for ownCloud
7779

7880
In ownCloud open the `~/settings/admin?sectionid=additional#onlyoffice` page with administrative settings for **ONLYOFFICE** section.
7981
Enter the following address to connect ONLYOFFICE Document Server:
@@ -129,7 +131,7 @@ Depending on your webserver configuration you can drop the `index.php` segment f
129131

130132
## How it works
131133

132-
The ONLYOFFICE integration follows the API documented [here](https://api.onlyoffice.com/editors/basic):
134+
The ONLYOFFICE app follows the API documented [here](https://api.onlyoffice.com/editors/basic):
133135

134136
* When creating a new file, the user navigates to a document folder within ownCloud and clicks the **Document**, **Spreadsheet** or **Presentation** item in the _new_ (+) menu.
135137

@@ -194,7 +196,7 @@ The instruction on enabling _master key_ based encryption is available in the of
194196
195197
To solve this, we added an asynchronous background task which runs on the server to check availability of the editors. It allows testing the connection between your **ownCloud instance** and **ONLYOFFICE Document Server**, namely availability of server addresses and the validity of the JWT secret are being checked.
196198
197-
If any issue is detected, the ONLYOFFICE integration connector (consequently, the ability to create and open files) will be disabled. As an ownCloud admin, you will get the corresponding notification.
199+
If any issue is detected, the ONLYOFFICE app (consequently, the ability to create and open files) will be disabled. As an ownCloud admin, you will get the corresponding notification.
198200
199201
This option allows you to avoid issues when the server settings become incorrect and require changes.
200202

appinfo/app.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* @author Ascensio System SIA <integration@onlyoffice.com>
44
*
5-
* (c) Copyright Ascensio System SIA 2024
5+
* (c) Copyright Ascensio System SIA 2025
66
*
77
* Licensed under the Apache License, Version 2.0 (the "License");
88
* you may not use this file except in compliance with the License.

appinfo/application.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* @author Ascensio System SIA <integration@onlyoffice.com>
44
*
5-
* (c) Copyright Ascensio System SIA 2024
5+
* (c) Copyright Ascensio System SIA 2025
66
*
77
* Licensed under the Apache License, Version 2.0 (the "License");
88
* you may not use this file except in compliance with the License.
@@ -119,6 +119,9 @@ function () {
119119
$detector->registerType("ott", "application/vnd.oasis.opendocument.text-template");
120120
$detector->registerType("ots", "application/vnd.oasis.opendocument.spreadsheet-template");
121121
$detector->registerType("otp", "application/vnd.oasis.opendocument.presentation-template");
122+
$detector->registerType("docm", "application/vnd.ms-word.document.macroenabled.12");
123+
$detector->registerType("xlsm", "application/vnd.ms-excel.sheet.macroenabled.12");
124+
$detector->registerType("pptm", "application/vnd.ms-powerpoint.presentation.macroenabled.12");
122125

123126
$previewManager = $container->query(IPreview::class);
124127
if ($this->appConfig->getPreview()) {
@@ -228,7 +231,8 @@ function ($c) {
228231
$this->crypt,
229232
$c->query("IManager"),
230233
$c->query("Session"),
231-
$c->query("ServerContainer")->getGroupManager()
234+
$c->query("ServerContainer")->getGroupManager(),
235+
$c->query("Mailer")
232236
);
233237
}
234238
);

appinfo/info.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
<description>ONLYOFFICE connector allows you to view, edit and collaborate on text documents, spreadsheets and presentations within ownCloud using ONLYOFFICE Docs. This will create a new Edit in ONLYOFFICE action within the document library for Office documents. This allows multiple users to co-author documents in real time from the familiar web interface and save the changes back to your file storage.</description>
77
<licence>apl2</licence>
88
<author>Ascensio System SIA</author>
9-
<version>9.5.1</version>
9+
<version>9.6.1</version>
1010
<namespace>Onlyoffice</namespace>
1111
<types>
1212
<filesystem/>
1313
</types>
1414
<documentation>
15-
<admin>https://api.onlyoffice.com/editors/owncloud</admin>
15+
<admin>https://helpcenter.onlyoffice.com/integration/owncloud.aspx</admin>
16+
<user>https://helpcenter.onlyoffice.com/integration/owncloud.aspx</user>
1617
<developer>https://github.com/ONLYOFFICE/onlyoffice-owncloud</developer>
17-
<user>https://api.onlyoffice.com/editors/owncloud</user>
1818
</documentation>
1919
<category>tools</category>
2020
<website>https://www.onlyoffice.com</website>

0 commit comments

Comments
 (0)