Skip to content

Commit

Permalink
Merge pull request #623 from ONLYOFFICE/develop
Browse files Browse the repository at this point in the history
Release/7.3.4
  • Loading branch information
LinneyS authored May 5, 2022
2 parents ea6ba9a + 40bde6a commit 3dc7015
Show file tree
Hide file tree
Showing 31 changed files with 133 additions and 228 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Change Log

## 7.3.4
## Added
- Turkish and Galician empty file templates

## Changed
- Nextcloud v21 is no longer supported
- compatible with Nextcloud 24

## 7.3.2
## Changed
- Nextcloud v20 is no longer supported
Expand Down
9 changes: 2 additions & 7 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>apache</licence>
<author mail="dev@onlyoffice.com" homepage="https://www.onlyoffice.com/">Ascensio System SIA</author>
<version>7.3.2</version>
<version>7.3.4</version>
<namespace>Onlyoffice</namespace>
<types>
<prevent_group_restriction/>
Expand All @@ -29,7 +29,7 @@
<screenshot>https://raw.githubusercontent.com/ONLYOFFICE/onlyoffice-nextcloud/master/screenshots/new.png</screenshot>
<screenshot>https://raw.githubusercontent.com/ONLYOFFICE/onlyoffice-nextcloud/master/screenshots/open.png</screenshot>
<dependencies>
<nextcloud min-version="21" max-version="23"/>
<nextcloud min-version="22" max-version="24"/>
</dependencies>
<settings>
<admin>OCA\Onlyoffice\AdminSettings</admin>
Expand All @@ -38,9 +38,4 @@
<commands>
<command>OCA\Onlyoffice\Command\DocumentServer</command>
</commands>
<repair-steps>
<post-migration>
<step>OCA\Onlyoffice\Migration\MimeRepair</step>
</post-migration>
</repair-steps>
</info>
10 changes: 9 additions & 1 deletion controller/editorapicontroller.php
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,15 @@ public function config($fileId, $filePath = null, $shareToken = null, $directTok
try {
$lockService = \OC::$server->get(LockService::class);
$lock = $lockService->getLockFromFileId($file->getId());
$lockOwner = $lock->getUserId();

$lockOwner = null;
if (method_exists($lock, "getUserId")) {
$lockOwner = $lock->getUserId();
}
else if(method_exists($lock, "getOwner")) {
$lockOwner = $lock->getOwner();
}

if ($userId !== $lockOwner) {
$isTempLock = true;
$this->logger->debug("File" . $file->getId() . "is locked by $lockOwner", ["app" => $this->appName]);
Expand Down
2 changes: 1 addition & 1 deletion l10n/bg.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ OC.L10N.register(
"Failed to send notification": "Неуспешно изпращане на известие",
"Notification sent successfully": "Успешно изпратено известие",
"%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s, споменат във %2\$s: \"%3\$s\".",
"{notifier} mentioned in the {file}: \"%1\$s\".": "{notifier} споменат във {file}: \"%1\$s\".",
"{notifier} mentioned in the {file}: \"%1\$s\".": "{notifier} Ви спомена във {file}: \"%1\$s\".",
"Choose a format to convert {fileName}": "Изберете формат за конвертиране {fileName}",
"New form template": "Нов шаблон на формуляр",
"Blank": "Празно",
Expand Down
168 changes: 84 additions & 84 deletions l10n/bg.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion l10n/de.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ OC.L10N.register(
"Failed to send notification": "Fehler beim Senden einer Benachrichtigung",
"Notification sent successfully": "Benachrichtigung erfolgreich gesendet",
"%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s hat in %2\$s erwähnt: \"%3\$s\".",
"{notifier} mentioned in the {file}: \"%1\$s\".": "{notifier} hat in {file} erwähnt: \"%1\$s\".",
"{notifier} mentioned in the {file}: \"%1\$s\".": "{notifier} hat dich in {file} erwähnt: \"%1\$s\".",
"Choose a format to convert {fileName}": "Wählen Sie das Format für {fileName} aus",
"New form template": "Neue Formularvorlage",
"Blank": "Leer",
Expand Down
2 changes: 1 addition & 1 deletion l10n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"Failed to send notification": "Fehler beim Senden einer Benachrichtigung",
"Notification sent successfully": "Benachrichtigung erfolgreich gesendet",
"%1$s mentioned in the %2$s: \"%3$s\".": "%1$s hat in %2$s erwähnt: \"%3$s\".",
"{notifier} mentioned in the {file}: \"%1$s\".": "{notifier} hat in {file} erwähnt: \"%1$s\".",
"{notifier} mentioned in the {file}: \"%1$s\".": "{notifier} hat dich in {file} erwähnt: \"%1$s\".",
"Choose a format to convert {fileName}": "Wählen Sie das Format für {fileName} aus",
"New form template": "Neue Formularvorlage",
"Blank": "Leer",
Expand Down
2 changes: 1 addition & 1 deletion l10n/de_DE.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ OC.L10N.register(
"Failed to send notification": "Fehler beim Senden einer Benachrichtigung",
"Notification sent successfully": "Benachrichtigung erfolgreich gesendet",
"%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s hat in %2\$s erwähnt: \"%3\$s\".",
"{notifier} mentioned in the {file}: \"%1\$s\".": "{notifier} hat in {file} erwähnt: \"%1\$s\".",
"{notifier} mentioned in the {file}: \"%1\$s\".": "{notifier} hat dich in {file} erwähnt: \"%1\$s\".",
"Choose a format to convert {fileName}": "Wählen Sie das Format für {fileName} aus",
"New form template": "Neue Formularvorlage",
"Blank": "Leer",
Expand Down
2 changes: 1 addition & 1 deletion l10n/de_DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"Failed to send notification": "Fehler beim Senden einer Benachrichtigung",
"Notification sent successfully": "Benachrichtigung erfolgreich gesendet",
"%1$s mentioned in the %2$s: \"%3$s\".": "%1$s hat in %2$s erwähnt: \"%3$s\".",
"{notifier} mentioned in the {file}: \"%1$s\".": "{notifier} hat in {file} erwähnt: \"%1$s\".",
"{notifier} mentioned in the {file}: \"%1$s\".": "{notifier} hat dich in {file} erwähnt: \"%1$s\".",
"Choose a format to convert {fileName}": "Wählen Sie das Format für {fileName} aus",
"New form template": "Neue Formularvorlage",
"Blank": "Leer",
Expand Down
2 changes: 1 addition & 1 deletion l10n/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ OC.L10N.register(
"Failed to send notification": "Error al enviar la notificación",
"Notification sent successfully": "Notificación enviada correctamente",
"%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s ha mencionado en %2\$s: \"%3\$s\".",
"{notifier} mentioned in the {file}: \"%1\$s\".": "{notifier} ha mencionado en {file}: \"%1\$s\".",
"{notifier} mentioned in the {file}: \"%1\$s\".": "{notifier} le ha mencionado en {file}: \"%1\$s\".",
"Choose a format to convert {fileName}": "Elija un formato para convertir {fileName}",
"New form template": "Nueva plantilla de formulario",
"Blank": "En blanco",
Expand Down
2 changes: 1 addition & 1 deletion l10n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"Failed to send notification": "Error al enviar la notificación",
"Notification sent successfully": "Notificación enviada correctamente",
"%1$s mentioned in the %2$s: \"%3$s\".": "%1$s ha mencionado en %2$s: \"%3$s\".",
"{notifier} mentioned in the {file}: \"%1$s\".": "{notifier} ha mencionado en {file}: \"%1$s\".",
"{notifier} mentioned in the {file}: \"%1$s\".": "{notifier} le ha mencionado en {file}: \"%1$s\".",
"Choose a format to convert {fileName}": "Elija un formato para convertir {fileName}",
"New form template": "Nueva plantilla de formulario",
"Blank": "En blanco",
Expand Down
2 changes: 1 addition & 1 deletion l10n/fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ OC.L10N.register(
"Failed to send notification": "Échec de l’envoi de la notification",
"Notification sent successfully": "Notification a été envoyée avec succès",
"%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s a mentionné dans %2\$s: \"%3\$s\".",
"{notifier} mentioned in the {file}: \"%1\$s\".": "{notifier} a mentionné dans {file}: \"%1\$s\".",
"{notifier} mentioned in the {file}: \"%1\$s\".": "{notifier} vous a mentionné dans {file}: \"%1\$s\".",
"Choose a format to convert {fileName}": "Choisissez un format à convertir {fileName}",
"New form template": "Nouveau modèle de formulaire",
"Blank": "Vide",
Expand Down
2 changes: 1 addition & 1 deletion l10n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"Failed to send notification": "Échec de l’envoi de la notification",
"Notification sent successfully": "Notification a été envoyée avec succès",
"%1$s mentioned in the %2$s: \"%3$s\".": "%1$s a mentionné dans %2$s: \"%3$s\".",
"{notifier} mentioned in the {file}: \"%1$s\".": "{notifier} a mentionné dans {file}: \"%1$s\".",
"{notifier} mentioned in the {file}: \"%1$s\".": "{notifier} vous a mentionné dans {file}: \"%1$s\".",
"Choose a format to convert {fileName}": "Choisissez un format à convertir {fileName}",
"New form template": "Nouveau modèle de formulaire",
"Blank": "Vide",
Expand Down
2 changes: 1 addition & 1 deletion l10n/it.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ OC.L10N.register(
"Failed to send notification": "Invio di notifica non riuscito",
"Notification sent successfully": "Notifica è stata inviata con successo",
"%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s ha menzionato in %2\$s: \"%3\$s\".",
"{notifier} mentioned in the {file}: \"%1\$s\".": "{notifier} ha menzionato nel {file}: \"%1\$s\".",
"{notifier} mentioned in the {file}: \"%1\$s\".": "{notifier} ti ha menzionato nel {file}: \"%1\$s\".",
"Choose a format to convert {fileName}": "Scegli un formato per convertire {fileName}",
"New form template": "Nuovo modello di modulo",
"Blank": "Vuoto",
Expand Down
2 changes: 1 addition & 1 deletion l10n/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"Failed to send notification": "Invio di notifica non riuscito",
"Notification sent successfully": "Notifica è stata inviata con successo",
"%1$s mentioned in the %2$s: \"%3$s\".": "%1$s ha menzionato in %2$s: \"%3$s\".",
"{notifier} mentioned in the {file}: \"%1$s\".": "{notifier} ha menzionato nel {file}: \"%1$s\".",
"{notifier} mentioned in the {file}: \"%1$s\".": "{notifier} ti ha menzionato nel {file}: \"%1$s\".",
"Choose a format to convert {fileName}": "Scegli un formato per convertire {fileName}",
"New form template": "Nuovo modello di modulo",
"Blank": "Vuoto",
Expand Down
2 changes: 1 addition & 1 deletion l10n/ja.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ OC.L10N.register(
"Failed to send notification": "通知を送信できませんでした",
"Notification sent successfully": "通知を送信しました",
"%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s は %2\$s: \"%3\$s\"に記載されました。",
"{notifier} mentioned in the {file}: \"%1\$s\".": "{notifier} は {file}: \"%1\$s\"に記載しました。",
"{notifier} mentioned in the {file}: \"%1\$s\".": "{notifier} は あなたを {file}: \"%1\$s\"に記載しました。",
"Choose a format to convert {fileName}": "{fileName}を変換する形式を選択してください",
"New form template": "新しいフォームテンプレート",
"Blank": "空白",
Expand Down
2 changes: 1 addition & 1 deletion l10n/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"Failed to send notification": "通知を送信できませんでした",
"Notification sent successfully": "通知を送信しました",
"%1$s mentioned in the %2$s: \"%3$s\".": "%1$s は %2$s: \"%3$s\"に記載されました。",
"{notifier} mentioned in the {file}: \"%1$s\".": "{notifier} は {file}: \"%1$s\"に記載しました。",
"{notifier} mentioned in the {file}: \"%1$s\".": "{notifier} は あなたを {file}: \"%1$s\"に記載しました。",
"Choose a format to convert {fileName}": "{fileName}を変換する形式を選択してください",
"New form template": "新しいフォームテンプレート",
"Blank": "空白",
Expand Down
2 changes: 1 addition & 1 deletion l10n/pl.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ OC.L10N.register(
"Failed to send notification": "Nie udało się wysłać powiadomienia",
"Notification sent successfully": "Powiadomienie zostało wysłane",
"%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s dodał(a) w %2\$s następujący komentarz: \"%3\$s\".",
"{notifier} mentioned in the {file}: \"%1\$s\".": "{notifier} dodał(a) w {file} następujący komentarz: \"%1\$s\".",
"{notifier} mentioned in the {file}: \"%1\$s\".": "{notifier} dodał(a) Cię w {file} następujący komentarz: \"%1\$s\".",
"Choose a format to convert {fileName}": "Wybierz format, do którego chcesz przekonwertować {fileName}",
"New form template": "Nowy szablon formularza",
"Blank": "Pusty",
Expand Down
2 changes: 1 addition & 1 deletion l10n/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"Failed to send notification": "Nie udało się wysłać powiadomienia",
"Notification sent successfully": "Powiadomienie zostało wysłane",
"%1$s mentioned in the %2$s: \"%3$s\".": "%1$s dodał(a) w %2$s następujący komentarz: \"%3$s\".",
"{notifier} mentioned in the {file}: \"%1$s\".": "{notifier} dodał(a) w {file} następujący komentarz: \"%1$s\".",
"{notifier} mentioned in the {file}: \"%1$s\".": "{notifier} dodał(a) Cię w {file} następujący komentarz: \"%1$s\".",
"Choose a format to convert {fileName}": "Wybierz format, do którego chcesz przekonwertować {fileName}",
"New form template": "Nowy szablon formularza",
"Blank": "Pusty",
Expand Down
2 changes: 1 addition & 1 deletion l10n/pt_BR.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ OC.L10N.register(
"Failed to send notification": "Falha ao enviar notificação",
"Notification sent successfully": "Notificação enviada com sucesso",
"%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s mencionado em %2\$s: \"%3\$s\".",
"{notifier} mentioned in the {file}: \"%1\$s\".": "{notifier} mencionado em {file}: \"%1\$s\".",
"{notifier} mentioned in the {file}: \"%1\$s\".": "{notifier} mencionado você em {file}: \"%1\$s\".",
"Choose a format to convert {fileName}": "Escolha um formato para converter {fileName}",
"New form template": "Novo modelo de formulário",
"Blank": "Em branco",
Expand Down
2 changes: 1 addition & 1 deletion l10n/pt_BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"Failed to send notification": "Falha ao enviar notificação",
"Notification sent successfully": "Notificação enviada com sucesso",
"%1$s mentioned in the %2$s: \"%3$s\".": "%1$s mencionado em %2$s: \"%3$s\".",
"{notifier} mentioned in the {file}: \"%1$s\".": "{notifier} mencionado em {file}: \"%1$s\".",
"{notifier} mentioned in the {file}: \"%1$s\".": "{notifier} mencionado você em {file}: \"%1$s\".",
"Choose a format to convert {fileName}": "Escolha um formato para converter {fileName}",
"New form template": "Novo modelo de formulário",
"Blank": "Em branco",
Expand Down
2 changes: 1 addition & 1 deletion l10n/ru.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ OC.L10N.register(
"Failed to send notification": "Ошибка отправки оповещения",
"Notification sent successfully": "Оповещение успешно отправлено",
"%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s упомянул в %2\$s: \"%3\$s\".",
"{notifier} mentioned in the {file}: \"%1\$s\".": "{notifier} упомянул в {file}: \"%1\$s\".",
"{notifier} mentioned in the {file}: \"%1\$s\".": "{notifier} упомянул вас в {file}: \"%1\$s\".",
"Choose a format to convert {fileName}": "Выберите формат для {fileName}",
"New form template": "Новый шаблон формы",
"Blank": "Пустой",
Expand Down
2 changes: 1 addition & 1 deletion l10n/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"Failed to send notification": "Ошибка отправки оповещения",
"Notification sent successfully": "Оповещение успешно отправлено",
"%1$s mentioned in the %2$s: \"%3$s\".": "%1$s упомянул в %2$s: \"%3$s\".",
"{notifier} mentioned in the {file}: \"%1$s\".": "{notifier} упомянул в {file}: \"%1$s\".",
"{notifier} mentioned in the {file}: \"%1$s\".": "{notifier} упомянул вас в {file}: \"%1$s\".",
"Choose a format to convert {fileName}": "Выберите формат для {fileName}",
"New form template": "Новый шаблон формы",
"Blank": "Пустой",
Expand Down
2 changes: 1 addition & 1 deletion l10n/sv.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ OC.L10N.register(
"Failed to send notification": "Det gick inte att skicka aviseringen",
"Notification sent successfully": "Aviseringen har skickats",
"%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s har nämnt i %2\$s: \"%3\$s\".",
"{notifier} mentioned in the {file}: \"%1\$s\".": "{notifier} har nämnt i {file}: \"%1\$s\".",
"{notifier} mentioned in the {file}: \"%1\$s\".": "{notifier} nämnde dig i {file}: \"%1\$s\".",
"Choose a format to convert {fileName}": "Välj det filformat som {fileName} ska konverteras till.",
"New form template": "Ny formulärmall",
"Blank": "Töm",
Expand Down
2 changes: 1 addition & 1 deletion l10n/sv.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"Failed to send notification": "Det gick inte att skicka aviseringen",
"Notification sent successfully": "Aviseringen har skickats",
"%1$s mentioned in the %2$s: \"%3$s\".": "%1$s har nämnt i %2$s: \"%3$s\".",
"{notifier} mentioned in the {file}: \"%1$s\".": "{notifier} har nämnt i {file}: \"%1$s\".",
"{notifier} mentioned in the {file}: \"%1$s\".": "{notifier} nämnde dig i {file}: \"%1$s\".",
"Choose a format to convert {fileName}": "Välj det filformat som {fileName} ska konverteras till.",
"New form template": "Ny formulärmall",
"Blank": "Töm",
Expand Down
2 changes: 1 addition & 1 deletion l10n/zh_CN.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ OC.L10N.register(
"Failed to send notification": "发送通知失败",
"Notification sent successfully": "通知发送成功",
"%1\$s mentioned in the %2\$s: \"%3\$s\".": "%1\$s 提到 %2\$s: \"%3\$s\".",
"{notifier} mentioned in the {file}: \"%1\$s\".": "{notifier} 提到 {file}: \"%1\$s\".",
"{notifier} mentioned in the {file}: \"%1\$s\".": "{notifier} {file}: \"%1\$s\"中提到了您.",
"Choose a format to convert {fileName}": "选择要转换{fileName}的格式",
"New form template": "新表单模板",
"Blank": "空白",
Expand Down
2 changes: 1 addition & 1 deletion l10n/zh_CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"Failed to send notification": "发送通知失败",
"Notification sent successfully": "通知发送成功",
"%1$s mentioned in the %2$s: \"%3$s\".": "%1$s 提到 %2$s: \"%3$s\".",
"{notifier} mentioned in the {file}: \"%1$s\".": "{notifier} 提到 {file}: \"%1$s\".",
"{notifier} mentioned in the {file}: \"%1$s\".": "{notifier} {file}: \"%1$s\"中提到了您.",
"Choose a format to convert {fileName}": "选择要转换{fileName}的格式",
"New form template": "新表单模板",
"Blank": "空白",
Expand Down
Loading

0 comments on commit 3dc7015

Please sign in to comment.