Skip to content

Commit

Permalink
Merge pull request 'Release/9.4.0' from develop into master
Browse files Browse the repository at this point in the history
  • Loading branch information
LinneyS committed Sep 20, 2024
2 parents f5a9d2c + 46d1141 commit cde1e2e
Show file tree
Hide file tree
Showing 45 changed files with 14,158 additions and 2,836 deletions.
5 changes: 5 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
extends: [
'@nextcloud',
],
}
2 changes: 1 addition & 1 deletion .github/workflows/artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
rm -rf ./node_modules/
rm -rf ./src/
rm ./package.json
rm ./package-lock.json
rm ./npm-shrinkwrap.json
rm ./webpack.js
rm -rf ./assets/document-templates/.git
rm -rf ./assets/document-formats/.git
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/lint-eslint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: ESLint

on:
workflow_dispatch:
push:
branches: [master, develop]
pull_request:
branches: [master, develop]

env:
NODE_VERSION: 20

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./src
steps:
- name: Install NodeJS
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}

- name: Code Checkout
uses: actions/checkout@v3

- name: Install Dependencies
run: npm ci

- name: Code Linting
run: npx eslint *.js

- name: CSS Linting
run: npx stylelint ../css/*.css
3 changes: 2 additions & 1 deletion .github/workflows/lint-php.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Lint
name: Lint-php

on:
workflow_dispatch:
push:
branches: [master, develop]
pull_request:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint-phpcs.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Lint
name: Lint-phpcs

on:
workflow_dispatch:
push:
branches: [master, develop]
pull_request:
branches: [master, develop, feature/nc-27]
branches: [master, develop]

permissions:
contents: read
Expand Down
1 change: 1 addition & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "extends": ["@nextcloud/stylelint-config"] }
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Change Log

## 9.4.0
## Added
- support tiff format for inserting

## Changed
- compatible with Nextcloud 30
- Nextcloud v27 is no longer supported
- using user's timezone for watermark

## 9.3.0
## Changed
- creating and editing pdf form
Expand Down
4 changes: 2 additions & 2 deletions appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<description>ONLYOFFICE connector allows you to view, edit and collaborate on text documents, spreadsheets and presentations within Nextcloud 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>
<licence>agpl</licence>
<author mail="[email protected]" homepage="https://www.onlyoffice.com/">Ascensio System SIA</author>
<version>9.3.0</version>
<version>9.4.0</version>
<namespace>Onlyoffice</namespace>
<types>
<prevent_group_restriction/>
Expand All @@ -30,7 +30,7 @@
<screenshot>https://raw.githubusercontent.com/ONLYOFFICE/onlyoffice-nextcloud/master/screenshots/open.png</screenshot>
<screenshot>https://raw.githubusercontent.com/ONLYOFFICE/onlyoffice-nextcloud/master/screenshots/open_form.png</screenshot>
<dependencies>
<nextcloud min-version="27" max-version="29"/>
<nextcloud min-version="28" max-version="30"/>
</dependencies>
<settings>
<admin>OCA\Onlyoffice\AdminSettings</admin>
Expand Down
2 changes: 1 addition & 1 deletion assets/document-formats
2 changes: 2 additions & 0 deletions css/editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,13 @@
.AscDesktopEditor #body-user #header {
display: none;
}

.AscDesktopEditor #body-user #content {
min-height: 100%;
padding-top: 0;
margin-top: 0px;
}

.AscDesktopEditor #app > iframe {
height: 100% !important;
}
35 changes: 23 additions & 12 deletions css/format.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,32 @@
*
*/

.icon-onlyoffice-new-docx {
background-size: 20px !important;
background-position: 12px !important;
background-image: url("../img/new-docx.svg");
}
.icon-onlyoffice-new-xlsx {
background-size: 20px !important;
background-position: 12px !important;
background-image: url("../img/new-xlsx.svg");
.icon-onlyoffice-new-docx:after,
.icon-onlyoffice-new-xlsx:after,
.icon-onlyoffice-new-pptx:after {
display: block;
margin-top: 5px;
}

.icon-onlyoffice-new-docx,
.icon-onlyoffice-new-xlsx,
.icon-onlyoffice-new-pptx {
background-size: 20px !important;
background-position: 12px !important;
background-image: url("../img/new-pptx.svg");
display: flex;
justify-content: center;
}

.icon-onlyoffice-new-docx:after {
content: url("../img/new-docx.svg");
}

.icon-onlyoffice-new-xlsx:after {
content: url("../img/new-xlsx.svg");
}

.icon-onlyoffice-new-pptx:after {
content: url("../img/new-pptx.svg");
}

.icon-onlyoffice-new-pdf {
background-size: 20px !important;
background-position: 12px !important;
Expand Down
11 changes: 11 additions & 0 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@
#body-user.onlyoffice-inline .files-list__header {
display: none;
}

#body-user.onlyoffice-inline #app-navigation-toggle {
display: none !important;
}

