diff --git a/.dockerignore b/.dockerignore index 8b387c1..bf18cc0 100644 --- a/.dockerignore +++ b/.dockerignore @@ -4,6 +4,7 @@ .github/ .vscode/ .idea/ +.devcontainer/ .DS_Store Thumbs.db *.log diff --git a/.gitignore b/.gitignore index 86cf13e..2b15c99 100644 --- a/.gitignore +++ b/.gitignore @@ -1,36 +1,40 @@ -!htdocs/ +!wordpress/ -htdocs/* -!htdocs/wp-content/ -!htdocs/wp-config.php -!htdocs/wp-config-local-sample.php -!htdocs/sitemap.xml +wordpress/* +!wordpress/wp-content/ +!wordpress/wp-config.php +!wordpress/wp-config-local-sample.php +!wordpress/sitemap.xml -htdocs/wp-content/* -!htdocs/wp-content/mu-plugins/ -!htdocs/wp-content/plugins/ -!htdocs/wp-content/themes/ -!htdocs/wp-content/index.php -!htdocs/wp-content/sunrise.php -!htdocs/wp-content/uploads/ -!htdocs/wp-content/uploads/.gitkeep +wordpress/wp-content/* +!wordpress/wp-content/mu-plugins/ +!wordpress/wp-content/plugins/ +!wordpress/wp-content/themes/ +!wordpress/wp-content/index.php +!wordpress/wp-content/sunrise.php +!wordpress/wp-content/uploads/ +!wordpress/wp-content/uploads/.gitkeep -htdocs/wp-content/mu-plugins/* -!htdocs/wp-content/mu-plugins/domain_mapping.php +wordpress/wp-content/mu-plugins/* +!wordpress/wp-content/mu-plugins/domain_mapping.php -htdocs/wp-content/plugins/* -!htdocs/wp-content/plugins/index.php -!htdocs/wp-content/plugins/faq +wordpress/wp-content/plugins/* +!wordpress/wp-content/plugins/index.php +!wordpress/wp-content/plugins/faq +!wordpress/wp-content/plugins/disable-image-threshold -htdocs/wp-content/themes/* -!htdocs/wp-content/themes/lawcarta -!htdocs/wp-content/themes/livecarta -!htdocs/wp-content/themes/redesign -!htdocs/wp-content/themes/index.php +wordpress/wp-content/themes/* +!wordpress/wp-content/themes/lawcarta +!wordpress/wp-content/themes/livecarta +!wordpress/wp-content/themes/redesign +!wordpress/wp-content/themes/index.php -!htdocs/wp-content/plugins/wp-rest-api-event -!htdocs/wp-content/plugins/subscribe-to-lc +!wordpress/wp-content/plugins/wp-rest-api-event +!wordpress/wp-content/plugins/subscribe-to-lc vendor/ .DS_store + +.devcontainer +.git* diff --git a/Dockerfile b/Dockerfile index 45fd3cc..45caf13 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,13 +3,15 @@ WORKDIR /src COPY . . RUN composer install --no-dev --optimize-autoloader -FROM wordpress:6.1.1-php8.2 AS app +FROM wordpress:6.9.1-php8.5 AS app ARG ENV_NAME -USER www-data:www-data -WORKDIR /var/www/html +WORKDIR /usr/src/wordpress +RUN set -eux; \ + find /etc/apache2 -name '*.conf' -type f -exec sed -ri -e "s!/var/www/html!$PWD!g" -e "s!Directory /var/www/!Directory $PWD!g" '{}' +; \ + cp -s wp-config-docker.php wp-config.php -COPY --from=setup --chown=www-data:www-data /src/htdocs . -COPY --from=setup --chown=www-data:www-data /src/environments/docker_container/ . -COPY --from=setup --chown=www-data:www-data /src/environments/all/ . -COPY --from=setup --chown=www-data:www-data /src/environments/${ENV_NAME}/robots.txt . +COPY --from=setup --chown=www-data:www-data /src/wordpress ./ +COPY --from=setup --chown=www-data:www-data /src/environments/docker_container/ ./ +COPY --from=setup --chown=www-data:www-data /src/environments/all/ ./ +COPY --from=setup --chown=www-data:www-data /src/environments/${ENV_NAME}/robots.txt ./robots.txt diff --git a/composer.json b/composer.json index 8383fd9..6e6570e 100644 --- a/composer.json +++ b/composer.json @@ -2,27 +2,23 @@ "name": "lawcarta/wordpress", "description": "LawCarta WordPress Site", "require": { - "guzzlehttp/guzzle": "^6.5", - "wpackagist-plugin/svg-support": "~2.5", - "wpackagist-plugin/toggle-wpautop": "~1.3", - "wpackagist-plugin/tinymce-advanced": "~5.9", - "wpackagist-plugin/contact-form-7": "~5.7", + "wpackagist-plugin/contact-form-7-mailchimp-extension": "~0.9", + "wpackagist-plugin/contact-form-7": "~6.1", + "wpackagist-plugin/duplicator": "~1.5", "wpackagist-plugin/flamingo": "~2.2", - "wpackagist-plugin/really-simple-captcha": "~2.0", - "wpackagist-plugin/enhanced-media-library": "~2.8", - "wpackagist-plugin/menu-item-custom-fields": "~1.0.0", - "wpackagist-plugin/wp-rest-api-v2-menus": "~0.12", - "wpackagist-plugin/cf7-field-validation": "~1.1", - "wpackagist-plugin/taxonomy-terms-order": "~1.7", - "wpackagist-plugin/wordpress-seo": "~20", - "wpackagist-plugin/post-types-order": "~2", - "wpackagist-plugin/post-smtp": "~2.4", - "wpackagist-plugin/meta-tag-manager": "~3", - "wpackagist-plugin/disable-big-image-threshold": "~1", + "wpackagist-plugin/google-sitemap-generator": "~4.1", + "wpackagist-plugin/honeypot": "~2.3", + "wpackagist-plugin/mailchimp-for-wp": "4.10.1", + "wpackagist-plugin/meta-tag-manager": "~3.3", + "wpackagist-plugin/post-smtp": "~3.8", + "wpackagist-plugin/really-simple-captcha": "~2", + "wpackagist-plugin/svg-support": "~2.5", + "wpackagist-plugin/taxonomy-terms-order": "~1.7", + "wpackagist-plugin/tinymce-advanced": "~5.9", + "wpackagist-plugin/toggle-wpautop": "~1.3", + "wpackagist-plugin/wordpress-seo": "~27.1", "wpackagist-plugin/wps-hide-login": "~1.9", - "humanmade/s3-uploads": "^2.2", - "wpackagist-plugin/google-sitemap-generator": "4.1.21", - "wpackagist-plugin/mailchimp-for-wp": "4.10.1" + "humanmade/s3-uploads": "~3.0" }, "repositories": [ { @@ -32,15 +28,18 @@ ], "extra": { "installer-paths": { - "htdocs/wp-content/plugins/{$name}/": [ + "wordpress/wp-content/plugins/{$name}/": [ "type:wordpress-plugin" ], - "htdocs/wp-content/themes/{$name}/": [ + "wordpress/wp-content/themes/{$name}/": [ "type:wordpress-theme" ] } }, "config": { - "vendor-dir": "htdocs/wp-content/vendor" + "vendor-dir": "wordpress/wp-content/vendor", + "allow-plugins": { + "composer/installers": true + } } } diff --git a/composer.lock b/composer.lock index 71a2c91..4822569 100644 --- a/composer.lock +++ b/composer.lock @@ -4,20 +4,20 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "5a7d9a09294eea62c9eb472884f03868", + "content-hash": "760aedbc222287d25e26e02e6db73f63", "packages": [ { "name": "aws/aws-crt-php", - "version": "v1.2.1", + "version": "v1.2.7", "source": { "type": "git", "url": "https://github.com/awslabs/aws-crt-php.git", - "reference": "1926277fc71d253dfa820271ac5987bdb193ccf5" + "reference": "d71d9906c7bb63a28295447ba12e74723bd3730e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/awslabs/aws-crt-php/zipball/1926277fc71d253dfa820271ac5987bdb193ccf5", - "reference": "1926277fc71d253dfa820271ac5987bdb193ccf5", + "url": "https://api.github.com/repos/awslabs/aws-crt-php/zipball/d71d9906c7bb63a28295447ba12e74723bd3730e", + "reference": "d71d9906c7bb63a28295447ba12e74723bd3730e", "shasum": "" }, "require": { @@ -54,58 +54,61 @@ "crt", "sdk" ], - "time": "2023-03-24T20:22:19+00:00" + "support": { + "issues": "https://github.com/awslabs/aws-crt-php/issues", + "source": "https://github.com/awslabs/aws-crt-php/tree/v1.2.7" + }, + "time": "2024-10-18T22:15:13+00:00" }, { "name": "aws/aws-sdk-php", - "version": "3.263.14", + "version": "3.372.0", "source": { "type": "git", "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "7a6a43fad8899e3be3c46471fa3802331620e36b" + "reference": "91ff063599dd5775e8886b9a7ba13cb1f40ca201" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/7a6a43fad8899e3be3c46471fa3802331620e36b", - "reference": "7a6a43fad8899e3be3c46471fa3802331620e36b", + "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/91ff063599dd5775e8886b9a7ba13cb1f40ca201", + "reference": "91ff063599dd5775e8886b9a7ba13cb1f40ca201", "shasum": "" }, "require": { - "aws/aws-crt-php": "^1.0.4", + "aws/aws-crt-php": "^1.2.3", "ext-json": "*", "ext-pcre": "*", "ext-simplexml": "*", - "guzzlehttp/guzzle": "^6.5.8 || ^7.4.5", - "guzzlehttp/promises": "^1.4.0", - "guzzlehttp/psr7": "^1.9.1 || ^2.4.5", - "mtdowling/jmespath.php": "^2.6", - "php": ">=5.5" + "guzzlehttp/guzzle": "^7.4.5", + "guzzlehttp/promises": "^2.0", + "guzzlehttp/psr7": "^2.4.5", + "mtdowling/jmespath.php": "^2.8.0", + "php": ">=8.1", + "psr/http-message": "^1.0 || ^2.0", + "symfony/filesystem": "^v5.4.45 || ^v6.4.3 || ^v7.1.0 || ^v8.0.0" }, "require-dev": { "andrewsville/php-token-reflection": "^1.4", "aws/aws-php-sns-message-validator": "~1.0", "behat/behat": "~3.0", - "composer/composer": "^1.10.22", + "composer/composer": "^2.7.8", "dms/phpunit-arraysubset-asserts": "^0.4.0", "doctrine/cache": "~1.4", "ext-dom": "*", "ext-openssl": "*", - "ext-pcntl": "*", "ext-sockets": "*", - "nette/neon": "^2.3", - "paragonie/random_compat": ">= 2", - "phpunit/phpunit": "^4.8.35 || ^5.6.3 || ^9.5", - "psr/cache": "^1.0", - "psr/http-message": "^1.0", - "psr/simple-cache": "^1.0", - "sebastian/comparator": "^1.2.3 || ^4.0", - "yoast/phpunit-polyfills": "^1.0" + "phpunit/phpunit": "^9.6", + "psr/cache": "^2.0 || ^3.0", + "psr/simple-cache": "^2.0 || ^3.0", + "sebastian/comparator": "^1.2.3 || ^4.0 || ^5.0", + "yoast/phpunit-polyfills": "^2.0" }, "suggest": { "aws/aws-php-sns-message-validator": "To validate incoming SNS notifications", "doctrine/cache": "To use the DoctrineCacheAdapter", "ext-curl": "To send requests using cURL", "ext-openssl": "Allows working with CloudFront private distributions and verifying received SNS messages", + "ext-pcntl": "To use client-side monitoring", "ext-sockets": "To use client-side monitoring" }, "type": "library", @@ -120,7 +123,10 @@ ], "psr-4": { "Aws\\": "src/" - } + }, + "exclude-from-classmap": [ + "src/data/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -129,11 +135,11 @@ "authors": [ { "name": "Amazon Web Services", - "homepage": "http://aws.amazon.com" + "homepage": "https://aws.amazon.com" } ], "description": "AWS SDK for PHP - Use Amazon Web Services in your PHP project", - "homepage": "http://aws.amazon.com/sdkforphp", + "homepage": "https://aws.amazon.com/sdk-for-php", "keywords": [ "amazon", "aws", @@ -144,43 +150,46 @@ "s3", "sdk" ], - "time": "2023-04-20T18:21:44+00:00" + "support": { + "forum": "https://github.com/aws/aws-sdk-php/discussions", + "issues": "https://github.com/aws/aws-sdk-php/issues", + "source": "https://github.com/aws/aws-sdk-php/tree/3.372.0" + }, + "time": "2026-03-05T19:38:44+00:00" }, { "name": "composer/installers", - "version": "v1.12.0", + "version": "v2.3.0", "source": { "type": "git", "url": "https://github.com/composer/installers.git", - "reference": "d20a64ed3c94748397ff5973488761b22f6d3f19" + "reference": "12fb2dfe5e16183de69e784a7b84046c43d97e8e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/installers/zipball/d20a64ed3c94748397ff5973488761b22f6d3f19", - "reference": "d20a64ed3c94748397ff5973488761b22f6d3f19", + "url": "https://api.github.com/repos/composer/installers/zipball/12fb2dfe5e16183de69e784a7b84046c43d97e8e", + "reference": "12fb2dfe5e16183de69e784a7b84046c43d97e8e", "shasum": "" }, "require": { - "composer-plugin-api": "^1.0 || ^2.0" - }, - "replace": { - "roundcube/plugin-installer": "*", - "shama/baton": "*" + "composer-plugin-api": "^1.0 || ^2.0", + "php": "^7.2 || ^8.0" }, "require-dev": { - "composer/composer": "1.6.* || ^2.0", - "composer/semver": "^1 || ^3", - "phpstan/phpstan": "^0.12.55", - "phpstan/phpstan-phpunit": "^0.12.16", - "symfony/phpunit-bridge": "^4.2 || ^5", - "symfony/process": "^2.3" + "composer/composer": "^1.10.27 || ^2.7", + "composer/semver": "^1.7.2 || ^3.4.0", + "phpstan/phpstan": "^1.11", + "phpstan/phpstan-phpunit": "^1", + "symfony/phpunit-bridge": "^7.1.1", + "symfony/process": "^5 || ^6 || ^7" }, "type": "composer-plugin", "extra": { "class": "Composer\\Installers\\Plugin", "branch-alias": { - "dev-main": "1.x-dev" - } + "dev-main": "2.x-dev" + }, + "plugin-modifies-install-path": true }, "autoload": { "psr-4": { @@ -201,7 +210,6 @@ "description": "A multi-framework Composer library installer", "homepage": "https://composer.github.io/installers/", "keywords": [ - "Craft", "Dolibarr", "Eliasis", "Hurad", @@ -222,7 +230,6 @@ "Whmcs", "WolfCMS", "agl", - "aimeos", "annotatecms", "attogram", "bitrix", @@ -231,6 +238,7 @@ "cockpit", "codeigniter", "concrete5", + "concreteCMS", "croogo", "dokuwiki", "drupal", @@ -241,7 +249,6 @@ "grav", "installer", "itop", - "joomla", "known", "kohana", "laravel", @@ -250,6 +257,7 @@ "magento", "majima", "mako", + "matomo", "mediawiki", "miaoxing", "modulework", @@ -269,14 +277,16 @@ "silverstripe", "sydes", "sylius", - "symfony", "tastyigniter", - "typo3", "wordpress", "yawik", "zend", "zikula" ], + "support": { + "issues": "https://github.com/composer/installers/issues", + "source": "https://github.com/composer/installers/tree/v2.3.0" + }, "funding": [ { "url": "https://packagist.com", @@ -291,41 +301,51 @@ "type": "tidelift" } ], - "time": "2021-09-13T08:19:44+00:00" + "time": "2024-06-24T20:46:46+00:00" }, { "name": "guzzlehttp/guzzle", - "version": "6.5.8", + "version": "7.10.0", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "a52f0440530b54fa079ce76e8c5d196a42cad981" + "reference": "b51ac707cfa420b7bfd4e4d5e510ba8008e822b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/a52f0440530b54fa079ce76e8c5d196a42cad981", - "reference": "a52f0440530b54fa079ce76e8c5d196a42cad981", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4", + "reference": "b51ac707cfa420b7bfd4e4d5e510ba8008e822b4", "shasum": "" }, "require": { "ext-json": "*", - "guzzlehttp/promises": "^1.0", - "guzzlehttp/psr7": "^1.9", - "php": ">=5.5", - "symfony/polyfill-intl-idn": "^1.17" + "guzzlehttp/promises": "^2.3", + "guzzlehttp/psr7": "^2.8", + "php": "^7.2.5 || ^8.0", + "psr/http-client": "^1.0", + "symfony/deprecation-contracts": "^2.2 || ^3.0" + }, + "provide": { + "psr/http-client-implementation": "1.0" }, "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.2", "ext-curl": "*", - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.4 || ^7.0", - "psr/log": "^1.1" + "guzzle/client-integration-tests": "3.0.2", + "php-http/message-factory": "^1.1", + "phpunit/phpunit": "^8.5.39 || ^9.6.20", + "psr/log": "^1.1 || ^2.0 || ^3.0" }, "suggest": { + "ext-curl": "Required for CURL handler support", + "ext-intl": "Required for Internationalized Domain Name (IDN) support", "psr/log": "Required for using the Log middleware" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "6.5-dev" + "bamarni-bin": { + "bin-links": true, + "forward-command": false } }, "autoload": { @@ -378,16 +398,21 @@ } ], "description": "Guzzle is a PHP HTTP client library", - "homepage": "http://guzzlephp.org/", "keywords": [ "client", "curl", "framework", "http", "http client", + "psr-18", + "psr-7", "rest", "web service" ], + "support": { + "issues": "https://github.com/guzzle/guzzle/issues", + "source": "https://github.com/guzzle/guzzle/tree/7.10.0" + }, "funding": [ { "url": "https://github.com/GrahamCampbell", @@ -402,38 +427,37 @@ "type": "tidelift" } ], - "time": "2022-06-20T22:16:07+00:00" + "time": "2025-08-23T22:36:01+00:00" }, { "name": "guzzlehttp/promises", - "version": "1.5.2", + "version": "2.3.0", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "b94b2807d85443f9719887892882d0329d1e2598" + "reference": "481557b130ef3790cf82b713667b43030dc9c957" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/b94b2807d85443f9719887892882d0329d1e2598", - "reference": "b94b2807d85443f9719887892882d0329d1e2598", + "url": "https://api.github.com/repos/guzzle/promises/zipball/481557b130ef3790cf82b713667b43030dc9c957", + "reference": "481557b130ef3790cf82b713667b43030dc9c957", "shasum": "" }, "require": { - "php": ">=5.5" + "php": "^7.2.5 || ^8.0" }, "require-dev": { - "symfony/phpunit-bridge": "^4.4 || ^5.1" + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.44 || ^9.6.25" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "1.5-dev" + "bamarni-bin": { + "bin-links": true, + "forward-command": false } }, "autoload": { - "files": [ - "src/functions_include.php" - ], "psr-4": { "GuzzleHttp\\Promise\\": "src/" } @@ -468,6 +492,10 @@ "keywords": [ "promise" ], + "support": { + "issues": "https://github.com/guzzle/promises/issues", + "source": "https://github.com/guzzle/promises/tree/2.3.0" + }, "funding": [ { "url": "https://github.com/GrahamCampbell", @@ -482,42 +510,48 @@ "type": "tidelift" } ], - "time": "2022-08-28T14:55:35+00:00" + "time": "2025-08-22T14:34:08+00:00" }, { "name": "guzzlehttp/psr7", - "version": "1.9.1", + "version": "2.8.0", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "e4490cabc77465aaee90b20cfc9a770f8c04be6b" + "reference": "21dc724a0583619cd1652f673303492272778051" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/e4490cabc77465aaee90b20cfc9a770f8c04be6b", - "reference": "e4490cabc77465aaee90b20cfc9a770f8c04be6b", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/21dc724a0583619cd1652f673303492272778051", + "reference": "21dc724a0583619cd1652f673303492272778051", "shasum": "" }, "require": { - "php": ">=5.4.0", - "psr/http-message": "~1.0", - "ralouphie/getallheaders": "^2.0.5 || ^3.0.0" + "php": "^7.2.5 || ^8.0", + "psr/http-factory": "^1.0", + "psr/http-message": "^1.1 || ^2.0", + "ralouphie/getallheaders": "^3.0" }, "provide": { + "psr/http-factory-implementation": "1.0", "psr/http-message-implementation": "1.0" }, "require-dev": { - "ext-zlib": "*", - "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.10" + "bamarni/composer-bin-plugin": "^1.8.2", + "http-interop/http-factory-tests": "0.9.0", + "phpunit/phpunit": "^8.5.44 || ^9.6.25" }, "suggest": { "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" }, "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + } + }, "autoload": { - "files": [ - "src/functions_include.php" - ], "psr-4": { "GuzzleHttp\\Psr7\\": "src/" } @@ -556,6 +590,11 @@ "name": "Tobias Schultze", "email": "webmaster@tubo-world.de", "homepage": "https://github.com/Tobion" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://sagikazarmark.hu" } ], "description": "PSR-7 message implementation that also provides common utility methods", @@ -569,6 +608,10 @@ "uri", "url" ], + "support": { + "issues": "https://github.com/guzzle/psr7/issues", + "source": "https://github.com/guzzle/psr7/tree/2.8.0" + }, "funding": [ { "url": "https://github.com/GrahamCampbell", @@ -583,36 +626,48 @@ "type": "tidelift" } ], - "time": "2023-04-17T16:00:37+00:00" + "time": "2025-08-23T21:21:41+00:00" }, { "name": "humanmade/s3-uploads", - "version": "2.3.0", + "version": "3.0.13", "source": { "type": "git", "url": "https://github.com/humanmade/S3-Uploads.git", - "reference": "3b995ba6d1ccde4354efb9564c3e244f871bbcda" + "reference": "c09bd3057747b181eeb9c22e380da9d904ba260a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/humanmade/S3-Uploads/zipball/3b995ba6d1ccde4354efb9564c3e244f871bbcda", - "reference": "3b995ba6d1ccde4354efb9564c3e244f871bbcda", + "url": "https://api.github.com/repos/humanmade/S3-Uploads/zipball/c09bd3057747b181eeb9c22e380da9d904ba260a", + "reference": "c09bd3057747b181eeb9c22e380da9d904ba260a", "shasum": "" }, "require": { - "aws/aws-sdk-php": "~3.18", - "composer/installers": "~1.0" + "aws/aws-sdk-php": "^3.366", + "composer/installers": "~1.0 || ^2.0", + "php": ">=8.0" + }, + "require-dev": { + "humanmade/psalm-plugin-wordpress": "^3.1", + "pcov/clobber": "^2.0", + "phpunit/phpunit": "^9.6", + "vimeo/psalm": "^5.0", + "yoast/phpunit-polyfills": "^4.0" }, "type": "wordpress-plugin", + "autoload": { + "classmap": [ + "inc/" + ] + }, "notification-url": "https://packagist.org/downloads/", "license": [ "GPL-2.0+" ], "authors": [ { - "name": "Human Made Limited", - "email": "support@humanmade.co.uk", - "homepage": "http://hmn.md/" + "name": "Human Made", + "homepage": "https://humanmade.com/" } ], "description": "WordPress plugin to store uploads on S3", @@ -620,29 +675,33 @@ "keywords": [ "wordpress" ], - "time": "2021-03-18T10:55:13+00:00" + "support": { + "issues": "https://github.com/humanmade/s3-uploads/issues", + "source": "https://github.com/humanmade/s3-uploads" + }, + "time": "2026-02-25T17:57:09+00:00" }, { "name": "mtdowling/jmespath.php", - "version": "2.6.1", + "version": "2.8.0", "source": { "type": "git", "url": "https://github.com/jmespath/jmespath.php.git", - "reference": "9b87907a81b87bc76d19a7fb2d61e61486ee9edb" + "reference": "a2a865e05d5f420b50cc2f85bb78d565db12a6bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/jmespath/jmespath.php/zipball/9b87907a81b87bc76d19a7fb2d61e61486ee9edb", - "reference": "9b87907a81b87bc76d19a7fb2d61e61486ee9edb", + "url": "https://api.github.com/repos/jmespath/jmespath.php/zipball/a2a865e05d5f420b50cc2f85bb78d565db12a6bc", + "reference": "a2a865e05d5f420b50cc2f85bb78d565db12a6bc", "shasum": "" }, "require": { - "php": "^5.4 || ^7.0 || ^8.0", + "php": "^7.2.5 || ^8.0", "symfony/polyfill-mbstring": "^1.17" }, "require-dev": { - "composer/xdebug-handler": "^1.4 || ^2.0", - "phpunit/phpunit": "^4.8.36 || ^7.5.15" + "composer/xdebug-handler": "^3.0.3", + "phpunit/phpunit": "^8.5.33" }, "bin": [ "bin/jp.php" @@ -650,7 +709,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.6-dev" + "dev-master": "2.8-dev" } }, "autoload": { @@ -666,6 +725,11 @@ "MIT" ], "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, { "name": "Michael Dowling", "email": "mtdowling@gmail.com", @@ -677,29 +741,86 @@ "json", "jsonpath" ], - "time": "2021-06-14T00:11:39+00:00" + "support": { + "issues": "https://github.com/jmespath/jmespath.php/issues", + "source": "https://github.com/jmespath/jmespath.php/tree/2.8.0" + }, + "time": "2024-09-04T18:46:31+00:00" }, { - "name": "psr/http-message", - "version": "1.1", + "name": "psr/http-client", + "version": "1.0.3", "source": { "type": "git", - "url": "https://github.com/php-fig/http-message.git", - "reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba" + "url": "https://github.com/php-fig/http-client.git", + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-message/zipball/cb6ce4845ce34a8ad9e68117c10ee90a29919eba", - "reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba", + "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90", + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90", "shasum": "" }, "require": { - "php": "^7.2 || ^8.0" + "php": "^7.0 || ^8.0", + "psr/http-message": "^1.0 || ^2.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1.x-dev" + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Client\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP clients", + "homepage": "https://github.com/php-fig/http-client", + "keywords": [ + "http", + "http-client", + "psr", + "psr-18" + ], + "support": { + "source": "https://github.com/php-fig/http-client" + }, + "time": "2023-09-23T14:17:50+00:00" + }, + { + "name": "psr/http-factory", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-factory.git", + "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a", + "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a", + "shasum": "" + }, + "require": { + "php": ">=7.1", + "psr/http-message": "^1.0 || ^2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" } }, "autoload": { @@ -714,7 +835,61 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" + } + ], + "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories", + "keywords": [ + "factory", + "http", + "message", + "psr", + "psr-17", + "psr-7", + "request", + "response" + ], + "support": { + "source": "https://github.com/php-fig/http-factory" + }, + "time": "2024-04-15T12:06:14+00:00" + }, + { + "name": "psr/http-message", + "version": "2.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-message.git", + "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71", + "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" } ], "description": "Common interface for HTTP messages", @@ -727,7 +902,10 @@ "request", "response" ], - "time": "2023-04-04T09:50:52+00:00" + "support": { + "source": "https://github.com/php-fig/http-message/tree/2.0" + }, + "time": "2023-04-04T09:54:51+00:00" }, { "name": "ralouphie/getallheaders", @@ -767,131 +945,42 @@ } ], "description": "A polyfill for getallheaders.", + "support": { + "issues": "https://github.com/ralouphie/getallheaders/issues", + "source": "https://github.com/ralouphie/getallheaders/tree/develop" + }, "time": "2019-03-08T08:55:37+00:00" }, { - "name": "symfony/polyfill-intl-idn", - "version": "v1.27.0", + "name": "symfony/deprecation-contracts", + "version": "v3.6.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-intl-idn.git", - "reference": "639084e360537a19f9ee352433b84ce831f3d2da" + "url": "https://github.com/symfony/deprecation-contracts.git", + "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/639084e360537a19f9ee352433b84ce831f3d2da", - "reference": "639084e360537a19f9ee352433b84ce831f3d2da", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62", + "reference": "63afe740e99a13ba87ec199bb07bbdee937a5b62", "shasum": "" }, "require": { - "php": ">=7.1", - "symfony/polyfill-intl-normalizer": "^1.10", - "symfony/polyfill-php72": "^1.10" - }, - "suggest": { - "ext-intl": "For best performance" + "php": ">=8.1" }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/contracts", + "name": "symfony/contracts" + }, + "branch-alias": { + "dev-main": "3.6-dev" } }, "autoload": { "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Idn\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Laurent Bassin", - "email": "laurent@bassin.info" - }, - { - "name": "Trevor Rowbotham", - "email": "trevor.rowbotham@pm.me" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "idn", - "intl", - "polyfill", - "portable", - "shim" - ], - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-11-03T14:55:06+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "v1.27.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/19bd1e4fcd5b91116f14d8533c57831ed00571b6", - "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" + "function.php" ] }, "notification-url": "https://packagist.org/downloads/", @@ -908,16 +997,11 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", + "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], + "support": { + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.6.0" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -932,24 +1016,178 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2024-09-25T14:21:43+00:00" }, { - "name": "symfony/polyfill-mbstring", - "version": "v1.27.0", + "name": "symfony/filesystem", + "version": "v8.0.6", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534" + "url": "https://github.com/symfony/filesystem.git", + "reference": "7bf9162d7a0dff98d079b72948508fa48018a770" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/8ad114f6b39e2c98a8b0e3bd907732c207c2b534", - "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/7bf9162d7a0dff98d079b72948508fa48018a770", + "reference": "7bf9162d7a0dff98d079b72948508fa48018a770", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=8.4", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-mbstring": "~1.8" + }, + "require-dev": { + "symfony/process": "^7.4|^8.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Filesystem\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides basic utilities for the filesystem", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/filesystem/tree/v8.0.6" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2026-02-25T16:59:43+00:00" + }, + { + "name": "symfony/polyfill-ctype", + "version": "v1.33.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", + "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "provide": { + "ext-ctype": "*" + }, + "suggest": { + "ext-ctype": "For best performance" + }, + "type": "library", + "extra": { + "thanks": { + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for ctype functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "ctype", + "polyfill", + "portable" + ], + "support": { + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.33.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-09T11:45:10+00:00" + }, + { + "name": "symfony/polyfill-mbstring", + "version": "v1.33.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493", + "reference": "6d857f4d76bd4b343eac26d6b539585d2bc56493", + "shasum": "" + }, + "require": { + "ext-iconv": "*", + "php": ">=7.2" }, "provide": { "ext-mbstring": "*" @@ -959,12 +1197,9 @@ }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "url": "https://github.com/symfony/polyfill", + "name": "symfony/polyfill" } }, "autoload": { @@ -998,6 +1233,9 @@ "portable", "shim" ], + "support": { + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.33.0" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -1008,76 +1246,7 @@ "type": "github" }, { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2022-11-03T14:55:06+00:00" - }, - { - "name": "symfony/polyfill-php72", - "version": "v1.27.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php72.git", - "reference": "869329b1e9894268a8a61dabb69153029b7a8c97" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/869329b1e9894268a8a61dabb69153029b7a8c97", - "reference": "869329b1e9894268a8a61dabb69153029b7a8c97", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php72\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", + "url": "https://github.com/nicolas-grekas", "type": "github" }, { @@ -1085,37 +1254,19 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" - }, - { - "name": "wpackagist-plugin/cf7-field-validation", - "version": "1.1.3", - "source": { - "type": "svn", - "url": "https://plugins.svn.wordpress.org/cf7-field-validation/", - "reference": "trunk" - }, - "dist": { - "type": "zip", - "url": "https://downloads.wordpress.org/plugin/cf7-field-validation.zip?timestamp=1523974032" - }, - "require": { - "composer/installers": "^1.0 || ^2.0" - }, - "type": "wordpress-plugin", - "homepage": "https://wordpress.org/plugins/cf7-field-validation/" + "time": "2024-12-23T08:48:59+00:00" }, { "name": "wpackagist-plugin/contact-form-7", - "version": "5.7.5.1", + "version": "6.1.5", "source": { "type": "svn", "url": "https://plugins.svn.wordpress.org/contact-form-7/", - "reference": "tags/5.7.5.1" + "reference": "tags/6.1.5" }, "dist": { "type": "zip", - "url": "https://downloads.wordpress.org/plugin/contact-form-7.5.7.5.1.zip" + "url": "https://downloads.wordpress.org/plugin/contact-form-7.6.1.5.zip" }, "require": { "composer/installers": "^1.0 || ^2.0" @@ -1124,52 +1275,52 @@ "homepage": "https://wordpress.org/plugins/contact-form-7/" }, { - "name": "wpackagist-plugin/disable-big-image-threshold", - "version": "1.0", + "name": "wpackagist-plugin/contact-form-7-mailchimp-extension", + "version": "0.9.76", "source": { "type": "svn", - "url": "https://plugins.svn.wordpress.org/disable-big-image-threshold/", - "reference": "tags/1.0" + "url": "https://plugins.svn.wordpress.org/contact-form-7-mailchimp-extension/", + "reference": "tags/0.9.76" }, "dist": { "type": "zip", - "url": "https://downloads.wordpress.org/plugin/disable-big-image-threshold.1.0.zip" + "url": "https://downloads.wordpress.org/plugin/contact-form-7-mailchimp-extension.0.9.76.zip" }, "require": { "composer/installers": "^1.0 || ^2.0" }, "type": "wordpress-plugin", - "homepage": "https://wordpress.org/plugins/disable-big-image-threshold/" + "homepage": "https://wordpress.org/plugins/contact-form-7-mailchimp-extension/" }, { - "name": "wpackagist-plugin/enhanced-media-library", - "version": "2.8.9", + "name": "wpackagist-plugin/duplicator", + "version": "1.5.15", "source": { "type": "svn", - "url": "https://plugins.svn.wordpress.org/enhanced-media-library/", - "reference": "tags/2.8.9" + "url": "https://plugins.svn.wordpress.org/duplicator/", + "reference": "tags/1.5.15" }, "dist": { "type": "zip", - "url": "https://downloads.wordpress.org/plugin/enhanced-media-library.2.8.9.zip" + "url": "https://downloads.wordpress.org/plugin/duplicator.1.5.15.zip" }, "require": { "composer/installers": "^1.0 || ^2.0" }, "type": "wordpress-plugin", - "homepage": "https://wordpress.org/plugins/enhanced-media-library/" + "homepage": "https://wordpress.org/plugins/duplicator/" }, { "name": "wpackagist-plugin/flamingo", - "version": "2.3", + "version": "2.6.1", "source": { "type": "svn", "url": "https://plugins.svn.wordpress.org/flamingo/", - "reference": "tags/2.3" + "reference": "tags/2.6.1" }, "dist": { "type": "zip", - "url": "https://downloads.wordpress.org/plugin/flamingo.2.3.zip" + "url": "https://downloads.wordpress.org/plugin/flamingo.2.6.1.zip" }, "require": { "composer/installers": "^1.0 || ^2.0" @@ -1179,15 +1330,15 @@ }, { "name": "wpackagist-plugin/google-sitemap-generator", - "version": "4.1.21", + "version": "4.1.23", "source": { "type": "svn", "url": "https://plugins.svn.wordpress.org/google-sitemap-generator/", - "reference": "tags/4.1.21" + "reference": "tags/4.1.23" }, "dist": { "type": "zip", - "url": "https://downloads.wordpress.org/plugin/google-sitemap-generator.4.1.21.zip" + "url": "https://downloads.wordpress.org/plugin/google-sitemap-generator.4.1.23.zip" }, "require": { "composer/installers": "^1.0 || ^2.0" @@ -1195,6 +1346,24 @@ "type": "wordpress-plugin", "homepage": "https://wordpress.org/plugins/google-sitemap-generator/" }, + { + "name": "wpackagist-plugin/honeypot", + "version": "2.3.04", + "source": { + "type": "svn", + "url": "https://plugins.svn.wordpress.org/honeypot/", + "reference": "tags/2.3.04" + }, + "dist": { + "type": "zip", + "url": "https://downloads.wordpress.org/plugin/honeypot.2.3.04.zip" + }, + "require": { + "composer/installers": "^1.0 || ^2.0" + }, + "type": "wordpress-plugin", + "homepage": "https://wordpress.org/plugins/honeypot/" + }, { "name": "wpackagist-plugin/mailchimp-for-wp", "version": "4.10.1", @@ -1213,35 +1382,17 @@ "type": "wordpress-plugin", "homepage": "https://wordpress.org/plugins/mailchimp-for-wp/" }, - { - "name": "wpackagist-plugin/menu-item-custom-fields", - "version": "1.0.0", - "source": { - "type": "svn", - "url": "https://plugins.svn.wordpress.org/menu-item-custom-fields/", - "reference": "tags/1.0.0" - }, - "dist": { - "type": "zip", - "url": "https://downloads.wordpress.org/plugin/menu-item-custom-fields.1.0.0.zip" - }, - "require": { - "composer/installers": "~1.0" - }, - "type": "wordpress-plugin", - "homepage": "https://wordpress.org/plugins/menu-item-custom-fields/" - }, { "name": "wpackagist-plugin/meta-tag-manager", - "version": "3.0.2", + "version": "3.3", "source": { "type": "svn", "url": "https://plugins.svn.wordpress.org/meta-tag-manager/", - "reference": "tags/3.0.2" + "reference": "tags/3.3" }, "dist": { "type": "zip", - "url": "https://downloads.wordpress.org/plugin/meta-tag-manager.3.0.2.zip" + "url": "https://downloads.wordpress.org/plugin/meta-tag-manager.3.3.zip" }, "require": { "composer/installers": "^1.0 || ^2.0" @@ -1251,15 +1402,15 @@ }, { "name": "wpackagist-plugin/post-smtp", - "version": "2.4.8", + "version": "3.8.0", "source": { "type": "svn", "url": "https://plugins.svn.wordpress.org/post-smtp/", - "reference": "tags/2.4.8" + "reference": "tags/3.8.0" }, "dist": { "type": "zip", - "url": "https://downloads.wordpress.org/plugin/post-smtp.2.4.8.zip" + "url": "https://downloads.wordpress.org/plugin/post-smtp.3.8.0.zip" }, "require": { "composer/installers": "^1.0 || ^2.0" @@ -1267,35 +1418,17 @@ "type": "wordpress-plugin", "homepage": "https://wordpress.org/plugins/post-smtp/" }, - { - "name": "wpackagist-plugin/post-types-order", - "version": "2.0.5", - "source": { - "type": "svn", - "url": "https://plugins.svn.wordpress.org/post-types-order/", - "reference": "tags/2.0.5" - }, - "dist": { - "type": "zip", - "url": "https://downloads.wordpress.org/plugin/post-types-order.2.0.5.zip" - }, - "require": { - "composer/installers": "^1.0 || ^2.0" - }, - "type": "wordpress-plugin", - "homepage": "https://wordpress.org/plugins/post-types-order/" - }, { "name": "wpackagist-plugin/really-simple-captcha", - "version": "2.1", + "version": "2.4", "source": { "type": "svn", "url": "https://plugins.svn.wordpress.org/really-simple-captcha/", - "reference": "tags/2.1" + "reference": "tags/2.4" }, "dist": { "type": "zip", - "url": "https://downloads.wordpress.org/plugin/really-simple-captcha.2.1.zip" + "url": "https://downloads.wordpress.org/plugin/really-simple-captcha.2.4.zip" }, "require": { "composer/installers": "^1.0 || ^2.0" @@ -1305,15 +1438,15 @@ }, { "name": "wpackagist-plugin/svg-support", - "version": "2.5.5", + "version": "2.5.14", "source": { "type": "svn", "url": "https://plugins.svn.wordpress.org/svg-support/", - "reference": "tags/2.5.5" + "reference": "tags/2.5.14" }, "dist": { "type": "zip", - "url": "https://downloads.wordpress.org/plugin/svg-support.2.5.5.zip" + "url": "https://downloads.wordpress.org/plugin/svg-support.2.5.14.zip" }, "require": { "composer/installers": "^1.0 || ^2.0" @@ -1323,15 +1456,15 @@ }, { "name": "wpackagist-plugin/taxonomy-terms-order", - "version": "1.7.5", + "version": "1.9.4", "source": { "type": "svn", "url": "https://plugins.svn.wordpress.org/taxonomy-terms-order/", - "reference": "tags/1.7.5" + "reference": "tags/1.9.4" }, "dist": { "type": "zip", - "url": "https://downloads.wordpress.org/plugin/taxonomy-terms-order.1.7.5.zip" + "url": "https://downloads.wordpress.org/plugin/taxonomy-terms-order.1.9.4.zip" }, "require": { "composer/installers": "^1.0 || ^2.0" @@ -1341,15 +1474,15 @@ }, { "name": "wpackagist-plugin/tinymce-advanced", - "version": "5.9.0", + "version": "5.9.2", "source": { "type": "svn", "url": "https://plugins.svn.wordpress.org/tinymce-advanced/", - "reference": "tags/5.9.0" + "reference": "tags/5.9.2" }, "dist": { "type": "zip", - "url": "https://downloads.wordpress.org/plugin/tinymce-advanced.5.9.0.zip" + "url": "https://downloads.wordpress.org/plugin/tinymce-advanced.5.9.2.zip" }, "require": { "composer/installers": "^1.0 || ^2.0" @@ -1377,15 +1510,15 @@ }, { "name": "wpackagist-plugin/wordpress-seo", - "version": "20.5", + "version": "27.1.1", "source": { "type": "svn", "url": "https://plugins.svn.wordpress.org/wordpress-seo/", - "reference": "tags/20.5" + "reference": "tags/27.1.1" }, "dist": { "type": "zip", - "url": "https://downloads.wordpress.org/plugin/wordpress-seo.20.5.zip" + "url": "https://downloads.wordpress.org/plugin/wordpress-seo.27.1.1.zip" }, "require": { "composer/installers": "^1.0 || ^2.0" @@ -1393,35 +1526,17 @@ "type": "wordpress-plugin", "homepage": "https://wordpress.org/plugins/wordpress-seo/" }, - { - "name": "wpackagist-plugin/wp-rest-api-v2-menus", - "version": "0.12.1", - "source": { - "type": "svn", - "url": "https://plugins.svn.wordpress.org/wp-rest-api-v2-menus/", - "reference": "tags/0.12.1" - }, - "dist": { - "type": "zip", - "url": "https://downloads.wordpress.org/plugin/wp-rest-api-v2-menus.0.12.1.zip" - }, - "require": { - "composer/installers": "^1.0 || ^2.0" - }, - "type": "wordpress-plugin", - "homepage": "https://wordpress.org/plugins/wp-rest-api-v2-menus/" - }, { "name": "wpackagist-plugin/wps-hide-login", - "version": "1.9.8", + "version": "1.9.18", "source": { "type": "svn", "url": "https://plugins.svn.wordpress.org/wps-hide-login/", - "reference": "tags/1.9.8" + "reference": "tags/1.9.18" }, "dist": { "type": "zip", - "url": "https://downloads.wordpress.org/plugin/wps-hide-login.1.9.8.zip" + "url": "https://downloads.wordpress.org/plugin/wps-hide-login.1.9.18.zip" }, "require": { "composer/installers": "^1.0 || ^2.0" @@ -1433,10 +1548,10 @@ "packages-dev": [], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": {}, "prefer-stable": false, "prefer-lowest": false, - "platform": [], - "platform-dev": [], - "plugin-api-version": "1.1.0" + "platform": {}, + "platform-dev": {}, + "plugin-api-version": "2.9.0" } diff --git a/htdocs/wp-content/plugins/subscribe-to-lc/js/subscribe.js b/htdocs/wp-content/plugins/subscribe-to-lc/js/subscribe.js deleted file mode 100644 index 46da64b..0000000 --- a/htdocs/wp-content/plugins/subscribe-to-lc/js/subscribe.js +++ /dev/null @@ -1,24 +0,0 @@ -$(document).ready(function () { - $(".lc-subscrive-form").on("submit", function () { - var form = $(this) - var data = {email: form.find("#subscribe-email").val(), formId: form.find("#subscribe-from-id").val()} - $.ajax({ - url: form.attr('action'), - type: 'POST', - data: JSON.stringify(data), - contentType: 'application/json', - dataType: 'json', - success: function (data) { - if (data.success) { - msg = "Almost finished...

We need to confirm your email address.

To complete the subscription process, please click the link in the email we just sent you." - customAlert(msg); - } - form[0].reset() - }, - error: function (jqXHR) { - console.log(jqXHR) - } - }); - return false; - }) -}); diff --git a/htdocs/wp-content/plugins/subscribe-to-lc/subscribe-to-lc.php b/htdocs/wp-content/plugins/subscribe-to-lc/subscribe-to-lc.php deleted file mode 100644 index 078bc37..0000000 --- a/htdocs/wp-content/plugins/subscribe-to-lc/subscribe-to-lc.php +++ /dev/null @@ -1,63 +0,0 @@ - 'subscribetolc_widget', - ] - ); - } - - public function widget($args, $instance) - { - extract($args); - if (empty($code)) { - return; - } - - wp_enqueue_script('subscribe-to-lc-js', plugin_dir_url(__FILE__).'js/subscribe.js'); - - ?> - -
-
-
- - - - -
-
-
- - $eventType, - ]; - - return $this->doPostRequest(LAWCARTA_WP_REST_API_EVENT_LOG_URL, $data); - } - - /** - * @param $data - * @return null|string - */ - public function sendRequest($data) - { - return $this->doPostRequest(LAWCARTA_WP_REST_API_REQUEST_URL, $data); - } - - /** - * @param $sysLogId - * @param $data - * @return string|\WP_Error - */ - public function sendResponse($sysLogId, $data) - { - $data['sysLogId'] = $sysLogId; - return $this->doPostRequest(LAWCARTA_WP_REST_API_RESPONSE_URL, $data); - } - - /** - * @param $url - * @param $data - * @return string|\WP_Error - */ - private function doPostRequest($url, $data) - { - $response = wp_remote_post($url, [ - 'headers' => [ - 'Content-Type' => 'application/json', - ], - 'body' => json_encode($data), - 'sslverify' => false - - ]); - $sysLogId = null; - /** @var \WP_HTTP_Requests_Response $httpResponse */ - if(!empty($response['http_response'])){ - $httpResponse = $response['http_response']; - if ($httpResponse->get_status() == 200) { - $body = isset($response['body']) ? json_decode($response['body'], true) : null; - $sysLogId = $body['sysLogId'] ?? null; - } - } - - return $sysLogId; - } - - /** - * @return HttpClient - */ - public static function create() - { - return new self(); - } -} \ No newline at end of file diff --git a/htdocs/wp-content/plugins/wp-rest-api-event/event/EventSubscriber.php b/htdocs/wp-content/plugins/wp-rest-api-event/event/EventSubscriber.php deleted file mode 100755 index 99c1667..0000000 --- a/htdocs/wp-content/plugins/wp-rest-api-event/event/EventSubscriber.php +++ /dev/null @@ -1,159 +0,0 @@ -sendRequest(self::getSuperGlobals()); - } - - public static function onResponse(array $response, array $r, $url) - { - // todo: add response handler - } - - public static function onParseRequest() - { - // todo: add request data from wp - } - - public static function onShutdown() - { - $client = HttpClient::create(); - $client->sendResponse(self::$parentSysLogId, array_merge(self::getSuperGlobals(), [ - 'headers_list' => headers_list(), - 'response_code' => http_response_code() - ])); - } - - public static function onDemoRequest() - { - $client = HttpClient::create(); - $client->logEvent('demo-request', self::getSuperGlobals()); - } - - public static function setGlobals() - { - self::$get = $_GET; - self::$post = $_POST; - self::$cookie = $_COOKIE; - self::$session = $_SESSION; - self::$env = $_ENV; - self::$request = $_REQUEST; - self::$server = $_SERVER; - self::$userIp = self::getTheUserIp(); - self::$sessionId = $_COOKIE['PHPSESSID'] ?? null; - - - if (function_exists('getallheaders')) { - self::$headers = getallheaders(); - } elseif (function_exists('http_get_request_headers')) { - self::$headers = http_get_request_headers(); - } - } - - /** - * @return array - */ - private static function getSuperGlobals() - { - return [ - 'request' => self::$request, - 'server' => self::$server, - 'get' => self::$get, - 'post' => self::$post, - 'cookie' => self::$cookie, - 'env' => self::$env, - 'headers' => self::$headers, - 'user_ip' => self::$userIp, - 'session_id' => self::$sessionId, - ]; - } - - private static function getTheUserIp() - { - if ( ! empty($_SERVER['HTTP_CLIENT_IP'])) { - $ip = $_SERVER['HTTP_CLIENT_IP']; - } elseif ( ! empty($_SERVER['HTTP_X_FORWARDED_FOR'])) { - $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; - } else { - $ip = $_SERVER['REMOTE_ADDR']; - } - - return $ip; - } -} \ No newline at end of file diff --git a/htdocs/wp-content/plugins/wp-rest-api-event/wp-rest-api-event.php b/htdocs/wp-content/plugins/wp-rest-api-event/wp-rest-api-event.php deleted file mode 100644 index b762798..0000000 --- a/htdocs/wp-content/plugins/wp-rest-api-event/wp-rest-api-event.php +++ /dev/null @@ -1,28 +0,0 @@ - 0){ - for (var i = 0; i< links.length; i++){ - links[i].addEventListener('click', function(e){ - e.preventDefault(); - var el = closestByClass(e.target, 'feature-link'); - elemToScroll = el.hash; - scrollToHash(); - }, false); - } - } - - //we don't actually need this - $('body').on('click', '.article-index li a', function(e){ - e.preventDefault(); - elemToScroll = e.target.hash; - scrollToHash(); - }); - - +document.addEventListener("DOMContentLoaded", function(event) { + + var elemToScroll; + + function scrollToHash(){ + var feHeight = $(elemToScroll).offset().top; + + if ($('header').length && $('header').is(":visible")) { + feHeight = feHeight - $('header').outerHeight(); + } + + $('html, body').scrollTop(feHeight); + } + + function closestByClass(el, clazz) { + while (el.className !== clazz) { + el = el.parentNode; + if (!el) { + return null; + } + } + return el; + } + + if (location.hash) { + setTimeout(function() { + window.scrollTo(0, 0); + elemToScroll = location.hash; + scrollToHash(); + }, 1); + } + + var links = document.querySelectorAll('.feature-links.inner .feature-link'); + if (links.length > 0){ + for (var i = 0; i< links.length; i++){ + links[i].addEventListener('click', function(e){ + e.preventDefault(); + var el = closestByClass(e.target, 'feature-link'); + elemToScroll = el.hash; + scrollToHash(); + }, false); + } + } + + //we don't actually need this + $('body').on('click', '.article-index li a', function(e){ + e.preventDefault(); + elemToScroll = e.target.hash; + scrollToHash(); + }); + + }); \ No newline at end of file diff --git a/htdocs/wp-content/themes/lawcarta/assets/js/modernizr-custom.js b/wordpress/wp-content/themes/lawcarta/assets/js/modernizr-custom.js similarity index 100% rename from htdocs/wp-content/themes/lawcarta/assets/js/modernizr-custom.js rename to wordpress/wp-content/themes/lawcarta/assets/js/modernizr-custom.js diff --git a/htdocs/wp-content/themes/lawcarta/assets/js/promoImage.js b/wordpress/wp-content/themes/lawcarta/assets/js/promoImage.js similarity index 100% rename from htdocs/wp-content/themes/lawcarta/assets/js/promoImage.js rename to wordpress/wp-content/themes/lawcarta/assets/js/promoImage.js diff --git a/htdocs/wp-content/themes/lawcarta/assets/js/promoPopup.js b/wordpress/wp-content/themes/lawcarta/assets/js/promoPopup.js similarity index 100% rename from htdocs/wp-content/themes/lawcarta/assets/js/promoPopup.js rename to wordpress/wp-content/themes/lawcarta/assets/js/promoPopup.js diff --git a/htdocs/wp-content/themes/lawcarta/assets/js/sliderScript.js b/wordpress/wp-content/themes/lawcarta/assets/js/sliderScript.js similarity index 100% rename from htdocs/wp-content/themes/lawcarta/assets/js/sliderScript.js rename to wordpress/wp-content/themes/lawcarta/assets/js/sliderScript.js diff --git a/htdocs/wp-content/themes/lawcarta/assets/js/splide/splide.min.css b/wordpress/wp-content/themes/lawcarta/assets/js/splide/splide.min.css similarity index 100% rename from htdocs/wp-content/themes/lawcarta/assets/js/splide/splide.min.css rename to wordpress/wp-content/themes/lawcarta/assets/js/splide/splide.min.css diff --git a/htdocs/wp-content/themes/lawcarta/assets/js/splide/splide.min.js b/wordpress/wp-content/themes/lawcarta/assets/js/splide/splide.min.js similarity index 100% rename from htdocs/wp-content/themes/lawcarta/assets/js/splide/splide.min.js rename to wordpress/wp-content/themes/lawcarta/assets/js/splide/splide.min.js diff --git a/htdocs/wp-content/themes/lawcarta/assets/js/ui.js b/wordpress/wp-content/themes/lawcarta/assets/js/ui.js similarity index 100% rename from htdocs/wp-content/themes/lawcarta/assets/js/ui.js rename to wordpress/wp-content/themes/lawcarta/assets/js/ui.js diff --git a/htdocs/wp-content/themes/lawcarta/footer-back.php b/wordpress/wp-content/themes/lawcarta/footer-back.php similarity index 100% rename from htdocs/wp-content/themes/lawcarta/footer-back.php rename to wordpress/wp-content/themes/lawcarta/footer-back.php diff --git a/htdocs/wp-content/themes/lawcarta/footer.php b/wordpress/wp-content/themes/lawcarta/footer.php similarity index 100% rename from htdocs/wp-content/themes/lawcarta/footer.php rename to wordpress/wp-content/themes/lawcarta/footer.php diff --git a/htdocs/wp-content/themes/lawcarta/functions.php b/wordpress/wp-content/themes/lawcarta/functions.php similarity index 100% rename from htdocs/wp-content/themes/lawcarta/functions.php rename to wordpress/wp-content/themes/lawcarta/functions.php diff --git a/htdocs/wp-content/themes/lawcarta/header.php b/wordpress/wp-content/themes/lawcarta/header.php similarity index 100% rename from htdocs/wp-content/themes/lawcarta/header.php rename to wordpress/wp-content/themes/lawcarta/header.php diff --git a/htdocs/wp-content/themes/lawcarta/inc/menu-item-custom-fields.php b/wordpress/wp-content/themes/lawcarta/inc/menu-item-custom-fields.php similarity index 100% rename from htdocs/wp-content/themes/lawcarta/inc/menu-item-custom-fields.php rename to wordpress/wp-content/themes/lawcarta/inc/menu-item-custom-fields.php diff --git a/htdocs/wp-content/themes/lawcarta/inc/walker-nav-menu.php b/wordpress/wp-content/themes/lawcarta/inc/walker-nav-menu.php similarity index 100% rename from htdocs/wp-content/themes/lawcarta/inc/walker-nav-menu.php rename to wordpress/wp-content/themes/lawcarta/inc/walker-nav-menu.php diff --git a/htdocs/wp-content/themes/lawcarta/index.php b/wordpress/wp-content/themes/lawcarta/index.php similarity index 100% rename from htdocs/wp-content/themes/lawcarta/index.php rename to wordpress/wp-content/themes/lawcarta/index.php diff --git a/htdocs/wp-content/themes/lawcarta/page-blog.php b/wordpress/wp-content/themes/lawcarta/page-blog.php similarity index 100% rename from htdocs/wp-content/themes/lawcarta/page-blog.php rename to wordpress/wp-content/themes/lawcarta/page-blog.php diff --git a/htdocs/wp-content/themes/lawcarta/page-contact.php b/wordpress/wp-content/themes/lawcarta/page-contact.php similarity index 100% rename from htdocs/wp-content/themes/lawcarta/page-contact.php rename to wordpress/wp-content/themes/lawcarta/page-contact.php diff --git a/htdocs/wp-content/themes/lawcarta/page-publish-your-book.php b/wordpress/wp-content/themes/lawcarta/page-publish-your-book.php similarity index 100% rename from htdocs/wp-content/themes/lawcarta/page-publish-your-book.php rename to wordpress/wp-content/themes/lawcarta/page-publish-your-book.php diff --git a/htdocs/wp-content/themes/lawcarta/page.php b/wordpress/wp-content/themes/lawcarta/page.php similarity index 100% rename from htdocs/wp-content/themes/lawcarta/page.php rename to wordpress/wp-content/themes/lawcarta/page.php diff --git a/htdocs/wp-content/themes/lawcarta/page_fac.php b/wordpress/wp-content/themes/lawcarta/page_fac.php similarity index 100% rename from htdocs/wp-content/themes/lawcarta/page_fac.php rename to wordpress/wp-content/themes/lawcarta/page_fac.php diff --git a/htdocs/wp-content/themes/lawcarta/page_home.php b/wordpress/wp-content/themes/lawcarta/page_home.php similarity index 100% rename from htdocs/wp-content/themes/lawcarta/page_home.php rename to wordpress/wp-content/themes/lawcarta/page_home.php diff --git a/htdocs/wp-content/themes/lawcarta/page_inter.php b/wordpress/wp-content/themes/lawcarta/page_inter.php similarity index 100% rename from htdocs/wp-content/themes/lawcarta/page_inter.php rename to wordpress/wp-content/themes/lawcarta/page_inter.php diff --git a/htdocs/wp-content/themes/lawcarta/page_resource_item.php b/wordpress/wp-content/themes/lawcarta/page_resource_item.php similarity index 96% rename from htdocs/wp-content/themes/lawcarta/page_resource_item.php rename to wordpress/wp-content/themes/lawcarta/page_resource_item.php index a060108..dc95040 100644 --- a/htdocs/wp-content/themes/lawcarta/page_resource_item.php +++ b/wordpress/wp-content/themes/lawcarta/page_resource_item.php @@ -1,46 +1,46 @@ - -
- - - -
- - +
+ + + +
+ + + deny from all + \ No newline at end of file