Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Provide webhook for new releases #420

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@
# Real environment variables win over .env files.
#
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
# https://symfony.com/doc/current/configuration/secrets.html
#
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration

###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=1a7aae67ad2d7c7ec1efeb892cbff4ff
#TRUSTED_PROXIES=127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
#TRUSTED_HOSTS='^(localhost|example\.com)$'
###< symfony/framework-bundle ###

###> doctrine/doctrine-bundle ###
Expand All @@ -34,7 +33,7 @@ CORS_ALLOW_ORIGIN=^https?://(get\.typo3\.org)(:[0-9]+)?$
###< nelmio/cors-bundle ###

###> symfony/mailer ###
# MAILER_DSN=smtp://localhost
# MAILER_DSN=null://null
###< symfony/mailer ###

# todo: reduce to APP_DOMAIN
Expand All @@ -44,3 +43,10 @@ APP_DOMAIN=typo3.org
###> t3g/symfony-usercentrics-bundle ###
USERCENTRICS_ID="R9wBKTwzv"
###< t3g/symfony-usercentrics-bundle ###

###> symfony/messenger ###
# Choose one of the transports below
# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
###< symfony/messenger ###
40 changes: 7 additions & 33 deletions bin/console
Original file line number Diff line number Diff line change
Expand Up @@ -3,41 +3,15 @@

use App\Kernel;
use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Component\Console\Input\ArgvInput;
use Symfony\Component\Dotenv\Dotenv;
use Symfony\Component\ErrorHandler\Debug;

