summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.php-cs-fixer.dist.php (renamed from .php_cs.dist)1
-rw-r--r--composer.json2
-rw-r--r--composer.lock867
-rw-r--r--js/photos-main.js3
-rw-r--r--js/photos-main.js.LICENSE.txt170
-rw-r--r--js/photos-main.js.map1
-rw-r--r--js/photos-service-worker.js1
-rw-r--r--js/photos-src_assets_Illustrations_empty_svg.js1
-rw-r--r--js/photos-src_assets_Illustrations_folder_svg.js1
-rw-r--r--js/photos-src_assets_Illustrations_images_svg.js1
-rw-r--r--js/photos-src_mixins_FetchAlbumsMixin_js-node_modules_vue-material-design-icons_Plus_vue-src_components-4c933a.js3
-rw-r--r--js/photos-src_mixins_FetchAlbumsMixin_js-node_modules_vue-material-design-icons_Plus_vue-src_components-4c933a.js.LICENSE.txt21
-rw-r--r--js/photos-src_mixins_FetchAlbumsMixin_js-node_modules_vue-material-design-icons_Plus_vue-src_components-4c933a.js.map1
-rw-r--r--js/photos-src_mixins_FetchFilesMixin_js-src_mixins_FilesSelectionMixin_js-node_modules_vue-material-des-bd2ac8.js3
-rw-r--r--js/photos-src_mixins_FetchFilesMixin_js-src_mixins_FilesSelectionMixin_js-node_modules_vue-material-des-bd2ac8.js.LICENSE.txt65
-rw-r--r--js/photos-src_mixins_FetchFilesMixin_js-src_mixins_FilesSelectionMixin_js-node_modules_vue-material-des-bd2ac8.js.map1
-rw-r--r--js/photos-src_mixins_GridConfig_js-src_components_EmptyContent_vue-src_components_FolderTagPreview_vue--cac48e.js3
-rw-r--r--js/photos-src_mixins_GridConfig_js-src_components_EmptyContent_vue-src_components_FolderTagPreview_vue--cac48e.js.LICENSE.txt43
-rw-r--r--js/photos-src_mixins_GridConfig_js-src_components_EmptyContent_vue-src_components_FolderTagPreview_vue--cac48e.js.map1
-rw-r--r--js/photos-src_services_DavRequest_js-src_utils_CancelableRequest_js-src_components_File_vue.js3
-rw-r--r--js/photos-src_services_DavRequest_js-src_utils_CancelableRequest_js-src_components_File_vue.js.LICENSE.txt21
-rw-r--r--js/photos-src_services_DavRequest_js-src_utils_CancelableRequest_js-src_components_File_vue.js.map1
-rw-r--r--js/photos-src_utils_CancelableRequest_js-node_modules_vue-material-design-icons_Send_vue-src_views_Albums_vue.js2
-rw-r--r--js/photos-src_utils_CancelableRequest_js-node_modules_vue-material-design-icons_Send_vue-src_views_Albums_vue.js.map1
-rw-r--r--js/photos-src_views_AlbumContent_vue.js3
-rw-r--r--js/photos-src_views_AlbumContent_vue.js.LICENSE.txt21
-rw-r--r--js/photos-src_views_AlbumContent_vue.js.map1
-rw-r--r--js/photos-src_views_FaceContent_vue.js3
-rw-r--r--js/photos-src_views_FaceContent_vue.js.LICENSE.txt43
-rw-r--r--js/photos-src_views_FaceContent_vue.js.map1
-rw-r--r--js/photos-src_views_Faces_vue.js3
-rw-r--r--js/photos-src_views_Faces_vue.js.LICENSE.txt65
-rw-r--r--js/photos-src_views_Faces_vue.js.map1
-rw-r--r--js/photos-src_views_Folders_vue.js3
-rw-r--r--js/photos-src_views_Folders_vue.js.LICENSE.txt21
-rw-r--r--js/photos-src_views_Folders_vue.js.map1
-rw-r--r--js/photos-src_views_Tags_vue.js3
-rw-r--r--js/photos-src_views_Tags_vue.js.LICENSE.txt21
-rw-r--r--js/photos-src_views_Tags_vue.js.map1
-rw-r--r--js/photos-src_views_Timeline_vue.js3
-rw-r--r--js/photos-src_views_Timeline_vue.js.LICENSE.txt21
-rw-r--r--js/photos-src_views_Timeline_vue.js.map1
-rw-r--r--js/photos-vendors-node_modules_nextcloud_vue_dist_Components_ActionButton_js-node_modules_nextcloud_vue-208129.js3
-rw-r--r--js/photos-vendors-node_modules_nextcloud_vue_dist_Components_ActionButton_js-node_modules_nextcloud_vue-208129.js.LICENSE.txt9
-rw-r--r--js/photos-vendors-node_modules_nextcloud_vue_dist_Components_ActionButton_js-node_modules_nextcloud_vue-208129.js.map1
-rw-r--r--js/photos-vendors-node_modules_nextcloud_vue_dist_ncvuecomponents_js.js3
-rw-r--r--js/photos-vendors-node_modules_nextcloud_vue_dist_ncvuecomponents_js.js.LICENSE.txt98
-rw-r--r--js/photos-vendors-node_modules_nextcloud_vue_dist_ncvuecomponents_js.js.map1
-rw-r--r--lib/Migration/Version20000Date20220727125801.php2
-rw-r--r--lib/Sabre/Album/PropFindPlugin.php12
-rw-r--r--psalm.xml36
-rw-r--r--tests/Album/AlbumMapperTest.php4
-rw-r--r--tests/psalm-baseline.xml12
-rw-r--r--tests/stub.phpstub688
54 files changed, 1588 insertions, 714 deletions
diff --git a/.php_cs.dist b/.php-cs-fixer.dist.php
index 8a0cb43c..f7bbdd81 100644
--- a/.php_cs.dist
+++ b/.php-cs-fixer.dist.php
@@ -9,6 +9,7 @@ use Nextcloud\CodingStandard\Config;
$config = new Config();
$config
->getFinder()
+ ->ignoreVCSIgnored(true)
->notPath('build')
->notPath('l10n')
->notPath('src')
diff --git a/composer.json b/composer.json
index 2b91bf7e..8106da15 100644
--- a/composer.json
+++ b/composer.json
@@ -15,7 +15,7 @@
"psalm:update-baseline": "psalm --update-baseline"
},
"require-dev": {
- "nextcloud/coding-standard": "^0.5.0",
+ "nextcloud/coding-standard": "1.0",
"phpunit/phpunit": "^9",
"vimeo/psalm": "^4.22",
"christophwurst/nextcloud": "dev-master",
diff --git a/composer.lock b/composer.lock
index 124181f0..144f8be4 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,446 +4,8 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "7afcdcaecba8998e1cb6fb2f764b01be",
- "packages": [
- {
- "name": "doctrine/cache",
- "version": "2.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/cache.git",
- "reference": "1ca8f21980e770095a31456042471a57bc4c68fb"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/cache/zipball/1ca8f21980e770095a31456042471a57bc4c68fb",
- "reference": "1ca8f21980e770095a31456042471a57bc4c68fb",
- "shasum": ""
- },
- "require": {
- "php": "~7.1 || ^8.0"
- },
- "conflict": {
- "doctrine/common": ">2.2,<2.4"
- },
- "require-dev": {
- "cache/integration-tests": "dev-master",
- "doctrine/coding-standard": "^9",
- "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5",
- "psr/cache": "^1.0 || ^2.0 || ^3.0",
- "symfony/cache": "^4.4 || ^5.4 || ^6",
- "symfony/var-exporter": "^4.4 || ^5.4 || ^6"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Doctrine\\Common\\Cache\\": "lib/Doctrine/Common/Cache"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Guilherme Blanco",
- "email": "guilhermeblanco@gmail.com"
- },
- {
- "name": "Roman Borschel",
- "email": "roman@code-factory.org"
- },
- {
- "name": "Benjamin Eberlei",
- "email": "kontakt@beberlei.de"
- },
- {
- "name": "Jonathan Wage",
- "email": "jonwage@gmail.com"
- },
- {
- "name": "Johannes Schmitt",
- "email": "schmittjoh@gmail.com"
- }
- ],
- "description": "PHP Doctrine Cache library is a popular cache implementation that supports many different drivers such as redis, memcache, apc, mongodb and others.",
- "homepage": "https://www.doctrine-project.org/projects/cache.html",
- "keywords": [
- "abstraction",
- "apcu",
- "cache",
- "caching",
- "couchdb",
- "memcached",
- "php",
- "redis",
- "xcache"
- ],
- "support": {
- "issues": "https://github.com/doctrine/cache/issues",
- "source": "https://github.com/doctrine/cache/tree/2.2.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%2Fcache",
- "type": "tidelift"
- }
- ],
- "time": "2022-05-20T20:07:39+00:00"
- },
- {
- "name": "doctrine/dbal",
- "version": "3.4.2",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/dbal.git",
- "reference": "22de295f10edbe00df74f517612f1fbd711131e2"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/dbal/zipball/22de295f10edbe00df74f517612f1fbd711131e2",
- "reference": "22de295f10edbe00df74f517612f1fbd711131e2",
- "shasum": ""
- },
- "require": {
- "composer-runtime-api": "^2",
- "doctrine/cache": "^1.11|^2.0",
- "doctrine/deprecations": "^0.5.3|^1",
- "doctrine/event-manager": "^1.0",
- "php": "^7.4 || ^8.0",
- "psr/cache": "^1|^2|^3",
- "psr/log": "^1|^2|^3"
- },
- "require-dev": {
- "doctrine/coding-standard": "9.0.0",
- "jetbrains/phpstorm-stubs": "2022.1",
- "phpstan/phpstan": "1.8.2",
- "phpstan/phpstan-strict-rules": "^1.3",
- "phpunit/phpunit": "9.5.21",
- "psalm/plugin-phpunit": "0.17.0",
- "squizlabs/php_codesniffer": "3.7.1",
- "symfony/cache": "^5.4|^6.0",
- "symfony/console": "^4.4|^5.4|^6.0",
- "vimeo/psalm": "4.24.0"
- },
- "suggest": {
- "symfony/console": "For helpful console commands such as SQL execution and import of files."
- },
- "bin": [
- "bin/doctrine-dbal"
- ],
- "type": "library",
- "autoload": {
- "psr-4": {
- "Doctrine\\DBAL\\": "src"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Guilherme Blanco",
- "email": "guilhermeblanco@gmail.com"
- },
- {
- "name": "Roman Borschel",
- "email": "roman@code-factory.org"
- },
- {
- "name": "Benjamin Eberlei",
- "email": "kontakt@beberlei.de"
- },
- {
- "name": "Jonathan Wage",
- "email": "jonwage@gmail.com"
- }
- ],
- "description": "Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.",
- "homepage": "https://www.doctrine-project.org/projects/dbal.html",
- "keywords": [
- "abstraction",
- "database",
- "db2",
- "dbal",
- "mariadb",
- "mssql",
- "mysql",
- "oci8",
- "oracle",
- "pdo",
- "pgsql",
- "postgresql",
- "queryobject",
- "sasql",
- "sql",
- "sqlite",
- "sqlserver",
- "sqlsrv"
- ],
- "support": {
- "issues": "https://github.com/doctrine/dbal/issues",
- "source": "https://github.com/doctrine/dbal/tree/3.4.2"
- },
- "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%2Fdbal",
- "type": "tidelift"
- }
- ],
- "time": "2022-08-21T14:21:06+00:00"
- },
- {
- "name": "doctrine/deprecations",
- "version": "v1.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/deprecations.git",
- "reference": "0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/deprecations/zipball/0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de",
- "reference": "0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de",
- "shasum": ""
- },
- "require": {
- "php": "^7.1|^8.0"
- },
- "require-dev": {
- "doctrine/coding-standard": "^9",
- "phpunit/phpunit": "^7.5|^8.5|^9.5",
- "psr/log": "^1|^2|^3"
- },
- "suggest": {
- "psr/log": "Allows logging deprecations via PSR-3 logger implementation"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Doctrine\\Deprecations\\": "lib/Doctrine/Deprecations"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "description": "A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable all deprecations or selectively for packages.",
- "homepage": "https://www.doctrine-project.org/",
- "support": {
- "issues": "https://github.com/doctrine/deprecations/issues",
- "source": "https://github.com/doctrine/deprecations/tree/v1.0.0"
- },
- "time": "2022-05-02T15:47:09+00:00"
- },
- {
- "name": "doctrine/event-manager",
- "version": "1.1.2",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/event-manager.git",
- "reference": "eb2ecf80e3093e8f3c2769ac838e27d8ede8e683"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/event-manager/zipball/eb2ecf80e3093e8f3c2769ac838e27d8ede8e683",
- "reference": "eb2ecf80e3093e8f3c2769ac838e27d8ede8e683",
- "shasum": ""
- },
- "require": {
- "php": "^7.1 || ^8.0"
- },
- "conflict": {
- "doctrine/common": "<2.9"
- },
- "require-dev": {
- "doctrine/coding-standard": "^9",
- "phpstan/phpstan": "~1.4.10 || ^1.5.4",
- "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5",
- "vimeo/psalm": "^4.22"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Doctrine\\Common\\": "lib/Doctrine/Common"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Guilherme Blanco",
- "email": "guilhermeblanco@gmail.com"
- },
- {
- "name": "Roman Borschel",
- "email": "roman@code-factory.org"
- },
- {
- "name": "Benjamin Eberlei",