Skip to content
Closed
Show file tree
Hide file tree
Changes from 19 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
6 changes: 6 additions & 0 deletions .devcontainer/.env.devcontainer
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@ MAILER_DSN=smtp://mailserver # Use a SMTP Docker service called 'mailserver' (se
# MAILER_DSN=smtp://user%40domain.com:pass@smtp.example.com:port
###< symfony/mailer ###

###> symfony/routing ###
# Configure how to generate URLs in non-HTTP contexts, such as CLI commands.
# See https://symfony.com/doc/current/routing.html#generating-urls-in-commands
DEFAULT_URI=http://localhost
###< symfony/routing ###

###> symfony/mailgun-mailer ###
# MAILER_DSN=mailgun://KEY:DOMAIN@default?region=us
# MAILER_DSN=mailgun+smtp://postmaster@sandboxxx.mailgun.org:key@default?region=us
Expand Down
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ indent_style = space
indent_size = 4
quote_type = single

[{compose.yaml,compose.*.yaml}]
indent_size = 2

[*.md]
trim_trailing_whitespace = false

Expand Down
7 changes: 7 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,13 @@ MAILER_DSN=smtp://127.0.0.1 # When you have a local SMTP server listening
# MAILER_DSN=smtp://username:password@smtpserver.tld:465?encryption=ssl&auth_mode=log
###< symfony/mailer ###


###> symfony/routing ###
# Configure how to generate URLs in non-HTTP contexts, such as CLI commands.
# See https://symfony.com/doc/current/routing.html#generating-urls-in-commands
DEFAULT_URI=http://localhost
###< symfony/routing ###

###> symfony/mailgun-mailer ###
# MAILER_DSN=mailgun://KEY:DOMAIN@default?region=us
# MAILER_DSN=mailgun+smtp://postmaster@sandboxxx.mailgun.org:key@default?region=us
Expand Down
6 changes: 6 additions & 0 deletions .env.example_docker
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,12 @@ MAILER_DSN=smtp://mailserver # Use a SMTP Docker service called 'mailserver'
# MAILER_DSN=mailgun+smtp://postmaster@sandboxxx.mailgun.org:key@default?region=us
###< symfony/mailgun-mailer ###

###> symfony/routing ###
# Configure how to generate URLs in non-HTTP contexts, such as CLI commands.
# See https://symfony.com/doc/current/routing.html#generating-urls-in-commands
DEFAULT_URI=http://localhost
###< symfony/routing ###

###> symfony/mercure-bundle ###
# See https://symfony.com/doc/current/mercure.html#configuration
# The URL of the Mercure hub, used by the app to publish updates (can be a local URL)
Expand Down
4 changes: 4 additions & 0 deletions .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@ OAUTH_PUBLIC_KEY=%kernel.project_dir%/config/oauth2/tests/public.pem
OAUTH_ENCRYPTION_KEY=MF3Sks6dIHhMvk1SALv68e8LydunZopLennBuF9jALk=
OAUTH_PASSPHRASE=null
###< league/oauth2-server-bundle ###

###> symfony/routing ###
DEFAULT_URI=https://kbin.test
###< symfony/routing ###
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ yarn-error.log
.phpunit.result.cache
clover.xml
/coverage
/.phpunit.cache/
###< phpunit/phpunit ###

###> phpstan/phpstan ###
Expand Down
8 changes: 4 additions & 4 deletions bin/post-upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ if [ "$answer" != "${answer#[Yy]}" ]; then
echo -e "INFO: Environment detected: Development\n"

cd "$BIN_DIR/.."
echo "INFO: Install/update PHP packages"
composer install
echo "INFO: Dump env file"
composer dump-env dev
echo "INFO: Install/update PHP packages"
composer install
echo "INFO: Clear application cache"
APP_ENV=dev APP_DEBUG=1 php "${BIN_DIR}"/console cache:clear -n
echo "INFO: Perform database migration"
Expand All @@ -31,10 +31,10 @@ if [ "$answer" != "${answer#[Yy]}" ]; then
echo -e "INFO: Environment detected: Production\n"

