Compare commits
No commits in common. "b29391d6550c182d7b75efab8795a238c1936a27" and "39c6623e3ddf50f0326bcb5169119b514e790d2e" have entirely different histories.
b29391d655
...
39c6623e3d
82
.gitignore
vendored
82
.gitignore
vendored
@ -1,69 +1,25 @@
|
||||
# Symfony & PHP
|
||||
/vendor/
|
||||
/var/
|
||||
|
||||
###> symfony/framework-bundle ###
|
||||
/.env.local
|
||||
.env.*.local
|
||||
.env.test
|
||||
.env.test.local
|
||||
/phpunit.xml
|
||||
/phpunit.xml.dist
|
||||
/.phpunit.result.cache
|
||||
|
||||
# Cache & logs
|
||||
/var/cache/
|
||||
/var/log/
|
||||
/var/data/
|
||||
|
||||
# IDEs
|
||||
/.idea/
|
||||
/*.sublime-project
|
||||
/*.sublime-workspace
|
||||
/.vscode/
|
||||
/*.code-workspace
|
||||
|
||||
# OS files
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# Composer
|
||||
/composer.lock
|
||||
|
||||
# Symfony Encore / Webpack / Assets
|
||||
/node_modules/
|
||||
/public/build/
|
||||
/.env.local.php
|
||||
/.env.*.local
|
||||
/config/secrets/prod/prod.decrypt.private.php
|
||||
/public/bundles/
|
||||
/assets/build/
|
||||
/var/
|
||||
/vendor/
|
||||
###< symfony/framework-bundle ###
|
||||
|
||||
# PHPUnit
|
||||
###> phpunit/phpunit ###
|
||||
/phpunit.xml
|
||||
.phpunit.result.cache
|
||||
.phpunit.cache/
|
||||
###< phpunit/phpunit ###
|
||||
|
||||
# Coverage reports
|
||||
coverage/
|
||||
###> symfony/phpunit-bridge ###
|
||||
.phpunit.result.cache
|
||||
/phpunit.xml
|
||||
###< symfony/phpunit-bridge ###
|
||||
|
||||
# PHPMD, PHP-CS-Fixer, PHPStan, Psalm
|
||||
.php_cs.cache
|
||||
.php-cs-fixer.cache
|
||||
phpstan-result.cache
|
||||
psalm.xml
|
||||
psalm.cache
|
||||
|
||||
# Docker
|
||||
/docker-compose.override.yml
|
||||
.docker/
|
||||
|
||||
# Misc
|
||||
*.log
|
||||
*.cache
|
||||
*.swp
|
||||
*.bak
|
||||
*.tmp
|
||||
*.orig
|
||||
|
||||
# Database
|
||||
*.sqlite
|
||||
*.sqlite3
|
||||
/data/*.sqlite
|
||||
|
||||
# Translations
|
||||
/translations/*.catalogue.php
|
||||
###> symfony/asset-mapper ###
|
||||
/public/assets/
|
||||
/assets/vendor/
|
||||
###< symfony/asset-mapper ###
|
||||
|
1
.idea/HegreEtConfort.iml
generated
1
.idea/HegreEtConfort.iml
generated
@ -3,7 +3,6 @@
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" packagePrefix="App\" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" packagePrefix="App\Tests\" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/composer" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/cache" />
|
||||
|
4
.idea/dataSources.xml
generated
4
.idea/dataSources.xml
generated
@ -1,11 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
|
||||
<data-source source="LOCAL" name="HegreEtConfort@172.20.96.1" uuid="21423ae4-3232-4641-affb-06399f70655a">
|
||||
<data-source source="LOCAL" name="HegreEtConfort@localhost" uuid="21423ae4-3232-4641-affb-06399f70655a">
|
||||
<driver-ref>postgresql</driver-ref>
|
||||
<synchronize>true</synchronize>
|
||||
<jdbc-driver>org.postgresql.Driver</jdbc-driver>
|
||||
<jdbc-url>jdbc:postgresql://172.20.96.1:5432/HegreEtConfort</jdbc-url>
|
||||
<jdbc-url>jdbc:postgresql://localhost:5433/HegreEtConfort</jdbc-url>
|
||||
<working-dir>$ProjectFileDir$</working-dir>
|
||||
</data-source>
|
||||
</component>
|
||||
|
File diff suppressed because one or more lines are too long
30
assets/vendor/@hotwired/turbo/turbo.index.js
vendored
30
assets/vendor/@hotwired/turbo/turbo.index.js
vendored
File diff suppressed because one or more lines are too long
22
assets/vendor/installed.php
vendored
22
assets/vendor/installed.php
vendored
@ -1,22 +0,0 @@
|
||||
<?php return array (
|
||||
'@hotwired/stimulus' =>
|
||||
array (
|
||||
'version' => '3.2.2',
|
||||
'dependencies' =>
|
||||
array (
|
||||
),
|
||||
'extraFiles' =>
|
||||
array (
|
||||
),
|
||||
),
|
||||
'@hotwired/turbo' =>
|
||||
array (
|
||||
'version' => '7.3.0',
|
||||
'dependencies' =>
|
||||
array (
|
||||
),
|
||||
'extraFiles' =>
|
||||
array (
|
||||
),
|
||||
),
|
||||
);
|
@ -35,7 +35,6 @@
|
||||
"symfony/property-info": "7.1.*",
|
||||
"symfony/runtime": "7.1.*",
|
||||
"symfony/security-bundle": "7.1.*",
|
||||
"symfony/security-csrf": "7.1.*",
|
||||
"symfony/serializer": "7.1.*",
|
||||
"symfony/stimulus-bundle": "^2.20",
|
||||
"symfony/string": "7.1.*",
|
||||
|
38
composer.lock
generated
38
composer.lock
generated
@ -4,7 +4,7 @@
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "69565ad2398a468ae94c92c449ee3c20",
|
||||
"content-hash": "e99a99b4ca2d6b58821cb711cb543c93",
|
||||
"packages": [
|
||||
{
|
||||
"name": "composer/semver",
|
||||
@ -3466,16 +3466,16 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/form",
|
||||
"version": "v7.1.6",
|
||||
"version": "v7.1.5",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/form.git",
|
||||
"reference": "7a48dda96fe16711fc042df38ca1a7dd4d9d6387"
|
||||
"reference": "6b8b53ad6d42f14b158c896163b96ff260d78222"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/form/zipball/7a48dda96fe16711fc042df38ca1a7dd4d9d6387",
|
||||
"reference": "7a48dda96fe16711fc042df38ca1a7dd4d9d6387",
|
||||
"url": "https://api.github.com/repos/symfony/form/zipball/6b8b53ad6d42f14b158c896163b96ff260d78222",
|
||||
"reference": "6b8b53ad6d42f14b158c896163b96ff260d78222",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -3543,7 +3543,7 @@
|
||||
"description": "Allows to easily create, process and reuse HTML forms",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/form/tree/v7.1.6"
|
||||
"source": "https://github.com/symfony/form/tree/v7.1.5"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -3559,7 +3559,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2024-10-09T08:46:59+00:00"
|
||||
"time": "2024-09-20T08:28:38+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/framework-bundle",
|
||||
@ -5648,16 +5648,16 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/security-bundle",
|
||||
"version": "v7.1.11",
|
||||
"version": "v7.1.4",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/security-bundle.git",
|
||||
"reference": "4012dbc0884fc7cbf555615a5aaa16f7c0d3f222"
|
||||
"reference": "5e10107856ff64d477c61fed7bcbb8a16125ea01"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/security-bundle/zipball/4012dbc0884fc7cbf555615a5aaa16f7c0d3f222",
|
||||
"reference": "4012dbc0884fc7cbf555615a5aaa16f7c0d3f222",
|
||||
"url": "https://api.github.com/repos/symfony/security-bundle/zipball/5e10107856ff64d477c61fed7bcbb8a16125ea01",
|
||||
"reference": "5e10107856ff64d477c61fed7bcbb8a16125ea01",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -5734,7 +5734,7 @@
|
||||
"description": "Provides a tight integration of the Security component into the Symfony full-stack framework",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/security-bundle/tree/v7.1.11"
|
||||
"source": "https://github.com/symfony/security-bundle/tree/v7.1.4"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -5750,7 +5750,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2024-12-31T17:57:35+00:00"
|
||||
"time": "2024-08-20T11:38:55+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/security-core",
|
||||
@ -5840,16 +5840,16 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/security-csrf",
|
||||
"version": "v7.1.6",
|
||||
"version": "v7.1.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/security-csrf.git",
|
||||
"reference": "23b460d3447fd61970e0ed5ec7a0301296a17f06"
|
||||
"reference": "27cd1bce9d7f3457a152a6ca9790712d6954dd21"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/security-csrf/zipball/23b460d3447fd61970e0ed5ec7a0301296a17f06",
|
||||
"reference": "23b460d3447fd61970e0ed5ec7a0301296a17f06",
|
||||
"url": "https://api.github.com/repos/symfony/security-csrf/zipball/27cd1bce9d7f3457a152a6ca9790712d6954dd21",
|
||||
"reference": "27cd1bce9d7f3457a152a6ca9790712d6954dd21",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -5888,7 +5888,7 @@
|
||||
"description": "Symfony Security Component - CSRF Library",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/security-csrf/tree/v7.1.6"
|
||||
"source": "https://github.com/symfony/security-csrf/tree/v7.1.1"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
@ -5904,7 +5904,7 @@
|
||||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2024-09-25T14:20:29+00:00"
|
||||
"time": "2024-05-31T14:57:53+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/security-http",
|
||||
|
@ -13,21 +13,10 @@ security:
|
||||
dev:
|
||||
pattern: ^/(_(profiler|wdt)|css|images|js)/
|
||||
security: false
|
||||
|
||||
main:
|
||||
lazy: true
|
||||
provider: app_user_provider
|
||||
|
||||
form_login:
|
||||
login_path: app_login
|
||||
check_path: app_login
|
||||
enable_csrf: true
|
||||
csrf_token_id: authenticate
|
||||
|
||||
logout:
|
||||
path: app_logout
|
||||
target: app_login
|
||||
|
||||
|
||||
# activate different ways to authenticate
|
||||
# https://symfony.com/doc/current/security.html#the-firewall
|
||||
|
@ -10,7 +10,7 @@ use Doctrine\Migrations\AbstractMigration;
|
||||
/**
|
||||
* Auto-generated Migration: Please modify to your needs!
|
||||
*/
|
||||
final class Version20250410150126 extends AbstractMigration
|
||||
final class Version20250410124208 extends AbstractMigration
|
||||
{
|
||||
public function getDescription(): string
|
||||
{
|
@ -9,7 +9,7 @@ use Symfony\Component\Security\Http\Authentication\AuthenticationUtils;
|
||||
|
||||
class AuthenticationController extends AbstractController
|
||||
{
|
||||
#[Route(path: '/', name: 'app_login')]
|
||||
#[Route(path: '/', name: '_login')]
|
||||
public function login(AuthenticationUtils $authenticationUtils): Response
|
||||
{
|
||||
// get the login error if there is one
|
||||
@ -24,7 +24,7 @@ class AuthenticationController extends AbstractController
|
||||
]);
|
||||
}
|
||||
|
||||
#[Route(path: '/logout', name: 'app_logout')]
|
||||
#[Route(path: '/logout', name: '_logout')]
|
||||
public function logout(): void
|
||||
{
|
||||
throw new \LogicException('This method can be blank - it will be intercepted by the logout key on your firewall.');
|
||||
|
Loading…
x
Reference in New Issue
Block a user