#body-public.onlyoffice-inline #content #app-content,
#body-user.onlyoffice-inline #content #app-content,
#body-user.onlyoffice-inline #content #app-content-vue,
Expand All @@ -61,6 +63,7 @@
overflow: hidden;
overscroll-behavior-y: none;
}

#body-public.onlyoffice-inline footer {
display: none !important;
}
Expand All @@ -84,32 +87,40 @@
.AscDesktopEditor #body-user #header {
display: none;
}

.AscDesktopEditor #body-user #content {
padding-top: 0;
margin-top: 0px;
height: 100%;
}

.AscDesktopEditor #body-user #app-navigation,
.AscDesktopEditor #body-user #controls,
.AscDesktopEditor #body-user #app-sidebar {
top: 0;
}

.AscDesktopEditor #body-user #app-navigation {
height: 100%;
}

.AscDesktopEditor #body-user #app-sidebar {
height: 100vh;
}

.AscDesktopEditor #body-user table.multiselect thead,
.AscDesktopEditor #app-content-files thead {
top: 44px;
}

.AscDesktopEditor #body-user #gallery-button {
display: none;
}

.onlyoffice-download-container {
display: flex;
}

.onlyoffice-download-container p {
margin-right: 10px;
padding-top: 10px;
Expand Down
11 changes: 11 additions & 0 deletions css/settings.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,31 +30,39 @@
box-sizing: content-box;
padding-top: 6px;
}

.onlyoffice-header {
display: inline-block;
margin-top: 16px;
}

.section-onlyoffice input {
display: block;
width: 250px;
}

.onlyoffice-hide {
display: none;
}

#onlyofficeAdv {
cursor: pointer;
text-decoration: none;
}

#onlyofficeAdv .icon {
display: inline-block;
margin-bottom: -3px;
}

#onlyofficeAddrSave {
float: left;
}

.onlyoffice-demo {
margin-left: 90px;
}

#s2id_onlyofficeLimitGroups,
#s2id_onlyofficeWatermark_allGroupsList,
#s2id_onlyofficeWatermark_allTagsList,
Expand All @@ -64,18 +72,21 @@
margin-top: 6px;
width: 250px;
}

.onlyoffice-exts {
column-width: 100px;
-moz-column-width: 100px;
-webkit-column-width: 100px;
}

.onlyoffice-tables {
margin-top: 4px;
line-height: initial;
column-width: 140px;
-moz-column-width: 140px;
-webkit-column-width: 140px;
}

#onlyofficeSecret-show {
left: 205px;
}
9 changes: 9 additions & 0 deletions css/share.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,33 +33,41 @@
-webkit-mask: url("../img/app-dark.svg") no-repeat 50% 50%;
-webkit-mask-size: 16px 16px;
}

.onlyoffice-share-item {
display: flex;
list-style-type: none;
}

.onlyoffice-share-item img {
width: 32px;
height: 32px;
}

.onlyoffice-share-popup {
margin-right: 14px;
margin-top: 44px;
}

.onlyoffice-share-item span {
margin-left: 10px;
margin-top: 5px;
}

#onlyoffice-share-menu {
margin-left: auto;
}

.onlyoffice-share-action {
line-height: 44px;
}

.onlyoffice-share-label {
padding-right: 14px !important;
padding-left: 14px !important;
opacity: .7;
}

.onlyoffice-share-link-avatar {
height: 32px;
width: 32px;
Expand All @@ -68,6 +76,7 @@
display: flex;
justify-content: center;
}

.onlyoffice-share-link-avatar img {
height: 16px;
width: 16px;
Expand Down
Loading

0 comments on commit cde1e2e

Please sign in to comment.