cd "$BIN_DIR/.."
echo "INFO: Install/update PHP packages"
composer install --no-dev
echo "INFO: Dump env file"
composer dump-env prod
echo "INFO: Install/update PHP packages"
composer install --no-dev
echo "INFO: Clear application cache"
APP_ENV=prod APP_DEBUG=0 php "${BIN_DIR}"/console cache:clear -n
echo "INFO: Perform database migration"
Expand Down
90 changes: 45 additions & 45 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,56 +57,56 @@
"phpdocumentor/reflection-docblock": "^5.4.1",
"phpseclib/phpseclib": "^3.0.42",
"phpstan/phpdoc-parser": "^2.0.0",
"predis/predis": "^3.0.1",
"predis/predis": "^3.2.0",
"privacyportal/oauth2-privacyportal": "^0.1.1",
"runtime/frankenphp-symfony": "^0.2.0",
"scheb/2fa-backup-code": "^7.5.0",
"scheb/2fa-bundle": "^7.5.0",
"scheb/2fa-totp": "^7.5.0",
"scienta/doctrine-json-functions": "^6.1.0",
"stevenmaguire/oauth2-keycloak": "^5.1.0",
"symfony/amqp-messenger": "7.2.*",
"symfony/asset": "7.2.*",
"symfony/cache": "7.2.*",
"symfony/console": "7.2.*",
"symfony/css-selector": "7.2.*",
"symfony/doctrine-messenger": "7.2.*",
"symfony/dotenv": "7.2.*",
"symfony/expression-language": "7.2.*",
"symfony/amqp-messenger": "7.3.*",
"symfony/asset": "7.3.*",
"symfony/cache": "7.3.*",
"symfony/console": "7.3.*",
"symfony/css-selector": "7.3.*",
"symfony/doctrine-messenger": "7.3.*",
"symfony/dotenv": "7.3.*",
"symfony/expression-language": "7.3.*",
"symfony/flex": "^2.4.5",
"symfony/form": "7.2.*",
"symfony/framework-bundle": "7.2.*",
"symfony/http-client": "7.2.*",
"symfony/lock": "7.2.*",
"symfony/mailer": "7.2.*",
"symfony/mailgun-mailer": "7.2.*",
"symfony/form": "7.3.*",
"symfony/framework-bundle": "7.3.*",
"symfony/http-client": "7.3.*",
"symfony/lock": "7.3.*",
"symfony/mailer": "7.3.*",
"symfony/mailgun-mailer": "7.3.*",
"symfony/mercure-bundle": "0.3.*",
"symfony/messenger": "7.2.*",
"symfony/mime": "7.2.*",
"symfony/messenger": "7.3.*",
"symfony/mime": "7.3.*",
"symfony/monolog-bundle": "^3.10.0",
"symfony/property-access": "7.2.*",
"symfony/property-info": "7.2.*",
"symfony/rate-limiter": "7.2.*",
"symfony/redis-messenger": "7.2.*",
"symfony/runtime": "7.2.*",
"symfony/scheduler": "7.2.*",
"symfony/security-bundle": "7.2.*",
"symfony/security-csrf": "7.2.*",
"symfony/serializer": "7.2.*",
"symfony/string": "7.2.*",
"symfony/translation": "7.2.*",
"symfony/twig-bundle": "7.2.*",
"symfony/type-info": "7.2.*",
"symfony/uid": "7.2.*",
"symfony/property-access": "7.3.*",
"symfony/property-info": "7.3.*",
"symfony/rate-limiter": "7.3.*",
"symfony/redis-messenger": "7.3.*",
"symfony/runtime": "7.3.*",
"symfony/scheduler": "7.3.*",
"symfony/security-bundle": "7.3.*",
"symfony/security-csrf": "7.3.*",
"symfony/serializer": "7.3.*",
"symfony/string": "7.3.*",
"symfony/translation": "7.3.*",
"symfony/twig-bundle": "7.3.*",
"symfony/type-info": "7.3.*",
"symfony/uid": "7.3.*",
"symfony/ux-autocomplete": "^2.18.0",
"symfony/ux-chartjs": "^2.18.0",
"symfony/ux-twig-component": "^2.18.1",
"symfony/validator": "7.2.*",
"symfony/validator": "7.3.*",
"symfony/webpack-encore-bundle": "^2.1.1",
"symfony/workflow": "7.2.*",
"symfony/yaml": "7.2.*",
"symfonycasts/reset-password-bundle": "^1.22.0",
"symfonycasts/verify-email-bundle": "^1.17.0",
"symfony/workflow": "7.3.*",
"symfony/yaml": "7.3.*",
"symfonycasts/reset-password-bundle": "^1.23.2",
"symfonycasts/verify-email-bundle": "^1.17.4",
"thenetworg/oauth2-azure": "^2.2.2",
"twig/cssinliner-extra": "^3.10.0",
"twig/extra-bundle": "^3.10.0",
Expand All @@ -117,20 +117,20 @@
"wohali/oauth2-discord-new": "^1.2.1"
},
"require-dev": {
"brianium/paratest": "^7.10.1",
"brianium/paratest": "^7.13.0",
"dama/doctrine-test-bundle": "^8.2.0",
"doctrine/doctrine-fixtures-bundle": "^3.6.1",
"fakerphp/faker": "^1.23.1",
"justinrainbow/json-schema": "^6.0.0",
"phpstan/phpstan": "^2.0.2",
"phpunit/phpunit": "12.1.*",
"phpunit/phpunit": "12.3.*",
"spatie/phpunit-snapshot-assertions": "^5.2",
"symfony/browser-kit": "7.2.*",
"symfony/debug-bundle": "7.2.*",
"symfony/maker-bundle": "1.63.0",
"symfony/phpunit-bridge": "7.2.*",
"symfony/stopwatch": "7.2.*",
"symfony/web-profiler-bundle": "7.2.*"
"symfony/browser-kit": "7.3.*",
"symfony/debug-bundle": "7.3.*",
"symfony/maker-bundle": "1.64.0",
"symfony/phpunit-bridge": "7.3.*",
"symfony/stopwatch": "7.3.*",
"symfony/web-profiler-bundle": "7.3.*"
},
"replace": {
"symfony/polyfill-ctype": "*",
Expand Down Expand Up @@ -167,7 +167,7 @@
"extra": {
"symfony": {
"allow-contrib": false,
"require": "7.2.*"
"require": "7.3.*"
}
},
"scripts": {
Expand Down
Loading
Loading