From c08c7774a5b9d71801c3f795e555154098ba57f3 Mon Sep 17 00:00:00 2001 From: Jura Khrapunov Date: Sun, 22 Dec 2024 13:44:19 -0500 Subject: [PATCH] Updated defaults and acquia_cloud_cert_deployments dependencies --- README.md | 30 +- acquia_cloud_cert_deployment/composer.json | 8 +- acquia_cloud_cert_deployment/composer.lock | 511 +++++++++++++++--- ...{config_site.env.sh => config_undp.env.sh} | 0 .../letsencrypt_drupal/dehydrated/config.sh | 2 +- ...ains_site.env.txt => domains_undp.env.txt} | 0 example_project_config/secrets.settings.php | 4 +- functions.sh | 12 +- letsencrypt_drupal.sh | 4 +- 9 files changed, 460 insertions(+), 111 deletions(-) rename example_project_config/letsencrypt_drupal/{config_site.env.sh => config_undp.env.sh} (100%) rename example_project_config/letsencrypt_drupal/{domains_site.env.txt => domains_undp.env.txt} (100%) diff --git a/README.md b/README.md index 9800766..e2b8cfa 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +Forked and adpated from https://github.com/morpht/letsencrypt_drupal + # Let's Encrypt Drupal Wrapper script for https://github.com/dehydrated-io/dehydrated opinionated towards running in Drupal hosting environments and reporting to Slack. Slack is optional. Let's Encrypt challenge is published trough Drupal using Drush. There is no need to alter webserver settings or upload files. @@ -25,7 +27,7 @@ Wrapper script for https://github.com/dehydrated-io/dehydrated opinionated towar * (Altering the list of domains in project repository results in generating new certificate.) * Upload new certificate to Acquia. * Activate the certificate. - * Post the results to Slack + * Post the results to Slack ## Requirements @@ -42,36 +44,36 @@ These steps are for `prod` environment of PROJECT on Acquia Cloud. Can be easily * `ssh PROJECT.prod@srv-XXXX.devcloud.hosting.acquia.com` * (You can get the address on "Servers" tab in Acquia UI) * `cd ~` - * `git clone https://github.com/morpht/letsencrypt_drupal.git` + * `git clone https://github.com/undp/letsencrypt_drupal.git` * In project root * Add letsencrypt_drupal configuration. - * `git clone https://github.com/morpht/letsencrypt_drupal.git tmp_lea` # Temporarily get the repository to get example configuration files. + * `git clone https://github.com/undp/letsencrypt_drupal.git tmp_lea` # Temporarily get the repository to get example configuration files. * `cp -r tmp_lea/example_project_config/* .` # Copy the configuration. * `rm -rf tmp_lea/` - * Edit `letsencrypt_drupal/dehydrated/config.sh` + * Edit `letsencrypt_drupal/dehydrated/config.sh` * You need to set your e-mail. The script provides the rest of defaults needed to get a certificate. * You can alter other values as described here: https://github.com/dehydrated-io/dehydrated/blob/master/docs/examples/config - * Edit `letsencrypt_drupal/domains_site.env.txt` + * Edit `letsencrypt_drupal/domains_undp.env.txt` * Rename it based on site alias you are going to be using. * For multiple environments create multiple copies of this file. * One line, space separated list of domains. * First domain will be set as Common name * Others are set as SANs - * Edit `letsencrypt_drupal/config_site.env.sh` + * Edit `letsencrypt_drupal/config_undp.env.sh` * Slack is optional. If you don't want to use it, just set `$SLACK_WEBHOOK_URL` to empty string. * Get your webhook url here: https://my.slack.com/services/new/incoming-webhook/ * Set the webhook url and target channel variables. * Certificate deployment is optional. - * Fallback is just posting instructions in Salck/Log file. + * Fallback is just posting instructions in Slack/Log file. * Set the `$CERT_DEPLOY_ENVIRONMENT_UUID` (Environment uuid needs to be aligned with the `env` of the file name.) - * Multiple environments mean multiple config files. For example `test` and `prod`: - * `config_site.test.sh` - * `config_site.prod.sh` - * `domains_site.test.txt` - * `domains_site.prod.txt` + * Multiple environments mean multiple config files. For example `test` and `live`: + * `config_undp.01test.sh` + * `config_undp.01live.sh` + * `domains_undp.01test.txt` + * `domains_undp.01live.txt` * `secrets.settings.php` * Should *not* be committed in project repository. - * Should be placed on Acquia server here: `/mnt/files/PROJECT.prod/secrets.settings.php` + * Should be placed on Acquia server here: `/mnt/files/undp.01live/secrets.settings.php` * Add https://www.drupal.org/project/letsencrypt_challenge module. * `composer require drupal/letsencrypt_challenge` * Commit and deploy to production. @@ -82,7 +84,7 @@ These steps are for `prod` environment of PROJECT on Acquia Cloud. Can be easily * You should have 60 days of time (with default settings) even if something fails or new manual certificate upload is needed. * New job: * Job name: `LE renew cert` (just a default, feel free change it) - * Command: `/home/PROJECT/letsencrypt_drupal/letsencrypt_drupal.sh PROJECT prod &>> /var/log/sites/${AH_SITE_NAME}/logs/$(hostname -s)/letsencrypt_drupal.log` + * Command: `/home/undp/letsencrypt_drupal/letsencrypt_drupal.sh undp 01live &>> /var/log/sites/${AH_SITE_NAME}/logs/$(hostname -s)/letsencrypt_drupal.log` * Command frequency `0 7 * * 1` ( https://crontab.guru/#0_7_*_*_1 ) * It's good idea to run the command on Acquia manually first time to check if all is OK. * First script run will post results/instructions to Slack. diff --git a/acquia_cloud_cert_deployment/composer.json b/acquia_cloud_cert_deployment/composer.json index 4300b1c..423c667 100644 --- a/acquia_cloud_cert_deployment/composer.json +++ b/acquia_cloud_cert_deployment/composer.json @@ -1,9 +1,9 @@ { - "name": "vagrant/acquia_cloud_cert_deployment", + "name": "undp/acquia_cloud_cert_deployment", "type": "project", "require": { - "nategood/commando": "^0.3.0", - "acquia/http-hmac-php": "^4.0", - "guzzlehttp/guzzle": "^6.3" + "nategood/commando": "*", + "acquia/http-hmac-php": "^6.1.1", + "guzzlehttp/guzzle": "^7.9.2" } } diff --git a/acquia_cloud_cert_deployment/composer.lock b/acquia_cloud_cert_deployment/composer.lock index a405051..bdc4671 100644 --- a/acquia_cloud_cert_deployment/composer.lock +++ b/acquia_cloud_cert_deployment/composer.lock @@ -4,46 +4,44 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "53bee355d7b3dc15040e2186cfd9c64e", + "content-hash": "8f43fa653bd37e840ee48ea050bd08aa", "packages": [ { "name": "acquia/http-hmac-php", - "version": "4.0.1", + "version": "6.1.1", "source": { "type": "git", "url": "https://github.com/acquia/http-hmac-php.git", - "reference": "da3ad88dc10ded01a666e520b56f5e7517590a37" + "reference": "48b8a9a6e6984ab6a19f432849b6cfb5a5a42a59" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/acquia/http-hmac-php/zipball/da3ad88dc10ded01a666e520b56f5e7517590a37", - "reference": "da3ad88dc10ded01a666e520b56f5e7517590a37", + "url": "https://api.github.com/repos/acquia/http-hmac-php/zipball/48b8a9a6e6984ab6a19f432849b6cfb5a5a42a59", + "reference": "48b8a9a6e6984ab6a19f432849b6cfb5a5a42a59", "shasum": "" }, "require": { - "php": "~5.6 || ~7.0", - "psr/http-message": "~1.0.0" + "php": ">=7.3.0", + "psr/http-message": "^1.0 || ^2.0" }, "replace": { "acquia/hmac-request": "self.version" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.11", - "guzzlehttp/guzzle": "~6.0", - "phploc/phploc": "^4.0", + "friendsofphp/php-cs-fixer": "^3.2.1", + "guzzlehttp/guzzle": "^6.0", + "nyholm/psr7": "^1.0", + "php-coveralls/php-coveralls": "^2.2", "phpmd/phpmd": "^2.0", - "phpunit/phpunit": "~5.7", - "sebastian/phpcpd": "^2.0", - "symfony/psr-http-message-bridge": "^1.0", - "symfony/security": "^3.0 | ^4.0", - "symfony/security-bundle": "^3.0 | ^4.0", - "zendframework/zend-diactoros": "^1.3" + "phpunit/phpunit": "^8.0", + "symfony/phpunit-bridge": "^4.0 || ^5.0", + "symfony/psr-http-message-bridge": "^2.0", + "symfony/security-bundle": "^4.0 || ^5.0" }, "suggest": { - "guzzlehttp/guzzle": "~6.0", - "symfony/psr-http-message-bridge": "^1.0", - "symfony/security": "^3.0 | ^4.0", - "zendframework/zend-diactoros": "^1.3" + "guzzlehttp/guzzle": "^6.0", + "laminas/laminas-diactoros": "^1.8 || ^2.2", + "symfony/security": "^4.0 || ^5.0" }, "type": "library", "autoload": { @@ -63,39 +61,55 @@ ], "description": "An implementation of the HTTP HMAC Spec in PHP that integrates with popular libraries such as Symfony and Guzzle.", "homepage": "https://github.com/acquia/http-hmac-php", - "time": "2018-03-23T16:51:53+00:00" + "support": { + "issues": "https://github.com/acquia/http-hmac-php/issues", + "source": "https://github.com/acquia/http-hmac-php/tree/6.1.1" + }, + "time": "2024-12-18T19:14:26+00:00" }, { "name": "guzzlehttp/guzzle", - "version": "6.3.3", + "version": "7.9.2", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "407b0cb880ace85c9b63c5f9551db498cb2d50ba" + "reference": "d281ed313b989f213357e3be1a179f02196ac99b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/407b0cb880ace85c9b63c5f9551db498cb2d50ba", - "reference": "407b0cb880ace85c9b63c5f9551db498cb2d50ba", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/d281ed313b989f213357e3be1a179f02196ac99b", + "reference": "d281ed313b989f213357e3be1a179f02196ac99b", "shasum": "" }, "require": { - "guzzlehttp/promises": "^1.0", - "guzzlehttp/psr7": "^1.4", - "php": ">=5.5" + "ext-json": "*", + "guzzlehttp/promises": "^1.5.3 || ^2.0.3", + "guzzlehttp/psr7": "^2.7.0", + "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.0" + "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.3-dev" + "bamarni-bin": { + "bin-links": true, + "forward-command": false } }, "autoload": { @@ -111,128 +125,240 @@ "MIT" ], "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, { "name": "Michael Dowling", "email": "mtdowling@gmail.com", "homepage": "https://github.com/mtdowling" + }, + { + "name": "Jeremy Lindblom", + "email": "jeremeamia@gmail.com", + "homepage": "https://github.com/jeremeamia" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" } ], "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" ], - "time": "2018-04-22T15:46:56+00:00" + "support": { + "issues": "https://github.com/guzzle/guzzle/issues", + "source": "https://github.com/guzzle/guzzle/tree/7.9.2" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/guzzle", + "type": "tidelift" + } + ], + "time": "2024-07-24T11:22:20+00:00" }, { "name": "guzzlehttp/promises", - "version": "v1.3.1", + "version": "2.0.4", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646" + "reference": "f9c436286ab2892c7db7be8c8da4ef61ccf7b455" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646", - "reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646", + "url": "https://api.github.com/repos/guzzle/promises/zipball/f9c436286ab2892c7db7be8c8da4ef61ccf7b455", + "reference": "f9c436286ab2892c7db7be8c8da4ef61ccf7b455", "shasum": "" }, "require": { - "php": ">=5.5.0" + "php": "^7.2.5 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "^4.0" + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.39 || ^9.6.20" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "1.4-dev" + "bamarni-bin": { + "bin-links": true, + "forward-command": false } }, "autoload": { "psr-4": { "GuzzleHttp\\Promise\\": "src/" - }, - "files": [ - "src/functions_include.php" - ] + } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, { "name": "Michael Dowling", "email": "mtdowling@gmail.com", "homepage": "https://github.com/mtdowling" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" } ], "description": "Guzzle promises library", "keywords": [ "promise" ], - "time": "2016-12-20T10:07:11+00:00" + "support": { + "issues": "https://github.com/guzzle/promises/issues", + "source": "https://github.com/guzzle/promises/tree/2.0.4" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/promises", + "type": "tidelift" + } + ], + "time": "2024-10-17T10:06:22+00:00" }, { "name": "guzzlehttp/psr7", - "version": "1.5.2", + "version": "2.7.0", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "9f83dded91781a01c63574e387eaa769be769115" + "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/9f83dded91781a01c63574e387eaa769be769115", - "reference": "9f83dded91781a01c63574e387eaa769be769115", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/a70f5c95fb43bc83f07c9c948baa0dc1829bf201", + "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201", "shasum": "" }, "require": { - "php": ">=5.4.0", - "psr/http-message": "~1.0", - "ralouphie/getallheaders": "^2.0.5" + "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": { - "phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.8" + "bamarni/composer-bin-plugin": "^1.8.2", + "http-interop/http-factory-tests": "0.9.0", + "phpunit/phpunit": "^8.5.39 || ^9.6.20" + }, + "suggest": { + "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "1.5-dev" + "bamarni-bin": { + "bin-links": true, + "forward-command": false } }, "autoload": { "psr-4": { "GuzzleHttp\\Psr7\\": "src/" - }, - "files": [ - "src/functions_include.php" - ] + } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, { "name": "Michael Dowling", "email": "mtdowling@gmail.com", "homepage": "https://github.com/mtdowling" }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, { "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", @@ -246,7 +372,25 @@ "uri", "url" ], - "time": "2018-12-04T20:46:45+00:00" + "support": { + "issues": "https://github.com/guzzle/psr7/issues", + "source": "https://github.com/guzzle/psr7/tree/2.7.0" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/psr7", + "type": "tidelift" + } + ], + "time": "2024-07-18T11:15:46+00:00" }, { "name": "kevinlebrun/colors.php", @@ -297,25 +441,32 @@ "console", "shell" ], + "support": { + "issues": "https://github.com/kevinlebrun/colors.php/issues", + "source": "https://github.com/kevinlebrun/colors.php/tree/0.4.1" + }, "time": "2014-12-23T01:23:37+00:00" }, { "name": "nategood/commando", - "version": "0.3.0", + "version": "1.0.0", "source": { "type": "git", "url": "https://github.com/nategood/commando.git", - "reference": "bf0f579de672503f78d997da3fe2fad0d42380e7" + "reference": "23419fa47c702c8a5b5ba9afd7240aa3019eb484" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nategood/commando/zipball/bf0f579de672503f78d997da3fe2fad0d42380e7", - "reference": "bf0f579de672503f78d997da3fe2fad0d42380e7", + "url": "https://api.github.com/repos/nategood/commando/zipball/23419fa47c702c8a5b5ba9afd7240aa3019eb484", + "reference": "23419fa47c702c8a5b5ba9afd7240aa3019eb484", "shasum": "" }, "require": { "kevinlebrun/colors.php": "~0.2", - "php": ">=5.4" + "php": ">=8.0" + }, + "require-dev": { + "phpunit/phpunit": "^11.1" }, "type": "library", "autoload": { @@ -343,29 +494,140 @@ "command line interface", "scripting" ], - "time": "2018-07-15T13:44:17+00:00" + "support": { + "issues": "https://github.com/nategood/commando/issues", + "source": "https://github.com/nategood/commando/tree/v1.0.0" + }, + "time": "2024-05-01T01:09:33+00:00" + }, + { + "name": "psr/http-client", + "version": "1.0.3", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-client.git", + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90", + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90", + "shasum": "" + }, + "require": { + "php": "^7.0 || ^8.0", + "psr/http-message": "^1.0 || ^2.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "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": { + "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": "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": "1.0.1", + "version": "2.0", "source": { "type": "git", "url": "https://github.com/php-fig/http-message.git", - "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" + "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", - "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71", + "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": "^7.2 || ^8.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { @@ -380,7 +642,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common interface for HTTP messages", @@ -393,28 +655,31 @@ "request", "response" ], - "time": "2016-08-06T14:39:51+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", - "version": "2.0.5", + "version": "3.0.3", "source": { "type": "git", "url": "https://github.com/ralouphie/getallheaders.git", - "reference": "5601c8a83fbba7ef674a7369456d12f1e0d0eafa" + "reference": "120b605dfeb996808c31b6477290a714d356e822" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/5601c8a83fbba7ef674a7369456d12f1e0d0eafa", - "reference": "5601c8a83fbba7ef674a7369456d12f1e0d0eafa", + "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822", + "reference": "120b605dfeb996808c31b6477290a714d356e822", "shasum": "" }, "require": { - "php": ">=5.3" + "php": ">=5.6" }, "require-dev": { - "phpunit/phpunit": "~3.7.0", - "satooshi/php-coveralls": ">=1.0" + "php-coveralls/php-coveralls": "^2.1", + "phpunit/phpunit": "^5 || ^6.5" }, "type": "library", "autoload": { @@ -433,15 +698,87 @@ } ], "description": "A polyfill for getallheaders.", - "time": "2016-02-11T07:05:27+00:00" + "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/deprecation-contracts", + "version": "v3.5.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/deprecation-contracts.git", + "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6", + "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.5-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "files": [ + "function.php" + ] + }, + "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": "A generic function and convention to trigger deprecation notices", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.1" + }, + "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": "2024-09-25T14:20:29+00:00" } ], "packages-dev": [], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": {}, "prefer-stable": false, "prefer-lowest": false, - "platform": [], - "platform-dev": [] + "platform": {}, + "platform-dev": {}, + "plugin-api-version": "2.6.0" } diff --git a/example_project_config/letsencrypt_drupal/config_site.env.sh b/example_project_config/letsencrypt_drupal/config_undp.env.sh similarity index 100% rename from example_project_config/letsencrypt_drupal/config_site.env.sh rename to example_project_config/letsencrypt_drupal/config_undp.env.sh diff --git a/example_project_config/letsencrypt_drupal/dehydrated/config.sh b/example_project_config/letsencrypt_drupal/dehydrated/config.sh index 979d670..f4f5d7c 100644 --- a/example_project_config/letsencrypt_drupal/dehydrated/config.sh +++ b/example_project_config/letsencrypt_drupal/dehydrated/config.sh @@ -1,6 +1,6 @@ # Only overrides here. # @See: https://github.com/dehydrated-io/dehydrated/blob/master/docs/examples/config -CONTACT_EMAIL="contact+PROJECT@morpht.com" +CONTACT_EMAIL="jura.khrapunov@undp.org" # Minimum days before expiration to automatically renew certificate (default: 30) # 60 for forcing new cert every month. (Fresh cert expires in 90 days.) diff --git a/example_project_config/letsencrypt_drupal/domains_site.env.txt b/example_project_config/letsencrypt_drupal/domains_undp.env.txt similarity index 100% rename from example_project_config/letsencrypt_drupal/domains_site.env.txt rename to example_project_config/letsencrypt_drupal/domains_undp.env.txt diff --git a/example_project_config/secrets.settings.php b/example_project_config/secrets.settings.php index 9cce719..b48e9d8 100644 --- a/example_project_config/secrets.settings.php +++ b/example_project_config/secrets.settings.php @@ -1,5 +1,5 @@