if (!in_array(PHP_SAPI, ['cli', 'phpdbg', 'embed'], true)) {
echo 'Warning: The console should be invoked via the CLI version of PHP, not the '.PHP_SAPI.' SAPI'.PHP_EOL;
if (!is_file(dirname(__DIR__).'/vendor/autoload_runtime.php')) {
throw new LogicException('Symfony Runtime is missing. Try running "composer require symfony/runtime".');
}

set_time_limit(0);
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';

require dirname(__DIR__).'/vendor/autoload.php';
return function (array $context) {
$kernel = new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);

if (!class_exists(Application::class) || !class_exists(Dotenv::class)) {
throw new LogicException('You need to add "symfony/framework-bundle" and "symfony/dotenv" as Composer dependencies.');
}

$input = new ArgvInput();
if (null !== $env = $input->getParameterOption(['--env', '-e'], null, true)) {
putenv('APP_ENV='.$_SERVER['APP_ENV'] = $_ENV['APP_ENV'] = $env);
}

if ($input->hasParameterOption('--no-debug', true)) {
putenv('APP_DEBUG='.$_SERVER['APP_DEBUG'] = $_ENV['APP_DEBUG'] = '0');
}

(new Dotenv())->bootEnv(dirname(__DIR__).'/.env');

if ($_SERVER['APP_DEBUG']) {
umask(0000);

if (class_exists(Debug::class)) {
Debug::enable();
}
}

$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
$application = new Application($kernel);
$application->run($input);
return new Application($kernel);
};
132 changes: 67 additions & 65 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,76 +36,77 @@
"ext-json": "*",
"ext-sqlite3": "*",
"ext-zlib": "*",
"composer/semver": "^3.3",
"doctrine/collections": "^1.6",
"doctrine/dbal": "^3.3",
"doctrine/doctrine-bundle": "^2.7",
"doctrine/doctrine-migrations-bundle": "^3.2",
"doctrine/inflector": "^2.0",
"doctrine/orm": "^2.12",
"doctrine/persistence": "^2.5",
"easycorp/easyadmin-bundle": "^4.3",
"erusev/parsedown": "^1.7",
"guzzlehttp/guzzle": "^7.4",
"guzzlehttp/promises": "^1.5",
"jms/serializer": "^3.17",
"jms/serializer-bundle": "^4.0.2",
"composer/semver": "^3.3.2",
"doctrine/collections": "^2.1.2",
"doctrine/dbal": "^3.6.2",
"doctrine/doctrine-bundle": "^2.9.1",
"doctrine/doctrine-migrations-bundle": "^3.2.2",
"doctrine/inflector": "^2.0.6",
"doctrine/orm": "^2.14.3",
"doctrine/persistence": "^3.1.4",
"easycorp/easyadmin-bundle": "^4.6.1",
"erusev/parsedown": "^1.7.4",
"guzzlehttp/guzzle": "^7.5.1",
"guzzlehttp/promises": "^1.5.2",
"jms/serializer": "^3.23",
"jms/serializer-bundle": "^4.2.0",
"knplabs/knp-menu": "^3.3",
"nelmio/api-doc-bundle": "^4.9",
"nelmio/cors-bundle": "^2.2",
"nelmio/security-bundle": "^2.5",
"psr/log": "^2.0",
"symfony/asset": "^6.2",
"symfony/cache": "^6.2",
"symfony/cache-contracts": "^2.5",
"symfony/console": "^6.2",
"symfony/dependency-injection": "^6.2",
"symfony/dotenv": "^6.2",
"symfony/expression-language": "^6.2",
"symfony/flex": "^2.2",
"symfony/form": "^6.2",
"symfony/framework-bundle": "^6.2",
"symfony/http-client": "^6.2",
"symfony/http-foundation": "^6.2",
"symfony/http-kernel": "^6.2",
"symfony/intl": "^6.2",
"symfony/mailer": "^6.2",
"symfony/mime": "^6.2",
"symfony/monolog-bundle": "^3.1",
"symfony/notifier": "^6.2",
"symfony/process": "^6.2",
"symfony/property-access": "^6.2",
"symfony/property-info": "^6.2",
"symfony/proxy-manager-bridge": "^6.2",
"symfony/routing": "^6.2",
"symfony/runtime": "^6.2",
"symfony/security-bundle": "^6.2",
"symfony/security-http": "^6.2",
"symfony/serializer": "^6.2",
"symfony/translation": "^6.2",
"symfony/twig-bundle": "^6.2",
"symfony/validator": "^6.2",
"symfony/web-link": "^6.2",
"symfony/yaml": "^6.2",
"t3g/symfony-template-bundle": "^3.4",
"nelmio/api-doc-bundle": "^4.11.1",
"nelmio/cors-bundle": "^2.3.1",
"nelmio/security-bundle": "^3",
"psr/log": "^3.0",
"symfony/asset": "^6.2.7",
"symfony/cache": "^6.2.8",
"symfony/cache-contracts": "^3.2.1",
"symfony/console": "^6.2.8",
"symfony/dependency-injection": "^6.3",
"symfony/dotenv": "^6.2.8",
"symfony/expression-language": "^6.2.7",
"symfony/flex": "^2.2.5",
"symfony/form": "^6.2.8",
"symfony/framework-bundle": "^6.3",
"symfony/http-client": "^6.3",
"symfony/http-foundation": "^6.3",
"symfony/http-kernel": "^6.3",
"symfony/intl": "^6.2.9",
"symfony/mailer": "^6.2.8",
"symfony/mime": "^6.2.7",
"symfony/monolog-bundle": "^3.8",
"symfony/notifier": "^6.2.8",
"symfony/process": "^6.2.8",
"symfony/property-access": "^6.2.8",
"symfony/property-info": "^6.2.8",
"symfony/proxy-manager-bridge": "^6.3",
"symfony/routing": "^6.2.8",
"symfony/runtime": "^6.2.8",
"symfony/security-bundle": "^6.2.8",
"symfony/security-http": "^6.2.8",
"symfony/serializer": "^6.3",
"symfony/translation": "^6.2.8",
"symfony/twig-bundle": "^6.2.7",
"symfony/validator": "^6.3",
"symfony/web-link": "^6.2.7",
"symfony/webhook": "^6.3",
"symfony/yaml": "^6.2.7",
"t3g/symfony-template-bundle": "^3.5",
"t3g/symfony-usercentrics-bundle": "^1.0.2 || dev-master",
"twig/extra-bundle": "^2.12 || ^3.0",
"twig/twig": "^2.12 || ^3.0"
"twig/extra-bundle": "^3.5.1",
"twig/twig": "^3.5.1"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8",
"doctrine/doctrine-fixtures-bundle": "^3.4",
"ergebnis/composer-normalize": "^2.28",
"fakerphp/faker": "^1.20",
"bamarni/composer-bin-plugin": "^1.8.2",
"doctrine/doctrine-fixtures-bundle": "^3.4.3",
"ergebnis/composer-normalize": "^2.30.2",
"fakerphp/faker": "^1.21",
"roave/security-advisories": "dev-latest",
"symfony/browser-kit": "^6.2",
"symfony/css-selector": "^6.2",
"symfony/debug-bundle": "^6.2",
"symfony/maker-bundle": "^1.45",
"symfony/panther": "^2.0",
"symfony/stopwatch": "^6.2",
"symfony/var-dumper": "^6.2",
"symfony/web-profiler-bundle": "^6.2"
"symfony/browser-kit": "^6.2.7",
"symfony/css-selector": "^6.2.7",
"symfony/debug-bundle": "^6.2.7",
"symfony/maker-bundle": "^1.48",
"symfony/panther": "^2.0.1",
"symfony/stopwatch": "^6.2.7",
"symfony/var-dumper": "^6.2.8",
"symfony/web-profiler-bundle": "^6.2.7"
},
"replace": {
"paragonie/random_compat": "2.*",
Expand All @@ -128,6 +129,7 @@
"conflict": {
"symfony/symfony": "*"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-4": {
Expand Down
Loading