From 0c9d9e146e7ffd19175d2f5c8ab7d6ad75579745 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Thu, 11 Apr 2019 14:31:15 +0200 Subject: [PATCH 01/41] Update changelog for 10.2.0 RC1 --- CHANGELOG.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ec75084eb6e4..72737c0d9b3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). ### Added +- Add background:queue:execute occ command for running cron jobs manually - [#34995](https://github.com/owncloud/core/issues/34995) +- Adding background:queue commands: status and delete - [#34783](https://github.com/owncloud/core/issues/34783) +- Added new permissions option for public link - [#34983](https://github.com/owncloud/core/issues/34983) - Support for extra share key-value attributes - [#34951](https://github.com/owncloud/core/issues/34951) - Internal permission to prevent file download when set in share attribute, for "secure view" feature - [#34951](https://github.com/owncloud/core/issues/34951) - Support for automatically accepting incoming federated shares from trusted servers - [#34206](https://github.com/owncloud/core/issues/34206) @@ -28,7 +31,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). - Allow admins to enable medial search on group and user - [#34779](https://github.com/owncloud/core/issues/34779) - Add composer cleaner - [#34784](https://github.com/owncloud/core/issues/34784) - Add events for user preference changes - [#34820](https://github.com/owncloud/core/issues/34820) -- Add occ command to poll incoming federated shares for updates - [#34933](https://github.com/owncloud/core/issues/34933) [#34959](https://github.com/owncloud/core/issues/34959) +- Add occ command to poll incoming federated shares for updates - [#34933](https://github.com/owncloud/core/issues/34933) [#34959](https://github.com/owncloud/core/issues/34959) [#34993](https://github.com/owncloud/core/issues/34993) ### Changed @@ -52,6 +55,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). - Bump react promise v2.7.1 - [#34416](https://github.com/owncloud/core/issues/34416) - Zendframework bumps 20190208 - [#34413](https://github.com/owncloud/core/issues/34413) - Bump paragonie/random_compat v2.0.17 => v2.0.18 - [#34043](https://github.com/owncloud/core/issues/34043) +- Bump pear/archive_tar from 1.4.6 to 1.4.7 - [#34990](https://github.com/owncloud/core/issues/34990) - Bump phpseclib/phpseclib from 2.0.13 to 2.0.15 - [#34285](https://github.com/owncloud/core/issues/34285) [#34741](https://github.com/owncloud/core/issues/34741) - Bump pimple/pimple from 3.0.2 to 3.2.3 - [#31753](https://github.com/owncloud/core/issues/31753) - Bump sinon from 7.1.1 to 7.3.1 in /build - [#34881](https://github.com/owncloud/core/issues/34881) [#34943](https://github.com/owncloud/core/issues/34943) @@ -88,6 +92,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). ### Fixed +- Log exception when background job class not found - [#34723](https://github.com/owncloud/core/issues/34723) - Prevent concurrent updates in group shares to avoid duplicate entries - [#34769](https://github.com/owncloud/core/issues/34769) - Calender invitation now uses actual sender name - [#34901](https://github.com/owncloud/core/issues/34901) - Fix public link share default expiration behavior - [#34971](https://github.com/owncloud/core/issues/34971) From 1c7b7388ae6aff5843e727f89d9fc8b3f0d3bd96 Mon Sep 17 00:00:00 2001 From: Patrick Jahns Date: Thu, 11 Apr 2019 16:21:21 +0200 Subject: [PATCH 02/41] Set version to 10.2.0 RC1 --- version.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/version.php b/version.php index 35d810c0bdab..c763517a5448 100644 --- a/version.php +++ b/version.php @@ -25,10 +25,10 @@ // We only can count up. The 4. digit is only for the internal patchlevel to trigger DB upgrades // between betas, final and RCs. This is _not_ the public version number. Reset minor/patchlevel // when updating major/minor version number. -$OC_Version = [10, 2, 0, 0]; +$OC_Version = [10, 2, 0, 1]; // The human readable string -$OC_VersionString = '10.2.0 prealpha'; +$OC_VersionString = '10.2.0 RC1'; $OC_VersionCanBeUpgradedFrom = [[8, 2, 11],[9, 0, 9],[9, 1]]; From 678a402b40ba3df290a7d2a40c8e2b4d5a01fc1e Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Tue, 16 Apr 2019 22:40:24 +0200 Subject: [PATCH 03/41] Fix missing progress bar in files drop view The uploader is expecting the progress bar element to be in the DOM when created. This fix makes sure to append the PublicUploadView's element to the DOM before rendering it. --- apps/files_sharing/js/PublicUploadView.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/files_sharing/js/PublicUploadView.js b/apps/files_sharing/js/PublicUploadView.js index 23fe0f8274e7..6f5e8f550df6 100644 --- a/apps/files_sharing/js/PublicUploadView.js +++ b/apps/files_sharing/js/PublicUploadView.js @@ -152,9 +152,10 @@ var view = new OCA.Sharing.PublicUploadView({ shareToken: $('#sharingToken').val() }); + $('#preview .uploadForm').append(view.$el); + view.render(); - $('#preview .uploadForm').append(view.$el); $('#uploadprogresswrapper .stop').on('click', function () { view.onUploadCancel(); }); From 0c4a39b80de44691682b428ebe662ab3e7cd0952 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Thu, 11 Apr 2019 07:00:14 +0545 Subject: [PATCH 04/41] vfsstream tokenizer dependency bumps --- composer.lock | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/composer.lock b/composer.lock index 70a87de7c756..b13b83a6ff4d 100644 --- a/composer.lock +++ b/composer.lock @@ -3909,16 +3909,16 @@ }, { "name": "mikey179/vfsStream", - "version": "v1.6.5", + "version": "v1.6.6", "source": { "type": "git", "url": "https://github.com/bovigo/vfsStream.git", - "reference": "d5fec95f541d4d71c4823bb5e30cf9b9e5b96145" + "reference": "095238a0711c974ae5b4ebf4c4534a23f3f6c99d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bovigo/vfsStream/zipball/d5fec95f541d4d71c4823bb5e30cf9b9e5b96145", - "reference": "d5fec95f541d4d71c4823bb5e30cf9b9e5b96145", + "url": "https://api.github.com/repos/bovigo/vfsStream/zipball/095238a0711c974ae5b4ebf4c4534a23f3f6c99d", + "reference": "095238a0711c974ae5b4ebf4c4534a23f3f6c99d", "shasum": "" }, "require": { @@ -3951,7 +3951,7 @@ ], "description": "Virtual file system to mock the real file system in unit tests.", "homepage": "http://vfs.bovigo.org/", - "time": "2017-08-01T08:02:14+00:00" + "time": "2019-04-08T13:54:32+00:00" }, { "name": "myclabs/deep-copy", @@ -4714,12 +4714,12 @@ "source": { "type": "git", "url": "https://github.com/Roave/SecurityAdvisories.git", - "reference": "bd4dca680a7af3fb99f07dd9c0511f3fb8d066af" + "reference": "a0112223428a14391f094c5fa7301677d49bccf2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/bd4dca680a7af3fb99f07dd9c0511f3fb8d066af", - "reference": "bd4dca680a7af3fb99f07dd9c0511f3fb8d066af", + "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/a0112223428a14391f094c5fa7301677d49bccf2", + "reference": "a0112223428a14391f094c5fa7301677d49bccf2", "shasum": "" }, "conflict": { @@ -4739,8 +4739,8 @@ "codeigniter/framework": "<=3.0.6", "composer/composer": "<=1.0.0-alpha11", "contao-components/mediaelement": ">=2.14.2,<2.21.1", - "contao/core": ">=2,<3.5.35", - "contao/core-bundle": ">=4,<4.4.18|>=4.5,<4.5.8", + "contao/core": ">=2,<3.5.39", + "contao/core-bundle": ">=4,<4.4.37|>=4.5,<4.7.3", "contao/listing-bundle": ">=4,<4.4.8", "contao/newsletter-bundle": ">=4,<4.1", "david-garcia/phpwhois": "<=4.3.1", @@ -4852,7 +4852,7 @@ "symfony/yaml": ">=2,<2.0.22|>=2.1,<2.1.7", "tecnickcom/tcpdf": "<6.2.22", "thelia/backoffice-default-template": ">=2.1,<2.1.2", - "thelia/thelia": ">=2.1.0-beta1,<2.1.3|>=2.1,<2.1.2", + "thelia/thelia": ">=2.1,<2.1.2|>=2.1.0-beta1,<2.1.3", "theonedemon/phpwhois": "<=4.2.5", "titon/framework": ">=0,<9.9.99", "truckersmp/phpwhois": "<=4.3.1", @@ -4911,7 +4911,7 @@ } ], "description": "Prevents installation of composer packages with known security vulnerabilities: no API, simply require it", - "time": "2019-04-07T10:25:46+00:00" + "time": "2019-04-09T13:39:27+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", @@ -5532,16 +5532,16 @@ }, { "name": "theseer/tokenizer", - "version": "1.1.0", + "version": "1.1.2", "source": { "type": "git", "url": "https://github.com/theseer/tokenizer.git", - "reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b" + "reference": "1c42705be2b6c1de5904f8afacef5895cab44bf8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/cb2f008f3f05af2893a87208fe6a6c4985483f8b", - "reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/1c42705be2b6c1de5904f8afacef5895cab44bf8", + "reference": "1c42705be2b6c1de5904f8afacef5895cab44bf8", "shasum": "" }, "require": { @@ -5568,7 +5568,7 @@ } ], "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", - "time": "2017-04-07T12:08:54+00:00" + "time": "2019-04-04T09:56:43+00:00" }, { "name": "webmozart/assert", From 4641f9e9bc8603894b221760f3a662578c134aaa Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Wed, 17 Apr 2019 08:20:34 +0545 Subject: [PATCH 05/41] Bump symfony (v3.4.24 => v3.4.25) --- composer.lock | 56 ++++++++++++++++++++++++++------------------------- 1 file changed, 29 insertions(+), 27 deletions(-) diff --git a/composer.lock b/composer.lock index b13b83a6ff4d..45408cc85478 100644 --- a/composer.lock +++ b/composer.lock @@ -2690,16 +2690,16 @@ }, { "name": "symfony/console", - "version": "v3.4.24", + "version": "v3.4.25", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "98ae3cdc4bec48fe7ee24afc81dbb4a242186c9e" + "reference": "15a9104356436cb26e08adab97706654799d31d8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/98ae3cdc4bec48fe7ee24afc81dbb4a242186c9e", - "reference": "98ae3cdc4bec48fe7ee24afc81dbb4a242186c9e", + "url": "https://api.github.com/repos/symfony/console/zipball/15a9104356436cb26e08adab97706654799d31d8", + "reference": "15a9104356436cb26e08adab97706654799d31d8", "shasum": "" }, "require": { @@ -2758,20 +2758,20 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2019-03-31T11:33:18+00:00" + "time": "2019-04-08T09:29:13+00:00" }, { "name": "symfony/debug", - "version": "v3.4.24", + "version": "v3.4.25", "source": { "type": "git", "url": "https://github.com/symfony/debug.git", - "reference": "adbdd5d66342fb0a0bce7422ba68181842b6610d" + "reference": "681afbb26488903c5ac15e63734f1d8ac430c9b9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/adbdd5d66342fb0a0bce7422ba68181842b6610d", - "reference": "adbdd5d66342fb0a0bce7422ba68181842b6610d", + "url": "https://api.github.com/repos/symfony/debug/zipball/681afbb26488903c5ac15e63734f1d8ac430c9b9", + "reference": "681afbb26488903c5ac15e63734f1d8ac430c9b9", "shasum": "" }, "require": { @@ -2814,11 +2814,11 @@ ], "description": "Symfony Debug Component", "homepage": "https://symfony.com", - "time": "2019-03-10T17:07:42+00:00" + "time": "2019-04-11T09:48:14+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v3.4.24", + "version": "v3.4.25", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", @@ -3224,16 +3224,16 @@ }, { "name": "symfony/process", - "version": "v3.4.24", + "version": "v3.4.25", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "009f8dda80930e89e8344a4e310b08f9ff07dd2e" + "reference": "a9c4dfbf653023b668c282e4e02609d131f4057a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/009f8dda80930e89e8344a4e310b08f9ff07dd2e", - "reference": "009f8dda80930e89e8344a4e310b08f9ff07dd2e", + "url": "https://api.github.com/repos/symfony/process/zipball/a9c4dfbf653023b668c282e4e02609d131f4057a", + "reference": "a9c4dfbf653023b668c282e4e02609d131f4057a", "shasum": "" }, "require": { @@ -3269,11 +3269,11 @@ ], "description": "Symfony Process Component", "homepage": "https://symfony.com", - "time": "2019-01-16T13:27:11+00:00" + "time": "2019-04-08T16:15:54+00:00" }, { "name": "symfony/routing", - "version": "v3.4.24", + "version": "v3.4.25", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", @@ -3349,16 +3349,16 @@ }, { "name": "symfony/translation", - "version": "v3.4.24", + "version": "v3.4.25", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "629ac01240f6ebc253a621e19b84e329fe19a987" + "reference": "aae26f143da71adc8707eb489f1dc86aef7d376b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/629ac01240f6ebc253a621e19b84e329fe19a987", - "reference": "629ac01240f6ebc253a621e19b84e329fe19a987", + "url": "https://api.github.com/repos/symfony/translation/zipball/aae26f143da71adc8707eb489f1dc86aef7d376b", + "reference": "aae26f143da71adc8707eb489f1dc86aef7d376b", "shasum": "" }, "require": { @@ -3375,7 +3375,9 @@ "symfony/config": "~2.8|~3.0|~4.0", "symfony/dependency-injection": "~3.4|~4.0", "symfony/finder": "~2.8|~3.0|~4.0", + "symfony/http-kernel": "~3.4|~4.0", "symfony/intl": "^2.8.18|^3.2.5|~4.0", + "symfony/var-dumper": "~3.4|~4.0", "symfony/yaml": "~3.4|~4.0" }, "suggest": { @@ -3413,7 +3415,7 @@ ], "description": "Symfony Translation Component", "homepage": "https://symfony.com", - "time": "2019-03-25T07:48:46+00:00" + "time": "2019-04-10T16:00:48+00:00" }, { "name": "zendframework/zend-filter", @@ -4714,12 +4716,12 @@ "source": { "type": "git", "url": "https://github.com/Roave/SecurityAdvisories.git", - "reference": "a0112223428a14391f094c5fa7301677d49bccf2" + "reference": "ff41a9a96718245c7160588928e6d217cfb0393c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/a0112223428a14391f094c5fa7301677d49bccf2", - "reference": "a0112223428a14391f094c5fa7301677d49bccf2", + "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/ff41a9a96718245c7160588928e6d217cfb0393c", + "reference": "ff41a9a96718245c7160588928e6d217cfb0393c", "shasum": "" }, "conflict": { @@ -4754,7 +4756,7 @@ "doctrine/mongodb-odm-bundle": ">=2,<3.0.1", "doctrine/orm": ">=2,<2.4.8|>=2.5,<2.5.1", "dompdf/dompdf": ">=0.6,<0.6.2", - "drupal/core": ">=7,<7.64|>=8,<8.5.13|>=8.6,<8.6.12", + "drupal/core": ">=7,<7.65|>=8,<8.5.14|>=8.6,<8.6.13", "drupal/drupal": ">=7,<7.64|>=8,<8.5.13|>=8.6,<8.6.12", "erusev/parsedown": "<1.7.2", "ezsystems/ezpublish-kernel": ">=5.3,<5.3.12.1|>=5.4,<5.4.13.1|>=6,<6.7.9.1|>=6.8,<6.13.5.1|>=7,<7.2.4.1|>=7.3,<7.3.2.1", @@ -4911,7 +4913,7 @@ } ], "description": "Prevents installation of composer packages with known security vulnerabilities: no API, simply require it", - "time": "2019-04-09T13:39:27+00:00" + "time": "2019-04-12T16:05:24+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", From 18d2a7531a459ab31f443e6221032e7db6a2b7ab Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Thu, 18 Apr 2019 07:09:54 +0545 Subject: [PATCH 06/41] Bump symfony (v3.4.25 => v3.4.26) --- composer.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.lock b/composer.lock index 45408cc85478..77b003d88712 100644 --- a/composer.lock +++ b/composer.lock @@ -2690,7 +2690,7 @@ }, { "name": "symfony/console", - "version": "v3.4.25", + "version": "v3.4.26", "source": { "type": "git", "url": "https://github.com/symfony/console.git", @@ -2762,7 +2762,7 @@ }, { "name": "symfony/debug", - "version": "v3.4.25", + "version": "v3.4.26", "source": { "type": "git", "url": "https://github.com/symfony/debug.git", @@ -2818,7 +2818,7 @@ }, { "name": "symfony/event-dispatcher", - "version": "v3.4.25", + "version": "v3.4.26", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", @@ -3224,7 +3224,7 @@ }, { "name": "symfony/process", - "version": "v3.4.25", + "version": "v3.4.26", "source": { "type": "git", "url": "https://github.com/symfony/process.git", @@ -3273,7 +3273,7 @@ }, { "name": "symfony/routing", - "version": "v3.4.25", + "version": "v3.4.26", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", @@ -3349,7 +3349,7 @@ }, { "name": "symfony/translation", - "version": "v3.4.25", + "version": "v3.4.26", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", From f454958d72f70307d8dfcf68702a121adff49141 Mon Sep 17 00:00:00 2001 From: Jean-Marie de Boer Date: Wed, 17 Apr 2019 14:06:56 +0200 Subject: [PATCH 07/41] Wrong translation file referenced for accept & decline share --- apps/files_sharing/js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/files_sharing/js/app.js b/apps/files_sharing/js/app.js index 7499399a7fb3..f128ed3cc0f4 100644 --- a/apps/files_sharing/js/app.js +++ b/apps/files_sharing/js/app.js @@ -257,7 +257,7 @@ OCA.Sharing.App = { fileActions.registerAction({ name: 'Accept', type: OCA.Files.FileActions.TYPE_INLINE, - displayName: t('files', 'Accept Share'), + displayName: t('files_sharing', 'Accept Share'), mime: 'all', iconClass: 'icon-checkmark', permissions: OC.PERMISSION_READ, @@ -268,7 +268,7 @@ OCA.Sharing.App = { fileActions.registerAction({ name: 'Reject', type: OCA.Files.FileActions.TYPE_INLINE, - displayName: t('files', 'Decline Share'), + displayName: t('files_sharing', 'Decline Share'), iconClass: 'icon-close', mime: 'all', permissions: OC.PERMISSION_READ, From b3da5af5ac1d96eb04e56fd3ba594704a47daab1 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Wed, 17 Apr 2019 15:29:07 +0545 Subject: [PATCH 08/41] Fixup files_sharing translation calls --- apps/files_sharing/js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/files_sharing/js/app.js b/apps/files_sharing/js/app.js index f128ed3cc0f4..79e010dccc70 100644 --- a/apps/files_sharing/js/app.js +++ b/apps/files_sharing/js/app.js @@ -219,7 +219,7 @@ OCA.Sharing.App = { if(response.responseJSON && response.responseJSON.message) { message = ': ' + response.responseJSON.message; } - OC.Notification.show(t('files', 'An error occurred while updating share state: {message}', {message: message}), {type: 'error'}); + OC.Notification.show(t('files_sharing', 'An error occurred while updating share state: {message}', {message: message}), {type: 'error'}); }); return xhr; }, @@ -239,7 +239,7 @@ OCA.Sharing.App = { path: OC.dirname(data.file_target) }); } else { - OC.Notification.show(t('files', 'An error occurred while updating share state: {message}', {message: meta.message}), {type: 'error'}); + OC.Notification.show(t('files_sharing', 'An error occurred while updating share state: {message}', {message: meta.message}), {type: 'error'}); } } context.fileList.showFileBusyState(context.$file, false); From fb6db601ecf6e17bd1ef02f7ce6721563f51e8ae Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Wed, 17 Apr 2019 15:39:40 +0545 Subject: [PATCH 09/41] Fixup files_trashbin translation calls --- apps/files_trashbin/js/app.js | 2 +- apps/files_trashbin/js/filelist.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/files_trashbin/js/app.js b/apps/files_trashbin/js/app.js index fd3d5db32ff9..ccfde24ea064 100644 --- a/apps/files_trashbin/js/app.js +++ b/apps/files_trashbin/js/app.js @@ -68,7 +68,7 @@ OCA.Trashbin.App = { fileActions.registerAction({ name: 'Delete', - displayName: t('files', 'Delete'), + displayName: t('files_trashbin', 'Delete'), mime: 'all', permissions: OC.PERMISSION_READ, iconClass: 'icon-delete', diff --git a/apps/files_trashbin/js/filelist.js b/apps/files_trashbin/js/filelist.js index b9bf04e9d093..db0689766169 100644 --- a/apps/files_trashbin/js/filelist.js +++ b/apps/files_trashbin/js/filelist.js @@ -350,7 +350,7 @@ if (result.status === 403) { // Go home this.changeDirectory('/'); - OC.Notification.show(t('files', 'This operation is forbidden')); + OC.Notification.show(t('files_trashbin', 'This operation is forbidden')); return false; } @@ -358,7 +358,7 @@ if (result.status === 500) { // Go home this.changeDirectory('/'); - OC.Notification.show(t('files', 'This directory is unavailable, please check the logs or contact the administrator')); + OC.Notification.show(t('files_trashbin', 'This directory is unavailable, please check the logs or contact the administrator')); return false; } From 8c46e98870f290d5fcd708043c71dc8529880cf1 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Wed, 17 Apr 2019 15:36:59 +0545 Subject: [PATCH 10/41] Fixup federatedfilesharing translation calls --- apps/federatedfilesharing/js/public.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/federatedfilesharing/js/public.js b/apps/federatedfilesharing/js/public.js index 9959c5536288..4ed63bd8cad9 100644 --- a/apps/federatedfilesharing/js/public.js +++ b/apps/federatedfilesharing/js/public.js @@ -1,7 +1,7 @@ $(document).ready(function() { $('#header #details').prepend( '' + - ' ' + + ' ' + '