Skip to content

Commit

Permalink
Remove Page controller and clean routes config
Browse files Browse the repository at this point in the history
  • Loading branch information
ottaviano committed Sep 11, 2024
1 parent aa523bc commit a494746
Show file tree
Hide file tree
Showing 142 changed files with 66 additions and 7,620 deletions.
11 changes: 0 additions & 11 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ FRIENDLY_CAPTCHA_PRIVATE_KEY=
FRIENDLY_CAPTCHA_DEFAULT_SITE_KEY=
FRIENDLY_CAPTCHA_EUROPE_SITE_KEY=

WATERMARKS_PATH='/srv/app/public/watermarks'

MANDRILL_API_KEY=
MANDRILL_TEST_API_KEY=

Expand All @@ -69,21 +67,14 @@ SESSION_MAX_IDLE_TIME=1800

APP_SCHEME=http
APP_HOST=enmarche.code
LEGISLATIVES_HOST=legislatives.enmarche.code
NOUS_REUSSIRONS_HOST=nous-reussirons.enmarche.code
NATIONAL_EVENT_HOST=inscription.besoindeurope.code
BESOINDEUROPE_HOST=besoindeurope.code
LEGISLATIVE_HOST=legislative24.code
MOOC_BASE_URL=http://mooc.enmarche.code
JEMENGAGE_HOST=http://jemengage.code
JEMENGAGE_AUTH_HOST=login.jemengage.code
PROCURATION_HOST=procurations.besoindeurope.code
USER_BESOINDEUROPE_HOST=utilisateur.besoindeurope.code
USER_VOX_HOST=utilisateur.renaissance.code
API_PATH_PREFIX=/api
AVECVOUS_HOST=avecvous.code
AVECVOUS_QRCODE_HOST=qr.avecvous.code
LEGISLATIVES_AVECVOUS_HOST=legislatives.avecvous.code
RENAISSANCE_HOST=renaissance.code
APP_RENAISSANCE_HOST=renaissance.code
ADMIN_RENAISSANCE_HOST=admin.renaissance.code
Expand All @@ -102,8 +93,6 @@ CORS_ALLOW_ORIGIN='^https?://localhost:?[0-9]*$'

APP_EMAIL_SUBSCRIPTIONS_WEBHOOK_SECRET='mailchimp_secret'

AXEPTIO_CLID=

MAILCHIMP_API_KEY=
MAILCHIMP_WEBHOOK_KEY='abc'
MAILCHIMP_MEMBER_LIST_ID=123
Expand Down
1 change: 0 additions & 1 deletion .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ APP_RENAISSANCE_HOST=test.renaissance.code
USER_VOX_HOST=test.renaissance.code
WEBHOOK_RENAISSANCE_HOST=test.renaissance.code
PROCURATION_HOST=test.enmarche.code
LEGISLATIVES_AVECVOUS_HOST=test.enmarche.code
SSL_KEY_PERMISSIONS_CHECK=false
SYMFONY_DEPRECATIONS_HELPER=weak
DATABASE_NAME=enmarche_test
Expand Down
Binary file not shown.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
"league/glide-symfony": "^2.0",
"league/iso3166": "^4.3",
"league/oauth2-server": "^8.2",
"lexik/jwt-authentication-bundle": "^2.6",
"lexik/paybox-bundle": "^2.1",
"longitude-one/doctrine-spatial": "*",
"myclabs/php-enum": "^1.5",
Expand Down
188 changes: 1 addition & 187 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion config/bundles.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle::class => ['dev' => true, 'test' => true],
Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle::class => ['all' => true],
Misd\PhoneNumberBundle\MisdPhoneNumberBundle::class => ['all' => true],
Lexik\Bundle\JWTAuthenticationBundle\LexikJWTAuthenticationBundle::class => ['all' => true],
Lexik\Bundle\PayboxBundle\LexikPayboxBundle::class => ['all' => true],
Scheb\TwoFactorBundle\SchebTwoFactorBundle::class => ['all' => true],
Bazinga\GeocoderBundle\BazingaGeocoderBundle::class => ['all' => true],
Expand Down
5 changes: 0 additions & 5 deletions config/packages/lexik_jwt_authentication.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions config/packages/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -493,14 +493,9 @@ security:
path: logout
success_handler: App\Security\LogoutSuccessHandler
user_checker: App\Security\UserChecker
json_login:
check_path: /api/login_check
success_handler: lexik_jwt_authentication.handler.authentication_success
failure_handler: lexik_jwt_authentication.handler.authentication_failure
guard:
authenticators:
- App\Security\LoginFormGuardAuthenticator
- lexik_jwt_authentication.jwt_token_authenticator
entry_point: App\Security\LoginFormGuardAuthenticator
access_denied_handler: App\Security\AccessDeniedHandler
login_link:
Expand Down
1 change: 0 additions & 1 deletion config/packages/twig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ twig:
admin_renaissance_host: "%env(ADMIN_RENAISSANCE_HOST)%"
national_event_host: "%env(NATIONAL_EVENT_HOST)%"
adherent_interests: "%adherent_interests%"
axeptio_clid: "%env(AXEPTIO_CLID)%"
friendly_captcha_site_key: "%env(FRIENDLY_CAPTCHA_DEFAULT_SITE_KEY)%"
friendly_captcha_europe_site_key: "%env(FRIENDLY_CAPTCHA_EUROPE_SITE_KEY)%"
unlayer_project_id: "%env(UNLAYER_PROJECT_ID)%"
Expand Down
Loading

0 comments on commit a494746

Please sign in to comment.