diff --git a/.gitignore b/.gitignore index 30d9ca0..9134bd7 100644 --- a/.gitignore +++ b/.gitignore @@ -60,3 +60,4 @@ typings/ # next.js build output .next +/.idea/ diff --git a/CHANGELOG.md b/CHANGELOG.md index 28bb1fd..ed133ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,9 @@ +## 1.3.8 +- NC26 support ## 1.3.6 +- Added a dialog to change the target directory name -- NC27 support ## 1.3.5 - Fix issue on external storage diff --git a/appinfo/info.xml b/appinfo/info.xml index e160ff0..07a98f7 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -29,7 +29,7 @@ * **Note :** Encrypted files are not supported yet ]]> - 1.3.6 + 1.4.0 agpl Paul Lereverend Extract diff --git a/composer.json b/composer.json index af36ae3..4c5fe3a 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "extract", + "name": "paullereverend/extract", "description": "Allows to extract archive from the web interface", "type": "project", "license": "AGPL", @@ -9,8 +9,11 @@ } ], "require": { + "php": ">=8.2", + "ext-zip": "*" }, "require-dev": { - "phpunit/phpunit": "^5.4" + "phpunit/phpunit": "^9", + "nextcloud/ocp": "^26" } } diff --git a/composer.lock b/composer.lock index 63d3ccd..6866f4a 100644 --- a/composer.lock +++ b/composer.lock @@ -4,41 +4,37 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "72ec7c4fb6871c4fa201f0dacf8bce9e", + "content-hash": "61a3f0e8d1206354a772a99031910427", "packages": [], "packages-dev": [ { "name": "doctrine/instantiator", - "version": "1.2.0", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/doctrine/instantiator.git", - "reference": "a2c590166b2133a4633738648b6b064edae0814a" + "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/a2c590166b2133a4633738648b6b064edae0814a", - "reference": "a2c590166b2133a4633738648b6b064edae0814a", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", + "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", "shasum": "" }, "require": { - "php": "^7.1" + "php": "^8.1" }, "require-dev": { - "doctrine/coding-standard": "^6.0", + "doctrine/coding-standard": "^11", "ext-pdo": "*", "ext-phar": "*", - "phpbench/phpbench": "^0.13", - "phpstan/phpstan-phpunit": "^0.11", - "phpstan/phpstan-shim": "^0.11", - "phpunit/phpunit": "^7.0" + "phpbench/phpbench": "^1.2", + "phpstan/phpstan": "^1.9.4", + "phpstan/phpstan-phpunit": "^1.3", + "phpunit/phpunit": "^9.5.27", + "vimeo/psalm": "^5.4" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.2.x-dev" - } - }, "autoload": { "psr-4": { "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" @@ -52,7 +48,7 @@ { "name": "Marco Pivetta", "email": "ocramius@gmail.com", - "homepage": "http://ocramius.github.com/" + "homepage": "https://ocramius.github.io/" } ], "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", @@ -61,41 +57,60 @@ "constructor", "instantiate" ], - "time": "2019-03-17T17:37:11+00:00" + "support": { + "issues": "https://github.com/doctrine/instantiator/issues", + "source": "https://github.com/doctrine/instantiator/tree/2.0.0" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", + "type": "tidelift" + } + ], + "time": "2022-12-30T00:23:10+00:00" }, { "name": "myclabs/deep-copy", - "version": "1.8.1", + "version": "1.11.1", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8" + "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8", - "reference": "3e01bdad3e18354c3dce54466b7fbe33a9f9f7f8", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", + "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", "shasum": "" }, "require": { - "php": "^7.1" + "php": "^7.1 || ^8.0" }, - "replace": { - "myclabs/deep-copy": "self.version" + "conflict": { + "doctrine/collections": "<1.6.8", + "doctrine/common": "<2.13.3 || >=3,<3.2.2" }, "require-dev": { - "doctrine/collections": "^1.0", - "doctrine/common": "^2.6", - "phpunit/phpunit": "^7.1" + "doctrine/collections": "^1.6.8", + "doctrine/common": "^2.13.3 || ^3.2.2", + "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" }, "type": "library", "autoload": { - "psr-4": { - "DeepCopy\\": "src/DeepCopy/" - }, "files": [ "src/DeepCopy/deep_copy.php" - ] + ], + "psr-4": { + "DeepCopy\\": "src/DeepCopy/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -109,259 +124,268 @@ "object", "object graph" ], - "time": "2018-06-11T23:09:50+00:00" + "support": { + "issues": "https://github.com/myclabs/DeepCopy/issues", + "source": "https://github.com/myclabs/DeepCopy/tree/1.11.1" + }, + "funding": [ + { + "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", + "type": "tidelift" + } + ], + "time": "2023-03-08T13:26:56+00:00" }, { - "name": "phpdocumentor/reflection-common", - "version": "1.0.1", + "name": "nextcloud/ocp", + "version": "v26.0.3", "source": { "type": "git", - "url": "https://github.com/phpDocumentor/ReflectionCommon.git", - "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6" + "url": "https://github.com/nextcloud-deps/ocp.git", + "reference": "e96e5a5b17fc30e79d59091ccf1356e93816e5b7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6", - "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6", + "url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/e96e5a5b17fc30e79d59091ccf1356e93816e5b7", + "reference": "e96e5a5b17fc30e79d59091ccf1356e93816e5b7", "shasum": "" }, "require": { - "php": ">=5.5" - }, - "require-dev": { - "phpunit/phpunit": "^4.6" + "php": "^7.4 || ~8.0 || ~8.1", + "psr/container": "^1.1.1", + "psr/event-dispatcher": "^1.0", + "psr/log": "^1.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": [ - "src" - ] + "dev-master": "26.0.0-dev" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "AGPL-3.0-or-later" ], "authors": [ { - "name": "Jaap van Otterdijk", - "email": "opensource@ijaap.nl" + "name": "Christoph Wurst", + "email": "christoph@winzerhof-wurst.at" } ], - "description": "Common reflection classes used by phpdocumentor to reflect the code structure", - "homepage": "http://www.phpdoc.org", - "keywords": [ - "FQSEN", - "phpDocumentor", - "phpdoc", - "reflection", - "static analysis" - ], - "time": "2017-09-11T18:02:19+00:00" + "description": "Composer package containing Nextcloud's public API (classes, interfaces)", + "support": { + "issues": "https://github.com/nextcloud-deps/ocp/issues", + "source": "https://github.com/nextcloud-deps/ocp/tree/v26.0.3" + }, + "time": "2023-06-17T00:37:14+00:00" }, { - "name": "phpdocumentor/reflection-docblock", - "version": "4.3.0", + "name": "nikic/php-parser", + "version": "v4.16.0", "source": { "type": "git", - "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "94fd0001232e47129dd3504189fa1c7225010d08" + "url": "https://github.com/nikic/PHP-Parser.git", + "reference": "19526a33fb561ef417e822e85f08a00db4059c17" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/94fd0001232e47129dd3504189fa1c7225010d08", - "reference": "94fd0001232e47129dd3504189fa1c7225010d08", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/19526a33fb561ef417e822e85f08a00db4059c17", + "reference": "19526a33fb561ef417e822e85f08a00db4059c17", "shasum": "" }, "require": { - "php": "^7.0", - "phpdocumentor/reflection-common": "^1.0.0", - "phpdocumentor/type-resolver": "^0.4.0", - "webmozart/assert": "^1.0" + "ext-tokenizer": "*", + "php": ">=7.0" }, "require-dev": { - "doctrine/instantiator": "~1.0.5", - "mockery/mockery": "^1.0", - "phpunit/phpunit": "^6.4" + "ircmaxell/php-yacc": "^0.0.7", + "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" }, + "bin": [ + "bin/php-parse" + ], "type": "library", "extra": { "branch-alias": { - "dev-master": "4.x-dev" + "dev-master": "4.9-dev" } }, "autoload": { "psr-4": { - "phpDocumentor\\Reflection\\": [ - "src/" - ] + "PhpParser\\": "lib/PhpParser" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Mike van Riel", - "email": "me@mikevanriel.com" + "name": "Nikita Popov" } ], - "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", - "time": "2017-11-30T07:14:17+00:00" + "description": "A PHP parser written in PHP", + "keywords": [ + "parser", + "php" + ], + "support": { + "issues": "https://github.com/nikic/PHP-Parser/issues", + "source": "https://github.com/nikic/PHP-Parser/tree/v4.16.0" + }, + "time": "2023-06-25T14:52:30+00:00" }, { - "name": "phpdocumentor/type-resolver", - "version": "0.4.0", + "name": "phar-io/manifest", + "version": "2.0.3", "source": { "type": "git", - "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7" + "url": "https://github.com/phar-io/manifest.git", + "reference": "97803eca37d319dfa7826cc2437fc020857acb53" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7", - "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53", + "reference": "97803eca37d319dfa7826cc2437fc020857acb53", "shasum": "" }, "require": { - "php": "^5.5 || ^7.0", - "phpdocumentor/reflection-common": "^1.0" - }, - "require-dev": { - "mockery/mockery": "^0.9.4", - "phpunit/phpunit": "^5.2||^4.8.24" + "ext-dom": "*", + "ext-phar": "*", + "ext-xmlwriter": "*", + "phar-io/version": "^3.0.1", + "php": "^7.2 || ^8.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": [ - "src/" - ] - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Mike van Riel", - "email": "me@mikevanriel.com" + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" } ], - "time": "2017-07-14T14:27:02+00:00" + "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", + "support": { + "issues": "https://github.com/phar-io/manifest/issues", + "source": "https://github.com/phar-io/manifest/tree/2.0.3" + }, + "time": "2021-07-20T11:28:43+00:00" }, { - "name": "phpspec/prophecy", - "version": "1.8.0", + "name": "phar-io/version", + "version": "3.2.1", "source": { "type": "git", - "url": "https://github.com/phpspec/prophecy.git", - "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06" + "url": "https://github.com/phar-io/version.git", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/4ba436b55987b4bf311cb7c6ba82aa528aac0a06", - "reference": "4ba436b55987b4bf311cb7c6ba82aa528aac0a06", + "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", "shasum": "" }, "require": { - "doctrine/instantiator": "^1.0.2", - "php": "^5.3|^7.0", - "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0", - "sebastian/comparator": "^1.1|^2.0|^3.0", - "sebastian/recursion-context": "^1.0|^2.0|^3.0" - }, - "require-dev": { - "phpspec/phpspec": "^2.5|^3.2", - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1" + "php": "^7.2 || ^8.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.8.x-dev" - } - }, "autoload": { - "psr-0": { - "Prophecy\\": "src/" - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Konstantin Kudryashov", - "email": "ever.zet@gmail.com", - "homepage": "http://everzet.com" + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" }, { - "name": "Marcello Duarte", - "email": "marcello.duarte@gmail.com" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" } ], - "description": "Highly opinionated mocking framework for PHP 5.3+", - "homepage": "https://github.com/phpspec/prophecy", - "keywords": [ - "Double", - "Dummy", - "fake", - "mock", - "spy", - "stub" - ], - "time": "2018-08-05T17:53:17+00:00" + "description": "Library for handling version information and constraints", + "support": { + "issues": "https://github.com/phar-io/version/issues", + "source": "https://github.com/phar-io/version/tree/3.2.1" + }, + "time": "2022-02-21T01:04:05+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "4.0.8", + "version": "9.2.26", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "ef7b2f56815df854e66ceaee8ebe9393ae36a40d" + "reference": "443bc6912c9bd5b409254a40f4b0f4ced7c80ea1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ef7b2f56815df854e66ceaee8ebe9393ae36a40d", - "reference": "ef7b2f56815df854e66ceaee8ebe9393ae36a40d", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/443bc6912c9bd5b409254a40f4b0f4ced7c80ea1", + "reference": "443bc6912c9bd5b409254a40f4b0f4ced7c80ea1", "shasum": "" }, "require": { "ext-dom": "*", + "ext-libxml": "*", "ext-xmlwriter": "*", - "php": "^5.6 || ^7.0", - "phpunit/php-file-iterator": "^1.3", - "phpunit/php-text-template": "^1.2", - "phpunit/php-token-stream": "^1.4.2 || ^2.0", - "sebastian/code-unit-reverse-lookup": "^1.0", - "sebastian/environment": "^1.3.2 || ^2.0", - "sebastian/version": "^1.0 || ^2.0" + "nikic/php-parser": "^4.15", + "php": ">=7.3", + "phpunit/php-file-iterator": "^3.0.3", + "phpunit/php-text-template": "^2.0.2", + "sebastian/code-unit-reverse-lookup": "^2.0.2", + "sebastian/complexity": "^2.0", + "sebastian/environment": "^5.1.2", + "sebastian/lines-of-code": "^1.0.3", + "sebastian/version": "^3.0.1", + "theseer/tokenizer": "^1.2.0" }, "require-dev": { - "ext-xdebug": "^2.1.4", - "phpunit/phpunit": "^5.7" + "phpunit/phpunit": "^9.3" }, "suggest": { - "ext-xdebug": "^2.5.1" + "ext-pcov": "PHP extension that provides line coverage", + "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.0.x-dev" + "dev-master": "9.2-dev" } }, "autoload": { @@ -376,7 +400,7 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", + "email": "sebastian@phpunit.de", "role": "lead" } ], @@ -387,29 +411,42 @@ "testing", "xunit" ], - "time": "2017-04-02T07:44:40+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.26" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-03-06T12:58:08+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "1.4.5", + "version": "3.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4" + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4", - "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4.x-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -424,7 +461,7 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", + "email": "sebastian@phpunit.de", "role": "lead" } ], @@ -434,26 +471,48 @@ "filesystem", "iterator" ], - "time": "2017-11-27T13:52:08+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2021-12-02T12:48:52+00:00" }, { - "name": "phpunit/php-text-template", - "version": "1.2.1", + "name": "phpunit/php-invoker", + "version": "3.1.1", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686" + "url": "https://github.com/sebastianbergmann/php-invoker.git", + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/31f8b717e51d9a2afca6c9f046f5d69fc27c8686", - "reference": "31f8b717e51d9a2afca6c9f046f5d69fc27c8686", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.3" + }, + "require-dev": { + "ext-pcntl": "*", + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-pcntl": "*" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.1-dev" + } + }, "autoload": { "classmap": [ "src/" @@ -470,37 +529,47 @@ "role": "lead" } ], - "description": "Simple template engine.", - "homepage": "https://github.com/sebastianbergmann/php-text-template/", + "description": "Invoke callables with a timeout", + "homepage": "https://github.com/sebastianbergmann/php-invoker/", "keywords": [ - "template" + "process" ], - "time": "2015-06-21T13:50:34+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/php-invoker/issues", + "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T05:58:55+00:00" }, { - "name": "phpunit/php-timer", - "version": "1.0.9", + "name": "phpunit/php-text-template", + "version": "2.0.4", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f" + "url": "https://github.com/sebastianbergmann/php-text-template.git", + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3dcf38ca72b158baf0bc245e9184d3fdffa9c46f", - "reference": "3dcf38ca72b158baf0bc245e9184d3fdffa9c46f", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", "shasum": "" }, "require": { - "php": "^5.3.3 || ^7.0" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -515,42 +584,51 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", + "email": "sebastian@phpunit.de", "role": "lead" } ], - "description": "Utility class for timing", - "homepage": "https://github.com/sebastianbergmann/php-timer/", + "description": "Simple template engine.", + "homepage": "https://github.com/sebastianbergmann/php-text-template/", "keywords": [ - "timer" + "template" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-text-template/issues", + "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } ], - "time": "2017-02-26T11:10:40+00:00" + "time": "2020-10-26T05:33:50+00:00" }, { - "name": "phpunit/php-token-stream", - "version": "2.0.2", + "name": "phpunit/php-timer", + "version": "5.0.3", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/php-token-stream.git", - "reference": "791198a2c6254db10131eecfe8c06670700904db" + "url": "https://github.com/sebastianbergmann/php-timer.git", + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/791198a2c6254db10131eecfe8c06670700904db", - "reference": "791198a2c6254db10131eecfe8c06670700904db", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", "shasum": "" }, "require": { - "ext-tokenizer": "*", - "php": "^7.0" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^6.2.4" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-master": "5.0-dev" } }, "autoload": { @@ -565,63 +643,73 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "Wrapper around PHP's tokenizer extension.", - "homepage": "https://github.com/sebastianbergmann/php-token-stream/", + "description": "Utility class for timing", + "homepage": "https://github.com/sebastianbergmann/php-timer/", "keywords": [ - "tokenizer" + "timer" ], - "time": "2017-11-27T05:48:46+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/php-timer/issues", + "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:16:10+00:00" }, { "name": "phpunit/phpunit", - "version": "5.7.27", + "version": "9.6.9", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c" + "reference": "a9aceaf20a682aeacf28d582654a1670d8826778" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c", - "reference": "b7803aeca3ccb99ad0a506fa80b64cd6a56bbc0c", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a9aceaf20a682aeacf28d582654a1670d8826778", + "reference": "a9aceaf20a682aeacf28d582654a1670d8826778", "shasum": "" }, "require": { + "doctrine/instantiator": "^1.3.1 || ^2", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", "ext-mbstring": "*", "ext-xml": "*", - "myclabs/deep-copy": "~1.3", - "php": "^5.6 || ^7.0", - "phpspec/prophecy": "^1.6.2", - "phpunit/php-code-coverage": "^4.0.4", - "phpunit/php-file-iterator": "~1.4", - "phpunit/php-text-template": "~1.2", - "phpunit/php-timer": "^1.0.6", - "phpunit/phpunit-mock-objects": "^3.2", - "sebastian/comparator": "^1.2.4", - "sebastian/diff": "^1.4.3", - "sebastian/environment": "^1.3.4 || ^2.0", - "sebastian/exporter": "~2.0", - "sebastian/global-state": "^1.1", - "sebastian/object-enumerator": "~2.0", - "sebastian/resource-operations": "~1.0", - "sebastian/version": "^1.0.6|^2.0.1", - "symfony/yaml": "~2.1|~3.0|~4.0" - }, - "conflict": { - "phpdocumentor/reflection-docblock": "3.0.2" - }, - "require-dev": { - "ext-pdo": "*" + "ext-xmlwriter": "*", + "myclabs/deep-copy": "^1.10.1", + "phar-io/manifest": "^2.0.3", + "phar-io/version": "^3.0.2", + "php": ">=7.3", + "phpunit/php-code-coverage": "^9.2.13", + "phpunit/php-file-iterator": "^3.0.5", + "phpunit/php-invoker": "^3.1.1", + "phpunit/php-text-template": "^2.0.3", + "phpunit/php-timer": "^5.0.2", + "sebastian/cli-parser": "^1.0.1", + "sebastian/code-unit": "^1.0.6", + "sebastian/comparator": "^4.0.8", + "sebastian/diff": "^4.0.3", + "sebastian/environment": "^5.1.3", + "sebastian/exporter": "^4.0.5", + "sebastian/global-state": "^5.0.1", + "sebastian/object-enumerator": "^4.0.3", + "sebastian/resource-operations": "^3.0.3", + "sebastian/type": "^3.2", + "sebastian/version": "^3.0.2" }, "suggest": { - "ext-xdebug": "*", - "phpunit/php-invoker": "~1.1" + "ext-soap": "To be able to generate mocks based on WSDL files", + "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" }, "bin": [ "phpunit" @@ -629,10 +717,13 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "5.7.x-dev" + "dev-master": "9.6-dev" } }, "autoload": { + "files": [ + "src/Framework/Assert/Functions.php" + ], "classmap": [ "src/" ] @@ -655,87 +746,91 @@ "testing", "xunit" ], - "time": "2018-02-01T05:50:59+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/phpunit/issues", + "security": "https://github.com/sebastianbergmann/phpunit/security/policy", + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.9" + }, + "funding": [ + { + "url": "https://phpunit.de/sponsors.html", + "type": "custom" + }, + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", + "type": "tidelift" + } + ], + "time": "2023-06-11T06:13:56+00:00" }, { - "name": "phpunit/phpunit-mock-objects", - "version": "3.4.4", + "name": "psr/container", + "version": "1.1.2", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", - "reference": "a23b761686d50a560cc56233b9ecf49597cc9118" + "url": "https://github.com/php-fig/container.git", + "reference": "513e0666f7216c7459170d56df27dfcefe1689ea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/a23b761686d50a560cc56233b9ecf49597cc9118", - "reference": "a23b761686d50a560cc56233b9ecf49597cc9118", + "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea", + "reference": "513e0666f7216c7459170d56df27dfcefe1689ea", "shasum": "" }, "require": { - "doctrine/instantiator": "^1.0.2", - "php": "^5.6 || ^7.0", - "phpunit/php-text-template": "^1.2", - "sebastian/exporter": "^1.2 || ^2.0" - }, - "conflict": { - "phpunit/phpunit": "<5.4.0" - }, - "require-dev": { - "phpunit/phpunit": "^5.4" - }, - "suggest": { - "ext-soap": "*" + "php": ">=7.4.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.2.x-dev" - } - }, "autoload": { - "classmap": [ - "src/" - ] + "psr-4": { + "Psr\\Container\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", - "role": "lead" + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" } ], - "description": "Mock Object library for PHPUnit", - "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/", + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", "keywords": [ - "mock", - "xunit" + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" ], - "abandoned": true, - "time": "2017-06-30T09:13:00+00:00" + "support": { + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/1.1.2" + }, + "time": "2021-11-05T16:50:12+00:00" }, { - "name": "sebastian/code-unit-reverse-lookup", - "version": "1.0.1", + "name": "psr/event-dispatcher", + "version": "1.0.0", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18" + "url": "https://github.com/php-fig/event-dispatcher.git", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/4419fcdb5eabb9caa61a27c7a1db532a6b55dd18", - "reference": "4419fcdb5eabb9caa61a27c7a1db532a6b55dd18", + "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0", "shasum": "" }, "require": { - "php": "^5.6 || ^7.0" - }, - "require-dev": { - "phpunit/phpunit": "^5.7 || ^6.0" + "php": ">=7.2.0" }, "type": "library", "extra": { @@ -744,112 +839,106 @@ } }, "autoload": { - "classmap": [ - "src/" - ] + "psr-4": { + "Psr\\EventDispatcher\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" } ], - "description": "Looks up which function or method a line of code belongs to", - "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", - "time": "2017-03-04T06:30:41+00:00" + "description": "Standard interfaces for event handling.", + "keywords": [ + "events", + "psr", + "psr-14" + ], + "support": { + "issues": "https://github.com/php-fig/event-dispatcher/issues", + "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0" + }, + "time": "2019-01-08T18:20:26+00:00" }, { - "name": "sebastian/comparator", - "version": "1.2.4", + "name": "psr/log", + "version": "1.1.4", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be" + "url": "https://github.com/php-fig/log.git", + "reference": "d49695b909c3b7628b6289db5479a1c204601f11" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2b7424b55f5047b47ac6e5ccb20b2aea4011d9be", - "reference": "2b7424b55f5047b47ac6e5ccb20b2aea4011d9be", + "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11", + "reference": "d49695b909c3b7628b6289db5479a1c204601f11", "shasum": "" }, "require": { - "php": ">=5.3.3", - "sebastian/diff": "~1.2", - "sebastian/exporter": "~1.2 || ~2.0" - }, - "require-dev": { - "phpunit/phpunit": "~4.4" + "php": ">=5.3.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.2.x-dev" + "dev-master": "1.1.x-dev" } }, "autoload": { - "classmap": [ - "src/" - ] + "psr-4": { + "Psr\\Log\\": "Psr/Log/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], "authors": [ { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Volker Dusch", - "email": "github@wallbash.com" - }, - { - "name": "Bernhard Schussek", - "email": "bschussek@2bepublished.at" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" } ], - "description": "Provides the functionality to compare PHP values for equality", - "homepage": "http://www.github.com/sebastianbergmann/comparator", + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", "keywords": [ - "comparator", - "compare", - "equality" + "log", + "psr", + "psr-3" ], - "time": "2017-01-29T09:50:25+00:00" + "support": { + "source": "https://github.com/php-fig/log/tree/1.1.4" + }, + "time": "2021-05-03T11:20:27+00:00" }, { - "name": "sebastian/diff", - "version": "1.4.3", + "name": "sebastian/cli-parser", + "version": "1.0.1", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4" + "url": "https://github.com/sebastianbergmann/cli-parser.git", + "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/7f066a26a962dbe58ddea9f72a4e82874a3975a4", - "reference": "7f066a26a962dbe58ddea9f72a4e82874a3975a4", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", "shasum": "" }, "require": { - "php": "^5.3.3 || ^7.0" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -862,46 +951,50 @@ "BSD-3-Clause" ], "authors": [ - { - "name": "Kore Nordmann", - "email": "mail@kore-nordmann.de" - }, { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "Diff implementation", - "homepage": "https://github.com/sebastianbergmann/diff", - "keywords": [ - "diff" + "description": "Library for parsing CLI options", + "homepage": "https://github.com/sebastianbergmann/cli-parser", + "support": { + "issues": "https://github.com/sebastianbergmann/cli-parser/issues", + "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } ], - "time": "2017-05-22T07:24:03+00:00" + "time": "2020-09-28T06:08:49+00:00" }, { - "name": "sebastian/environment", - "version": "2.0.0", + "name": "sebastian/code-unit", + "version": "1.0.8", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac" + "url": "https://github.com/sebastianbergmann/code-unit.git", + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/5795ffe5dc5b02460c3e34222fee8cbe245d8fac", - "reference": "5795ffe5dc5b02460c3e34222fee8cbe245d8fac", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", "shasum": "" }, "require": { - "php": "^5.6 || ^7.0" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^5.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -916,7 +1009,318 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Collection of value objects that represent the PHP code units", + "homepage": "https://github.com/sebastianbergmann/code-unit", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit/issues", + "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:08:54+00:00" + }, + { + "name": "sebastian/code-unit-reverse-lookup", + "version": "2.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Looks up which function or method a line of code belongs to", + "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T05:30:19+00:00" + }, + { + "name": "sebastian/comparator", + "version": "4.0.8", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/comparator.git", + "reference": "fa0f136dd2334583309d32b62544682ee972b51a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/fa0f136dd2334583309d32b62544682ee972b51a", + "reference": "fa0f136dd2334583309d32b62544682ee972b51a", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "sebastian/diff": "^4.0", + "sebastian/exporter": "^4.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@2bepublished.at" + } + ], + "description": "Provides the functionality to compare PHP values for equality", + "homepage": "https://github.com/sebastianbergmann/comparator", + "keywords": [ + "comparator", + "compare", + "equality" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/comparator/issues", + "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.8" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-09-14T12:41:17+00:00" + }, + { + "name": "sebastian/complexity", + "version": "2.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/complexity.git", + "reference": "739b35e53379900cc9ac327b2147867b8b6efd88" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88", + "reference": "739b35e53379900cc9ac327b2147867b8b6efd88", + "shasum": "" + }, + "require": { + "nikic/php-parser": "^4.7", + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for calculating the complexity of PHP code units", + "homepage": "https://github.com/sebastianbergmann/complexity", + "support": { + "issues": "https://github.com/sebastianbergmann/complexity/issues", + "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T15:52:27+00:00" + }, + { + "name": "sebastian/diff", + "version": "4.0.5", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/diff.git", + "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/74be17022044ebaaecfdf0c5cd504fc9cd5a7131", + "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3", + "symfony/process": "^4.2 || ^5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" + } + ], + "description": "Diff implementation", + "homepage": "https://github.com/sebastianbergmann/diff", + "keywords": [ + "diff", + "udiff", + "unidiff", + "unified diff" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/diff/issues", + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-05-07T05:35:17+00:00" + }, + { + "name": "sebastian/environment", + "version": "5.1.5", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/environment.git", + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-posix": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" } ], "description": "Provides functionality to handle HHVM/PHP environments", @@ -926,34 +1330,44 @@ "environment", "hhvm" ], - "time": "2016-11-26T07:53:53+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/environment/issues", + "source": "https://github.com/sebastianbergmann/environment/tree/5.1.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:03:51+00:00" }, { "name": "sebastian/exporter", - "version": "2.0.0", + "version": "4.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4" + "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4", - "reference": "ce474bdd1a34744d7ac5d6aad3a46d48d9bac4c4", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", + "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", "shasum": "" }, "require": { - "php": ">=5.3.3", - "sebastian/recursion-context": "~2.0" + "php": ">=7.3", + "sebastian/recursion-context": "^4.0" }, "require-dev": { "ext-mbstring": "*", - "phpunit/phpunit": "~4.4" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -966,6 +1380,10 @@ "BSD-3-Clause" ], "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, { "name": "Jeff Welch", "email": "whatthejeff@gmail.com" @@ -974,46 +1392,55 @@ "name": "Volker Dusch", "email": "github@wallbash.com" }, - { - "name": "Bernhard Schussek", - "email": "bschussek@2bepublished.at" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, { "name": "Adam Harvey", "email": "aharvey@php.net" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" } ], "description": "Provides the functionality to export PHP variables for visualization", - "homepage": "http://www.github.com/sebastianbergmann/exporter", + "homepage": "https://www.github.com/sebastianbergmann/exporter", "keywords": [ "export", "exporter" ], - "time": "2016-11-19T08:54:04+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/exporter/issues", + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-09-14T06:03:37+00:00" }, { "name": "sebastian/global-state", - "version": "1.1.1", + "version": "5.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4" + "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bc37d50fea7d017d3d340f230811c9f1d7280af4", - "reference": "bc37d50fea7d017d3d340f230811c9f1d7280af4", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/0ca8db5a5fc9c8646244e629625ac486fa286bf2", + "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" }, "require-dev": { - "phpunit/phpunit": "~4.2" + "ext-dom": "*", + "phpunit/phpunit": "^9.3" }, "suggest": { "ext-uopz": "*" @@ -1021,7 +1448,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-master": "5.0-dev" } }, "autoload": { @@ -1044,33 +1471,43 @@ "keywords": [ "global state" ], - "time": "2015-10-12T03:26:01+00:00" + "support": { + "issues": "https://github.com/sebastianbergmann/global-state/issues", + "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-02-14T08:28:10+00:00" }, { - "name": "sebastian/object-enumerator", - "version": "2.0.1", + "name": "sebastian/lines-of-code", + "version": "1.0.3", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "1311872ac850040a79c3c058bea3e22d0f09cbb7" + "url": "https://github.com/sebastianbergmann/lines-of-code.git", + "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/1311872ac850040a79c3c058bea3e22d0f09cbb7", - "reference": "1311872ac850040a79c3c058bea3e22d0f09cbb7", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", "shasum": "" }, "require": { - "php": ">=5.6", - "sebastian/recursion-context": "~2.0" + "nikic/php-parser": "^4.6", + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "~5" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -1085,37 +1522,50 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "Traverses array structures and object graphs to enumerate all referenced objects", - "homepage": "https://github.com/sebastianbergmann/object-enumerator/", - "time": "2017-02-18T15:18:39+00:00" + "description": "Library for counting the lines of code in PHP source code", + "homepage": "https://github.com/sebastianbergmann/lines-of-code", + "support": { + "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-28T06:42:11+00:00" }, { - "name": "sebastian/recursion-context", - "version": "2.0.0", + "name": "sebastian/object-enumerator", + "version": "4.0.4", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a" + "url": "https://github.com/sebastianbergmann/object-enumerator.git", + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/2c3ba150cbec723aa057506e73a8d33bdb286c9a", - "reference": "2c3ba150cbec723aa057506e73a8d33bdb286c9a", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" }, "require-dev": { - "phpunit/phpunit": "~4.4" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -1128,44 +1578,49 @@ "BSD-3-Clause" ], "authors": [ - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, { "name": "Sebastian Bergmann", "email": "sebastian@phpunit.de" - }, + } + ], + "description": "Traverses array structures and object graphs to enumerate all referenced objects", + "homepage": "https://github.com/sebastianbergmann/object-enumerator/", + "support": { + "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" + }, + "funding": [ { - "name": "Adam Harvey", - "email": "aharvey@php.net" + "url": "https://github.com/sebastianbergmann", + "type": "github" } ], - "description": "Provides functionality to recursively process PHP variables", - "homepage": "http://www.github.com/sebastianbergmann/recursion-context", - "time": "2016-11-19T07:33:16+00:00" + "time": "2020-10-26T13:12:34+00:00" }, { - "name": "sebastian/resource-operations", - "version": "1.0.0", + "name": "sebastian/object-reflector", + "version": "2.0.4", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/resource-operations.git", - "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52" + "url": "https://github.com/sebastianbergmann/object-reflector.git", + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/ce990bb21759f94aeafd30209e8cfcdfa8bc3f52", - "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", "shasum": "" }, "require": { - "php": ">=5.6.0" + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -1183,31 +1638,44 @@ "email": "sebastian@phpunit.de" } ], - "description": "Provides a list of PHP built-in functions that operate on resources", - "homepage": "https://www.github.com/sebastianbergmann/resource-operations", - "time": "2015-07-28T20:34:47+00:00" + "description": "Allows reflection of object attributes, including inherited and non-public ones", + "homepage": "https://github.com/sebastianbergmann/object-reflector/", + "support": { + "issues": "https://github.com/sebastianbergmann/object-reflector/issues", + "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:14:26+00:00" }, { - "name": "sebastian/version", - "version": "2.0.1", + "name": "sebastian/recursion-context", + "version": "4.0.5", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/version.git", - "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019" + "url": "https://github.com/sebastianbergmann/recursion-context.git", + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/99732be0ddb3361e16ad77b68ba41efc8e979019", - "reference": "99732be0ddb3361e16ad77b68ba41efc8e979019", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", "shasum": "" }, "require": { - "php": ">=5.6" + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -1222,181 +1690,244 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" } ], - "description": "Library that helps with managing the version number of Git-hosted PHP projects", - "homepage": "https://github.com/sebastianbergmann/version", - "time": "2016-10-03T07:35:21+00:00" + "description": "Provides functionality to recursively process PHP variables", + "homepage": "https://github.com/sebastianbergmann/recursion-context", + "support": { + "issues": "https://github.com/sebastianbergmann/recursion-context/issues", + "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:07:39+00:00" }, { - "name": "symfony/polyfill-ctype", - "version": "v1.11.0", + "name": "sebastian/resource-operations", + "version": "3.0.3", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "82ebae02209c21113908c229e9883c419720738a" + "url": "https://github.com/sebastianbergmann/resource-operations.git", + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/82ebae02209c21113908c229e9883c419720738a", - "reference": "82ebae02209c21113908c229e9883c419720738a", + "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.3" }, - "suggest": { - "ext-ctype": "For best performance" + "require-dev": { + "phpunit/phpunit": "^9.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.11-dev" + "dev-master": "3.0-dev" } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - }, - "files": [ - "bootstrap.php" + "classmap": [ + "src/" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - }, - { - "name": "Gert de Pagter", - "email": "backendtea@gmail.com" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" } ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" + "description": "Provides a list of PHP built-in functions that operate on resources", + "homepage": "https://www.github.com/sebastianbergmann/resource-operations", + "support": { + "issues": "https://github.com/sebastianbergmann/resource-operations/issues", + "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } ], - "time": "2019-02-06T07:57:58+00:00" + "time": "2020-09-28T06:45:17+00:00" }, { - "name": "symfony/yaml", - "version": "v4.2.4", + "name": "sebastian/type", + "version": "3.2.1", "source": { "type": "git", - "url": "https://github.com/symfony/yaml.git", - "reference": "761fa560a937fd7686e5274ff89dcfa87a5047df" + "url": "https://github.com/sebastianbergmann/type.git", + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/761fa560a937fd7686e5274ff89dcfa87a5047df", - "reference": "761fa560a937fd7686e5274ff89dcfa87a5047df", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", "shasum": "" }, "require": { - "php": "^7.1.3", - "symfony/polyfill-ctype": "~1.8" - }, - "conflict": { - "symfony/console": "<3.4" + "php": ">=7.3" }, "require-dev": { - "symfony/console": "~3.4|~4.0" - }, - "suggest": { - "symfony/console": "For validating YAML files using the lint command" + "phpunit/phpunit": "^9.5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "4.2-dev" + "dev-master": "3.2-dev" } }, "autoload": { - "psr-4": { - "Symfony\\Component\\Yaml\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" + "classmap": [ + "src/" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Collection of value objects that represent the types of the PHP type system", + "homepage": "https://github.com/sebastianbergmann/type", + "support": { + "issues": "https://github.com/sebastianbergmann/type/issues", + "source": "https://github.com/sebastianbergmann/type/tree/3.2.1" + }, + "funding": [ { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" + "url": "https://github.com/sebastianbergmann", + "type": "github" } ], - "description": "Symfony Yaml Component", - "homepage": "https://symfony.com", - "time": "2019-02-23T15:17:42+00:00" + "time": "2023-02-03T06:13:03+00:00" }, { - "name": "webmozart/assert", - "version": "1.4.0", + "name": "sebastian/version", + "version": "3.0.2", "source": { "type": "git", - "url": "https://github.com/webmozart/assert.git", - "reference": "83e253c8e0be5b0257b881e1827274667c5c17a9" + "url": "https://github.com/sebastianbergmann/version.git", + "reference": "c6c1022351a901512170118436c764e473f6de8c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozart/assert/zipball/83e253c8e0be5b0257b881e1827274667c5c17a9", - "reference": "83e253c8e0be5b0257b881e1827274667c5c17a9", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", + "reference": "c6c1022351a901512170118436c764e473f6de8c", "shasum": "" }, "require": { - "php": "^5.3.3 || ^7.0", - "symfony/polyfill-ctype": "^1.8" - }, - "require-dev": { - "phpunit/phpunit": "^4.6", - "sebastian/version": "^1.0.1" + "php": ">=7.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.3-dev" + "dev-master": "3.0-dev" } }, "autoload": { - "psr-4": { - "Webmozart\\Assert\\": "src/" + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" } + ], + "description": "Library that helps with managing the version number of Git-hosted PHP projects", + "homepage": "https://github.com/sebastianbergmann/version", + "support": { + "issues": "https://github.com/sebastianbergmann/version/issues", + "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T06:39:44+00:00" + }, + { + "name": "theseer/tokenizer", + "version": "1.2.1", + "source": { + "type": "git", + "url": "https://github.com/theseer/tokenizer.git", + "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e", + "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": "^7.2 || ^8.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" } ], - "description": "Assertions to validate method input/output with nice error messages.", - "keywords": [ - "assert", - "check", - "validate" + "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", + "support": { + "issues": "https://github.com/theseer/tokenizer/issues", + "source": "https://github.com/theseer/tokenizer/tree/1.2.1" + }, + "funding": [ + { + "url": "https://github.com/theseer", + "type": "github" + } ], - "time": "2018-12-25T11:19:39+00:00" + "time": "2021-07-28T10:34:58+00:00" } ], "aliases": [], @@ -1404,6 +1935,9 @@ "stability-flags": [], "prefer-stable": false, "prefer-lowest": false, - "platform": [], - "platform-dev": [] + "platform": { + "php": ">=8.2" + }, + "platform-dev": [], + "plugin-api-version": "2.3.0" } diff --git a/js/extraction.js b/js/extraction.js index 97404bb..9da1b3c 100644 --- a/js/extraction.js +++ b/js/extraction.js @@ -1,54 +1,105 @@ -window.addEventListener('DOMContentLoaded', () => { - - if (!OCA.Files || !OCA.Files.fileActions) { - return; - } - - const types = { - zip: ['application/zip',], - rar: ['application/x-rar-compressed'], - // TAR - //'application/x-tar', 'application/x-7z-compressed' - other: ['application/x-tar', 'application/x-7z-compressed', 'application/x-bzip2', 'application/x-deb', 'application/x-gzip', 'application/x-compressed'], - }; - - for (const [type, mimeTypes] of Object.entries(types)) { - for (const mime of mimeTypes) { - OCA.Files.fileActions.registerAction({ - name: 'extract-' + type, - displayName: t('extract', 'Extract here'), - mime, - permissions: OC.PERMISSION_UPDATE, - type: OCA.Files.FileActions.TYPE_DROPDOWN, - iconClass: 'icon-extract', - actionHandler: function (filename, context) { - var data = { - nameOfFile: filename, - directory: context.dir, - external: context.fileInfoModel.attributes.mountType && context.fileInfoModel.attributes.mountType.startsWith("external") ? 1 : 0, - type: type, - }; - const tr = context.fileList.findFileEl(filename); - context.fileList.showFileBusyState(tr, true); - $.ajax({ - type: "POST", - async: "false", - url: OC.filePath('extract', 'ajax', 'extract.php'), - data: data, - success: function (response) { - if (response.code === 1) { - context.fileList.reload(); - } else { - context.fileList.showFileBusyState(tr, false); - OC.dialogs.alert( - t('extract', response.desc), - t('extract', 'Error extracting ' + filename) - ); - } - } - }); - } - }); - } - } +$(() => { + const actionsExtract = { + createDialog: function (title, init, callback) { + return OC.dialogs.confirmHtml('', title, callback, true) + .then(() => { + const $dialog = $('.oc-dialog:visible'); + const $content = $('.oc-dialog-content'); + const $buttons = $('.oc-dialog-buttonrow').find('button'); + const $cancelButton = $buttons.eq(0); + const $confirmButton = $buttons.eq(1); + + $content.empty(); + + $cancelButton.text(t('core', 'Cancel')); + $confirmButton.text(t('core', 'Confirm')); + + init($dialog, $content, $cancelButton, $confirmButton); + }); + }, + + extractDialog: function (filename, context, type) { + const self = this; + let dirName = filename.match('^([^\\.]+)')[0] || filename; + + const data = { + sourcePath: context.dir ? `${context.dir}/${filename}` : filename, targetDirName: dirName, type: type, + }; + + const tr = context.fileList.findFileEl(filename); + context.fileList.showFileBusyState(tr, true); + + const $input = $('').css('width', '100%'); + + self.createDialog(t('extract', 'Extract'), ($dialog, $content, _$cancelButton, $confirmButton) => { + $dialog.css({ + 'min-width': '300px', width: '50%', 'max-width': '600px', + }); + + $confirmButton.text(t('extract', 'Extract')); + + const $text = $('

').text(t('extract', 'Files will be extracted to this folder:')); + $content.append($text); + + $input.attr('type', 'text').attr('id', 'file-name-input').attr('placeholder', t('extract', 'File Name')).attr('value', dirName); + $content.append($input); + + $input.on('input', () => { + $confirmButton.prop('disabled', $input.val().trim() === ''); + }); + }, (result) => { + context.fileList.showFileBusyState(tr, false); + data.targetDirName = $input.val(); + if (result) { + $.ajax({ + type: 'POST', + async: 'false', + url: OC.filePath('extract', 'ajax', 'extract.php'), + data: data, + success: function (response) { + console.log(response); + if (response.code === 1) { + context.fileList.reload(); + } else { + context.fileList.showFileBusyState(tr, false); + OC.dialogs.alert(t('extract', response.desc), t('extract', 'Error extracting ') + filename); + } + }, + }); + } + },); + }, + + init: function () { + const self = this; + + const registerAction = function (name, mime) { + OCA.Files.fileActions.registerAction({ + name: name, + displayName: t('extract', 'Extract'), + mime: mime, + permissions: OC.PERMISSION_UPDATE, + type: OCA.Files.FileActions.TYPE_DROPDOWN, + iconClass: 'icon-extract', + actionHandler: function (filename, context) { + self.extractDialog(filename, context, mime); + }, + }); + }; + + // ZIP + registerAction('extractzip', 'application/zip'); + + // RAR + registerAction('extractrar', 'application/x-rar-compressed'); + + // TAR and others + const types = ['application/x-tar', 'application/x-7z-compressed', 'application/x-bzip2', 'application/x-deb', 'application/x-gzip', 'application/x-compressed']; + types.forEach(type => { + registerAction('extractOthers', type); + }); + }, + }; + + actionsExtract.init(); }); diff --git a/l10n/ar.js b/l10n/ar.js index fa46d3b..ac74cc2 100644 --- a/l10n/ar.js +++ b/l10n/ar.js @@ -10,6 +10,6 @@ OC.L10N.register( "Oops something went wrong. Check that you have p7zip installed" : "وقع خطأٌ ما. تأكد من أن تطبيق الفكّ p7zip قد تمّ تنصيبه", "Extract" : "إستخلاص", "Extract archive from the web interface" : "إستخلاص الأرشيف من متصفح الوب", - "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "استخراج الأرشيفات Extract Archives. \n\n* **التنسيقات المدعومة: **\n* Zip \n* Rar \n* Tar \n* Gzip \n* 7z\n* Deb \n* Bzip2 \n\n* ** المتطلبات: **\n* Rar PHP extension (pecl -v install rar)\n* ** أو**\n * unrar (sudo apt-get install unrar)\n* **و**\n* p7zip (sudo apt-get install p7zip p7zip-full)\n\n* ** ملاحظة: الملفات المشفرة غير مدعومة بعدُ" + "Extract archives.\n\n* **Supported :** \n\n * Zip \n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :** \n * Rar PHP extension (pecl -v install rar)\n\n * **OR** \n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "استخلاص الأراشيف\n\n**يدعم الصيغ:**\n* Zip\n* Rar\n* Tar\n* Gzip\n* 7z\n* Deb\n* Bzip2\n\n**المتطلبات:**\n* Rar PHP extension (pecl -v install rar)\n\n* **OR**\n* unrar (sudo apt-get install unrar)\n\n* **AND**\n* p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **لاحظ أن:** الملفات المشفرة غير مدعومة بعدُ." }, "nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;"); diff --git a/l10n/ar.json b/l10n/ar.json index fdbcd1b..c2bf0db 100644 --- a/l10n/ar.json +++ b/l10n/ar.json @@ -8,6 +8,6 @@ "Oops something went wrong. Check that you have p7zip installed" : "وقع خطأٌ ما. تأكد من أن تطبيق الفكّ p7zip قد تمّ تنصيبه", "Extract" : "إستخلاص", "Extract archive from the web interface" : "إستخلاص الأرشيف من متصفح الوب", - "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "استخراج الأرشيفات Extract Archives. \n\n* **التنسيقات المدعومة: **\n* Zip \n* Rar \n* Tar \n* Gzip \n* 7z\n* Deb \n* Bzip2 \n\n* ** المتطلبات: **\n* Rar PHP extension (pecl -v install rar)\n* ** أو**\n * unrar (sudo apt-get install unrar)\n* **و**\n* p7zip (sudo apt-get install p7zip p7zip-full)\n\n* ** ملاحظة: الملفات المشفرة غير مدعومة بعدُ" + "Extract archives.\n\n* **Supported :** \n\n * Zip \n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :** \n * Rar PHP extension (pecl -v install rar)\n\n * **OR** \n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "استخلاص الأراشيف\n\n**يدعم الصيغ:**\n* Zip\n* Rar\n* Tar\n* Gzip\n* 7z\n* Deb\n* Bzip2\n\n**المتطلبات:**\n* Rar PHP extension (pecl -v install rar)\n\n* **OR**\n* unrar (sudo apt-get install unrar)\n\n* **AND**\n* p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **لاحظ أن:** الملفات المشفرة غير مدعومة بعدُ." },"pluralForm" :"nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;" } \ No newline at end of file diff --git a/l10n/bg.js b/l10n/bg.js index f51e322..5e19af0 100644 --- a/l10n/bg.js +++ b/l10n/bg.js @@ -9,6 +9,7 @@ OC.L10N.register( "Oops something went wrong. Check that you have rar extension or unrar installed" : "Опа, нещо се обърка. Проверете дали имате инсталирано разширение rar или unrar", "Oops something went wrong. Check that you have p7zip installed" : "Опа, нещо се обърка. Проверете дали имате инсталиран p7zip", "Extract" : "Извличане", - "Extract archive from the web interface" : "Извличане на архив от уеб интерфейса" + "Extract archive from the web interface" : "Извличане на архив от уеб интерфейса", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Извличане на архиви.\n\n* **Поддържани:**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Изисквания:**\n *Rar PHP разширение (pecl -v инсталирайте rar)\n\n * **ИЛИ**\n * unrar (sudo apt-get инсталирайтеl unrar)\n\n * **AND**\n * p7zip (sudo apt-get инсталирайте p7zip p7zip-full)\n\n* **Забележка:** Шифрираните файлове все още не се поддържат" }, "nplurals=2; plural=(n != 1);"); diff --git a/l10n/bg.json b/l10n/bg.json index 4d2c22f..beec013 100644 --- a/l10n/bg.json +++ b/l10n/bg.json @@ -7,6 +7,7 @@ "Oops something went wrong. Check that you have rar extension or unrar installed" : "Опа, нещо се обърка. Проверете дали имате инсталирано разширение rar или unrar", "Oops something went wrong. Check that you have p7zip installed" : "Опа, нещо се обърка. Проверете дали имате инсталиран p7zip", "Extract" : "Извличане", - "Extract archive from the web interface" : "Извличане на архив от уеб интерфейса" + "Extract archive from the web interface" : "Извличане на архив от уеб интерфейса", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Извличане на архиви.\n\n* **Поддържани:**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Изисквания:**\n *Rar PHP разширение (pecl -v инсталирайте rar)\n\n * **ИЛИ**\n * unrar (sudo apt-get инсталирайтеl unrar)\n\n * **AND**\n * p7zip (sudo apt-get инсталирайте p7zip p7zip-full)\n\n* **Забележка:** Шифрираните файлове все още не се поддържат" },"pluralForm" :"nplurals=2; plural=(n != 1);" -} \ No newline at end of file +} diff --git a/l10n/ca.js b/l10n/ca.js index 50d54c1..70396e8 100644 --- a/l10n/ca.js +++ b/l10n/ca.js @@ -9,6 +9,7 @@ OC.L10N.register( "Oops something went wrong. Check that you have rar extension or unrar installed" : "Alguna cosa ha anat malament. Comproveu que teniu la extensió rar o unrar instal·lada", "Oops something went wrong. Check that you have p7zip installed" : "Alguna cosa ha anat malament. Comproveu que teniu p7zip instal·lat", "Extract" : "Extreure", - "Extract archive from the web interface" : "Extreure l'arxiu de la interfície web" + "Extract archive from the web interface" : "Extreure l'arxiu de la interfície web", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Extreure arxius.\n\n* **Suportats :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requisits :**\n * Extensió PHP de rar (pecl -v install rar)\n \n * **O**\n * unrar (sudo apt-get install unrar)\n\n * **I**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Nota :** Els arxius encriptats encara no estan suportats" }, "nplurals=2; plural=(n != 1);"); diff --git a/l10n/ca.json b/l10n/ca.json index 27404b3..3a7d3bc 100644 --- a/l10n/ca.json +++ b/l10n/ca.json @@ -7,6 +7,7 @@ "Oops something went wrong. Check that you have rar extension or unrar installed" : "Alguna cosa ha anat malament. Comproveu que teniu la extensió rar o unrar instal·lada", "Oops something went wrong. Check that you have p7zip installed" : "Alguna cosa ha anat malament. Comproveu que teniu p7zip instal·lat", "Extract" : "Extreure", - "Extract archive from the web interface" : "Extreure l'arxiu de la interfície web" + "Extract archive from the web interface" : "Extreure l'arxiu de la interfície web", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Extreure arxius.\n\n* **Suportats :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requisits :**\n * Extensió PHP de rar (pecl -v install rar)\n \n * **O**\n * unrar (sudo apt-get install unrar)\n\n * **I**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Nota :** Els arxius encriptats encara no estan suportats" },"pluralForm" :"nplurals=2; plural=(n != 1);" -} \ No newline at end of file +} diff --git a/l10n/da.js b/l10n/da.js index 0532244..701628a 100644 --- a/l10n/da.js +++ b/l10n/da.js @@ -9,6 +9,7 @@ OC.L10N.register( "Oops something went wrong. Check that you have rar extension or unrar installed" : "Ups! Noget gik galt. Kontroller, at du har rar udvidelse eller unrar installeret", "Oops something went wrong. Check that you have p7zip installed" : "Ups! Noget gik galt. Kontroller, at du har installeret p7zip", "Extract" : "Udpak", - "Extract archive from the web interface" : "Udpak arkiv fra webgrænsefladen" + "Extract archive from the web interface" : "Udpak arkiv fra webgrænsefladen", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Uddrag arkiver.\n\n**Understøttet :**\n\n * ZIP\n * Rar\n *Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n **Krav:**\n * Rar PHP-udvidelse (pecl -v install rar)\n\n **ELLER**\n * unrar (sudo apt-get install unrar)\n\n **OG**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Bemærk:** Krypterede filer understøttes ikke endnu" }, "nplurals=2; plural=(n != 1);"); diff --git a/l10n/da.json b/l10n/da.json index e6f85c0..a5c02b1 100644 --- a/l10n/da.json +++ b/l10n/da.json @@ -7,6 +7,7 @@ "Oops something went wrong. Check that you have rar extension or unrar installed" : "Ups! Noget gik galt. Kontroller, at du har rar udvidelse eller unrar installeret", "Oops something went wrong. Check that you have p7zip installed" : "Ups! Noget gik galt. Kontroller, at du har installeret p7zip", "Extract" : "Udpak", - "Extract archive from the web interface" : "Udpak arkiv fra webgrænsefladen" + "Extract archive from the web interface" : "Udpak arkiv fra webgrænsefladen", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Uddrag arkiver.\n\n**Understøttet :**\n\n * ZIP\n * Rar\n *Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n **Krav:**\n * Rar PHP-udvidelse (pecl -v install rar)\n\n **ELLER**\n * unrar (sudo apt-get install unrar)\n\n **OG**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Bemærk:** Krypterede filer understøttes ikke endnu" },"pluralForm" :"nplurals=2; plural=(n != 1);" -} \ No newline at end of file +} diff --git a/l10n/de.js b/l10n/de.js index 4a3719b..378a68b 100644 --- a/l10n/de.js +++ b/l10n/de.js @@ -2,7 +2,7 @@ OC.L10N.register( "extract", { "Extract here" : "Hier entpacken", - "Error extracting " : "Fehler beim Entpacken", + "Error extracting " : "Fehler beim Entpacken von", "Encryption is not supported yet" : "Verschlüsselung wird bislang nicht unterstützt", "Zip extension is not available" : "Zip-Erweiterung nicht verfügbar", "Cannot open Zip file" : "Zip-Datei kann nicht geöffnet werden", @@ -10,6 +10,9 @@ OC.L10N.register( "Oops something went wrong. Check that you have p7zip installed" : "Ups! Irgendwas lief schief. Überprüfe, ob du p7zip installiert hast", "Extract" : "Entpacken", "Extract archive from the web interface" : "Gepackte Datei aus dem Webinterface entpacken", - "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Archive extrahieren.\n\n* **Unterstützt:**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n * Zip\n\n* **Anforderungen :**\n * Rar PHP-Erweiterung (pecl -v install rar)\n\n * **ODER**\n * unrar (sudo apt-get install unrar)\n\n * **UND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Hinweis:** Verschlüsselte Dateien werden noch nicht unterstützt" + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Archive entpacken.\n\n* **Unterstützt :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Anforderungen:**\n * rar PHP-Erweiterung (pecl -v install rar)\n\n * **ODER**\n * unrar (sudo apt-get install unrar)\n\n * **UND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **ACHTUNG:** Verschlüsselte Dateien werden bislang nicht unterstützt", + "Files will be extracted to this folder:" : "Dateien werden in diesen Ordner entpackt:", + "File Name" : "Dateiname", + "Directory already exists" : "Ordner existiert bereits" }, "nplurals=2; plural=(n != 1);"); diff --git a/l10n/de.json b/l10n/de.json index ea5e962..0c44b88 100644 --- a/l10n/de.json +++ b/l10n/de.json @@ -8,6 +8,9 @@ "Oops something went wrong. Check that you have p7zip installed" : "Ups! Irgendwas lief schief. Überprüfe, ob du p7zip installiert hast", "Extract" : "Entpacken", "Extract archive from the web interface" : "Gepackte Datei aus dem Webinterface entpacken", - "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Archive extrahieren.\n\n* **Unterstützt:**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n * Zip\n\n* **Anforderungen :**\n * Rar PHP-Erweiterung (pecl -v install rar)\n\n * **ODER**\n * unrar (sudo apt-get install unrar)\n\n * **UND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Hinweis:** Verschlüsselte Dateien werden noch nicht unterstützt" + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Archive entpacken.\n\n* **Unterstützt :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Anforderungen:**\n * rar PHP-Erweiterung (pecl -v install rar)\n\n * **ODER**\n * unrar (sudo apt-get install unrar)\n\n * **UND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **ACHTUNG:** Verschlüsselte Dateien werden bislang nicht unterstützt", + "Files will be extracted to this folder:" : "Dateien werden in diesen Ordner entpackt:", + "File Name" : "Dateiname", + "Directory already exists" : "Ordner existiert bereits" },"pluralForm" :"nplurals=2; plural=(n != 1);" -} \ No newline at end of file +} diff --git a/l10n/de_DE.js b/l10n/de_DE.js index 342de3b..1371580 100644 --- a/l10n/de_DE.js +++ b/l10n/de_DE.js @@ -10,6 +10,9 @@ OC.L10N.register( "Oops something went wrong. Check that you have p7zip installed" : "Ups! Irgendwas lief schief. Überprüfen Sie, ob Sie p7zip installiert haben", "Extract" : "Entpacken", "Extract archive from the web interface" : "Gepackte Datei aus dem Webinterface entpacken", - "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Archive extrahieren.\n\n* **Unterstützt:**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n * Zip\n\n* **Anforderungen :**\n * Rar PHP-Erweiterung (pecl -v install rar)\n\n * **ODER**\n * unrar (sudo apt-get install unrar)\n\n * **UND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Hinweis:** Verschlüsselte Dateien werden noch nicht unterstützt" + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Archive extrahieren.\n\n* **Unterstützt:**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n * Zip\n\n* **Anforderungen :**\n * Rar PHP-Erweiterung (pecl -v install rar)\n\n * **ODER**\n * unrar (sudo apt-get install unrar)\n\n * **UND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Hinweis:** Verschlüsselte Dateien werden noch nicht unterstützt", + "Files will be extracted to this folder:" : "Dateien werden in diesen Ordner entpackt:", + "File Name" : "Dateiname", + "Directory already exists" : "Ordner existiert bereits" }, "nplurals=2; plural=(n != 1);"); diff --git a/l10n/de_DE.json b/l10n/de_DE.json index 33c743d..55bc976 100644 --- a/l10n/de_DE.json +++ b/l10n/de_DE.json @@ -8,6 +8,9 @@ "Oops something went wrong. Check that you have p7zip installed" : "Ups! Irgendwas lief schief. Überprüfen Sie, ob Sie p7zip installiert haben", "Extract" : "Entpacken", "Extract archive from the web interface" : "Gepackte Datei aus dem Webinterface entpacken", - "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Archive extrahieren.\n\n* **Unterstützt:**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n * Zip\n\n* **Anforderungen :**\n * Rar PHP-Erweiterung (pecl -v install rar)\n\n * **ODER**\n * unrar (sudo apt-get install unrar)\n\n * **UND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Hinweis:** Verschlüsselte Dateien werden noch nicht unterstützt" + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Archive extrahieren.\n\n* **Unterstützt:**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n * Zip\n\n* **Anforderungen :**\n * Rar PHP-Erweiterung (pecl -v install rar)\n\n * **ODER**\n * unrar (sudo apt-get install unrar)\n\n * **UND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Hinweis:** Verschlüsselte Dateien werden noch nicht unterstützt", + "Files will be extracted to this folder:" : "Dateien werden in diesen Ordner entpackt:", + "File Name" : "Dateiname", + "Directory already exists" : "Ordner existiert bereits" },"pluralForm" :"nplurals=2; plural=(n != 1);" -} \ No newline at end of file +} diff --git a/l10n/el.js b/l10n/el.js index e0ab102..0cad003 100644 --- a/l10n/el.js +++ b/l10n/el.js @@ -9,6 +9,7 @@ OC.L10N.register( "Oops something went wrong. Check that you have rar extension or unrar installed" : "Ωχ! Κάτι πήγε στραβά. Βεβαιωθείτε ότι έχετε εγκαταστήσει την επέκταση rar ή unrar", "Oops something went wrong. Check that you have p7zip installed" : "Ωχ! Κάτι πήγε στραβά. Βεβαιωθείτε ότι έχετε εγκαταστήσει το p7zip", "Extract" : "Αποσυμπίεση", - "Extract archive from the web interface" : "Αποσυμπίεση αρχείου από περιηγητή" + "Extract archive from the web interface" : "Αποσυμπίεση αρχείου από περιηγητή", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Αποσυμπίεση αρχείων.\n\n* ** Υποστηρίζεται :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* ** Απαιτήσεις :**\n * Rar επέκταση PHP (pecl -v install rar)\n\n * **Ή **\n * unrar (sudo apt-get install unrar)\n\n * **ΚΑΙ**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n * **Σημείωση :** Τα κρυπτογραφημένα αρχεία δεν υποστηρίζονται ακόμη" }, "nplurals=2; plural=(n != 1);"); diff --git a/l10n/el.json b/l10n/el.json index fc307fd..31b552c 100644 --- a/l10n/el.json +++ b/l10n/el.json @@ -7,6 +7,7 @@ "Oops something went wrong. Check that you have rar extension or unrar installed" : "Ωχ! Κάτι πήγε στραβά. Βεβαιωθείτε ότι έχετε εγκαταστήσει την επέκταση rar ή unrar", "Oops something went wrong. Check that you have p7zip installed" : "Ωχ! Κάτι πήγε στραβά. Βεβαιωθείτε ότι έχετε εγκαταστήσει το p7zip", "Extract" : "Αποσυμπίεση", - "Extract archive from the web interface" : "Αποσυμπίεση αρχείου από περιηγητή" + "Extract archive from the web interface" : "Αποσυμπίεση αρχείου από περιηγητή", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Αποσυμπίεση αρχείων.\n\n* ** Υποστηρίζεται :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* ** Απαιτήσεις :**\n * Rar επέκταση PHP (pecl -v install rar)\n\n * **Ή **\n * unrar (sudo apt-get install unrar)\n\n * **ΚΑΙ**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n * **Σημείωση :** Τα κρυπτογραφημένα αρχεία δεν υποστηρίζονται ακόμη" },"pluralForm" :"nplurals=2; plural=(n != 1);" -} \ No newline at end of file +} diff --git a/l10n/en_GB.js b/l10n/en_GB.js index 25fc6a6..2dc66bf 100644 --- a/l10n/en_GB.js +++ b/l10n/en_GB.js @@ -10,6 +10,6 @@ OC.L10N.register( "Oops something went wrong. Check that you have p7zip installed" : "Oops something went wrong. Check that you have p7zip installed", "Extract" : "Extract", "Extract archive from the web interface" : "Extract archive from the web interface", - "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" + "Extract archives.\n\n* **Supported :** \n\n * Zip \n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :** \n * Rar PHP extension (pecl -v install rar)\n\n * **OR** \n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Extract archives.\n\n* **Supported :** \n\n * Zip \n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :** \n * Rar PHP extension (pecl -v install rar)\n\n * **OR** \n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" }, "nplurals=2; plural=(n != 1);"); diff --git a/l10n/en_GB.json b/l10n/en_GB.json index e36aadd..4d69316 100644 --- a/l10n/en_GB.json +++ b/l10n/en_GB.json @@ -8,6 +8,6 @@ "Oops something went wrong. Check that you have p7zip installed" : "Oops something went wrong. Check that you have p7zip installed", "Extract" : "Extract", "Extract archive from the web interface" : "Extract archive from the web interface", - "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" + "Extract archives.\n\n* **Supported :** \n\n * Zip \n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :** \n * Rar PHP extension (pecl -v install rar)\n\n * **OR** \n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Extract archives.\n\n* **Supported :** \n\n * Zip \n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :** \n * Rar PHP extension (pecl -v install rar)\n\n * **OR** \n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" },"pluralForm" :"nplurals=2; plural=(n != 1);" } \ No newline at end of file diff --git a/l10n/es.js b/l10n/es.js index 0d02757..dc4c17b 100644 --- a/l10n/es.js +++ b/l10n/es.js @@ -10,6 +10,9 @@ OC.L10N.register( "Oops something went wrong. Check that you have p7zip installed" : "Oops, algo ha ido mal. Comprueba que p7zip está instalado", "Extract" : "Extraer", "Extract archive from the web interface" : "Extraer el archivo desde la interfaz web", - "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Extraer archivos comprimidos.\n\n* **Formatos soportados :** \n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requisitos:** \n * Extensión PHP rar (pecl -v install rar)\n\n * **O** \n * unrar (sudo apt-get install unrar)\n\n * **Y**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Nota :** Los archivos cifrados todavía no están soportados" + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Extraer archivos comprimidos.\n\n* **Formatos soportados :** \n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requisitos:** \n * Extensión PHP rar (pecl -v install rar)\n\n * **O** \n * unrar (sudo apt-get install unrar)\n\n * **Y**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Nota :** Los archivos cifrados todavía no están soportados", + "Files will be extracted to this folder:" : "Los archivos se extraerán a esta carpeta:", + "File Name" : "Nombre del archivo", + "Directory already exists" : "El directorio ya existe" }, "nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); diff --git a/l10n/es.json b/l10n/es.json index 909ce6c..383e26a 100644 --- a/l10n/es.json +++ b/l10n/es.json @@ -8,6 +8,9 @@ "Oops something went wrong. Check that you have p7zip installed" : "Oops, algo ha ido mal. Comprueba que p7zip está instalado", "Extract" : "Extraer", "Extract archive from the web interface" : "Extraer el archivo desde la interfaz web", - "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Extraer archivos comprimidos.\n\n* **Formatos soportados :** \n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requisitos:** \n * Extensión PHP rar (pecl -v install rar)\n\n * **O** \n * unrar (sudo apt-get install unrar)\n\n * **Y**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Nota :** Los archivos cifrados todavía no están soportados" + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Extraer archivos comprimidos.\n\n* **Formatos soportados :** \n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requisitos:** \n * Extensión PHP rar (pecl -v install rar)\n\n * **O** \n * unrar (sudo apt-get install unrar)\n\n * **Y**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Nota :** Los archivos cifrados todavía no están soportados", + "Files will be extracted to this folder:" : "Los archivos se extraerán a esta carpeta:", + "File Name" : "Nombre del archivo", + "Directory already exists" : "El directorio ya existe" },"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" -} \ No newline at end of file +} diff --git a/l10n/eu.json b/l10n/eu.json index f175d54..44b6881 100644 --- a/l10n/eu.json +++ b/l10n/eu.json @@ -8,6 +8,6 @@ "Oops something went wrong. Check that you have p7zip installed" : "Arazoren bat izan da. Egiaztatu p7zip instalatuta duzula", "Extract" : "Atera", "Extract archive from the web interface" : "Atera artxiboa web interfazetik", - "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Atera artxiboak.\n\n* **Onartzen du :**\n\n* Zip\n* Arraroa\n* Tar\n* Gzip\n* 7z\n* Deb\n* Bzip2\n\n* **Baldintzak:**\n* Rar PHP luzapena (pecl -v install rar)\n\n* **EDO**\n* unrar (sudo apt-get install unrar)\n\n* **ETA**\n* p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Oharra :** Zifratutako fitxategiak ez dira onartzen oraindik" + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Atera artxiboak.\n\n* **Onartzen du :**\n\n* Zip\n* Arraroa\n* Tar\n* Gzip\n* 7z\n* Deb\n* Bzip2\n\n* **Baldintzak:**\n * Rar PHP luzapena (pecl -v install rar)\n\n* **EDO**\n * unrar (sudo apt-get install unrar)\n\n* **ETA**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Oharra :** Zifratutako fitxategiak ez dira onartzen oraindik" },"pluralForm" :"nplurals=2; plural=(n != 1);" -} \ No newline at end of file +} diff --git a/l10n/fi.js b/l10n/fi.js index 20b75d3..abcd49c 100644 --- a/l10n/fi.js +++ b/l10n/fi.js @@ -9,6 +9,7 @@ OC.L10N.register( "Oops something went wrong. Check that you have rar extension or unrar installed" : "Hups, jokin meni pieleen. Varmista että rar- tai unrar-laajennus on asennettu", "Oops something went wrong. Check that you have p7zip installed" : "Hups, jokin meni pieleen. Varmista että p7zip on asennettu", "Extract" : "Pura", - "Extract archive from the web interface" : "Pura arkistotiedosto verkkokäyttöliittymän avulla" + "Extract archive from the web interface" : "Pura arkistotiedosto verkkokäyttöliittymän avulla", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Pura arkistoja.\n\n* **Tuettu :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Vaatii :**\n * Rar PHP laajennuksen (pecl -v install rar)\n\n * **TAI**\n * unrar (sudo apt-get install unrar)\n\n * **JA**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Huom. :** Salattuja tiedostoja ei tueta vielä" }, "nplurals=2; plural=(n != 1);"); diff --git a/l10n/fi.json b/l10n/fi.json index 153d09d..75198aa 100644 --- a/l10n/fi.json +++ b/l10n/fi.json @@ -7,6 +7,7 @@ "Oops something went wrong. Check that you have rar extension or unrar installed" : "Hups, jokin meni pieleen. Varmista että rar- tai unrar-laajennus on asennettu", "Oops something went wrong. Check that you have p7zip installed" : "Hups, jokin meni pieleen. Varmista että p7zip on asennettu", "Extract" : "Pura", - "Extract archive from the web interface" : "Pura arkistotiedosto verkkokäyttöliittymän avulla" + "Extract archive from the web interface" : "Pura arkistotiedosto verkkokäyttöliittymän avulla", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Pura arkistoja.\n\n* **Tuettu :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Vaatii :**\n * Rar PHP laajennuksen (pecl -v install rar)\n\n * **TAI**\n * unrar (sudo apt-get install unrar)\n\n * **JA**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Huom. :** Salattuja tiedostoja ei tueta vielä" },"pluralForm" :"nplurals=2; plural=(n != 1);" -} \ No newline at end of file +} diff --git a/l10n/he.js b/l10n/he.js index 162c91c..7a4fa3c 100644 --- a/l10n/he.js +++ b/l10n/he.js @@ -9,6 +9,7 @@ OC.L10N.register( "Oops something went wrong. Check that you have rar extension or unrar installed" : "אופס, משהו השתבש. נא לוודא שיש לך סיומת rar או את unrar מותקן", "Oops something went wrong. Check that you have p7zip installed" : "אופס, משהו השתבש. נא לבדוק שמותקן אצלך p7zip", "Extract" : "חילוץ", - "Extract archive from the web interface" : "חילוץ ארכיון בעזרת מנשק הדפדפן" + "Extract archive from the web interface" : "חילוץ ארכיון בעזרת מנשק הדפדפן", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "חילוץ ארכיונים.\n\n* **נתמכים:**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **דרישות :**\n * הרחבת Rar של PHP‏ (pecl -v install rar)\n\n * **או**\n * unrar (sudo apt-get install unrar)\n\n * **וגם**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **לתשומת לבך :** אין עדיין תמיכה בקבצים מוצפנים" }, "nplurals=3; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: 2;"); diff --git a/l10n/he.json b/l10n/he.json index 29c0dfd..7b4edbe 100644 --- a/l10n/he.json +++ b/l10n/he.json @@ -7,6 +7,7 @@ "Oops something went wrong. Check that you have rar extension or unrar installed" : "אופס, משהו השתבש. נא לוודא שיש לך סיומת rar או את unrar מותקן", "Oops something went wrong. Check that you have p7zip installed" : "אופס, משהו השתבש. נא לבדוק שמותקן אצלך p7zip", "Extract" : "חילוץ", - "Extract archive from the web interface" : "חילוץ ארכיון בעזרת מנשק הדפדפן" + "Extract archive from the web interface" : "חילוץ ארכיון בעזרת מנשק הדפדפן", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "חילוץ ארכיונים.\n\n* **נתמכים:**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **דרישות :**\n * הרחבת Rar של PHP‏ (pecl -v install rar)\n\n * **או**\n * unrar (sudo apt-get install unrar)\n\n * **וגם**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **לתשומת לבך :** אין עדיין תמיכה בקבצים מוצפנים" },"pluralForm" :"nplurals=3; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: 2;" -} \ No newline at end of file +} diff --git a/l10n/hr.js b/l10n/hr.js index e267f93..4d4f6f0 100644 --- a/l10n/hr.js +++ b/l10n/hr.js @@ -9,6 +9,7 @@ OC.L10N.register( "Oops something went wrong. Check that you have rar extension or unrar installed" : "Ups! Nešto je pošlo po krivu. Provjerite je li instalirano proširenje za datoteke rar ili unrar", "Oops something went wrong. Check that you have p7zip installed" : "Ups! Nešto je pošlo po krivu. Provjerite je li instaliran p7zip", "Extract" : "Izdvoji", - "Extract archive from the web interface" : "Izdvoji arhivu putem web-sučelja" + "Extract archive from the web interface" : "Izdvoji arhivu putem web-sučelja", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Izdvoji arhive.\n\n* **Podržano :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Zahtjevi :**\n * Rar PHP proširenje (pecl -v install rar)\n\n * **ILI**\n * unrar (sudo apt-get install unrar)\n\n * **I**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Napomena :** šifrirane datoteke još uvijek nisu podržane" }, "nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;"); diff --git a/l10n/hr.json b/l10n/hr.json index d5e6391..911015e 100644 --- a/l10n/hr.json +++ b/l10n/hr.json @@ -7,6 +7,7 @@ "Oops something went wrong. Check that you have rar extension or unrar installed" : "Ups! Nešto je pošlo po krivu. Provjerite je li instalirano proširenje za datoteke rar ili unrar", "Oops something went wrong. Check that you have p7zip installed" : "Ups! Nešto je pošlo po krivu. Provjerite je li instaliran p7zip", "Extract" : "Izdvoji", - "Extract archive from the web interface" : "Izdvoji arhivu putem web-sučelja" + "Extract archive from the web interface" : "Izdvoji arhivu putem web-sučelja", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Izdvoji arhive.\n\n* **Podržano :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Zahtjevi :**\n * Rar PHP proširenje (pecl -v install rar)\n\n * **ILI**\n * unrar (sudo apt-get install unrar)\n\n * **I**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Napomena :** šifrirane datoteke još uvijek nisu podržane" },"pluralForm" :"nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;" -} \ No newline at end of file +} diff --git a/l10n/hu.js b/l10n/hu.js index 220eac7..26d71c3 100644 --- a/l10n/hu.js +++ b/l10n/hu.js @@ -9,6 +9,7 @@ OC.L10N.register( "Oops something went wrong. Check that you have rar extension or unrar installed" : "Hoppá! Valami rosszul sült el. Ellenőrizze, hogy telepítve van-e a rar kiterjesztés vagy az unrar", "Oops something went wrong. Check that you have p7zip installed" : "Hoppá! Valami rosszul sült el. Ellenőrizze, hogy telepítve van-e a p7zip", "Extract" : "Kibontás", - "Extract archive from the web interface" : "Archívum kibontása a webes felületről" + "Extract archive from the web interface" : "Archívum kibontása a webes felületről", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Archívumok kibontása.\n\n* **Támogatott :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Szükséges:**\n * Rar PHP kiterjesztés (pecl -v install rar)\n\n * **VAGY**\n * unrar (sudo apt-get install unrar)\n\n * **ÉS**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Megjegyzés :** A titkosított fájlok még nem támogatottak" }, "nplurals=2; plural=(n != 1);"); diff --git a/l10n/hu.json b/l10n/hu.json index b43b63a..7ebe0de 100644 --- a/l10n/hu.json +++ b/l10n/hu.json @@ -7,6 +7,7 @@ "Oops something went wrong. Check that you have rar extension or unrar installed" : "Hoppá! Valami rosszul sült el. Ellenőrizze, hogy telepítve van-e a rar kiterjesztés vagy az unrar", "Oops something went wrong. Check that you have p7zip installed" : "Hoppá! Valami rosszul sült el. Ellenőrizze, hogy telepítve van-e a p7zip", "Extract" : "Kibontás", - "Extract archive from the web interface" : "Archívum kibontása a webes felületről" + "Extract archive from the web interface" : "Archívum kibontása a webes felületről", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Archívumok kibontása.\n\n* **Támogatott :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Szükséges:**\n * Rar PHP kiterjesztés (pecl -v install rar)\n\n * **VAGY**\n * unrar (sudo apt-get install unrar)\n\n * **ÉS**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Megjegyzés :** A titkosított fájlok még nem támogatottak" },"pluralForm" :"nplurals=2; plural=(n != 1);" -} \ No newline at end of file +} diff --git a/l10n/is.js b/l10n/is.js index 53f233d..801f5da 100644 --- a/l10n/is.js +++ b/l10n/is.js @@ -5,6 +5,7 @@ OC.L10N.register( "Error extracting " : "Villa við afþjöppun", "Zip extension is not available" : "Zip-viðaukinn er ekki tiltækur", "Extract" : "Afþjappa", - "Extract archive from the web interface" : "Afþjappa safnskrá úr vefviðmótinu" + "Extract archive from the web interface" : "Afþjappa safnskrá úr vefviðmótinu", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Afþjappar safnskrár.\n\n* **Stuðningur við :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Kerfiskröfur :**\n * Rar PHP-viðauki (pecl -v install rar)\n\n * **EÐA**\n * unrar (sudo apt-get install unrar)\n\n * **OG**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Athugið :** Ekki er enn stuðningur við dulritaðar skrár" }, "nplurals=2; plural=(n % 10 != 1 || n % 100 == 11);"); diff --git a/l10n/is.json b/l10n/is.json index be79348..b36dde2 100644 --- a/l10n/is.json +++ b/l10n/is.json @@ -3,6 +3,7 @@ "Error extracting " : "Villa við afþjöppun", "Zip extension is not available" : "Zip-viðaukinn er ekki tiltækur", "Extract" : "Afþjappa", - "Extract archive from the web interface" : "Afþjappa safnskrá úr vefviðmótinu" + "Extract archive from the web interface" : "Afþjappa safnskrá úr vefviðmótinu", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Afþjappar safnskrár.\n\n* **Stuðningur við :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Kerfiskröfur :**\n * Rar PHP-viðauki (pecl -v install rar)\n\n * **EÐA**\n * unrar (sudo apt-get install unrar)\n\n * **OG**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Athugið :** Ekki er enn stuðningur við dulritaðar skrár" },"pluralForm" :"nplurals=2; plural=(n % 10 != 1 || n % 100 == 11);" -} \ No newline at end of file +} diff --git a/l10n/it.js b/l10n/it.js index 6c6b3fa..8dad513 100644 --- a/l10n/it.js +++ b/l10n/it.js @@ -9,6 +9,7 @@ OC.L10N.register( "Oops something went wrong. Check that you have rar extension or unrar installed" : "Qualcosa non ha funzionato. Controlla di avere l'estensione rar o unrar installato", "Oops something went wrong. Check that you have p7zip installed" : "Qualcosa non ha funzionato. Controlla di avere p7zip installato", "Extract" : "Estrai", - "Extract archive from the web interface" : "Estrai archivio dall'interfaccia web" + "Extract archive from the web interface" : "Estrai archivio dall'interfaccia web", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Estrai archivi.\n\n* **Supportati:**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requisiti:**\n * Estensione rar di PHP (pecl -v install rar)\n\n * **O**\n * unrar (sudo apt-get install unrar)\n\n * **E**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Nota:** I file cifrati non sono ancora supportati" }, "nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"); diff --git a/l10n/it.json b/l10n/it.json index 9ea1a34..2555cb4 100644 --- a/l10n/it.json +++ b/l10n/it.json @@ -7,6 +7,7 @@ "Oops something went wrong. Check that you have rar extension or unrar installed" : "Qualcosa non ha funzionato. Controlla di avere l'estensione rar o unrar installato", "Oops something went wrong. Check that you have p7zip installed" : "Qualcosa non ha funzionato. Controlla di avere p7zip installato", "Extract" : "Estrai", - "Extract archive from the web interface" : "Estrai archivio dall'interfaccia web" + "Extract archive from the web interface" : "Estrai archivio dall'interfaccia web", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Estrai archivi.\n\n* **Supportati:**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requisiti:**\n * Estensione rar di PHP (pecl -v install rar)\n\n * **O**\n * unrar (sudo apt-get install unrar)\n\n * **E**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Nota:** I file cifrati non sono ancora supportati" },"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;" -} \ No newline at end of file +} diff --git a/l10n/ja.js b/l10n/ja.js index 932d6d6..977e68c 100644 --- a/l10n/ja.js +++ b/l10n/ja.js @@ -9,6 +9,7 @@ OC.L10N.register( "Oops something went wrong. Check that you have rar extension or unrar installed" : "エラーが発生しました。RAR拡張機能またはunrarがインストールされていることを確認してください", "Oops something went wrong. Check that you have p7zip installed" : "エラーが発生しました。p7zipがインストールされていることを確認してください", "Extract" : "展開", - "Extract archive from the web interface" : "ウェブインターフェースからアーカイブを展開する" + "Extract archive from the web interface" : "ウェブインターフェースからアーカイブを展開する", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "アーカイブから抽出します\n\n* **サポート圧縮形式:**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **必要なもの:**\n * Rar PHP拡張(pecl -v install rar)\n\n * **もしくは**\n * unrar (sudo apt-get install unrar)\n\n * **また**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **注意 :** 暗号化された圧縮ファイルはサポートされていません" }, "nplurals=1; plural=0;"); diff --git a/l10n/ja.json b/l10n/ja.json index 489bdfe..5ae597b 100644 --- a/l10n/ja.json +++ b/l10n/ja.json @@ -7,6 +7,7 @@ "Oops something went wrong. Check that you have rar extension or unrar installed" : "エラーが発生しました。RAR拡張機能またはunrarがインストールされていることを確認してください", "Oops something went wrong. Check that you have p7zip installed" : "エラーが発生しました。p7zipがインストールされていることを確認してください", "Extract" : "展開", - "Extract archive from the web interface" : "ウェブインターフェースからアーカイブを展開する" + "Extract archive from the web interface" : "ウェブインターフェースからアーカイブを展開する", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "アーカイブから抽出します\n\n* **サポート圧縮形式:**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **必要なもの:**\n * Rar PHP拡張(pecl -v install rar)\n\n * **もしくは**\n * unrar (sudo apt-get install unrar)\n\n * **また**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **注意 :** 暗号化された圧縮ファイルはサポートされていません" },"pluralForm" :"nplurals=1; plural=0;" -} \ No newline at end of file +} diff --git a/l10n/ko.js b/l10n/ko.js index 92e30ef..1ec229c 100644 --- a/l10n/ko.js +++ b/l10n/ko.js @@ -9,6 +9,7 @@ OC.L10N.register( "Oops something went wrong. Check that you have rar extension or unrar installed" : "앗, 무엇인가 잘못되었습니다. rar 확장기능 혹은 unrar을 설치했는지 확인하십시오", "Oops something went wrong. Check that you have p7zip installed" : "앗, 무엇인가 잘못되었습니다. p7zip을 설치했는지 확인하십시오", "Extract" : "압축 풀기", - "Extract archive from the web interface" : "웹 인터페이스에서 압축 풀기" + "Extract archive from the web interface" : "웹 인터페이스에서 압축 풀기", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "압축을 해제하십시오.\n\n* **지원하는 파일 :**\n\n * Zip\n   * Rar\n   * Tar\n   * Gzip\n   * 7z\n   * Deb\n   * Bzip2\n\n* **요구사항 :**\n * Rar PHP 확장 (pecl -v install rar)\n\n   * **또는**\n   * unrar (sudo apt-get install unrar)\n\n * **그리고**\n   * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **참고 :** 암호화된 파일은 아직 지원하지 않습니다" }, "nplurals=1; plural=0;"); diff --git a/l10n/ko.json b/l10n/ko.json index 37a0488..aa59801 100644 --- a/l10n/ko.json +++ b/l10n/ko.json @@ -7,6 +7,7 @@ "Oops something went wrong. Check that you have rar extension or unrar installed" : "앗, 무엇인가 잘못되었습니다. rar 확장기능 혹은 unrar을 설치했는지 확인하십시오", "Oops something went wrong. Check that you have p7zip installed" : "앗, 무엇인가 잘못되었습니다. p7zip을 설치했는지 확인하십시오", "Extract" : "압축 풀기", - "Extract archive from the web interface" : "웹 인터페이스에서 압축 풀기" + "Extract archive from the web interface" : "웹 인터페이스에서 압축 풀기", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "압축을 해제하십시오.\n\n* **지원하는 파일 :**\n\n * Zip\n   * Rar\n   * Tar\n   * Gzip\n   * 7z\n   * Deb\n   * Bzip2\n\n* **요구사항 :**\n * Rar PHP 확장 (pecl -v install rar)\n\n   * **또는**\n   * unrar (sudo apt-get install unrar)\n\n * **그리고**\n   * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **참고 :** 암호화된 파일은 아직 지원하지 않습니다" },"pluralForm" :"nplurals=1; plural=0;" -} \ No newline at end of file +} diff --git a/l10n/mk.js b/l10n/mk.js index 9ab5a2c..6893afa 100644 --- a/l10n/mk.js +++ b/l10n/mk.js @@ -9,6 +9,7 @@ OC.L10N.register( "Oops something went wrong. Check that you have rar extension or unrar installed" : "Настана грешка. Проверете дали имате инсталирано додаток за rar екстензии или unrar", "Oops something went wrong. Check that you have p7zip installed" : "Настана грешка. Проверете дали имате инсталирано p7zip", "Extract" : "Отпакувај", - "Extract archive from the web interface" : "Отпакување архиви од веб прелистувач" + "Extract archive from the web interface" : "Отпакување архиви од веб прелистувач", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Одпакување на архиви.\n\n* **Поддржани :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Барања :**\n * Rar PHP додаток (pecl -v install rar)\n\n * **ИЛИ**\n * unrar (sudo apt-get install unrar)\n\n * **И**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Забелешка :** Криптирани датотеки не се поддржани" }, "nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;"); diff --git a/l10n/mk.json b/l10n/mk.json index de6d6e2..3206819 100644 --- a/l10n/mk.json +++ b/l10n/mk.json @@ -7,6 +7,7 @@ "Oops something went wrong. Check that you have rar extension or unrar installed" : "Настана грешка. Проверете дали имате инсталирано додаток за rar екстензии или unrar", "Oops something went wrong. Check that you have p7zip installed" : "Настана грешка. Проверете дали имате инсталирано p7zip", "Extract" : "Отпакувај", - "Extract archive from the web interface" : "Отпакување архиви од веб прелистувач" + "Extract archive from the web interface" : "Отпакување архиви од веб прелистувач", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Одпакување на архиви.\n\n* **Поддржани :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Барања :**\n * Rar PHP додаток (pecl -v install rar)\n\n * **ИЛИ**\n * unrar (sudo apt-get install unrar)\n\n * **И**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Забелешка :** Криптирани датотеки не се поддржани" },"pluralForm" :"nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;" -} \ No newline at end of file +} diff --git a/l10n/nl.js b/l10n/nl.js index be733e0..ed8c693 100644 --- a/l10n/nl.js +++ b/l10n/nl.js @@ -9,6 +9,7 @@ OC.L10N.register( "Oops something went wrong. Check that you have rar extension or unrar installed" : "Oeps! Er is iets misgegaan. Controleer of je de rar-extensie of unrar hebt geïnstalleerd", "Oops something went wrong. Check that you have p7zip installed" : "Oeps! Er is iets misgegaan. Controleer of je p7zip hebt geïnstalleerd", "Extract" : "Uitpakken", - "Extract archive from the web interface" : "Archief uitpakken via de webinterface" + "Extract archive from the web interface" : "Archief uitpakken via de webinterface", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Archieven uitpakken\n\n* ** Ondersteund: **     \n\n * Zip\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n * ** Vereisten: **\n * Rar PHP-extensie (pecl -v installatie rar)\n\n * ** OF **\n * unrar (sudo apt-get install unrar)\n\n * ** EN **\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* ** Opmerking: ** Versleutelde bestanden worden nog niet ondersteund" }, "nplurals=2; plural=(n != 1);"); diff --git a/l10n/nl.json b/l10n/nl.json index f99c7e4..c14bf8a 100644 --- a/l10n/nl.json +++ b/l10n/nl.json @@ -7,6 +7,7 @@ "Oops something went wrong. Check that you have rar extension or unrar installed" : "Oeps! Er is iets misgegaan. Controleer of je de rar-extensie of unrar hebt geïnstalleerd", "Oops something went wrong. Check that you have p7zip installed" : "Oeps! Er is iets misgegaan. Controleer of je p7zip hebt geïnstalleerd", "Extract" : "Uitpakken", - "Extract archive from the web interface" : "Archief uitpakken via de webinterface" + "Extract archive from the web interface" : "Archief uitpakken via de webinterface", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Archieven uitpakken\n\n* ** Ondersteund: **     \n\n * Zip\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n * ** Vereisten: **\n * Rar PHP-extensie (pecl -v installatie rar)\n\n * ** OF **\n * unrar (sudo apt-get install unrar)\n\n * ** EN **\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* ** Opmerking: ** Versleutelde bestanden worden nog niet ondersteund" },"pluralForm" :"nplurals=2; plural=(n != 1);" -} \ No newline at end of file +} diff --git a/l10n/pl.json b/l10n/pl.json index 51a4257..d7e010b 100644 --- a/l10n/pl.json +++ b/l10n/pl.json @@ -10,4 +10,4 @@ "Extract archive from the web interface" : "Wyodrębnij archiwum z interfejsu internetowego", "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Wyodrębnij archiwa.\n\n* **Obsługiwane:**\n\n * Zip \n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Wymagania:**\n * Rozszerzenie Rar PHP (pecl -v install rar)\n\n * **lub**\n * unrar (sudo apt-get install unrar)\n\n * **i**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Uwaga:** Zaszyfrowane pliki nie są jeszcze obsługiwane" },"pluralForm" :"nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);" -} \ No newline at end of file +} diff --git a/l10n/sc.js b/l10n/sc.js index 882b8ae..6fd3416 100644 --- a/l10n/sc.js +++ b/l10n/sc.js @@ -9,6 +9,7 @@ OC.L10N.register( "Oops something went wrong. Check that you have rar extension or unrar installed" : "Oops calicuna cosa est andada male. Controlla chi tèngias is estensiones rar o unrar installadas", "Oops something went wrong. Check that you have p7zip installed" : "Oops calicuna cosa est andada male. Controlla chi tèngias p7zip installadu", "Extract" : "Boga a fora", - "Extract archive from the web interface" : "Boga a fora s'archìviu dae s'interfache ìnternet" + "Extract archive from the web interface" : "Boga a fora s'archìviu dae s'interfache ìnternet", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Boga a fora archìvios.\n\n* **Suportadu :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Rechisitos :**\n * Estensione Rar PHP (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Nota :** Encrypted files are not supported yet" }, "nplurals=2; plural=(n != 1);"); diff --git a/l10n/sc.json b/l10n/sc.json index 0ecd9b6..05e7016 100644 --- a/l10n/sc.json +++ b/l10n/sc.json @@ -7,6 +7,7 @@ "Oops something went wrong. Check that you have rar extension or unrar installed" : "Oops calicuna cosa est andada male. Controlla chi tèngias is estensiones rar o unrar installadas", "Oops something went wrong. Check that you have p7zip installed" : "Oops calicuna cosa est andada male. Controlla chi tèngias p7zip installadu", "Extract" : "Boga a fora", - "Extract archive from the web interface" : "Boga a fora s'archìviu dae s'interfache ìnternet" + "Extract archive from the web interface" : "Boga a fora s'archìviu dae s'interfache ìnternet", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Boga a fora archìvios.\n\n* **Suportadu :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Rechisitos :**\n * Estensione Rar PHP (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Nota :** Encrypted files are not supported yet" },"pluralForm" :"nplurals=2; plural=(n != 1);" -} \ No newline at end of file +} diff --git a/l10n/sk.js b/l10n/sk.js index 084c9bd..d6839ca 100644 --- a/l10n/sk.js +++ b/l10n/sk.js @@ -9,6 +9,7 @@ OC.L10N.register( "Oops something went wrong. Check that you have rar extension or unrar installed" : "Ups, niečo sa pokazilo. Skontrolujte že prípona je rar alebo nainštalujte unrar.", "Oops something went wrong. Check that you have p7zip installed" : "Ups, niečo sa pokazilo. Skontrolujte že máte nainštalovaný p7zip", "Extract" : "Rozbaliť", - "Extract archive from the web interface" : "Extrahovať archív z webového rozhrania" + "Extract archive from the web interface" : "Extrahovať archív z webového rozhrania", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Rozbaliť archívy.\n\n* **Podporované :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Požiadavky :**\n * rozšírenie PHP pre formát rar (pecl -v install rar)\n\n * **alebo**\n * unrar (sudo apt-get install unrar)\n\n * **a**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Poznámka:** Šifrované súbory zatiaľ nie sú podporované" }, "nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);"); diff --git a/l10n/sk.json b/l10n/sk.json index 692d6f0..8339b7c 100644 --- a/l10n/sk.json +++ b/l10n/sk.json @@ -7,6 +7,7 @@ "Oops something went wrong. Check that you have rar extension or unrar installed" : "Ups, niečo sa pokazilo. Skontrolujte že prípona je rar alebo nainštalujte unrar.", "Oops something went wrong. Check that you have p7zip installed" : "Ups, niečo sa pokazilo. Skontrolujte že máte nainštalovaný p7zip", "Extract" : "Rozbaliť", - "Extract archive from the web interface" : "Extrahovať archív z webového rozhrania" + "Extract archive from the web interface" : "Extrahovať archív z webového rozhrania", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Rozbaliť archívy.\n\n* **Podporované :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Požiadavky :**\n * rozšírenie PHP pre formát rar (pecl -v install rar)\n\n * **alebo**\n * unrar (sudo apt-get install unrar)\n\n * **a**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Poznámka:** Šifrované súbory zatiaľ nie sú podporované" },"pluralForm" :"nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);" -} \ No newline at end of file +} diff --git a/l10n/sl.js b/l10n/sl.js index 812a610..a38fdb5 100644 --- a/l10n/sl.js +++ b/l10n/sl.js @@ -9,6 +9,7 @@ OC.L10N.register( "Oops something went wrong. Check that you have rar extension or unrar installed" : "Ojoj, prišlo je do napake. Preverite, da je nameščena razširitev rar ali unrar.", "Oops something went wrong. Check that you have p7zip installed" : "Ojoj, prišlo je do napake. Preverite, da je nameščena razširitev p7zip.", "Extract" : "Razširi", - "Extract archive from the web interface" : "Razširjanje vsebine arhiva prek spletnega vmesnika" + "Extract archive from the web interface" : "Razširjanje vsebine arhiva prek spletnega vmesnika", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Razširjanje arhiviranih datotek.\n\n* **Podprte vrste:**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Zahteve:**\n * Razširitev PHP RAR (pecl -v install rar)\n\n * **ali**\n * razširitev unrar (sudo apt-get install unrar)\n\n * **in**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Opomba:** Upravljanje s šifriranimi arhivi še ni podprto." }, "nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);"); diff --git a/l10n/sl.json b/l10n/sl.json index 080c391..67420f3 100644 --- a/l10n/sl.json +++ b/l10n/sl.json @@ -7,6 +7,7 @@ "Oops something went wrong. Check that you have rar extension or unrar installed" : "Ojoj, prišlo je do napake. Preverite, da je nameščena razširitev rar ali unrar.", "Oops something went wrong. Check that you have p7zip installed" : "Ojoj, prišlo je do napake. Preverite, da je nameščena razširitev p7zip.", "Extract" : "Razširi", - "Extract archive from the web interface" : "Razširjanje vsebine arhiva prek spletnega vmesnika" + "Extract archive from the web interface" : "Razširjanje vsebine arhiva prek spletnega vmesnika", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Razširjanje arhiviranih datotek.\n\n* **Podprte vrste:**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Zahteve:**\n * Razširitev PHP RAR (pecl -v install rar)\n\n * **ali**\n * razširitev unrar (sudo apt-get install unrar)\n\n * **in**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Opomba:** Upravljanje s šifriranimi arhivi še ni podprto." },"pluralForm" :"nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);" -} \ No newline at end of file +} diff --git a/l10n/sv.js b/l10n/sv.js index a344710..f039ffc 100644 --- a/l10n/sv.js +++ b/l10n/sv.js @@ -10,6 +10,6 @@ OC.L10N.register( "Oops something went wrong. Check that you have p7zip installed" : "Ojdå! Något gick fel. Kontrollera att du har installerat 7-zip", "Extract" : "Extract", "Extract archive from the web interface" : "Extrahera arkiv i webinterfacet", - "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Extrahera arkiv.\n\n* **Stöds :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Krav :**\n * Rar PHP extension (pecl -v install rar)\n\n * **ELLER**\n * unrar (sudo apt-get install unrar)\n\n * **OCH**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Notera :** Krypterade filer stöds inte ännu" + "Extract archives.\n\n* **Supported :** \n\n * Zip \n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :** \n * Rar PHP extension (pecl -v install rar)\n\n * **OR** \n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Extrahera arkiv.\n\n* **Stödjs:** \n\n * Zip \n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Krav :** \n * Rar PHP extension (pecl -v install rar)\n\n * **ELLER** \n * unrar (sudo apt-get install unrar)\n\n * **OCH**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Notera :** Krypterade filer stödjs inte ännu" }, "nplurals=2; plural=(n != 1);"); diff --git a/l10n/sv.json b/l10n/sv.json index 4b20948..068b1b2 100644 --- a/l10n/sv.json +++ b/l10n/sv.json @@ -8,6 +8,6 @@ "Oops something went wrong. Check that you have p7zip installed" : "Ojdå! Något gick fel. Kontrollera att du har installerat 7-zip", "Extract" : "Extract", "Extract archive from the web interface" : "Extrahera arkiv i webinterfacet", - "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Extrahera arkiv.\n\n* **Stöds :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Krav :**\n * Rar PHP extension (pecl -v install rar)\n\n * **ELLER**\n * unrar (sudo apt-get install unrar)\n\n * **OCH**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Notera :** Krypterade filer stöds inte ännu" + "Extract archives.\n\n* **Supported :** \n\n * Zip \n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :** \n * Rar PHP extension (pecl -v install rar)\n\n * **OR** \n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Extrahera arkiv.\n\n* **Stödjs:** \n\n * Zip \n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Krav :** \n * Rar PHP extension (pecl -v install rar)\n\n * **ELLER** \n * unrar (sudo apt-get install unrar)\n\n * **OCH**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Notera :** Krypterade filer stödjs inte ännu" },"pluralForm" :"nplurals=2; plural=(n != 1);" } \ No newline at end of file diff --git a/l10n/tr.js b/l10n/tr.js index 2dcdb91..9af2ab3 100644 --- a/l10n/tr.js +++ b/l10n/tr.js @@ -10,6 +10,6 @@ OC.L10N.register( "Oops something went wrong. Check that you have p7zip installed" : "Bir şeyler ters gitti. p7zip eklentisinin kurulmuş olduğundan emin olun", "Extract" : "Ayıkla", "Extract archive from the web interface" : "Arşivi site arayüzünden ayıkla", - "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Arşivleri ayıklar.\n\n* **Desteklenen türler:**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Gereksinimler: **\n * Rar PHP eklentisi (pecl -v install rar)\n\n * **YA DA**\n * unrar (sudo apt-get install unrar)\n\n * **VE** \n *p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Not:** Şifrelenmiş dosyalar henüz desteklenmiyor." + "Extract archives.\n\n* **Supported :** \n\n * Zip \n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :** \n * Rar PHP extension (pecl -v install rar)\n\n * **OR** \n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Arşivileri ayıklar.\n\n* **Desteklenen türler:**\n\n* Zip\n* Rar\n* Tar\n* Gzip\n* 7z\n* Deb\n* Bzip2\n\n* **Gereksinimler: **\n* Rar PHP eklentisi (pecl -v install rar)\n\n* **YA DA**\n* unrar (sudo apt-get install unrar)\n\n* **VE** \n*p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Not:** Şifrelenmiş dosyalar henüz desteklenmiyor." }, "nplurals=2; plural=(n > 1);"); diff --git a/l10n/tr.json b/l10n/tr.json index c423397..94a44f6 100644 --- a/l10n/tr.json +++ b/l10n/tr.json @@ -8,6 +8,6 @@ "Oops something went wrong. Check that you have p7zip installed" : "Bir şeyler ters gitti. p7zip eklentisinin kurulmuş olduğundan emin olun", "Extract" : "Ayıkla", "Extract archive from the web interface" : "Arşivi site arayüzünden ayıkla", - "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Arşivleri ayıklar.\n\n* **Desteklenen türler:**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Gereksinimler: **\n * Rar PHP eklentisi (pecl -v install rar)\n\n * **YA DA**\n * unrar (sudo apt-get install unrar)\n\n * **VE** \n *p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Not:** Şifrelenmiş dosyalar henüz desteklenmiyor." + "Extract archives.\n\n* **Supported :** \n\n * Zip \n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :** \n * Rar PHP extension (pecl -v install rar)\n\n * **OR** \n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Arşivileri ayıklar.\n\n* **Desteklenen türler:**\n\n* Zip\n* Rar\n* Tar\n* Gzip\n* 7z\n* Deb\n* Bzip2\n\n* **Gereksinimler: **\n* Rar PHP eklentisi (pecl -v install rar)\n\n* **YA DA**\n* unrar (sudo apt-get install unrar)\n\n* **VE** \n*p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Not:** Şifrelenmiş dosyalar henüz desteklenmiyor." },"pluralForm" :"nplurals=2; plural=(n > 1);" } \ No newline at end of file diff --git a/l10n/uk.js b/l10n/uk.js index 0709012..2432a58 100644 --- a/l10n/uk.js +++ b/l10n/uk.js @@ -10,6 +10,9 @@ OC.L10N.register( "Oops something went wrong. Check that you have p7zip installed" : "Щось пішло не так. Перевірте, чи встановлено p7zip", "Extract" : "Видобути", "Extract archive from the web interface" : "Видобути архів у вебінтерфейсів", - "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Видобування архівів.\n\n* **Підтримуються:**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Вимоги:**\n * Розширення RAR для PHP (pecl -v install rar)\n\n * **АБО**\n * unrar (sudo apt-get install unrar)\n\n * **ТА**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Увага:** Зашифровані файли поки не підтримуються" + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Видобування архівів.\n\n* **Підтримуються:**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Вимоги:**\n * Розширення RAR для PHP (pecl -v install rar)\n\n * **АБО**\n * unrar (sudo apt-get install unrar)\n\n * **ТА**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Увага:** Зашифровані файли поки не підтримуються", + "Files will be extracted to this folder:" : "Файли будуть розпаковані в цю папку:", + "File Name" : "Ім'я файлу", + "Directory already exists" : "Каталог уже існує" }, "nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);"); diff --git a/l10n/uk.json b/l10n/uk.json index 1f90eec..9368c39 100644 --- a/l10n/uk.json +++ b/l10n/uk.json @@ -8,6 +8,9 @@ "Oops something went wrong. Check that you have p7zip installed" : "Щось пішло не так. Перевірте, чи встановлено p7zip", "Extract" : "Видобути", "Extract archive from the web interface" : "Видобути архів у вебінтерфейсів", - "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Видобування архівів.\n\n* **Підтримуються:**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Вимоги:**\n * Розширення RAR для PHP (pecl -v install rar)\n\n * **АБО**\n * unrar (sudo apt-get install unrar)\n\n * **ТА**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Увага:** Зашифровані файли поки не підтримуються" + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "Видобування архівів.\n\n* **Підтримуються:**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Вимоги:**\n * Розширення RAR для PHP (pecl -v install rar)\n\n * **АБО**\n * unrar (sudo apt-get install unrar)\n\n * **ТА**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Увага:** Зашифровані файли поки не підтримуються", + "Files will be extracted to this folder:" : "Файли будуть розпаковані в цю папку:", + "File Name" : "Ім'я файлу", + "Directory already exists" : "Каталог уже існує" },"pluralForm" :"nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);" -} \ No newline at end of file +} diff --git a/l10n/zh_CN.js b/l10n/zh_CN.js index 34daf18..0926392 100644 --- a/l10n/zh_CN.js +++ b/l10n/zh_CN.js @@ -9,6 +9,7 @@ OC.L10N.register( "Oops something went wrong. Check that you have rar extension or unrar installed" : "哎呀,出问题了。请检查您是否安装了 rar 扩展或 unrar。", "Oops something went wrong. Check that you have p7zip installed" : "哎呀,出问题了。请检查您是否安装了 p7zip。", "Extract" : "解压", - "Extract archive from the web interface" : "从网页界面解压压缩包" + "Extract archive from the web interface" : "从网页界面解压压缩包", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "解压缩。\n\n* **支持的格式:**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **需求:**\n * Rar PHP 扩展 (pecl -v install rar)\n\n * **或**\n * unrar (sudo apt-get install unrar)\n\n * **和**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **注意:** 已加密文件暂不支持" }, "nplurals=1; plural=0;"); diff --git a/l10n/zh_CN.json b/l10n/zh_CN.json index b14a42b..7ac4c0f 100644 --- a/l10n/zh_CN.json +++ b/l10n/zh_CN.json @@ -7,6 +7,7 @@ "Oops something went wrong. Check that you have rar extension or unrar installed" : "哎呀,出问题了。请检查您是否安装了 rar 扩展或 unrar。", "Oops something went wrong. Check that you have p7zip installed" : "哎呀,出问题了。请检查您是否安装了 p7zip。", "Extract" : "解压", - "Extract archive from the web interface" : "从网页界面解压压缩包" + "Extract archive from the web interface" : "从网页界面解压压缩包", + "Extract archives.\n\n* **Supported :**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **Requirements :**\n * Rar PHP extension (pecl -v install rar)\n\n * **OR**\n * unrar (sudo apt-get install unrar)\n\n * **AND**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **Note :** Encrypted files are not supported yet" : "解压缩。\n\n* **支持的格式:**\n\n * Zip\n * Rar\n * Tar\n * Gzip\n * 7z\n * Deb\n * Bzip2\n\n* **需求:**\n * Rar PHP 扩展 (pecl -v install rar)\n\n * **或**\n * unrar (sudo apt-get install unrar)\n\n * **和**\n * p7zip (sudo apt-get install p7zip p7zip-full)\n\n* **注意:** 已加密文件暂不支持" },"pluralForm" :"nplurals=1; plural=0;" -} \ No newline at end of file +} diff --git a/lib/Controller/ExtractionController.php b/lib/Controller/ExtractionController.php index ee0e7aa..0c7f24c 100644 --- a/lib/Controller/ExtractionController.php +++ b/lib/Controller/ExtractionController.php @@ -1,30 +1,32 @@ l = $l; $this->logger = $logger; @@ -67,29 +72,35 @@ public function __construct( $this->extractionService = $extractionService; $this->rootFolder = $rootFolder; $this->userFolder = $this->rootFolder->getUserFolder($this->userId); + + $this->transactionId = uniqid('nextcloud_extract-'); + + \OC_Util::tearDownFS(); + \OC_Util::setupFS($this->userId); } - private function getFile($directory, $fileName){ - $fileNode = $this->userFolder->get($directory . '/' . $fileName); - return $fileNode->getStorage()->getLocalFile($fileNode->getInternalPath()); + /** + * Get the absolute path to the file. + * + * @param $sourcePath + * @return string | array with the absolute path to the file or an array error message + */ + private function getAbsoluteFilePath($sourcePath): array|string { + $absoluteFilePath = Filesystem::getView()->getLocalFile($sourcePath); + if ($absoluteFilePath === null) { + return array('code' => StatusCode::ERROR, 'desc' => $this->l->t('Archive file not found')); + } + return $absoluteFilePath; } /** * Register the new files to the NC filesystem. * - * @param string $fileName The Nextcloud file name. - * - * @param srting $directory The Nextcloud directory name. - * * @param string $extractTo The local file-system path of the directory - * with the extracted data, i.e. this is the OS path. - * - * @param null|string $tmpPath The Nextcloud temporary path. This is only - * non-null when extracting from external storage. + * with the extracted data, i.e. this is the OS path. */ - private function postExtract(string $fileName, string $directory, string $extractTo, ?string $tmpPath){ - - $iterator = new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($extractTo)); + private function postExtract(string $internalTargetPath, string $extractTo, bool $isExternal) { + $iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($extractTo)); foreach ($iterator as $file) { /** @var \SplFileInfo $file */ if (Filesystem::isFileBlacklisted($file->getBasename())) { @@ -99,87 +110,297 @@ private function postExtract(string $fileName, string $directory, string $extrac } } - $NCDestination = $directory . '/' . $fileName; - if($tmpPath){ - $tmpFolder = $this->rootFolder->get($tmpPath); - $tmpFolder->move($this->userFolder->getFullPath($NCDestination)); - }else{ - // This seems to be enough to trigger a files-cache refresh - $this->userFolder->get($NCDestination); + if ($isExternal) { + $this->moveFromTmp(); + } else { + Filesystem::mkdir($internalTargetPath); } } + /** + * Moves the locally generated files from the /tmp/ folder from this transaction to the nextcloud storage. + * This is the case if the file for this transaction is from an external storage (S3) + */ + private function moveFromTmp(): void { + $transactionDir = '/tmp/' . $this->transactionId . '/'; + + $it = new RecursiveDirectoryIterator($transactionDir, FilesystemIterator::SKIP_DOTS); + $it = new RecursiveIteratorIterator($it, RecursiveIteratorIterator::CHILD_FIRST); + + foreach ($it as $fileInfo) { + if ($fileInfo->isFile()) { + $tmpFilePath = $fileInfo->getPathname(); + $storageFilePath = '/' . substr($tmpFilePath, strlen($transactionDir)); + + // move from tmp to nextcloud storage + Filesystem::fromTmpFile($tmpFilePath, $storageFilePath); + } elseif ($fileInfo->isDir()) { + rmdir($fileInfo->getPathname()); + } + } + rmdir($transactionDir); + } + /** * The only AJAX callback. This is a hook for ordinary cloud-users, os no admin required. * + * CAUTION: the @Stuff turns off security checks; for this page no admin is + * required and no CSRF check. If you don't know what CSRF is, read + * it up in the docs or you might create a security hole. This is + * basically the only required method to add this exemption, don't + * add it to any other method if you don't exactly know what it does + * + * + * @param $sourcePath + * @param $targetDirName + * @param $type + * @return DataResponse + * @throws \OCP\Files\NotFoundException + * * @NoAdminRequired + * @NoCSRFRequired */ - public function extract($nameOfFile, $directory, $external, $type){ + public function extract($sourcePath, $targetDirName, $type) { if ($this->encryptionManager->isEnabled()) { $response = array(); - $response = array_merge($response, array("code" => 0, "desc" => $this->l->t("Encryption is not supported yet"))); + $response = array_merge($response, + array("code" => StatusCode::ERROR, "desc" => $this->l->t("Encryption is not supported yet")) + ); return new DataResponse($response); } - $file = $this->getFile($directory, $nameOfFile); - $dir = dirname($file); - //name of the file without extension - $fileName = pathinfo($nameOfFile, PATHINFO_FILENAME); - $extractTo = $dir . '/' . $fileName; - - // if the file is un external storage - if($external){ - $appPath = $this->userId . '/' . $this->appName; - try { - $appDirectory = $this->rootFolder->get($appPath); - } catch (\OCP\Files\NotFoundException $e) { - $appDirectory = $this->rootFolder->newFolder($appPath); - } - if(pathinfo($fileName, PATHINFO_EXTENSION) == "tar"){ - $archiveDir = pathinfo($fileName, PATHINFO_FILENAME); - } else { - $archiveDir = $fileName; - } + $absoluteFilePath = $this->getAbsoluteFilePath($sourcePath); - // remove temporary directory if exists from interrupted previous runs - try { - $appDirectory->get($archiveDir)->delete(); - } catch (\OCP\Files\NotFoundException $e) { - // ok - } + // Path to the file in Nextclouds internal filesystem + $internalDir = dirname($sourcePath); - $tmpPath = $appDirectory->getPath() . '/' . $archiveDir; - $extractTo = $appDirectory->getStorage()->getLocalFile($appDirectory->getInternalPath()) . '/' . $archiveDir; - } else { - $tmpPath = null; + $isExternal = $this->isExternalStorage($internalDir); + + // Tar gz files downloaded from external storage look like '/tmp/oc_tmp_LNmlJI-.gz' + // in $absoluteFilePath, so $sourcePath has to be used + $isTarGz = self::isTarGz($sourcePath); + + // Make the target directory name + $targetDirName = $this->sanitizeTargetPath($targetDirName); + $fileNameWithoutExtension = self::getFileNameWithoutExtension($absoluteFilePath); + + if (empty($targetDirName)) { + $targetDirName = $fileNameWithoutExtension; + } + + // Path to the target folder in Nextclouds internal filesystem + $internalTargetPath = $this->getInternalTargetPath($internalDir, $targetDirName); + if (!$internalTargetPath) { + return new DataResponse(array( + 'code' => StatusCode::ERROR, + 'desc' => $this->l->t('Directory already exists') + )); } + $extractTo = $this->getExtractionPath($absoluteFilePath, $internalDir, $targetDirName, $isExternal); + switch ($type) { case 'zip': - $response = $this->extractionService->extractZip($file, $fileName, $extractTo); + $response = $this->extractZip($absoluteFilePath, $extractTo); break; case 'rar': - $response = $this->extractionService->extractRar($file, $fileName, $extractTo); + $response = $this->extractRar($absoluteFilePath, $extractTo); break; default: - // Check if the file is .tar.gz in order to do the extraction on a single step - if(pathinfo($fileName, PATHINFO_EXTENSION) == "tar"){ - $cleanFileName = pathinfo($fileName, PATHINFO_FILENAME); - $extractTo = dirname($extractTo) . '/' . $cleanFileName; - $response = $this->extractionService->extractOther($file, $cleanFileName, $extractTo); - $file = $extractTo . '/' . pathinfo($file, PATHINFO_FILENAME); - $fileName = $cleanFileName; - $response = $this->extractionService->extractOther($file, $fileName, $extractTo); - - // remove .tar file - unlink($file); - }else{ - $response = $this->extractionService->extractOther($file, $fileName, $extractTo); + $response = $this->extractOther($absoluteFilePath, $extractTo); + + // Extract .tar from .gz + if ($isTarGz && $response['code'] == StatusCode::SUCCESS) { + // Extract .tar + $tarName = pathinfo($absoluteFilePath)['filename']; + + $tarFilePath = $extractTo . '/' . $tarName; + $response = $this->extractOther($tarFilePath, $extractTo); + + // Remove .tar file + unlink($tarFilePath); } break; } - $this->postExtract($fileName, $directory, $extractTo, $tmpPath); + $this->postExtract($internalTargetPath, $extractTo, $isExternal); + + $this->logger->info("Successfully extracted '$sourcePath' to '$internalTargetPath' ($this->transactionId)"); return new DataResponse($response); } + + /** + * Check if the given path is part of an external storage provider + * + * @param string $internalPath any path in the target storage + * @return bool + * + * @throws \OCP\Files\NotFoundException + */ + private function isExternalStorage(string $internalPath): bool { + return !$this->getStorage($internalPath)->isLocal(); + } + + /** + * Get the storage interface at a given path + * + * @param string $internalPath any path in the target storage + * @return IStorage + * @throws \OCP\Files\NotFoundException + */ + private function getStorage(string $internalPath): IStorage { + $mountPointDir = Filesystem::getView()->getMountPoint($internalPath); + return $this->rootFolder->get($mountPointDir)->getStorage(); + } + + /** + * Sanitizes a raw target path + * + * @param string $dir raw path + * + * @return string sanitized path + */ + private function sanitizeTargetPath(string $dir): string { + return trim(preg_replace('#^(?:\.{0,2}\/|\/)+#', '', $dir)); + } + + /** + * Returns the path to the target folder in Nextcloud's internal filesystem + * + * @param string $internalDir + * @param string $targetDirName + * + * @return string|null internal target path + */ + private function getInternalTargetPath(string $internalDir, string $targetDirName): string|null { + // Path to the target folder in Nextcloud's internal filesystem + $internalTargetPath = "$internalDir/$targetDirName"; + + // Error if the target folder already exists + $folderExists = Filesystem::is_dir($internalTargetPath); + if ($folderExists) { + return null; + } + return $internalTargetPath; + } + + private function getExtractionPath(string $absoluteFilePath, + string $internalDir, + string $targetDirName, + bool $isExternal + ): string { + $extractTo = dirname($absoluteFilePath) . '/' . $targetDirName; + if ($isExternal) { + $transactionDir = '/tmp/' . $this->transactionId; + + // Remove leading '/' from external storage path + $internalDir = substr($internalDir, 0, 1) === '/' ? substr($internalDir, 1) : $internalDir; + $targetDir = strlen($internalDir) > 0 ? "$internalDir/$targetDirName" : $targetDirName; + + $extractTo = "$transactionDir/$targetDir"; + } + return $extractTo; + } + + /** + * Extracts a zip archive + * + * @param string $filePath absolute path to the source archive + * @param string $extractTo absolute path to the extraction directory + * + * @return array json response + */ + private function extractZip(string $filePath, string $extractTo): array { + if (!extension_loaded('zip')) { + return array('code' => StatusCode::ERROR, 'desc' => $this->l->t('Zip extension is not available')); + } + + $zip = new ZipArchive(); + + if (!$zip->open($filePath) === true) { + return array('code' => StatusCode::ERROR, 'desc' => $this->l->t('Cannot open Zip file')); + } + + $zip->extractTo($extractTo); + $zip->close(); + return array('code' => StatusCode::SUCCESS); + } + + /** + * Extracts a rar archive + * + * @param string $filePath absolute path to the source archive + * @param string $extractTo absolute path to the extraction directory + * + * @return array json response + */ + private function extractRar(string $filePath, string $extractTo): array { + if (!extension_loaded('rar')) { + exec('unrar x ' . escapeshellarg($filePath) . ' -R ' . escapeshellarg($extractTo) . '/ -o+', + $output, + $return + ); + + if (sizeof($output) <= 4) { + return array( + 'code' => StatusCode::ERROR, + 'desc' => $this->l->t('Oops something went wrong. Check that you have rar extension or unrar installed' + ) + ); + } + } else { + $rar_file = rar_open($filePath); + $list = rar_list($rar_file); + foreach ($list as $archive_file) { + $entry = rar_entry_get($rar_file, $archive_file->getName()); + $entry->extract($extractTo); + } + rar_close($rar_file); + } + + return array('code' => StatusCode::SUCCESS); + } + + /** + * Extracts a other archive (tar, tar.gz) + * + * @param string $filePath absolute path to the source archive + * @param string $extractTo absolute path to the extraction directory + * + * @return array json response + */ + private function extractOther(string $filePath, string $extractTo): array { + exec('7za -y x ' . escapeshellarg($filePath) . ' -o' . escapeshellarg($extractTo), $output, $return); + + if (sizeof($output) <= 5) { + return array( + 'code' => StatusCode::ERROR, + 'desc' => $this->l->t('Oops something went wrong. Check that you have p7zip installed') + ); + } + + return array('code' => StatusCode::SUCCESS); + } + + /** + * Checks if the file at the given path has the ending .tar.* + * + * @param string $path path to the file + * @return bool is tar.gz + */ + private static function isTarGz(string $path): bool { + $fileName = pathinfo($path)['filename']; + return array_key_exists('extension', pathinfo($fileName)) && pathinfo($fileName)['extension'] == 'tar'; + } + + /** + * Returns the name of the file at the given path without its extension + * + * @param string $path path to the file + * @return string file name without extension + */ + private static function getFileNameWithoutExtension(string $path): string { + $fileName = pathinfo($path)['filename']; + return self::isTarGz($path) ? pathinfo($fileName)['filename'] : $fileName; + } }