enrich admin class with relations

This commit is contained in:
Tykayn 2023-06-28 16:16:11 +02:00 committed by tykayn
parent 43574791f5
commit 54e02ff545
60 changed files with 26032 additions and 383 deletions

View File

@ -5,7 +5,9 @@
<sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" packagePrefix="App\Tests\" /> <sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" packagePrefix="App\Tests\" />
<sourceFolder url="file://$MODULE_DIR$/spec" isTestSource="true" /> <sourceFolder url="file://$MODULE_DIR$/spec" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" packagePrefix="App\" /> <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" packagePrefix="App\" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/data-fixtures" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/deprecations" /> <excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/deprecations" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/doctrine-fixtures-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/doctrine-migrations-bundle" /> <excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/doctrine-migrations-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/migrations" /> <excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/migrations" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/sql-formatter" /> <excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/sql-formatter" />

View File

@ -183,6 +183,8 @@
<path value="$PROJECT_DIR$/vendor/easycorp/easyadmin-bundle" /> <path value="$PROJECT_DIR$/vendor/easycorp/easyadmin-bundle" />
<path value="$PROJECT_DIR$/vendor/symfony/uid" /> <path value="$PROJECT_DIR$/vendor/symfony/uid" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-uuid" /> <path value="$PROJECT_DIR$/vendor/symfony/polyfill-uuid" />
<path value="$PROJECT_DIR$/vendor/doctrine/data-fixtures" />
<path value="$PROJECT_DIR$/vendor/doctrine/doctrine-fixtures-bundle" />
</include_path> </include_path>
</component> </component>
<component name="PhpProjectSharedConfiguration" php_language_level="7" /> <component name="PhpProjectSharedConfiguration" php_language_level="7" />

View File

@ -23,53 +23,39 @@
<change beforePath="$PROJECT_DIR$/.idea/caisse.iml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/caisse.iml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/caisse.iml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/caisse.iml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/php.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/php.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/php.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/php.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/app.js" beforeDir="false" afterPath="$PROJECT_DIR$/assets/app.js" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.yarn/install-state.gz" beforeDir="false" afterPath="$PROJECT_DIR$/.yarn/install-state.gz" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/styles/app.scss" beforeDir="false" afterPath="$PROJECT_DIR$/assets/styles/app.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/styles/global.scss" beforeDir="false" afterPath="$PROJECT_DIR$/assets/styles/global.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/styles/pages/global.scss" beforeDir="false" afterPath="$PROJECT_DIR$/assets/styles/pages/global.scss" afterDir="false" /> <change beforePath="$PROJECT_DIR$/assets/styles/pages/global.scss" beforeDir="false" afterPath="$PROJECT_DIR$/assets/styles/pages/global.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/styles/pages/libs.scss" beforeDir="false" afterPath="$PROJECT_DIR$/assets/styles/pages/libs.scss" afterDir="false" /> <change beforePath="$PROJECT_DIR$/assets/styles/pages/libs.scss" beforeDir="false" afterPath="$PROJECT_DIR$/assets/styles/pages/libs.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/styles/pages/responsive.scss" beforeDir="false" afterPath="$PROJECT_DIR$/assets/styles/pages/responsive.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/composer.json" beforeDir="false" afterPath="$PROJECT_DIR$/composer.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/composer.lock" beforeDir="false" afterPath="$PROJECT_DIR$/composer.lock" afterDir="false" /> <change beforePath="$PROJECT_DIR$/composer.lock" beforeDir="false" afterPath="$PROJECT_DIR$/composer.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/assets/img/logo_cipherbliss.png" beforeDir="false" afterPath="$PROJECT_DIR$/assets/img/logo_cipherbliss.png" afterDir="false" /> <change beforePath="$PROJECT_DIR$/config/bundles.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/bundles.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/packages/security.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/config/packages/security.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/assets/css/pages/global.scss" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/pages/global.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/build/app.css" beforeDir="false" afterPath="$PROJECT_DIR$/public/build/app.css" afterDir="false" /> <change beforePath="$PROJECT_DIR$/public/build/app.css" beforeDir="false" afterPath="$PROJECT_DIR$/public/build/app.css" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/build/app.js" beforeDir="false" afterPath="$PROJECT_DIR$/public/build/app.js" afterDir="false" /> <change beforePath="$PROJECT_DIR$/public/build/app.js" beforeDir="false" afterPath="$PROJECT_DIR$/public/build/app.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/build/entrypoints.json" beforeDir="false" afterPath="$PROJECT_DIR$/public/build/entrypoints.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/build/manifest.json" beforeDir="false" afterPath="$PROJECT_DIR$/public/build/manifest.json" afterDir="false" /> <change beforePath="$PROJECT_DIR$/public/build/manifest.json" beforeDir="false" afterPath="$PROJECT_DIR$/public/build/manifest.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/bundles/easyadmin/app.b5acb2f0.js" beforeDir="false" /> <change beforePath="$PROJECT_DIR$/src/Controller/Admin/DashboardController.php" beforeDir="false" afterPath="$PROJECT_DIR$/src/Controller/Admin/DashboardController.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/bundles/easyadmin/app.b5acb2f0.js.LICENSE.txt" beforeDir="false" /> <change beforePath="$PROJECT_DIR$/src/Entity/ExpenseKind.php" beforeDir="false" afterPath="$PROJECT_DIR$/src/Entity/ExpenseKind.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/bundles/easyadmin/entrypoints.json" beforeDir="false" afterPath="$PROJECT_DIR$/public/bundles/easyadmin/entrypoints.json" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/Entity/Festival.php" beforeDir="false" afterPath="$PROJECT_DIR$/src/Entity/Festival.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/bundles/easyadmin/field-text-editor.beed4e76.js" beforeDir="false" /> <change beforePath="$PROJECT_DIR$/src/Entity/Product.php" beforeDir="false" afterPath="$PROJECT_DIR$/src/Entity/Product.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/bundles/easyadmin/field-text-editor.beed4e76.js.LICENSE.txt" beforeDir="false" /> <change beforePath="$PROJECT_DIR$/src/Entity/ProductCategory.php" beforeDir="false" afterPath="$PROJECT_DIR$/src/Entity/ProductCategory.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/bundles/easyadmin/manifest.json" beforeDir="false" afterPath="$PROJECT_DIR$/public/bundles/easyadmin/manifest.json" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/Entity/ProductSold.php" beforeDir="false" afterPath="$PROJECT_DIR$/src/Entity/ProductSold.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/css/app.scss" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/app.scss" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/Entity/SellRecord.php" beforeDir="false" afterPath="$PROJECT_DIR$/src/Entity/SellRecord.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/css/fonts/all.scss" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/fonts/all.scss" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/Entity/SerieFestival.php" beforeDir="false" afterPath="$PROJECT_DIR$/src/Entity/SerieFestival.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/css/fonts/source-sans-pro/SIL Open Font License.txt" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/fonts/source-sans-pro/SIL Open Font License.txt" afterDir="false" /> <change beforePath="$PROJECT_DIR$/symfony.lock" beforeDir="false" afterPath="$PROJECT_DIR$/symfony.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/css/fonts/source-sans-pro/SourceSansPro-Black.otf" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/fonts/source-sans-pro/SourceSansPro-Black.otf" afterDir="false" /> <change beforePath="$PROJECT_DIR$/templates/base.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/templates/base.html.twig" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/css/fonts/source-sans-pro/SourceSansPro-BlackIt.otf" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/fonts/source-sans-pro/SourceSansPro-BlackIt.otf" afterDir="false" /> <change beforePath="$PROJECT_DIR$/templates/default/header.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/templates/default/header.html.twig" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/css/fonts/source-sans-pro/SourceSansPro-Bold.otf" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/fonts/source-sans-pro/SourceSansPro-Bold.otf" afterDir="false" /> <change beforePath="$PROJECT_DIR$/templates/default/login-choices.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/templates/default/login-choices.html.twig" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/css/fonts/source-sans-pro/SourceSansPro-BoldIt.otf" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/fonts/source-sans-pro/SourceSansPro-BoldIt.otf" afterDir="false" /> <change beforePath="$PROJECT_DIR$/templates/logged/angular/loaded-caisse.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/templates/logged/angular/loaded-caisse.html.twig" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/css/fonts/source-sans-pro/SourceSansPro-ExtraLight.otf" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/fonts/source-sans-pro/SourceSansPro-ExtraLight.otf" afterDir="false" /> <change beforePath="$PROJECT_DIR$/templates/logged/caisse-main.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/templates/logged/caisse-main.html.twig" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/css/fonts/source-sans-pro/SourceSansPro-ExtraLightIt.otf" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/fonts/source-sans-pro/SourceSansPro-ExtraLightIt.otf" afterDir="false" /> <change beforePath="$PROJECT_DIR$/templates/logged/dashboard.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/templates/logged/dashboard.html.twig" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/css/fonts/source-sans-pro/SourceSansPro-It.otf" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/fonts/source-sans-pro/SourceSansPro-It.otf" afterDir="false" /> <change beforePath="$PROJECT_DIR$/translations/messages.en.yml" beforeDir="false" afterPath="$PROJECT_DIR$/translations/messages.en.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/css/fonts/source-sans-pro/SourceSansPro-Light.otf" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/fonts/source-sans-pro/SourceSansPro-Light.otf" afterDir="false" /> <change beforePath="$PROJECT_DIR$/translations/messages.fr.yml" beforeDir="false" afterPath="$PROJECT_DIR$/translations/messages.fr.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/css/fonts/source-sans-pro/SourceSansPro-LightIt.otf" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/fonts/source-sans-pro/SourceSansPro-LightIt.otf" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/css/fonts/source-sans-pro/SourceSansPro-Regular.otf" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/fonts/source-sans-pro/SourceSansPro-Regular.otf" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/css/fonts/source-sans-pro/SourceSansPro-Semibold.otf" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/fonts/source-sans-pro/SourceSansPro-Semibold.otf" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/css/fonts/source-sans-pro/SourceSansPro-SemiboldIt.otf" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/fonts/source-sans-pro/SourceSansPro-SemiboldIt.otf" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/css/global.scss" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/global.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/css/pages/_dashboard.scss" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/pages/_dashboard.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/css/pages/_history.scss" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/pages/_history.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/css/pages/demo.scss" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/pages/demo.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/css/pages/global.scss" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/pages/global.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/css/pages/home.scss" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/pages/home.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/css/pages/libs.scss" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/pages/libs.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/css/pages/responsive.scss" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/pages/responsive.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/css/pages/special.scss" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/pages/special.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/css/split/custom_vars.scss" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/split/custom_vars.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/css/split/formulaires.scss" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/split/formulaires.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/css/split/override_libs.scss" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/split/override_libs.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/css/split/typo.scss" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/split/typo.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/templates/default/description-app.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/templates/default/description-app.html.twig" afterDir="false" />
<change beforePath="$PROJECT_DIR$/var/log/dev.log" beforeDir="false" afterPath="$PROJECT_DIR$/var/log/dev.log" afterDir="false" /> <change beforePath="$PROJECT_DIR$/var/log/dev.log" beforeDir="false" afterPath="$PROJECT_DIR$/var/log/dev.log" afterDir="false" />
<change beforePath="$PROJECT_DIR$/webpack.config.js" beforeDir="false" afterPath="$PROJECT_DIR$/webpack.config.js" afterDir="false" /> <change beforePath="$PROJECT_DIR$/yarn.lock" beforeDir="false" afterPath="$PROJECT_DIR$/yarn.lock" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -83,6 +69,9 @@
<component name="Git.Settings"> <component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" /> <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
</component> </component>
<component name="NamedScopeManager">
<scope name="src not old" pattern="!file[caisse]:.idea/*&amp;&amp;!file[caisse]:.yarn/*&amp;&amp;!file[caisse]:old/*&amp;&amp;!file[caisse]:vendor/*&amp;&amp;!file[caisse]:old//*" />
</component>
<component name="PackageJsonUpdateNotifier"> <component name="PackageJsonUpdateNotifier">
<dismissed value="$PROJECT_DIR$/package.json" /> <dismissed value="$PROJECT_DIR$/package.json" />
</component> </component>
@ -269,6 +258,8 @@
<path value="$PROJECT_DIR$/vendor/easycorp/easyadmin-bundle" /> <path value="$PROJECT_DIR$/vendor/easycorp/easyadmin-bundle" />
<path value="$PROJECT_DIR$/vendor/symfony/uid" /> <path value="$PROJECT_DIR$/vendor/symfony/uid" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-uuid" /> <path value="$PROJECT_DIR$/vendor/symfony/polyfill-uuid" />
<path value="$PROJECT_DIR$/vendor/doctrine/data-fixtures" />
<path value="$PROJECT_DIR$/vendor/doctrine/doctrine-fixtures-bundle" />
</include_path> </include_path>
</component> </component>
<component name="ProjectId" id="1RMlJsg2Tg46rvC91UMEe0aUs5g" /> <component name="ProjectId" id="1RMlJsg2Tg46rvC91UMEe0aUs5g" />
@ -286,7 +277,7 @@
<property name="RunOnceActivity.OpenProjectViewOnStart" value="true" /> <property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
<property name="RunOnceActivity.ShowReadmeOnStart" value="true" /> <property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
<property name="WebServerToolWindowFactoryState" value="true" /> <property name="WebServerToolWindowFactoryState" value="true" />
<property name="last_opened_file_path" value="$PROJECT_DIR$/public/assets" /> <property name="last_opened_file_path" value="$PROJECT_DIR$/src/Controller" />
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" /> <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
<property name="nodejs_npm_path_reset_for_default_project" value="true" /> <property name="nodejs_npm_path_reset_for_default_project" value="true" />
<property name="nodejs_package_manager_path" value="yarn" /> <property name="nodejs_package_manager_path" value="yarn" />
@ -295,11 +286,11 @@
</component> </component>
<component name="RecentsManager"> <component name="RecentsManager">
<key name="CopyFile.RECENT_KEYS"> <key name="CopyFile.RECENT_KEYS">
<recent name="$PROJECT_DIR$/src/Controller" />
<recent name="$PROJECT_DIR$/public/assets" /> <recent name="$PROJECT_DIR$/public/assets" />
<recent name="$PROJECT_DIR$/translations" /> <recent name="$PROJECT_DIR$/translations" />
<recent name="$PROJECT_DIR$/src" /> <recent name="$PROJECT_DIR$/src" />
<recent name="$PROJECT_DIR$" /> <recent name="$PROJECT_DIR$" />
<recent name="$PROJECT_DIR$/public" />
</key> </key>
<key name="MoveFile.RECENT_KEYS"> <key name="MoveFile.RECENT_KEYS">
<recent name="$PROJECT_DIR$/assets" /> <recent name="$PROJECT_DIR$/assets" />
@ -332,7 +323,7 @@
<workItem from="1686601233370" duration="1574000" /> <workItem from="1686601233370" duration="1574000" />
<workItem from="1686851564377" duration="1602000" /> <workItem from="1686851564377" duration="1602000" />
<workItem from="1687277447224" duration="3841000" /> <workItem from="1687277447224" duration="3841000" />
<workItem from="1687943901322" duration="2095000" /> <workItem from="1687943901322" duration="8031000" />
</task> </task>
<servers /> <servers />
</component> </component>
@ -380,14 +371,18 @@
<screen x="0" y="0" width="1920" height="1080" /> <screen x="0" y="0" width="1920" height="1080" />
</state> </state>
<state x="318" y="86" key="SettingsEditor/0.0.1920.1080/1920.0.3440.1440@0.0.1920.1080" timestamp="1687165377814" /> <state x="318" y="86" key="SettingsEditor/0.0.1920.1080/1920.0.3440.1440@0.0.1920.1080" timestamp="1687165377814" />
<state x="583" y="133" width="1201" height="770" key="find.popup" timestamp="1687946010031"> <state x="583" y="133" width="1201" height="770" key="find.popup" timestamp="1687960544044">
<screen x="0" y="0" width="1920" height="1036" /> <screen x="0" y="0" width="1920" height="1036" />
</state> </state>
<state x="583" y="133" width="1201" height="770" key="find.popup/0.0.1920.1036@0.0.1920.1036" timestamp="1687946010031" /> <state x="583" y="133" width="1201" height="770" key="find.popup/0.0.1920.1036@0.0.1920.1036" timestamp="1687960544044" />
<state x="583" y="139" width="1201" height="802" key="find.popup/0.0.1920.1080/1920.0.3440.1440@0.0.1920.1080" timestamp="1687280123841" /> <state x="583" y="139" width="1201" height="802" key="find.popup/0.0.1920.1080/1920.0.3440.1440@0.0.1920.1080" timestamp="1687280123841" />
<state x="624" y="164" width="672" height="676" key="search.everywhere.popup" timestamp="1687945774473"> <state x="670" y="328" width="533" height="422" key="scopes" timestamp="1687956395639">
<screen x="0" y="0" width="1920" height="1036" /> <screen x="0" y="0" width="1920" height="1036" />
</state> </state>
<state x="624" y="164" width="672" height="676" key="search.everywhere.popup/0.0.1920.1036@0.0.1920.1036" timestamp="1687945774473" /> <state x="670" y="328" width="533" height="422" key="scopes/0.0.1920.1036@0.0.1920.1036" timestamp="1687956395639" />
<state x="624" y="164" width="672" height="676" key="search.everywhere.popup" timestamp="1687961242028">
<screen x="0" y="0" width="1920" height="1036" />
</state>
<state x="624" y="164" width="672" height="676" key="search.everywhere.popup/0.0.1920.1036@0.0.1920.1036" timestamp="1687961242028" />
</component> </component>
</project> </project>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -24,7 +24,7 @@ body {
.bg-shader { .bg-shader {
@extend .bg-dark; @extend .bg-dark;
height: 100vh; min-height: 100vh;
} }
.bg-img { .bg-img {
@ -162,7 +162,7 @@ input {
position: fixed; position: fixed;
left: 0; left: 0;
top: 0; top: 0;
height: 100vh; min-height: 100vh;
width: 13vw; width: 13vw;
min-width: 300px; min-width: 300px;
overflow-x: auto; overflow-x: auto;

View File

@ -1,4 +1,5 @@
//@import '~font-awesome/css/font-awesome.css'; @import '~font-awesome/css/font-awesome.css';
//@import '~bootstrap-sass/assets/stylesheets/bootstrap'; //@import '~bootstrap-sass/assets/stylesheets/bootstrap';
//@import '~intro.js/minified/introjs.min.css'; @import '~intro.js/minified/introjs.min.css';
//@import '~intro.js/themes/introjs-dark.css'; @import '~intro.js/themes/introjs-dark.css';
@import "~bootstrap/scss/bootstrap";

View File

@ -127,7 +127,7 @@
.nav { .nav {
min-width: 200px; min-width: 200px;
height: 100vh; min-height: 100vh;
overflow: auto; overflow: auto;
a { a {

View File

@ -14,6 +14,7 @@
"easycorp/easyadmin-bundle": "^4.6", "easycorp/easyadmin-bundle": "^4.6",
"phpdocumentor/reflection-docblock": "^5.3", "phpdocumentor/reflection-docblock": "^5.3",
"phpstan/phpdoc-parser": "^1.22", "phpstan/phpdoc-parser": "^1.22",
"sensio/framework-extra-bundle": "^6.2",
"symfony/asset": "6.0.*", "symfony/asset": "6.0.*",
"symfony/console": "6.0.*", "symfony/console": "6.0.*",
"symfony/doctrine-messenger": "6.0.*", "symfony/doctrine-messenger": "6.0.*",
@ -97,6 +98,7 @@
} }
}, },
"require-dev": { "require-dev": {
"doctrine/doctrine-fixtures-bundle": "^3.4",
"phpunit/phpunit": "^9.5", "phpunit/phpunit": "^9.5",
"symfony/browser-kit": "6.0.*", "symfony/browser-kit": "6.0.*",
"symfony/css-selector": "6.0.*", "symfony/css-selector": "6.0.*",

245
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "e95c50b475d7749692dd1c32cc16e527", "content-hash": "d5c567f7aba74594ed6f0ce7bfd99e8c",
"packages": [ "packages": [
{ {
"name": "doctrine/annotations", "name": "doctrine/annotations",
@ -2128,6 +2128,84 @@
}, },
"time": "2021-07-14T16:46:02+00:00" "time": "2021-07-14T16:46:02+00:00"
}, },
{
"name": "sensio/framework-extra-bundle",
"version": "v6.2.10",
"source": {
"type": "git",
"url": "https://github.com/sensiolabs/SensioFrameworkExtraBundle.git",
"reference": "2f886f4b31f23c76496901acaedfedb6936ba61f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sensiolabs/SensioFrameworkExtraBundle/zipball/2f886f4b31f23c76496901acaedfedb6936ba61f",
"reference": "2f886f4b31f23c76496901acaedfedb6936ba61f",
"shasum": ""
},
"require": {
"doctrine/annotations": "^1.0|^2.0",
"php": ">=7.2.5",
"symfony/config": "^4.4|^5.0|^6.0",
"symfony/dependency-injection": "^4.4|^5.0|^6.0",
"symfony/framework-bundle": "^4.4|^5.0|^6.0",
"symfony/http-kernel": "^4.4|^5.0|^6.0"
},
"conflict": {
"doctrine/doctrine-cache-bundle": "<1.3.1",
"doctrine/persistence": "<1.3"
},
"require-dev": {
"doctrine/dbal": "^2.10|^3.0",
"doctrine/doctrine-bundle": "^1.11|^2.0",
"doctrine/orm": "^2.5",
"symfony/browser-kit": "^4.4|^5.0|^6.0",
"symfony/doctrine-bridge": "^4.4|^5.0|^6.0",
"symfony/dom-crawler": "^4.4|^5.0|^6.0",
"symfony/expression-language": "^4.4|^5.0|^6.0",
"symfony/finder": "^4.4|^5.0|^6.0",
"symfony/monolog-bridge": "^4.0|^5.0|^6.0",
"symfony/monolog-bundle": "^3.2",
"symfony/phpunit-bridge": "^4.4.9|^5.0.9|^6.0",
"symfony/security-bundle": "^4.4|^5.0|^6.0",
"symfony/twig-bundle": "^4.4|^5.0|^6.0",
"symfony/yaml": "^4.4|^5.0|^6.0",
"twig/twig": "^1.34|^2.4|^3.0"
},
"type": "symfony-bundle",
"extra": {
"branch-alias": {
"dev-master": "6.1.x-dev"
}
},
"autoload": {
"psr-4": {
"Sensio\\Bundle\\FrameworkExtraBundle\\": "src/"
},
"exclude-from-classmap": [
"/tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
}
],
"description": "This bundle provides a way to configure your controllers with annotations",
"keywords": [
"annotations",
"controllers"
],
"support": {
"source": "https://github.com/sensiolabs/SensioFrameworkExtraBundle/tree/v6.2.10"
},
"abandoned": "Symfony",
"time": "2023-02-24T14:57:12+00:00"
},
{ {
"name": "symfony/asset", "name": "symfony/asset",
"version": "v6.0.19", "version": "v6.0.19",
@ -7544,6 +7622,171 @@
} }
], ],
"packages-dev": [ "packages-dev": [
{
"name": "doctrine/data-fixtures",
"version": "1.6.6",
"source": {
"type": "git",
"url": "https://github.com/doctrine/data-fixtures.git",
"reference": "4af35dadbfcf4b00abb2a217c4c8c8800cf5fcf4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/data-fixtures/zipball/4af35dadbfcf4b00abb2a217c4c8c8800cf5fcf4",
"reference": "4af35dadbfcf4b00abb2a217c4c8c8800cf5fcf4",
"shasum": ""
},
"require": {
"doctrine/deprecations": "^0.5.3 || ^1.0",
"doctrine/persistence": "^1.3.3 || ^2.0 || ^3.0",
"php": "^7.2 || ^8.0"
},
"conflict": {
"doctrine/dbal": "<2.13",
"doctrine/orm": "<2.12",
"doctrine/phpcr-odm": "<1.3.0"
},
"require-dev": {
"doctrine/coding-standard": "^11.0",
"doctrine/dbal": "^2.13 || ^3.0",
"doctrine/mongodb-odm": "^1.3.0 || ^2.0.0",
"doctrine/orm": "^2.12",
"ext-sqlite3": "*",
"phpstan/phpstan": "^1.5",
"phpunit/phpunit": "^8.5 || ^9.5 || ^10.0",
"symfony/cache": "^5.0 || ^6.0",
"vimeo/psalm": "^4.10 || ^5.9"
},
"suggest": {
"alcaeus/mongo-php-adapter": "For using MongoDB ODM 1.3 with PHP 7 (deprecated)",
"doctrine/mongodb-odm": "For loading MongoDB ODM fixtures",
"doctrine/orm": "For loading ORM fixtures",
"doctrine/phpcr-odm": "For loading PHPCR ODM fixtures"
},
"type": "library",
"autoload": {
"psr-4": {
"Doctrine\\Common\\DataFixtures\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Jonathan Wage",
"email": "jonwage@gmail.com"
}
],
"description": "Data Fixtures for all Doctrine Object Managers",
"homepage": "https://www.doctrine-project.org",
"keywords": [
"database"
],
"support": {
"issues": "https://github.com/doctrine/data-fixtures/issues",
"source": "https://github.com/doctrine/data-fixtures/tree/1.6.6"
},
"funding": [
{
"url": "https://www.doctrine-project.org/sponsorship.html",
"type": "custom"
},
{
"url": "https://www.patreon.com/phpdoctrine",
"type": "patreon"
},
{
"url": "https://tidelift.com/funding/github/packagist/doctrine%2Fdata-fixtures",
"type": "tidelift"
}
],
"time": "2023-04-20T13:08:54+00:00"
},
{
"name": "doctrine/doctrine-fixtures-bundle",
"version": "3.4.4",
"source": {
"type": "git",
"url": "https://github.com/doctrine/DoctrineFixturesBundle.git",
"reference": "9ec3139c52a42e94c9fd1e95f8d2bca94326edfb"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/DoctrineFixturesBundle/zipball/9ec3139c52a42e94c9fd1e95f8d2bca94326edfb",
"reference": "9ec3139c52a42e94c9fd1e95f8d2bca94326edfb",
"shasum": ""
},
"require": {
"doctrine/data-fixtures": "^1.3",
"doctrine/doctrine-bundle": "^1.11|^2.0",
"doctrine/orm": "^2.6.0",
"doctrine/persistence": "^1.3.7|^2.0|^3.0",
"php": "^7.1 || ^8.0",
"symfony/config": "^3.4|^4.3|^5.0|^6.0",
"symfony/console": "^3.4|^4.3|^5.0|^6.0",
"symfony/dependency-injection": "^3.4.47|^4.3|^5.0|^6.0",
"symfony/doctrine-bridge": "^3.4|^4.1|^5.0|^6.0",
"symfony/http-kernel": "^3.4|^4.3|^5.0|^6.0"
},
"require-dev": {
"doctrine/coding-standard": "^9",
"phpstan/phpstan": "^1.4.10",
"phpunit/phpunit": "^7.5.20 || ^8.5.26 || ^9.5.20",
"symfony/phpunit-bridge": "^6.0.8",
"vimeo/psalm": "^4.22"
},
"type": "symfony-bundle",
"autoload": {
"psr-4": {
"Doctrine\\Bundle\\FixturesBundle\\": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
},
{
"name": "Doctrine Project",
"homepage": "https://www.doctrine-project.org"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony DoctrineFixturesBundle",
"homepage": "https://www.doctrine-project.org",
"keywords": [
"Fixture",
"persistence"
],
"support": {
"issues": "https://github.com/doctrine/DoctrineFixturesBundle/issues",
"source": "https://github.com/doctrine/DoctrineFixturesBundle/tree/3.4.4"
},
"funding": [
{
"url": "https://www.doctrine-project.org/sponsorship.html",
"type": "custom"
},
{
"url": "https://www.patreon.com/phpdoctrine",
"type": "patreon"
},
{
"url": "https://tidelift.com/funding/github/packagist/doctrine%2Fdoctrine-fixtures-bundle",
"type": "tidelift"
}
],
"time": "2023-05-02T15:12:16+00:00"
},
{ {
"name": "myclabs/deep-copy", "name": "myclabs/deep-copy",
"version": "1.11.1", "version": "1.11.1",

View File

@ -13,4 +13,6 @@ return [
Symfony\Bundle\MakerBundle\MakerBundle::class => ['dev' => true], Symfony\Bundle\MakerBundle\MakerBundle::class => ['dev' => true],
Symfony\WebpackEncoreBundle\WebpackEncoreBundle::class => ['all' => true], Symfony\WebpackEncoreBundle\WebpackEncoreBundle::class => ['all' => true],
EasyCorp\Bundle\EasyAdminBundle\EasyAdminBundle::class => ['all' => true], EasyCorp\Bundle\EasyAdminBundle\EasyAdminBundle::class => ['all' => true],
Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle::class => ['dev' => true, 'test' => true],
Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle::class => ['all' => true],
]; ];

View File

@ -4,14 +4,24 @@ security:
Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface: 'auto' Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface: 'auto'
# https://symfony.com/doc/current/security.html#loading-the-user-the-user-provider # https://symfony.com/doc/current/security.html#loading-the-user-the-user-provider
providers: providers:
users_in_memory: { memory: null } # users_in_memory: { memory: null }
app_user_provider:
entity:
class: App\Entity\Admin
property: username
firewalls: firewalls:
dev: dev:
pattern: ^/(_(profiler|wdt)|css|images|js)/ pattern: ^/(_(profiler|wdt)|css|images|js)/
security: false security: false
main: main:
lazy: true lazy: true
provider: users_in_memory # provider: users_in_memory
provider: app_user_provider
custom_authenticator: App\Security\AppCustomAuthenticator
logout:
path: app_logout
# where to redirect after logout
# target: app_any_route
# activate different ways to authenticate # activate different ways to authenticate
# https://symfony.com/doc/current/security.html#the-firewall # https://symfony.com/doc/current/security.html#the-firewall

View File

@ -0,0 +1,3 @@
sensio_framework_extra:
router:
annotations: false

View File

@ -0,0 +1,109 @@
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20230628132908 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('CREATE TABLE admin (id INT AUTO_INCREMENT NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE user_account (id INT AUTO_INCREMENT NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('ALTER TABLE vote DROP FOREIGN KEY FK_5A1085643C947C0F');
$this->addSql('ALTER TABLE vote DROP FOREIGN KEY FK_5A1085649903A56B');
$this->addSql('ALTER TABLE vote DROP FOREIGN KEY FK_5A108564998666D1');
$this->addSql('ALTER TABLE poll DROP FOREIGN KEY FK_84BCFA457E3C61F9');
$this->addSql('ALTER TABLE user_product_category DROP FOREIGN KEY FK_B0E9318BA76ED395');
$this->addSql('ALTER TABLE user_product_category DROP FOREIGN KEY FK_B0E9318BBE6903FD');
$this->addSql('ALTER TABLE custom_user DROP FOREIGN KEY FK_8CE51EB4DE145A1C');
$this->addSql('ALTER TABLE product_sold DROP FOREIGN KEY FK_153AFF38A76ED395');
$this->addSql('ALTER TABLE product_sold DROP FOREIGN KEY FK_153AFF384584665A');
$this->addSql('ALTER TABLE product_sold DROP FOREIGN KEY FK_153AFF3897DB5DB5');
$this->addSql('ALTER TABLE serieFestival DROP FOREIGN KEY FK_BCDB0705A76ED395');
$this->addSql('ALTER TABLE stack_of_votes DROP FOREIGN KEY FK_4809A40D7E3C61F9');
$this->addSql('ALTER TABLE stack_of_votes DROP FOREIGN KEY FK_4809A40D3C947C0F');
$this->addSql('ALTER TABLE sell_record DROP FOREIGN KEY FK_F9F12A028AEBAF57');
$this->addSql('ALTER TABLE sell_record DROP FOREIGN KEY FK_F9F12A02A76ED395');
$this->addSql('ALTER TABLE product DROP FOREIGN KEY FK_D34A04AD12469DE2');
$this->addSql('ALTER TABLE product DROP FOREIGN KEY FK_D34A04ADA76ED395');
$this->addSql('ALTER TABLE comment DROP FOREIGN KEY FK_9474526C7E3C61F9');
$this->addSql('ALTER TABLE comment DROP FOREIGN KEY FK_9474526C3C947C0F');
$this->addSql('ALTER TABLE choice DROP FOREIGN KEY FK_C1AB5A923C947C0F');
$this->addSql('ALTER TABLE expense_kind DROP FOREIGN KEY FK_8F63F2BBA76ED395');
$this->addSql('ALTER TABLE festival DROP FOREIGN KEY FK_57CF7898DD79D04');
$this->addSql('ALTER TABLE festival DROP FOREIGN KEY FK_57CF789A76ED395');
$this->addSql('DROP TABLE vote');
$this->addSql('DROP TABLE poll');
$this->addSql('DROP TABLE user_product_category');
$this->addSql('DROP TABLE owner');
$this->addSql('DROP TABLE custom_user');
$this->addSql('DROP TABLE product_sold');
$this->addSql('DROP TABLE serieFestival');
$this->addSql('DROP TABLE stack_of_votes');
$this->addSql('DROP TABLE sell_record');
$this->addSql('DROP TABLE product_category');
$this->addSql('DROP TABLE product');
$this->addSql('DROP TABLE comment');
$this->addSql('DROP TABLE choice');
$this->addSql('DROP TABLE expense_kind');
$this->addSql('DROP TABLE festival');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('CREATE TABLE vote (id INT AUTO_INCREMENT NOT NULL, choice_id INT NOT NULL, poll_id INT NOT NULL, stacks_of_votes_id INT NOT NULL, value VARCHAR(255) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, created_at DATETIME DEFAULT CURRENT_TIMESTAMP NOT NULL, INDEX IDX_5A108564998666D1 (choice_id), INDEX IDX_5A1085643C947C0F (poll_id), INDEX IDX_5A1085649903A56B (stacks_of_votes_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB COMMENT = \'\' ');
$this->addSql('CREATE TABLE poll (id INT AUTO_INCREMENT NOT NULL, owner_id INT NOT NULL, title VARCHAR(255) CHARACTER SET utf8mb4 NOT NULL COLLATE `utf8mb4_unicode_ci`, custom_url VARCHAR(255) CHARACTER SET utf8mb4 NOT NULL COLLATE `utf8mb4_unicode_ci`, description VARCHAR(1000) CHARACTER SET utf8mb4 NOT NULL COLLATE `utf8mb4_unicode_ci`, expiracy_date DATETIME NOT NULL, kind VARCHAR(255) CHARACTER SET utf8mb4 NOT NULL COLLATE `utf8mb4_unicode_ci`, allowed_answers LONGTEXT CHARACTER SET utf8mb4 NOT NULL COLLATE `utf8mb4_unicode_ci` COMMENT \'(DC2Type:array)\', votes_allowed TINYINT(1) DEFAULT NULL, is_zero_knowledge TINYINT(1) DEFAULT NULL, votes_max SMALLINT DEFAULT NULL, choices_max SMALLINT DEFAULT NULL, comments_allowed TINYINT(1) DEFAULT NULL, modification_policy VARCHAR(255) CHARACTER SET utf8mb4 NOT NULL COLLATE `utf8mb4_unicode_ci`, mail_on_comment TINYINT(1) DEFAULT NULL, mail_on_vote TINYINT(1) DEFAULT NULL, hide_results TINYINT(1) DEFAULT NULL, show_result_even_if_passwords TINYINT(1) DEFAULT NULL, password VARCHAR(255) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, admin_key VARCHAR(255) CHARACTER SET utf8mb4 NOT NULL COLLATE `utf8mb4_unicode_ci`, created_at DATETIME DEFAULT CURRENT_TIMESTAMP NOT NULL, UNIQUE INDEX UNIQ_84BCFA4559CFBEEF (custom_url), INDEX IDX_84BCFA457E3C61F9 (owner_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB COMMENT = \'\' ');
$this->addSql('CREATE TABLE user_product_category (user_id INT NOT NULL, product_category_id INT NOT NULL, INDEX IDX_B0E9318BA76ED395 (user_id), INDEX IDX_B0E9318BBE6903FD (product_category_id), PRIMARY KEY(user_id, product_category_id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB COMMENT = \'\' ');
$this->addSql('CREATE TABLE owner (id INT AUTO_INCREMENT NOT NULL, pseudo VARCHAR(255) CHARACTER SET utf8mb4 NOT NULL COLLATE `utf8mb4_unicode_ci`, email VARCHAR(255) CHARACTER SET utf8mb4 NOT NULL COLLATE `utf8mb4_unicode_ci`, modifier_token VARCHAR(255) CHARACTER SET utf8mb4 NOT NULL COLLATE `utf8mb4_unicode_ci`, requested_polls_date DATETIME DEFAULT CURRENT_TIMESTAMP, created_at DATETIME DEFAULT CURRENT_TIMESTAMP NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB COMMENT = \'\' ');
$this->addSql('CREATE TABLE custom_user (id INT AUTO_INCREMENT NOT NULL, active_festival_id INT DEFAULT NULL, twitter_id VARCHAR(255) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, disqus_id VARCHAR(255) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, google_id VARCHAR(255) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, mastodon_id VARCHAR(255) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, averageMonthlyEarnings DOUBLE PRECISION DEFAULT NULL, disponibility DOUBLE PRECISION DEFAULT NULL, UNIQUE INDEX UNIQ_8CE51EB4DE145A1C (active_festival_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB COMMENT = \'\' ');
$this->addSql('CREATE TABLE product_sold (id INT AUTO_INCREMENT NOT NULL, user_id INT DEFAULT NULL, sell_records_id INT DEFAULT NULL, product_id INT DEFAULT NULL, name VARCHAR(100) CHARACTER SET utf8mb4 NOT NULL COLLATE `utf8mb4_unicode_ci`, image VARCHAR(256) CHARACTER SET utf8mb4 NOT NULL COLLATE `utf8mb4_unicode_ci`, price NUMERIC(10, 2) DEFAULT NULL, comment VARCHAR(256) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, INDEX IDX_153AFF3897DB5DB5 (sell_records_id), INDEX IDX_153AFF384584665A (product_id), INDEX IDX_153AFF38A76ED395 (user_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB COMMENT = \'\' ');
$this->addSql('CREATE TABLE serieFestival (id INT AUTO_INCREMENT NOT NULL, user_id INT DEFAULT NULL, name VARCHAR(255) CHARACTER SET utf8mb4 NOT NULL COLLATE `utf8mb4_unicode_ci`, dateCreation DATETIME NOT NULL, INDEX IDX_BCDB0705A76ED395 (user_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB COMMENT = \'\' ');
$this->addSql('CREATE TABLE stack_of_votes (id INT AUTO_INCREMENT NOT NULL, poll_id INT DEFAULT NULL, owner_id INT DEFAULT NULL, pseudo VARCHAR(255) CHARACTER SET utf8mb4 NOT NULL COLLATE `utf8mb4_unicode_ci`, ip VARCHAR(255) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, created_at DATETIME DEFAULT CURRENT_TIMESTAMP NOT NULL, INDEX IDX_4809A40D3C947C0F (poll_id), INDEX IDX_4809A40D7E3C61F9 (owner_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB COMMENT = \'\' ');
$this->addSql('CREATE TABLE sell_record (id INT AUTO_INCREMENT NOT NULL, festival_id INT DEFAULT NULL, user_id INT DEFAULT NULL, gender VARCHAR(255) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, date DATETIME NOT NULL, amount NUMERIC(10, 2) NOT NULL, paid_by_client NUMERIC(10, 2) DEFAULT NULL, comment VARCHAR(256) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, INDEX IDX_F9F12A028AEBAF57 (festival_id), INDEX IDX_F9F12A02A76ED395 (user_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB COMMENT = \'\' ');
$this->addSql('CREATE TABLE product_category (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(100) CHARACTER SET utf8mb4 NOT NULL COLLATE `utf8mb4_unicode_ci`, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB COMMENT = \'\' ');
$this->addSql('CREATE TABLE product (id INT AUTO_INCREMENT NOT NULL, category_id INT DEFAULT NULL, user_id INT DEFAULT NULL, stock_count INT NOT NULL, name VARCHAR(100) CHARACTER SET utf8mb4 NOT NULL COLLATE `utf8mb4_unicode_ci`, image VARCHAR(256) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, price NUMERIC(10, 2) DEFAULT NULL, comment VARCHAR(256) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, INDEX IDX_D34A04ADA76ED395 (user_id), INDEX IDX_D34A04AD12469DE2 (category_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB COMMENT = \'\' ');
$this->addSql('CREATE TABLE comment (id INT AUTO_INCREMENT NOT NULL, owner_id INT DEFAULT NULL, poll_id INT DEFAULT NULL, pseudo VARCHAR(255) CHARACTER SET utf8mb4 NOT NULL COLLATE `utf8mb4_unicode_ci`, text LONGTEXT CHARACTER SET utf8mb4 NOT NULL COLLATE `utf8mb4_unicode_ci`, created_at DATETIME DEFAULT CURRENT_TIMESTAMP NOT NULL, INDEX IDX_9474526C3C947C0F (poll_id), INDEX IDX_9474526C7E3C61F9 (owner_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB COMMENT = \'\' ');
$this->addSql('CREATE TABLE choice (id INT AUTO_INCREMENT NOT NULL, poll_id INT DEFAULT NULL, name VARCHAR(255) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, url VARCHAR(1024) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, created_at DATETIME DEFAULT CURRENT_TIMESTAMP NOT NULL, INDEX IDX_C1AB5A923C947C0F (poll_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB COMMENT = \'\' ');
$this->addSql('CREATE TABLE expense_kind (id INT AUTO_INCREMENT NOT NULL, user_id INT DEFAULT NULL, name VARCHAR(255) CHARACTER SET utf8mb4 NOT NULL COLLATE `utf8mb4_unicode_ci`, delay INT DEFAULT NULL, enabled TINYINT(1) DEFAULT NULL, repeatitions INT DEFAULT NULL, amount DOUBLE PRECISION NOT NULL, INDEX IDX_8F63F2BBA76ED395 (user_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB COMMENT = \'\' ');
$this->addSql('CREATE TABLE festival (id INT AUTO_INCREMENT NOT NULL, user_id INT DEFAULT NULL, serie_festival_id INT DEFAULT NULL, name VARCHAR(255) CHARACTER SET utf8mb4 NOT NULL COLLATE `utf8mb4_unicode_ci`, dateCreation DATETIME NOT NULL, fond_de_caisse_avant DOUBLE PRECISION NOT NULL, fond_de_caisse_apres DOUBLE PRECISION NOT NULL, chiffre_affaire DOUBLE PRECISION NOT NULL, frais_inscription NUMERIC(10, 2) DEFAULT NULL, frais_hebergement NUMERIC(10, 2) DEFAULT NULL, frais_transport NUMERIC(10, 2) DEFAULT NULL, frais_repas NUMERIC(10, 2) DEFAULT NULL, comment VARCHAR(256) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, INDEX IDX_57CF7898DD79D04 (serie_festival_id), INDEX IDX_57CF789A76ED395 (user_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB COMMENT = \'\' ');
$this->addSql('ALTER TABLE vote ADD CONSTRAINT FK_5A1085643C947C0F FOREIGN KEY (poll_id) REFERENCES poll (id)');
$this->addSql('ALTER TABLE vote ADD CONSTRAINT FK_5A1085649903A56B FOREIGN KEY (stacks_of_votes_id) REFERENCES stack_of_votes (id)');
$this->addSql('ALTER TABLE vote ADD CONSTRAINT FK_5A108564998666D1 FOREIGN KEY (choice_id) REFERENCES choice (id)');
$this->addSql('ALTER TABLE poll ADD CONSTRAINT FK_84BCFA457E3C61F9 FOREIGN KEY (owner_id) REFERENCES owner (id)');
$this->addSql('ALTER TABLE user_product_category ADD CONSTRAINT FK_B0E9318BA76ED395 FOREIGN KEY (user_id) REFERENCES custom_user (id) ON DELETE CASCADE');
$this->addSql('ALTER TABLE user_product_category ADD CONSTRAINT FK_B0E9318BBE6903FD FOREIGN KEY (product_category_id) REFERENCES product_category (id) ON DELETE CASCADE');
$this->addSql('ALTER TABLE custom_user ADD CONSTRAINT FK_8CE51EB4DE145A1C FOREIGN KEY (active_festival_id) REFERENCES festival (id)');
$this->addSql('ALTER TABLE product_sold ADD CONSTRAINT FK_153AFF38A76ED395 FOREIGN KEY (user_id) REFERENCES custom_user (id)');
$this->addSql('ALTER TABLE product_sold ADD CONSTRAINT FK_153AFF384584665A FOREIGN KEY (product_id) REFERENCES product (id)');
$this->addSql('ALTER TABLE product_sold ADD CONSTRAINT FK_153AFF3897DB5DB5 FOREIGN KEY (sell_records_id) REFERENCES sell_record (id)');
$this->addSql('ALTER TABLE serieFestival ADD CONSTRAINT FK_BCDB0705A76ED395 FOREIGN KEY (user_id) REFERENCES custom_user (id)');
$this->addSql('ALTER TABLE stack_of_votes ADD CONSTRAINT FK_4809A40D7E3C61F9 FOREIGN KEY (owner_id) REFERENCES owner (id)');
$this->addSql('ALTER TABLE stack_of_votes ADD CONSTRAINT FK_4809A40D3C947C0F FOREIGN KEY (poll_id) REFERENCES poll (id)');
$this->addSql('ALTER TABLE sell_record ADD CONSTRAINT FK_F9F12A028AEBAF57 FOREIGN KEY (festival_id) REFERENCES festival (id)');
$this->addSql('ALTER TABLE sell_record ADD CONSTRAINT FK_F9F12A02A76ED395 FOREIGN KEY (user_id) REFERENCES custom_user (id)');
$this->addSql('ALTER TABLE product ADD CONSTRAINT FK_D34A04AD12469DE2 FOREIGN KEY (category_id) REFERENCES product_category (id)');
$this->addSql('ALTER TABLE product ADD CONSTRAINT FK_D34A04ADA76ED395 FOREIGN KEY (user_id) REFERENCES custom_user (id)');
$this->addSql('ALTER TABLE comment ADD CONSTRAINT FK_9474526C7E3C61F9 FOREIGN KEY (owner_id) REFERENCES owner (id)');
$this->addSql('ALTER TABLE comment ADD CONSTRAINT FK_9474526C3C947C0F FOREIGN KEY (poll_id) REFERENCES poll (id)');
$this->addSql('ALTER TABLE choice ADD CONSTRAINT FK_C1AB5A923C947C0F FOREIGN KEY (poll_id) REFERENCES poll (id)');
$this->addSql('ALTER TABLE expense_kind ADD CONSTRAINT FK_8F63F2BBA76ED395 FOREIGN KEY (user_id) REFERENCES custom_user (id)');
$this->addSql('ALTER TABLE festival ADD CONSTRAINT FK_57CF7898DD79D04 FOREIGN KEY (serie_festival_id) REFERENCES serieFestival (id)');
$this->addSql('ALTER TABLE festival ADD CONSTRAINT FK_57CF789A76ED395 FOREIGN KEY (user_id) REFERENCES custom_user (id)');
$this->addSql('DROP TABLE admin');
$this->addSql('DROP TABLE user_account');
}
}

View File

@ -5,7 +5,10 @@
"@hotwired/stimulus": "^3.0.0", "@hotwired/stimulus": "^3.0.0",
"@symfony/stimulus-bridge": "^3.2.0", "@symfony/stimulus-bridge": "^3.2.0",
"@symfony/webpack-encore": "^4.0.0", "@symfony/webpack-encore": "^4.0.0",
"bootstrap": "^5.3.0",
"core-js": "^3.23.0", "core-js": "^3.23.0",
"font-awesome": "^4.7.0",
"intro.js": "^7.0.1",
"regenerator-runtime": "^0.13.9", "regenerator-runtime": "^0.13.9",
"sass": "^1.63.3", "sass": "^1.63.3",
"sass-loader": "^13.0.0", "sass-loader": "^13.0.0",

View File

@ -21,7 +21,7 @@ body {
.bg-shader { .bg-shader {
@extend .bg-dark; @extend .bg-dark;
height: 100vh; min-height: 100vh;
} }
.bg-img { .bg-img {
@ -159,7 +159,7 @@ input {
position: fixed; position: fixed;
left: 0; left: 0;
top: 0; top: 0;
height: 100vh; min-height: 100vh;
width: 13vw; width: 13vw;
min-width: 300px; min-width: 300px;
overflow-x: auto; overflow-x: auto;

File diff suppressed because one or more lines are too long

View File

@ -223,8 +223,8 @@ __webpack_require__.r(__webpack_exports__);
}, },
/******/ __webpack_require__ => { // webpackRuntimeModules /******/ __webpack_require__ => { // webpackRuntimeModules
/******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId)) /******/ var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
/******/ __webpack_require__.O(0, ["vendors-node_modules_symfony_stimulus-bridge_dist_index_js-node_modules_core-js_modules_es_da-03e5c3"], () => (__webpack_exec__("./assets/app.js"))); /******/ __webpack_require__.O(0, ["vendors-node_modules_symfony_stimulus-bridge_dist_index_js-node_modules_core-js_modules_es_da-71fe61"], () => (__webpack_exec__("./assets/app.js")));
/******/ var __webpack_exports__ = __webpack_require__.O(); /******/ var __webpack_exports__ = __webpack_require__.O();
/******/ } /******/ }
]); ]);
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBQUE7QUFDQTtBQUNBOzs7QUFHQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Ozs7Ozs7Ozs7Ozs7OztBQ3RCQSxpRUFBZTtBQUNmLENBQUM7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FDRCtDOztBQUVoRDtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFSQSxJQUFBQyxRQUFBLDBCQUFBQyxXQUFBO0VBQUFDLFNBQUEsQ0FBQUYsUUFBQSxFQUFBQyxXQUFBO0VBQUEsSUFBQUUsTUFBQSxHQUFBQyxZQUFBLENBQUFKLFFBQUE7RUFBQSxTQUFBQSxTQUFBO0lBQUFLLGVBQUEsT0FBQUwsUUFBQTtJQUFBLE9BQUFHLE1BQUEsQ0FBQUcsS0FBQSxPQUFBQyxTQUFBO0VBQUE7RUFBQUMsWUFBQSxDQUFBUixRQUFBO0lBQUFTLEdBQUE7SUFBQUMsS0FBQSxFQVVJLFNBQUFDLFFBQUEsRUFBVTtNQUNOLElBQUksQ0FBQ0MsT0FBTyxDQUFDQyxXQUFXLEdBQUcsbUVBQW1FO0lBQ2xHO0VBQUM7RUFBQSxPQUFBYixRQUFBO0FBQUEsRUFId0JELDJEQUFVOzs7Ozs7Ozs7Ozs7Ozs7QUNYdkM7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQzJCOztBQUUzQjs7Ozs7Ozs7Ozs7Ozs7Ozs7QUNWNEQ7O0FBRTVEO0FBQ08sSUFBTWlCLEdBQUcsR0FBR0QsMEVBQWdCLENBQUNFLHlJQUluQyxDQUFDOztBQUVGO0FBQ0E7Ozs7Ozs7Ozs7OztBQ1ZBIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLyBcXC5banRdc3giLCJ3ZWJwYWNrOi8vLy4vYXNzZXRzL2NvbnRyb2xsZXJzLmpzb24iLCJ3ZWJwYWNrOi8vLy4vYXNzZXRzL2NvbnRyb2xsZXJzL2hlbGxvX2NvbnRyb2xsZXIuanMiLCJ3ZWJwYWNrOi8vLy4vYXNzZXRzL2FwcC5qcyIsIndlYnBhY2s6Ly8vLi9hc3NldHMvYm9vdHN0cmFwLmpzIiwid2VicGFjazovLy8uL2Fzc2V0cy9zdHlsZXMvYXBwLnNjc3MiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIG1hcCA9IHtcblx0XCIuL2hlbGxvX2NvbnRyb2xsZXIuanNcIjogXCIuL25vZGVfbW9kdWxlcy9Ac3ltZm9ueS9zdGltdWx1cy1icmlkZ2UvbGF6eS1jb250cm9sbGVyLWxvYWRlci5qcyEuL2Fzc2V0cy9jb250cm9sbGVycy9oZWxsb19jb250cm9sbGVyLmpzXCJcbn07XG5cblxuZnVuY3Rpb24gd2VicGFja0NvbnRleHQocmVxKSB7XG5cdHZhciBpZCA9IHdlYnBhY2tDb250ZXh0UmVzb2x2ZShyZXEpO1xuXHRyZXR1cm4gX193ZWJwYWNrX3JlcXVpcmVfXyhpZCk7XG59XG5mdW5jdGlvbiB3ZWJwYWNrQ29udGV4dFJlc29sdmUocmVxKSB7XG5cdGlmKCFfX3dlYnBhY2tfcmVxdWlyZV9fLm8obWFwLCByZXEpKSB7XG5cdFx0dmFyIGUgPSBuZXcgRXJyb3IoXCJDYW5ub3QgZmluZCBtb2R1bGUgJ1wiICsgcmVxICsgXCInXCIpO1xuXHRcdGUuY29kZSA9ICdNT0RVTEVfTk9UX0ZPVU5EJztcblx0XHR0aHJvdyBlO1xuXHR9XG5cdHJldHVybiBtYXBbcmVxXTtcbn1cbndlYnBhY2tDb250ZXh0LmtleXMgPSBmdW5jdGlvbiB3ZWJwYWNrQ29udGV4dEtleXMoKSB7XG5cdHJldHVybiBPYmplY3Qua2V5cyhtYXApO1xufTtcbndlYnBhY2tDb250ZXh0LnJlc29sdmUgPSB3ZWJwYWNrQ29udGV4dFJlc29sdmU7XG5tb2R1bGUuZXhwb3J0cyA9IHdlYnBhY2tDb250ZXh0O1xud2VicGFja0NvbnRleHQuaWQgPSBcIi4vYXNzZXRzL2NvbnRyb2xsZXJzIHN5bmMgcmVjdXJzaXZlIC4vbm9kZV9tb2R1bGVzL0BzeW1mb255L3N0aW11bHVzLWJyaWRnZS9sYXp5LWNvbnRyb2xsZXItbG9hZGVyLmpzISBcXFxcLltqdF1zeD8kXCI7IiwiZXhwb3J0IGRlZmF1bHQge1xufTsiLCJpbXBvcnQgeyBDb250cm9sbGVyIH0gZnJvbSAnQGhvdHdpcmVkL3N0aW11bHVzJztcblxuLypcbiAqIFRoaXMgaXMgYW4gZXhhbXBsZSBTdGltdWx1cyBjb250cm9sbGVyIVxuICpcbiAqIEFueSBlbGVtZW50IHdpdGggYSBkYXRhLWNvbnRyb2xsZXI9XCJoZWxsb1wiIGF0dHJpYnV0ZSB3aWxsIGNhdXNlXG4gKiB0aGlzIGNvbnRyb2xsZXIgdG8gYmUgZXhlY3V0ZWQuIFRoZSBuYW1lIFwiaGVsbG9cIiBjb21lcyBmcm9tIHRoZSBmaWxlbmFtZTpcbiAqIGhlbGxvX2NvbnRyb2xsZXIuanMgLT4gXCJoZWxsb1wiXG4gKlxuICogRGVsZXRlIHRoaXMgZmlsZSBvciBhZGFwdCBpdCBmb3IgeW91ciB1c2UhXG4gKi9cbmV4cG9ydCBkZWZhdWx0IGNsYXNzIGV4dGVuZHMgQ29udHJvbGxlciB7XG4gICAgY29ubmVjdCgpIHtcbiAgICAgICAgdGhpcy5lbGVtZW50LnRleHRDb250ZW50ID0gJ0hlbGxvIFN0aW11bHVzISBFZGl0IG1lIGluIGFzc2V0cy9jb250cm9sbGVycy9oZWxsb19jb250cm9sbGVyLmpzJztcbiAgICB9XG59XG4iLCIvKlxuICogV2VsY29tZSB0byB5b3VyIGFwcCdzIG1haW4gSmF2YVNjcmlwdCBmaWxlIVxuICpcbiAqIFdlIHJlY29tbWVuZCBpbmNsdWRpbmcgdGhlIGJ1aWx0IHZlcnNpb24gb2YgdGhpcyBKYXZhU2NyaXB0IGZpbGVcbiAqIChhbmQgaXRzIENTUyBmaWxlKSBpbiB5b3VyIGJhc2UgbGF5b3V0IChiYXNlLmh0bWwudHdpZykuXG4gKi9cblxuLy8gYW55IENTUyB5b3UgaW1wb3J0IHdpbGwgb3V0cHV0IGludG8gYSBzaW5nbGUgY3NzIGZpbGUgKGFwcC5jc3MgaW4gdGhpcyBjYXNlKVxuaW1wb3J0ICcuL3N0eWxlcy9hcHAuc2Nzcyc7XG5cbi8vIHN0YXJ0IHRoZSBTdGltdWx1cyBhcHBsaWNhdGlvblxuaW1wb3J0ICcuL2Jvb3RzdHJhcCc7XG4iLCJpbXBvcnQgeyBzdGFydFN0aW11bHVzQXBwIH0gZnJvbSAnQHN5bWZvbnkvc3RpbXVsdXMtYnJpZGdlJztcblxuLy8gUmVnaXN0ZXJzIFN0aW11bHVzIGNvbnRyb2xsZXJzIGZyb20gY29udHJvbGxlcnMuanNvbiBhbmQgaW4gdGhlIGNvbnRyb2xsZXJzLyBkaXJlY3RvcnlcbmV4cG9ydCBjb25zdCBhcHAgPSBzdGFydFN0aW11bHVzQXBwKHJlcXVpcmUuY29udGV4dChcbiAgICAnQHN5bWZvbnkvc3RpbXVsdXMtYnJpZGdlL2xhenktY29udHJvbGxlci1sb2FkZXIhLi9jb250cm9sbGVycycsXG4gICAgdHJ1ZSxcbiAgICAvXFwuW2p0XXN4PyQvXG4pKTtcblxuLy8gcmVnaXN0ZXIgYW55IGN1c3RvbSwgM3JkIHBhcnR5IGNvbnRyb2xsZXJzIGhlcmVcbi8vIGFwcC5yZWdpc3Rlcignc29tZV9jb250cm9sbGVyX25hbWUnLCBTb21lSW1wb3J0ZWRDb250cm9sbGVyKTtcbiIsIi8vIGV4dHJhY3RlZCBieSBtaW5pLWNzcy1leHRyYWN0LXBsdWdpblxuZXhwb3J0IHt9OyJdLCJuYW1lcyI6WyJDb250cm9sbGVyIiwiX2RlZmF1bHQiLCJfQ29udHJvbGxlciIsIl9pbmhlcml0cyIsIl9zdXBlciIsIl9jcmVhdGVTdXBlciIsIl9jbGFzc0NhbGxDaGVjayIsImFwcGx5IiwiYXJndW1lbnRzIiwiX2NyZWF0ZUNsYXNzIiwia2V5IiwidmFsdWUiLCJjb25uZWN0IiwiZWxlbWVudCIsInRleHRDb250ZW50IiwiZGVmYXVsdCIsInN0YXJ0U3RpbXVsdXNBcHAiLCJhcHAiLCJyZXF1aXJlIiwiY29udGV4dCJdLCJzb3VyY2VSb290IjoiIn0= //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLmpzIiwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBQUE7QUFDQTtBQUNBOzs7QUFHQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Ozs7Ozs7Ozs7Ozs7OztBQ3RCQSxpRUFBZTtBQUNmLENBQUM7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FDRCtDOztBQUVoRDtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFSQSxJQUFBQyxRQUFBLDBCQUFBQyxXQUFBO0VBQUFDLFNBQUEsQ0FBQUYsUUFBQSxFQUFBQyxXQUFBO0VBQUEsSUFBQUUsTUFBQSxHQUFBQyxZQUFBLENBQUFKLFFBQUE7RUFBQSxTQUFBQSxTQUFBO0lBQUFLLGVBQUEsT0FBQUwsUUFBQTtJQUFBLE9BQUFHLE1BQUEsQ0FBQUcsS0FBQSxPQUFBQyxTQUFBO0VBQUE7RUFBQUMsWUFBQSxDQUFBUixRQUFBO0lBQUFTLEdBQUE7SUFBQUMsS0FBQSxFQVVJLFNBQUFDLFFBQUEsRUFBVTtNQUNOLElBQUksQ0FBQ0MsT0FBTyxDQUFDQyxXQUFXLEdBQUcsbUVBQW1FO0lBQ2xHO0VBQUM7RUFBQSxPQUFBYixRQUFBO0FBQUEsRUFId0JELDJEQUFVOzs7Ozs7Ozs7Ozs7Ozs7QUNYdkM7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQzJCOztBQUUzQjs7Ozs7Ozs7Ozs7Ozs7Ozs7QUNWNEQ7O0FBRTVEO0FBQ08sSUFBTWlCLEdBQUcsR0FBR0QsMEVBQWdCLENBQUNFLHlJQUluQyxDQUFDOztBQUVGO0FBQ0E7Ozs7Ozs7Ozs7OztBQ1ZBIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vLyBcXC5banRdc3giLCJ3ZWJwYWNrOi8vLy4vYXNzZXRzL2NvbnRyb2xsZXJzLmpzb24iLCJ3ZWJwYWNrOi8vLy4vYXNzZXRzL2NvbnRyb2xsZXJzL2hlbGxvX2NvbnRyb2xsZXIuanMiLCJ3ZWJwYWNrOi8vLy4vYXNzZXRzL2FwcC5qcyIsIndlYnBhY2s6Ly8vLi9hc3NldHMvYm9vdHN0cmFwLmpzIiwid2VicGFjazovLy8uL2Fzc2V0cy9zdHlsZXMvYXBwLnNjc3M/OGY1OSJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgbWFwID0ge1xuXHRcIi4vaGVsbG9fY29udHJvbGxlci5qc1wiOiBcIi4vbm9kZV9tb2R1bGVzL0BzeW1mb255L3N0aW11bHVzLWJyaWRnZS9sYXp5LWNvbnRyb2xsZXItbG9hZGVyLmpzIS4vYXNzZXRzL2NvbnRyb2xsZXJzL2hlbGxvX2NvbnRyb2xsZXIuanNcIlxufTtcblxuXG5mdW5jdGlvbiB3ZWJwYWNrQ29udGV4dChyZXEpIHtcblx0dmFyIGlkID0gd2VicGFja0NvbnRleHRSZXNvbHZlKHJlcSk7XG5cdHJldHVybiBfX3dlYnBhY2tfcmVxdWlyZV9fKGlkKTtcbn1cbmZ1bmN0aW9uIHdlYnBhY2tDb250ZXh0UmVzb2x2ZShyZXEpIHtcblx0aWYoIV9fd2VicGFja19yZXF1aXJlX18ubyhtYXAsIHJlcSkpIHtcblx0XHR2YXIgZSA9IG5ldyBFcnJvcihcIkNhbm5vdCBmaW5kIG1vZHVsZSAnXCIgKyByZXEgKyBcIidcIik7XG5cdFx0ZS5jb2RlID0gJ01PRFVMRV9OT1RfRk9VTkQnO1xuXHRcdHRocm93IGU7XG5cdH1cblx0cmV0dXJuIG1hcFtyZXFdO1xufVxud2VicGFja0NvbnRleHQua2V5cyA9IGZ1bmN0aW9uIHdlYnBhY2tDb250ZXh0S2V5cygpIHtcblx0cmV0dXJuIE9iamVjdC5rZXlzKG1hcCk7XG59O1xud2VicGFja0NvbnRleHQucmVzb2x2ZSA9IHdlYnBhY2tDb250ZXh0UmVzb2x2ZTtcbm1vZHVsZS5leHBvcnRzID0gd2VicGFja0NvbnRleHQ7XG53ZWJwYWNrQ29udGV4dC5pZCA9IFwiLi9hc3NldHMvY29udHJvbGxlcnMgc3luYyByZWN1cnNpdmUgLi9ub2RlX21vZHVsZXMvQHN5bWZvbnkvc3RpbXVsdXMtYnJpZGdlL2xhenktY29udHJvbGxlci1sb2FkZXIuanMhIFxcXFwuW2p0XXN4PyRcIjsiLCJleHBvcnQgZGVmYXVsdCB7XG59OyIsImltcG9ydCB7IENvbnRyb2xsZXIgfSBmcm9tICdAaG90d2lyZWQvc3RpbXVsdXMnO1xuXG4vKlxuICogVGhpcyBpcyBhbiBleGFtcGxlIFN0aW11bHVzIGNvbnRyb2xsZXIhXG4gKlxuICogQW55IGVsZW1lbnQgd2l0aCBhIGRhdGEtY29udHJvbGxlcj1cImhlbGxvXCIgYXR0cmlidXRlIHdpbGwgY2F1c2VcbiAqIHRoaXMgY29udHJvbGxlciB0byBiZSBleGVjdXRlZC4gVGhlIG5hbWUgXCJoZWxsb1wiIGNvbWVzIGZyb20gdGhlIGZpbGVuYW1lOlxuICogaGVsbG9fY29udHJvbGxlci5qcyAtPiBcImhlbGxvXCJcbiAqXG4gKiBEZWxldGUgdGhpcyBmaWxlIG9yIGFkYXB0IGl0IGZvciB5b3VyIHVzZSFcbiAqL1xuZXhwb3J0IGRlZmF1bHQgY2xhc3MgZXh0ZW5kcyBDb250cm9sbGVyIHtcbiAgICBjb25uZWN0KCkge1xuICAgICAgICB0aGlzLmVsZW1lbnQudGV4dENvbnRlbnQgPSAnSGVsbG8gU3RpbXVsdXMhIEVkaXQgbWUgaW4gYXNzZXRzL2NvbnRyb2xsZXJzL2hlbGxvX2NvbnRyb2xsZXIuanMnO1xuICAgIH1cbn1cbiIsIi8qXG4gKiBXZWxjb21lIHRvIHlvdXIgYXBwJ3MgbWFpbiBKYXZhU2NyaXB0IGZpbGUhXG4gKlxuICogV2UgcmVjb21tZW5kIGluY2x1ZGluZyB0aGUgYnVpbHQgdmVyc2lvbiBvZiB0aGlzIEphdmFTY3JpcHQgZmlsZVxuICogKGFuZCBpdHMgQ1NTIGZpbGUpIGluIHlvdXIgYmFzZSBsYXlvdXQgKGJhc2UuaHRtbC50d2lnKS5cbiAqL1xuXG4vLyBhbnkgQ1NTIHlvdSBpbXBvcnQgd2lsbCBvdXRwdXQgaW50byBhIHNpbmdsZSBjc3MgZmlsZSAoYXBwLmNzcyBpbiB0aGlzIGNhc2UpXG5pbXBvcnQgJy4vc3R5bGVzL2FwcC5zY3NzJztcblxuLy8gc3RhcnQgdGhlIFN0aW11bHVzIGFwcGxpY2F0aW9uXG5pbXBvcnQgJy4vYm9vdHN0cmFwJztcbiIsImltcG9ydCB7IHN0YXJ0U3RpbXVsdXNBcHAgfSBmcm9tICdAc3ltZm9ueS9zdGltdWx1cy1icmlkZ2UnO1xuXG4vLyBSZWdpc3RlcnMgU3RpbXVsdXMgY29udHJvbGxlcnMgZnJvbSBjb250cm9sbGVycy5qc29uIGFuZCBpbiB0aGUgY29udHJvbGxlcnMvIGRpcmVjdG9yeVxuZXhwb3J0IGNvbnN0IGFwcCA9IHN0YXJ0U3RpbXVsdXNBcHAocmVxdWlyZS5jb250ZXh0KFxuICAgICdAc3ltZm9ueS9zdGltdWx1cy1icmlkZ2UvbGF6eS1jb250cm9sbGVyLWxvYWRlciEuL2NvbnRyb2xsZXJzJyxcbiAgICB0cnVlLFxuICAgIC9cXC5banRdc3g/JC9cbikpO1xuXG4vLyByZWdpc3RlciBhbnkgY3VzdG9tLCAzcmQgcGFydHkgY29udHJvbGxlcnMgaGVyZVxuLy8gYXBwLnJlZ2lzdGVyKCdzb21lX2NvbnRyb2xsZXJfbmFtZScsIFNvbWVJbXBvcnRlZENvbnRyb2xsZXIpO1xuIiwiLy8gZXh0cmFjdGVkIGJ5IG1pbmktY3NzLWV4dHJhY3QtcGx1Z2luXG5leHBvcnQge307Il0sIm5hbWVzIjpbIkNvbnRyb2xsZXIiLCJfZGVmYXVsdCIsIl9Db250cm9sbGVyIiwiX2luaGVyaXRzIiwiX3N1cGVyIiwiX2NyZWF0ZVN1cGVyIiwiX2NsYXNzQ2FsbENoZWNrIiwiYXBwbHkiLCJhcmd1bWVudHMiLCJfY3JlYXRlQ2xhc3MiLCJrZXkiLCJ2YWx1ZSIsImNvbm5lY3QiLCJlbGVtZW50IiwidGV4dENvbnRlbnQiLCJkZWZhdWx0Iiwic3RhcnRTdGltdWx1c0FwcCIsImFwcCIsInJlcXVpcmUiLCJjb250ZXh0Il0sInNvdXJjZVJvb3QiOiIifQ==

View File

@ -3,10 +3,11 @@
"app": { "app": {
"js": [ "js": [
"/build/runtime.js", "/build/runtime.js",
"/build/vendors-node_modules_symfony_stimulus-bridge_dist_index_js-node_modules_core-js_modules_es_da-03e5c3.js", "/build/vendors-node_modules_symfony_stimulus-bridge_dist_index_js-node_modules_core-js_modules_es_da-71fe61.js",
"/build/app.js" "/build/app.js"
], ],
"css": [ "css": [
"/build/vendors-node_modules_symfony_stimulus-bridge_dist_index_js-node_modules_core-js_modules_es_da-71fe61.css",
"/build/app.css" "/build/app.css"
] ]
} }

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 434 KiB

View File

@ -4,8 +4,15 @@
"build/runtime.js": "/build/runtime.js", "build/runtime.js": "/build/runtime.js",
"build/vendors-node_modules_symfony_stimulus-bridge_dist_index_js-node_modules_core-js_modules_es_da-03e5c3.js": "/build/vendors-node_modules_symfony_stimulus-bridge_dist_index_js-node_modules_core-js_modules_es_da-03e5c3.js", "build/vendors-node_modules_symfony_stimulus-bridge_dist_index_js-node_modules_core-js_modules_es_da-03e5c3.js": "/build/vendors-node_modules_symfony_stimulus-bridge_dist_index_js-node_modules_core-js_modules_es_da-03e5c3.js",
"build/images/girl_computer.jpg": "/build/images/girl_computer.797d0805.jpg", "build/images/girl_computer.jpg": "/build/images/girl_computer.797d0805.jpg",
"build/images/accessories.jpg": "/build/images/accessories.b35eab90.jpg",
"build/fonts/SourceSansPro-Bold.otf": "/build/fonts/SourceSansPro-Bold.751d4a14.otf", "build/fonts/SourceSansPro-Bold.otf": "/build/fonts/SourceSansPro-Bold.751d4a14.otf",
"build/fonts/SourceSansPro-Regular.otf": "/build/fonts/SourceSansPro-Regular.7a9975d8.otf", "build/fonts/SourceSansPro-Regular.otf": "/build/fonts/SourceSansPro-Regular.7a9975d8.otf",
"build/fonts/SourceSansPro-Light.otf": "/build/fonts/SourceSansPro-Light.0d4a9a1b.otf" "build/fonts/SourceSansPro-Light.otf": "/build/fonts/SourceSansPro-Light.0d4a9a1b.otf",
"build/images/accessories.jpg": "/build/images/accessories.b35eab90.jpg",
"build/vendors-node_modules_symfony_stimulus-bridge_dist_index_js-node_modules_core-js_modules_es_da-71fe61.css": "/build/vendors-node_modules_symfony_stimulus-bridge_dist_index_js-node_modules_core-js_modules_es_da-71fe61.css",
"build/vendors-node_modules_symfony_stimulus-bridge_dist_index_js-node_modules_core-js_modules_es_da-71fe61.js": "/build/vendors-node_modules_symfony_stimulus-bridge_dist_index_js-node_modules_core-js_modules_es_da-71fe61.js",
"build/images/fontawesome-webfont.svg?v=4.7.0": "/build/images/fontawesome-webfont.c1e38fd9.svg",
"build/fonts/fontawesome-webfont.eot": "/build/fonts/fontawesome-webfont.8b43027f.eot",
"build/fonts/fontawesome-webfont.ttf?v=4.7.0": "/build/fonts/fontawesome-webfont.1e59d233.ttf",
"build/fonts/fontawesome-webfont.woff?v=4.7.0": "/build/fonts/fontawesome-webfont.f691f37e.woff",
"build/fonts/fontawesome-webfont.woff2?v=4.7.0": "/build/fonts/fontawesome-webfont.20fd1704.woff2"
} }

View File

@ -0,0 +1,25 @@
<?php
namespace App\Controller\Admin;
use App\Entity\Admin;
use EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController;
class AdminCrudController extends AbstractCrudController
{
public static function getEntityFqcn(): string
{
return Admin::class;
}
/*
public function configureFields(string $pageName): iterable
{
return [
IdField::new('id'),
TextField::new('title'),
TextEditorField::new('description'),
];
}
*/
}

View File

@ -13,7 +13,7 @@ class DashboardController extends AbstractDashboardController
#[Route('/admin', name: 'dashboard')] #[Route('/admin', name: 'dashboard')]
public function index(): Response public function index(): Response
{ {
return parent::index(); // return parent::index();
// Option 1. You can make your dashboard redirect to some common page of your backend // Option 1. You can make your dashboard redirect to some common page of your backend
// //
@ -29,7 +29,7 @@ class DashboardController extends AbstractDashboardController
// Option 3. You can render some custom template to display a proper dashboard with widgets, etc. // Option 3. You can render some custom template to display a proper dashboard with widgets, etc.
// (tip: it's easier if your template extends from @EasyAdmin/page/content.html.twig) // (tip: it's easier if your template extends from @EasyAdmin/page/content.html.twig)
// //
// return $this->render('some/path/my-dashboard.html.twig'); return $this->render('logged/dashboard.html.twig');
} }
public function configureDashboard(): Dashboard public function configureDashboard(): Dashboard

View File

@ -0,0 +1,32 @@
<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\Security\Http\Authentication\AuthenticationUtils;
class SecurityController extends AbstractController
{
#[Route(path: '/login', name: 'app_login')]
public function login(AuthenticationUtils $authenticationUtils): Response
{
// if ($this->getUser()) {
// return $this->redirectToRoute('target_path');
// }
// get the login error if there is one
$error = $authenticationUtils->getLastAuthenticationError();
// last username entered by the user
$lastUsername = $authenticationUtils->getLastUsername();
return $this->render('security/login.html.twig', ['last_username' => $lastUsername, 'error' => $error]);
}
#[Route(path: '/logout', name: 'app_logout')]
public function logout(): void
{
throw new \LogicException('This method can be blank - it will be intercepted by the logout key on your firewall.');
}
}

View File

@ -0,0 +1,19 @@
<?php
namespace App\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
class UserController extends AbstractController
{
#[Route('/login', name: 'app_user_login')]
public function home(): Response
{
return $this->render('account/login.html.twig', [
]);
}
}

View File

@ -0,0 +1,17 @@
<?php
namespace App\DataFixtures;
use Doctrine\Bundle\FixturesBundle\Fixture;
use Doctrine\Persistence\ObjectManager;
class AppFixtures extends Fixture
{
public function load(ObjectManager $manager): void
{
// $product = new Product();
// $manager->persist($product);
$manager->flush();
}
}

23
src/DataFixtures/User.php Normal file
View File

@ -0,0 +1,23 @@
<?php
namespace App\DataFixtures;
use Doctrine\Bundle\FixturesBundle\Fixture;
use Doctrine\Persistence\ObjectManager;
use App\Entity\User as UserClass;
class User extends Fixture
{
public function load(ObjectManager $manager): void
{
$demo_user = new UserClass();
$demo_user
->setLogin('demo')
->setPass('demo')
;
$manager->persist($demo_user);
$manager->flush();
}
}

288
src/Entity/Admin.php Normal file
View File

@ -0,0 +1,288 @@
<?php
namespace App\Entity;
use App\Repository\AdminRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: AdminRepository::class)]
class Admin
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $username = null;
#[ORM\Column(length: 255)]
private ?string $email = null;
#[ORM\ManyToMany(targetEntity: Product::class, inversedBy: 'admins')]
private Collection $products;
#[ORM\OneToMany(mappedBy: 'admin', targetEntity: Festival::class)]
private Collection $festival;
#[ORM\OneToMany(mappedBy: 'admin', targetEntity: ProductCategory::class)]
private Collection $productCategory;
#[ORM\OneToMany(mappedBy: 'admin', targetEntity: ProductSold::class)]
private Collection $productSold;
#[ORM\OneToMany(mappedBy: 'admin', targetEntity: SellRecord::class)]
private Collection $sellRecord;
#[ORM\OneToMany(mappedBy: 'admin', targetEntity: SerieFestival::class)]
private Collection $serieFestivals;
#[ORM\OneToMany(mappedBy: 'admin', targetEntity: ExpenseKind::class)]
private Collection $expenseKind;
public function __construct()
{
$this->products = new ArrayCollection();
$this->festival = new ArrayCollection();
$this->productCategory = new ArrayCollection();
$this->productSold = new ArrayCollection();
$this->sellRecord = new ArrayCollection();
$this->serieFestivals = new ArrayCollection();
$this->expenseKind = new ArrayCollection();
}
public function getId(): ?int
{
return $this->id;
}
public function getUsername(): ?string
{
return $this->username;
}
public function setUsername(string $username): static
{
$this->username = $username;
return $this;
}
public function getEmail(): ?string
{
return $this->email;
}
public function setEmail(string $email): static
{
$this->email = $email;
return $this;
}
/**
* @return Collection<int, Product>
*/
public function getProducts(): Collection
{
return $this->products;
}
public function addProduct(Product $product): static
{
if (!$this->products->contains($product)) {
$this->products->add($product);
}
return $this;
}
public function removeProduct(Product $product): static
{
$this->products->removeElement($product);
return $this;
}
/**
* @return Collection<int, Festival>
*/
public function getFestival(): Collection
{
return $this->festival;
}
public function addFestival(Festival $festival): static
{
if (!$this->festival->contains($festival)) {
$this->festival->add($festival);
$festival->setAdmin($this);
}
return $this;
}
public function removeFestival(Festival $festival): static
{
if ($this->festival->removeElement($festival)) {
// set the owning side to null (unless already changed)
if ($festival->getAdmin() === $this) {
$festival->setAdmin(null);
}
}
return $this;
}
/**
* @return Collection<int, ProductCategory>
*/
public function getProductCategory(): Collection
{
return $this->productCategory;
}
public function addProductCategory(ProductCategory $productCategory): static
{
if (!$this->productCategory->contains($productCategory)) {
$this->productCategory->add($productCategory);
$productCategory->setAdmin($this);
}
return $this;
}
public function removeProductCategory(ProductCategory $productCategory): static
{
if ($this->productCategory->removeElement($productCategory)) {
// set the owning side to null (unless already changed)
if ($productCategory->getAdmin() === $this) {
$productCategory->setAdmin(null);
}
}
return $this;
}
/**
* @return Collection<int, ProductSold>
*/
public function getProductSold(): Collection
{
return $this->productSold;
}
public function addProductSold(ProductSold $productSold): static
{
if (!$this->productSold->contains($productSold)) {
$this->productSold->add($productSold);
$productSold->setAdmin($this);
}
return $this;
}
public function removeProductSold(ProductSold $productSold): static
{
if ($this->productSold->removeElement($productSold)) {
// set the owning side to null (unless already changed)
if ($productSold->getAdmin() === $this) {
$productSold->setAdmin(null);
}
}
return $this;
}
/**
* @return Collection<int, SellRecord>
*/
public function getSellRecord(): Collection
{
return $this->sellRecord;
}
public function addSellRecord(SellRecord $sellRecord): static
{
if (!$this->sellRecord->contains($sellRecord)) {
$this->sellRecord->add($sellRecord);
$sellRecord->setAdmin($this);
}
return $this;
}
public function removeSellRecord(SellRecord $sellRecord): static
{
if ($this->sellRecord->removeElement($sellRecord)) {
// set the owning side to null (unless already changed)
if ($sellRecord->getAdmin() === $this) {
$sellRecord->setAdmin(null);
}
}
return $this;
}
/**
* @return Collection<int, SerieFestival>
*/
public function getSerieFestivals(): Collection
{
return $this->serieFestivals;
}
public function addSerieFestival(SerieFestival $serieFestival): static
{
if (!$this->serieFestivals->contains($serieFestival)) {
$this->serieFestivals->add($serieFestival);
$serieFestival->setAdmin($this);
}
return $this;
}
public function removeSerieFestival(SerieFestival $serieFestival): static
{
if ($this->serieFestivals->removeElement($serieFestival)) {
// set the owning side to null (unless already changed)
if ($serieFestival->getAdmin() === $this) {
$serieFestival->setAdmin(null);
}
}
return $this;
}
/**
* @return Collection<int, ExpenseKind>
*/
public function getExpenseKind(): Collection
{
return $this->expenseKind;
}
public function addExpenseKind(ExpenseKind $expenseKind): static
{
if (!$this->expenseKind->contains($expenseKind)) {
$this->expenseKind->add($expenseKind);
$expenseKind->setAdmin($this);
}
return $this;
}
public function removeExpenseKind(ExpenseKind $expenseKind): static
{
if ($this->expenseKind->removeElement($expenseKind)) {
// set the owning side to null (unless already changed)
if ($expenseKind->getAdmin() === $this) {
$expenseKind->setAdmin(null);
}
}
return $this;
}
}

View File

@ -61,6 +61,9 @@ class ExpenseKind
*/ */
private $user; private $user;
#[ORM\ManyToOne(inversedBy: 'expenseKind')]
private ?Admin $admin = null;
/** /**
* @return int|null * @return int|null
*/ */
@ -197,4 +200,16 @@ class ExpenseKind
{ {
return $this->amount; return $this->amount;
} }
public function getAdmin(): ?Admin
{
return $this->admin;
}
public function setAdmin(?Admin $admin): static
{
$this->admin = $admin;
return $this;
}
} }

View File

@ -86,10 +86,13 @@ class Festival {
*/ */
private $fraisRepas; private $fraisRepas;
#[ORM\ManyToOne(inversedBy: 'festival')]
private ?Admin $admin = null;
public function __toString() { public function __toString() {
return $this->getName(); return $this->getName();
} }
/** /**
* @return mixed * @return mixed
@ -112,41 +115,41 @@ class Festival {
* @return array * @return array
*/ */
public function makeArray(){ public function makeArray(){
$sellRecords = $this->getSellRecords(); $sellRecords = $this->getSellRecords();
$soldItems = []; $soldItems = [];
foreach ( $sellRecords as $sell_record ) { foreach ( $sellRecords as $sell_record ) {
foreach ( $sell_record->getProductsSold() as $sold ) { foreach ( $sell_record->getProductsSold() as $sold ) {
if(!isset($soldItems[$sold->getProduct()->getId()])){ if(!isset($soldItems[$sold->getProduct()->getId()])){
$soldItems[$sold->getProduct()->getId()] = 0; $soldItems[$sold->getProduct()->getId()] = 0;
} }
$soldItems[$sold->getProduct()->getId()]++; $soldItems[$sold->getProduct()->getId()]++;
} }
} }
return [ return [
'id' => $this->getId(), 'id' => $this->getId(),
'name' => $this->getName(), 'name' => $this->getName(),
'commentaire' => $this->getComment(), 'commentaire' => $this->getComment(),
'dateCreation' => $this->getDateCreation(), 'dateCreation' => $this->getDateCreation(),
'chiffreAffaire' => $this->getChiffreAffaire(), 'chiffreAffaire' => $this->getChiffreAffaire(),
'clientsCount' => count($this->getSellRecords()), 'clientsCount' => count($this->getSellRecords()),
'fondDeCaisseAvant' => $this->getFondDeCaisseAvant(), 'fondDeCaisseAvant' => $this->getFondDeCaisseAvant(),
'fondDeCaisseApres' => $this->getFondDeCaisseApres(), 'fondDeCaisseApres' => $this->getFondDeCaisseApres(),
'sold' => $soldItems, 'sold' => $soldItems,
]; ];
} }
public function recalculateChiffreAffaire() { public function recalculateChiffreAffaire() {
$sellings = $this->getSellRecords(); $sellings = $this->getSellRecords();
$newChiffreAffaire = 0; $newChiffreAffaire = 0;
foreach ( $sellings as $selling ) { foreach ( $sellings as $selling ) {
$newChiffreAffaire += $selling->getAmount(); $newChiffreAffaire += $selling->getAmount();
} }
$this->setChiffreAffaire( $newChiffreAffaire ); $this->setChiffreAffaire( $newChiffreAffaire );
return $this; return $this;
} }
/** /**
* Get id * Get id
@ -154,8 +157,8 @@ class Festival {
* @return int * @return int
*/ */
public function getId() { public function getId() {
return $this->id; return $this->id;
} }
/** /**
* Set name * Set name
@ -165,10 +168,10 @@ class Festival {
* @return Festival * @return Festival
*/ */
public function setName( $name ) { public function setName( $name ) {
$this->name = $name; $this->name = $name;
return $this; return $this;
} }
/** /**
* Get name * Get name
@ -176,8 +179,8 @@ class Festival {
* @return string * @return string
*/ */
public function getName() { public function getName() {
return $this->name; return $this->name;
} }
/** /**
* Set dateCreation * Set dateCreation
@ -187,10 +190,10 @@ class Festival {
* @return Festival * @return Festival
*/ */
public function setDateCreation( $dateCreation ) { public function setDateCreation( $dateCreation ) {
$this->dateCreation = $dateCreation; $this->dateCreation = $dateCreation;
return $this; return $this;
} }
/** /**
* Get dateCreation * Get dateCreation
@ -198,8 +201,8 @@ class Festival {
* @return \DateTime * @return \DateTime
*/ */
public function getDateCreation() { public function getDateCreation() {
return $this->dateCreation; return $this->dateCreation;
} }
/** /**
* Set sellRecords * Set sellRecords
@ -209,10 +212,10 @@ class Festival {
* @return Festival * @return Festival
*/ */
public function setSellRecords( $sellRecords ) { public function setSellRecords( $sellRecords ) {
$this->sellRecords = $sellRecords; $this->sellRecords = $sellRecords;
return $this; return $this;
} }
/** /**
* Get sellRecords * Get sellRecords
@ -220,15 +223,15 @@ class Festival {
* @return \stdClass * @return \stdClass
*/ */
public function getSellRecords() { public function getSellRecords() {
return $this->sellRecords; return $this->sellRecords;
} }
/** /**
* Constructor * Constructor
*/ */
public function __construct() { public function __construct() {
$this->sellRecords = new \Doctrine\Common\Collections\ArrayCollection(); $this->sellRecords = new \Doctrine\Common\Collections\ArrayCollection();
} }
/** /**
* Add sellRecord * Add sellRecord
@ -238,10 +241,10 @@ class Festival {
* @return Festival * @return Festival
*/ */
public function addSellRecord( \App\Entity\SellRecord $sellRecord ) { public function addSellRecord( \App\Entity\SellRecord $sellRecord ) {
$this->sellRecords[] = $sellRecord; $this->sellRecords[] = $sellRecord;
return $this; return $this;
} }
/** /**
* Remove sellRecord * Remove sellRecord
@ -249,8 +252,8 @@ class Festival {
* @param \App\Entity\SellRecord $sellRecord * @param \App\Entity\SellRecord $sellRecord
*/ */
public function removeSellRecord( \App\Entity\SellRecord $sellRecord ) { public function removeSellRecord( \App\Entity\SellRecord $sellRecord ) {
$this->sellRecords->removeElement( $sellRecord ); $this->sellRecords->removeElement( $sellRecord );
} }
/** /**
* Set user. * Set user.
@ -260,10 +263,10 @@ class Festival {
* @return Festival * @return Festival
*/ */
public function setUser( \App\Entity\User $user = null ) { public function setUser( \App\Entity\User $user = null ) {
$this->user = $user; $this->user = $user;
return $this; return $this;
} }
/** /**
* Get user. * Get user.
@ -271,8 +274,8 @@ class Festival {
* @return \App\Entity\User|null * @return \App\Entity\User|null
*/ */
public function getUser() { public function getUser() {
return $this->user; return $this->user;
} }
/** /**
* Set fondDeCaisseAvant. * Set fondDeCaisseAvant.
@ -282,10 +285,10 @@ class Festival {
* @return Festival * @return Festival
*/ */
public function setFondDeCaisseAvant( $fondDeCaisseAvant ) { public function setFondDeCaisseAvant( $fondDeCaisseAvant ) {
$this->fondDeCaisseAvant = $fondDeCaisseAvant; $this->fondDeCaisseAvant = $fondDeCaisseAvant;
return $this; return $this;
} }
/** /**
* Get fondDeCaisseAvant. * Get fondDeCaisseAvant.
@ -293,8 +296,8 @@ class Festival {
* @return float * @return float
*/ */
public function getFondDeCaisseAvant() { public function getFondDeCaisseAvant() {
return $this->fondDeCaisseAvant; return $this->fondDeCaisseAvant;
} }
/** /**
* Set fondDeCaisseApres. * Set fondDeCaisseApres.
@ -304,10 +307,10 @@ class Festival {
* @return Festival * @return Festival
*/ */
public function setFondDeCaisseApres( $fondDeCaisseApres ) { public function setFondDeCaisseApres( $fondDeCaisseApres ) {
$this->fondDeCaisseApres = $fondDeCaisseApres; $this->fondDeCaisseApres = $fondDeCaisseApres;
return $this; return $this;
} }
/** /**
* Get fondDeCaisseApres. * Get fondDeCaisseApres.
@ -315,8 +318,8 @@ class Festival {
* @return float * @return float
*/ */
public function getFondDeCaisseApres() { public function getFondDeCaisseApres() {
return $this->fondDeCaisseApres; return $this->fondDeCaisseApres;
} }
/** /**
* Set chiffreAffaire. * Set chiffreAffaire.
@ -326,10 +329,10 @@ class Festival {
* @return Festival * @return Festival
*/ */
public function setChiffreAffaire( $chiffreAffaire ) { public function setChiffreAffaire( $chiffreAffaire ) {
$this->chiffreAffaire = $chiffreAffaire; $this->chiffreAffaire = $chiffreAffaire;
return $this; return $this;
} }
/** /**
* Get chiffreAffaire. * Get chiffreAffaire.
@ -337,8 +340,8 @@ class Festival {
* @return float * @return float
*/ */
public function getChiffreAffaire() { public function getChiffreAffaire() {
return $this->chiffreAffaire; return $this->chiffreAffaire;
} }
/** /**
* Set fraisInscription. * Set fraisInscription.
@ -348,10 +351,10 @@ class Festival {
* @return Festival * @return Festival
*/ */
public function setFraisInscription( $fraisInscription = null ) { public function setFraisInscription( $fraisInscription = null ) {
$this->fraisInscription = $fraisInscription; $this->fraisInscription = $fraisInscription;
return $this; return $this;
} }
/** /**
* Get fraisInscription. * Get fraisInscription.
@ -359,8 +362,8 @@ class Festival {
* @return string|null * @return string|null
*/ */
public function getFraisInscription() { public function getFraisInscription() {
return $this->fraisInscription; return $this->fraisInscription;
} }
/** /**
* Set fraisHebergement. * Set fraisHebergement.
@ -370,10 +373,10 @@ class Festival {
* @return Festival * @return Festival
*/ */
public function setFraisHebergement( $fraisHebergement = null ) { public function setFraisHebergement( $fraisHebergement = null ) {
$this->fraisHebergement = $fraisHebergement; $this->fraisHebergement = $fraisHebergement;
return $this; return $this;
} }
/** /**
* Get fraisHebergement. * Get fraisHebergement.
@ -381,8 +384,8 @@ class Festival {
* @return string|null * @return string|null
*/ */
public function getFraisHebergement() { public function getFraisHebergement() {
return $this->fraisHebergement; return $this->fraisHebergement;
} }
/** /**
* Set fraisTransport. * Set fraisTransport.
@ -392,10 +395,10 @@ class Festival {
* @return Festival * @return Festival
*/ */
public function setFraisTransport( $fraisTransport = null ) { public function setFraisTransport( $fraisTransport = null ) {
$this->fraisTransport = $fraisTransport; $this->fraisTransport = $fraisTransport;
return $this; return $this;
} }
/** /**
* Get fraisTransport. * Get fraisTransport.
@ -403,8 +406,8 @@ class Festival {
* @return string|null * @return string|null
*/ */
public function getFraisTransport() { public function getFraisTransport() {
return $this->fraisTransport; return $this->fraisTransport;
} }
/** /**
* Set fraisRepas. * Set fraisRepas.
@ -414,10 +417,10 @@ class Festival {
* @return Festival * @return Festival
*/ */
public function setFraisRepas( $fraisRepas = null ) { public function setFraisRepas( $fraisRepas = null ) {
$this->fraisRepas = $fraisRepas; $this->fraisRepas = $fraisRepas;
return $this; return $this;
} }
/** /**
* Get fraisRepas. * Get fraisRepas.
@ -425,6 +428,18 @@ class Festival {
* @return string|null * @return string|null
*/ */
public function getFraisRepas() { public function getFraisRepas() {
return $this->fraisRepas; return $this->fraisRepas;
} }
public function getAdmin(): ?Admin
{
return $this->admin;
}
public function setAdmin(?Admin $admin): static
{
$this->admin = $admin;
return $this;
}
} }

View File

@ -4,6 +4,8 @@ namespace App\Entity;
use App\Traits\Commentable; use App\Traits\Commentable;
use App\Traits\Sellable; use App\Traits\Sellable;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM; use Doctrine\ORM\Mapping as ORM;
/** /**
@ -47,6 +49,9 @@ class Product {
*/ */
private $productsSold; private $productsSold;
#[ORM\ManyToMany(targetEntity: Admin::class, mappedBy: 'products')]
private Collection $admins;
use Sellable; use Sellable;
use Commentable; use Commentable;
@ -57,8 +62,8 @@ class Product {
* @return int * @return int
*/ */
public function getId() { public function getId() {
return $this->id; return $this->id;
} }
/** /**
* Set name. * Set name.
@ -68,10 +73,10 @@ class Product {
* @return Product * @return Product
*/ */
public function setName( $name ) { public function setName( $name ) {
$this->name = $name; $this->name = $name;
return $this; return $this;
} }
/** /**
* Get name. * Get name.
@ -79,8 +84,8 @@ class Product {
* @return string * @return string
*/ */
public function getName() { public function getName() {
return $this->name; return $this->name;
} }
/** /**
* Set image. * Set image.
@ -90,10 +95,10 @@ class Product {
* @return Product * @return Product
*/ */
public function setImage( $image = null ) { public function setImage( $image = null ) {
$this->image = $image; $this->image = $image;
return $this; return $this;
} }
/** /**
* Get image. * Get image.
@ -101,8 +106,8 @@ class Product {
* @return string|null * @return string|null
*/ */
public function getImage() { public function getImage() {
return $this->image; return $this->image;
} }
/** /**
* Set category. * Set category.
@ -112,10 +117,10 @@ class Product {
* @return Product * @return Product
*/ */
public function setCategory( \App\Entity\ProductCategory $category = null ) { public function setCategory( \App\Entity\ProductCategory $category = null ) {
$this->category = $category; $this->category = $category;
return $this; return $this;
} }
/** /**
* Get category. * Get category.
@ -123,8 +128,8 @@ class Product {
* @return \App\Entity\ProductCategory|null * @return \App\Entity\ProductCategory|null
*/ */
public function getCategory() { public function getCategory() {
return $this->category; return $this->category;
} }
/** /**
* Set user. * Set user.
@ -134,10 +139,10 @@ class Product {
* @return Product * @return Product
*/ */
public function setUser( \App\Entity\User $user = null ) { public function setUser( \App\Entity\User $user = null ) {
$this->user = $user; $this->user = $user;
return $this; return $this;
} }
/** /**
* Get user. * Get user.
@ -145,8 +150,8 @@ class Product {
* @return \App\Entity\User|null * @return \App\Entity\User|null
*/ */
public function getUser() { public function getUser() {
return $this->user; return $this->user;
} }
/** /**
* Set stockCount. * Set stockCount.
@ -156,10 +161,10 @@ class Product {
* @return Product * @return Product
*/ */
public function setStockCount( $stockCount ) { public function setStockCount( $stockCount ) {
$this->stockCount = $stockCount; $this->stockCount = $stockCount;
return $this; return $this;
} }
/** /**
* Get stockCount. * Get stockCount.
@ -167,15 +172,16 @@ class Product {
* @return int * @return int
*/ */
public function getStockCount() { public function getStockCount() {
return $this->stockCount; return $this->stockCount;
} }
/** /**
* Constructor * Constructor
*/ */
public function __construct() { public function __construct() {
$this->productsSold = new \Doctrine\Common\Collections\ArrayCollection(); $this->productsSold = new \Doctrine\Common\Collections\ArrayCollection();
} $this->admins = new ArrayCollection();
}
/** /**
* Add productsSold. * Add productsSold.
@ -185,10 +191,10 @@ class Product {
* @return Product * @return Product
*/ */
public function addProductsSold( \App\Entity\User $productsSold ) { public function addProductsSold( \App\Entity\User $productsSold ) {
$this->productsSold[] = $productsSold; $this->productsSold[] = $productsSold;
return $this; return $this;
} }
/** /**
* Remove productsSold. * Remove productsSold.
@ -198,8 +204,8 @@ class Product {
* @return boolean TRUE if this collection contained the specified element, FALSE otherwise. * @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
*/ */
public function removeProductsSold( \App\Entity\User $productsSold ) { public function removeProductsSold( \App\Entity\User $productsSold ) {
return $this->productsSold->removeElement( $productsSold ); return $this->productsSold->removeElement( $productsSold );
} }
/** /**
* Get productsSold. * Get productsSold.
@ -207,6 +213,33 @@ class Product {
* @return \Doctrine\Common\Collections\Collection * @return \Doctrine\Common\Collections\Collection
*/ */
public function getProductsSold() { public function getProductsSold() {
return $this->productsSold; return $this->productsSold;
} }
/**
* @return Collection<int, Admin>
*/
public function getAdmins(): Collection
{
return $this->admins;
}
public function addAdmin(Admin $admin): static
{
if (!$this->admins->contains($admin)) {
$this->admins->add($admin);
$admin->addProduct($this);
}
return $this;
}
public function removeAdmin(Admin $admin): static
{
if ($this->admins->removeElement($admin)) {
$admin->removeProduct($this);
}
return $this;
}
} }

View File

@ -34,9 +34,12 @@ class ProductCategory {
*/ */
private $users; private $users;
#[ORM\ManyToOne(inversedBy: 'productCategory')]
private ?Admin $admin = null;
public function __toString() { public function __toString() {
return $this->getName() . ' (' . count( $this->getProducts() ) . ' produits)'; return $this->getName() . ' (' . count( $this->getProducts() ) . ' produits)';
} }
/** /**
* @param $userId * @param $userId
@ -44,77 +47,77 @@ class ProductCategory {
* @return bool * @return bool
*/ */
public function hasUser( $userId ) { public function hasUser( $userId ) {
foreach ( $this->getUsers() as $user ) { foreach ( $this->getUsers() as $user ) {
if ( $user->getId() === $userId ) { if ( $user->getId() === $userId ) {
return true; return true;
} }
} }
return false; return false;
} }
/** /**
* @return mixed * @return mixed
*/ */
public function getUsers() { public function getUsers() {
return $this->users; return $this->users;
} }
/** /**
* @param mixed $users * @param mixed $users
*/ */
public function setUsers( $users ) { public function setUsers( $users ) {
$this->users = $users; $this->users = $users;
} }
/** /**
* @return mixed * @return mixed
*/ */
public function getProducts() { public function getProducts() {
return $this->products; return $this->products;
} }
/** /**
* @param mixed $products * @param mixed $products
*/ */
public function setProducts( $products ) { public function setProducts( $products ) {
$this->products = $products; $this->products = $products;
} }
/** /**
* @return mixed * @return mixed
*/ */
public function getId() { public function getId() {
return $this->id; return $this->id;
} }
/** /**
* @param mixed $id * @param mixed $id
*/ */
public function setId( $id ) { public function setId( $id ) {
$this->id = $id; $this->id = $id;
} }
/** /**
* @return mixed * @return mixed
*/ */
public function getName() { public function getName() {
return $this->name; return $this->name;
} }
/** /**
* @param mixed $name * @param mixed $name
*/ */
public function setName( $name ) { public function setName( $name ) {
$this->name = $name; $this->name = $name;
} }
/** /**
* Constructor * Constructor
*/ */
public function __construct() { public function __construct() {
$this->products = new \Doctrine\Common\Collections\ArrayCollection(); $this->products = new \Doctrine\Common\Collections\ArrayCollection();
} }
/** /**
* Add product * Add product
@ -124,10 +127,10 @@ class ProductCategory {
* @return ProductCategory * @return ProductCategory
*/ */
public function addProduct( \App\Entity\Product $product ) { public function addProduct( \App\Entity\Product $product ) {
$this->products[] = $product; $this->products[] = $product;
return $this; return $this;
} }
/** /**
* Remove product * Remove product
@ -135,8 +138,8 @@ class ProductCategory {
* @param \App\Entity\Product $product * @param \App\Entity\Product $product
*/ */
public function removeProduct( \App\Entity\Product $product ) { public function removeProduct( \App\Entity\Product $product ) {
$this->products->removeElement( $product ); $this->products->removeElement( $product );
} }
/** /**
* Add user * Add user
@ -146,10 +149,10 @@ class ProductCategory {
* @return ProductCategory * @return ProductCategory
*/ */
public function addUser( \App\Entity\User $user ) { public function addUser( \App\Entity\User $user ) {
$this->users[] = $user; $this->users[] = $user;
return $this; return $this;
} }
/** /**
* Remove user * Remove user
@ -157,8 +160,8 @@ class ProductCategory {
* @param \App\Entity\User $user * @param \App\Entity\User $user
*/ */
public function removeUser( \App\Entity\User $user ) { public function removeUser( \App\Entity\User $user ) {
$this->users->removeElement( $user ); $this->users->removeElement( $user );
} }
/** /**
* Add productsSold. * Add productsSold.
@ -195,4 +198,16 @@ class ProductCategory {
{ {
return $this->productsSold; return $this->productsSold;
} }
public function getAdmin(): ?Admin
{
return $this->admin;
}
public function setAdmin(?Admin $admin): static
{
$this->admin = $admin;
return $this;
}
} }

View File

@ -44,6 +44,9 @@ class ProductSold {
*/ */
private $product; private $product;
#[ORM\ManyToOne(inversedBy: 'productSold')]
private ?Admin $admin = null;
use Sellable; use Sellable;
use Commentable; use Commentable;
@ -56,10 +59,10 @@ class ProductSold {
* @return ProductSold * @return ProductSold
*/ */
public function setSellRecords( \App\Entity\SellRecord $sellRecords = null ) { public function setSellRecords( \App\Entity\SellRecord $sellRecords = null ) {
$this->sellRecords = $sellRecords; $this->sellRecords = $sellRecords;
return $this; return $this;
} }
/** /**
* Get sellRecords. * Get sellRecords.
@ -67,8 +70,8 @@ class ProductSold {
* @return \App\Entity\SellRecord|null * @return \App\Entity\SellRecord|null
*/ */
public function getSellRecords() { public function getSellRecords() {
return $this->sellRecords; return $this->sellRecords;
} }
/** /**
* Set product. * Set product.
@ -78,10 +81,10 @@ class ProductSold {
* @return ProductSold * @return ProductSold
*/ */
public function setProduct( \App\Entity\Product $product = null ) { public function setProduct( \App\Entity\Product $product = null ) {
$this->product = $product; $this->product = $product;
return $this; return $this;
} }
/** /**
* Get product. * Get product.
@ -89,8 +92,8 @@ class ProductSold {
* @return \App\Entity\Product|null * @return \App\Entity\Product|null
*/ */
public function getProduct() { public function getProduct() {
return $this->product; return $this->product;
} }
/** /**
* Get id. * Get id.
@ -98,8 +101,8 @@ class ProductSold {
* @return int * @return int
*/ */
public function getId() { public function getId() {
return $this->id; return $this->id;
} }
/** /**
* Set name. * Set name.
@ -109,10 +112,10 @@ class ProductSold {
* @return ProductSold * @return ProductSold
*/ */
public function setName( $name ) { public function setName( $name ) {
$this->name = $name; $this->name = $name;
return $this; return $this;
} }
/** /**
* Get name. * Get name.
@ -120,8 +123,8 @@ class ProductSold {
* @return string * @return string
*/ */
public function getName() { public function getName() {
return $this->name; return $this->name;
} }
/** /**
* Set image. * Set image.
@ -131,10 +134,10 @@ class ProductSold {
* @return ProductSold * @return ProductSold
*/ */
public function setImage( $image ) { public function setImage( $image ) {
$this->image = $image; $this->image = $image;
return $this; return $this;
} }
/** /**
* Get image. * Get image.
@ -142,8 +145,8 @@ class ProductSold {
* @return string * @return string
*/ */
public function getImage() { public function getImage() {
return $this->image; return $this->image;
} }
/** /**
* Set user. * Set user.
@ -153,10 +156,10 @@ class ProductSold {
* @return ProductSold * @return ProductSold
*/ */
public function setUser( \App\Entity\User $user = null ) { public function setUser( \App\Entity\User $user = null ) {
$this->user = $user; $this->user = $user;
return $this; return $this;
} }
/** /**
* Get user. * Get user.
@ -164,6 +167,18 @@ class ProductSold {
* @return \App\Entity\User|null * @return \App\Entity\User|null
*/ */
public function getUser() { public function getUser() {
return $this->user; return $this->user;
} }
public function getAdmin(): ?Admin
{
return $this->admin;
}
public function setAdmin(?Admin $admin): static
{
$this->admin = $admin;
return $this;
}
} }

View File

@ -58,27 +58,30 @@ class SellRecord {
*/ */
private $user; private $user;
#[ORM\ManyToOne(inversedBy: 'sellRecord')]
private ?Admin $admin = null;
/** /**
* Constructor * Constructor
*/ */
public function __construct() { public function __construct() {
$this->productsSold = new \Doctrine\Common\Collections\ArrayCollection(); $this->productsSold = new \Doctrine\Common\Collections\ArrayCollection();
} }
/** /**
* @return mixed * @return mixed
*/ */
public function getId() { public function getId() {
return $this->id; return $this->id;
} }
/** /**
* @param mixed $id * @param mixed $id
*/ */
public function setId( $id ) { public function setId( $id ) {
$this->id = $id; $this->id = $id;
} }
/** /**
* Set date * Set date
@ -88,10 +91,10 @@ class SellRecord {
* @return SellRecord * @return SellRecord
*/ */
public function setDate( $date ) { public function setDate( $date ) {
$this->date = $date; $this->date = $date;
return $this; return $this;
} }
/** /**
* Get date * Get date
@ -99,8 +102,8 @@ class SellRecord {
* @return \DateTime * @return \DateTime
*/ */
public function getDate() { public function getDate() {
return $this->date; return $this->date;
} }
/** /**
* Set amount * Set amount
@ -110,10 +113,10 @@ class SellRecord {
* @return SellRecord * @return SellRecord
*/ */
public function setAmount( $amount ) { public function setAmount( $amount ) {
$this->amount = $amount; $this->amount = $amount;
return $this; return $this;
} }
/** /**
* Get amount * Get amount
@ -121,8 +124,8 @@ class SellRecord {
* @return string * @return string
*/ */
public function getAmount() { public function getAmount() {
return $this->amount; return $this->amount;
} }
/** /**
* Set paidByClient * Set paidByClient
@ -132,10 +135,10 @@ class SellRecord {
* @return SellRecord * @return SellRecord
*/ */
public function setPaidByClient( $paidByClient ) { public function setPaidByClient( $paidByClient ) {
$this->paidByClient = $paidByClient; $this->paidByClient = $paidByClient;
return $this; return $this;
} }
/** /**
* Get paidByClient * Get paidByClient
@ -143,8 +146,8 @@ class SellRecord {
* @return string * @return string
*/ */
public function getPaidByClient() { public function getPaidByClient() {
return $this->paidByClient; return $this->paidByClient;
} }
/** /**
* Add productsSold * Add productsSold
@ -154,10 +157,10 @@ class SellRecord {
* @return SellRecord * @return SellRecord
*/ */
public function addProductsSold( \App\Entity\ProductSold $productsSold ) { public function addProductsSold( \App\Entity\ProductSold $productsSold ) {
$this->productsSold[] = $productsSold; $this->productsSold[] = $productsSold;
return $this; return $this;
} }
/** /**
* Remove productsSold * Remove productsSold
@ -165,8 +168,8 @@ class SellRecord {
* @param \App\Entity\ProductSold $productsSold * @param \App\Entity\ProductSold $productsSold
*/ */
public function removeProductsSold( \App\Entity\ProductSold $productsSold ) { public function removeProductsSold( \App\Entity\ProductSold $productsSold ) {
$this->productsSold->removeElement( $productsSold ); $this->productsSold->removeElement( $productsSold );
} }
/** /**
* Get productsSold * Get productsSold
@ -174,8 +177,8 @@ class SellRecord {
* @return \Doctrine\Common\Collections\Collection * @return \Doctrine\Common\Collections\Collection
*/ */
public function getProductsSold() { public function getProductsSold() {
return $this->productsSold; return $this->productsSold;
} }
/** /**
* Set festival * Set festival
@ -185,10 +188,10 @@ class SellRecord {
* @return SellRecord * @return SellRecord
*/ */
public function setFestival( \App\Entity\Festival $festival = null ) { public function setFestival( \App\Entity\Festival $festival = null ) {
$this->festival = $festival; $this->festival = $festival;
return $this; return $this;
} }
/** /**
* Get festival * Get festival
@ -196,8 +199,8 @@ class SellRecord {
* @return \App\Entity\Festival * @return \App\Entity\Festival
*/ */
public function getFestival() { public function getFestival() {
return $this->festival; return $this->festival;
} }
/** /**
* Set user * Set user
@ -207,10 +210,10 @@ class SellRecord {
* @return SellRecord * @return SellRecord
*/ */
public function setUser( \App\Entity\User $user = null ) { public function setUser( \App\Entity\User $user = null ) {
$this->user = $user; $this->user = $user;
return $this; return $this;
} }
/** /**
* Get user * Get user
@ -218,8 +221,8 @@ class SellRecord {
* @return \App\Entity\User * @return \App\Entity\User
*/ */
public function getUser() { public function getUser() {
return $this->user; return $this->user;
} }
/** /**
* Set gender. * Set gender.
@ -244,4 +247,16 @@ class SellRecord {
{ {
return $this->gender; return $this->gender;
} }
public function getAdmin(): ?Admin
{
return $this->admin;
}
public function setAdmin(?Admin $admin): static
{
$this->admin = $admin;
return $this;
}
} }

View File

@ -48,6 +48,9 @@ class SerieFestival {
*/ */
private $user; private $user;
#[ORM\ManyToOne(inversedBy: 'serieFestivals')]
private ?Admin $admin = null;
/** /**
* @return mixed * @return mixed
*/ */
@ -160,4 +163,16 @@ class SerieFestival {
{ {
return $this->festivals->removeElement($festival); return $this->festivals->removeElement($festival);
} }
public function getAdmin(): ?Admin
{
return $this->admin;
}
public function setAdmin(?Admin $admin): static
{
$this->admin = $admin;
return $this;
}
} }

View File

@ -0,0 +1,20 @@
<?php
namespace App\Entity;
use App\Repository\UserAccountRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: UserAccountRepository::class)]
class UserAccount
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
public function getId(): ?int
{
return $this->id;
}
}

View File

@ -0,0 +1,83 @@
<?php
namespace App\Repository;
use App\Entity\Admin;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Symfony\Component\Security\Core\Exception\UnsupportedUserException;
use Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface;
use Symfony\Component\Security\Core\User\PasswordUpgraderInterface;
/**
* @extends ServiceEntityRepository<Admin>
*
* @method Admin|null find($id, $lockMode = null, $lockVersion = null)
* @method Admin|null findOneBy(array $criteria, array $orderBy = null)
* @method Admin[] findAll()
* @method Admin[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class AdminRepository extends ServiceEntityRepository implements PasswordUpgraderInterface
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, Admin::class);
}
public function save(Admin $entity, bool $flush = false): void
{
$this->getEntityManager()->persist($entity);
if ($flush) {
$this->getEntityManager()->flush();
}
}
public function remove(Admin $entity, bool $flush = false): void
{
$this->getEntityManager()->remove($entity);
if ($flush) {
$this->getEntityManager()->flush();
}
}
/**
* Used to upgrade (rehash) the user's password automatically over time.
*/
public function upgradePassword(PasswordAuthenticatedUserInterface $user, string $newHashedPassword): void
{
if (!$user instanceof Admin) {
throw new UnsupportedUserException(sprintf('Instances of "%s" are not supported.', $user::class));
}
$user->setPassword($newHashedPassword);
$this->save($user, true);
}
// /**
// * @return Admin[] Returns an array of Admin objects
// */
// public function findByExampleField($value): array
// {
// return $this->createQueryBuilder('a')
// ->andWhere('a.exampleField = :val')
// ->setParameter('val', $value)
// ->orderBy('a.id', 'ASC')
// ->setMaxResults(10)
// ->getQuery()
// ->getResult()
// ;
// }
// public function findOneBySomeField($value): ?Admin
// {
// return $this->createQueryBuilder('a')
// ->andWhere('a.exampleField = :val')
// ->setParameter('val', $value)
// ->getQuery()
// ->getOneOrNullResult()
// ;
// }
}

View File

@ -0,0 +1,83 @@
<?php
namespace App\Repository;
use App\Entity\UserAccount;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Symfony\Component\Security\Core\Exception\UnsupportedUserException;
use Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface;
use Symfony\Component\Security\Core\User\PasswordUpgraderInterface;
/**
* @extends ServiceEntityRepository<UserAccount>
*
* @method UserAccount|null find($id, $lockMode = null, $lockVersion = null)
* @method UserAccount|null findOneBy(array $criteria, array $orderBy = null)
* @method UserAccount[] findAll()
* @method UserAccount[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class UserAccountRepository extends ServiceEntityRepository implements PasswordUpgraderInterface
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, UserAccount::class);
}
public function save(UserAccount $entity, bool $flush = false): void
{
$this->getEntityManager()->persist($entity);
if ($flush) {
$this->getEntityManager()->flush();
}
}
public function remove(UserAccount $entity, bool $flush = false): void
{
$this->getEntityManager()->remove($entity);
if ($flush) {
$this->getEntityManager()->flush();
}
}
/**
* Used to upgrade (rehash) the user's password automatically over time.
*/
public function upgradePassword(PasswordAuthenticatedUserInterface $user, string $newHashedPassword): void
{
if (!$user instanceof UserAccount) {
throw new UnsupportedUserException(sprintf('Instances of "%s" are not supported.', $user::class));
}
$user->setPassword($newHashedPassword);
$this->save($user, true);
}
// /**
// * @return UserAccount[] Returns an array of UserAccount objects
// */
// public function findByExampleField($value): array
// {
// return $this->createQueryBuilder('u')
// ->andWhere('u.exampleField = :val')
// ->setParameter('val', $value)
// ->orderBy('u.id', 'ASC')
// ->setMaxResults(10)
// ->getQuery()
// ->getResult()
// ;
// }
// public function findOneBySomeField($value): ?UserAccount
// {
// return $this->createQueryBuilder('u')
// ->andWhere('u.exampleField = :val')
// ->setParameter('val', $value)
// ->getQuery()
// ->getOneOrNullResult()
// ;
// }
}

View File

@ -0,0 +1,59 @@
<?php
namespace App\Security;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\Security\Core\Security;
use Symfony\Component\Security\Http\Authenticator\AbstractLoginFormAuthenticator;
use Symfony\Component\Security\Http\Authenticator\Passport\Badge\CsrfTokenBadge;
use Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge;
use Symfony\Component\Security\Http\Authenticator\Passport\Credentials\PasswordCredentials;
use Symfony\Component\Security\Http\Authenticator\Passport\Passport;
use Symfony\Component\Security\Http\Util\TargetPathTrait;
class AppCustomAuthenticator extends AbstractLoginFormAuthenticator
{
use TargetPathTrait;
public const LOGIN_ROUTE = 'app_login';
public function __construct(private UrlGeneratorInterface $urlGenerator)
{
}
public
function authenticate(Request $request): Passport
{
$username = $request->request->get('username', '');
$request->getSession()->set(Security::LAST_USERNAME, $username);
return new Passport(
new UserBadge($username),
new PasswordCredentials($request->request->get('password', '')),
[
new CsrfTokenBadge('authenticate', $request->request->get('_csrf_token')),
]
);
}
public
function onAuthenticationSuccess(Request $request, TokenInterface $token, string $firewallName): ?Response
{
if ($targetPath = $this->getTargetPath($request->getSession(), $firewallName)) {
return new RedirectResponse($targetPath);
}
return new RedirectResponse($this->urlGenerator->generate('dashboard'));
// throw new \Exception('TODO: provide a valid redirect inside '.__FILE__);
}
protected
function getLoginUrl(Request $request): string
{
return $this->urlGenerator->generate(self::LOGIN_ROUTE);
}
}

View File

@ -22,6 +22,18 @@
"src/Repository/.gitignore" "src/Repository/.gitignore"
] ]
}, },
"doctrine/doctrine-fixtures-bundle": {
"version": "3.4",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "3.0",
"ref": "1f5514cfa15b947298df4d771e694e578d4c204d"
},
"files": [
"src/DataFixtures/AppFixtures.php"
]
},
"doctrine/doctrine-migrations-bundle": { "doctrine/doctrine-migrations-bundle": {
"version": "3.2", "version": "3.2",
"recipe": { "recipe": {
@ -58,6 +70,18 @@
"tests/bootstrap.php" "tests/bootstrap.php"
] ]
}, },
"sensio/framework-extra-bundle": {
"version": "6.2",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "5.2",
"ref": "fb7e19da7f013d0d422fa9bce16f5c510e27609b"
},
"files": [
"config/packages/sensio_framework_extra.yaml"
]
},
"symfony/console": { "symfony/console": {
"version": "6.0", "version": "6.0",
"recipe": { "recipe": {

View File

@ -0,0 +1,12 @@
{% extends 'base.html.twig' %}
{% block body %}
<h1>{% trans %}security.login.login{% endtrans %}</h1>
{# {{ form_start(login_form) }}#}
{# {{ form_widget(login_form) }}#}
<input type=submit value=" Envoyer
"/>
{# {{ form_end(edit_form) }}#}
{% endblock %}

View File

@ -22,12 +22,15 @@
{% block bigMain %} {% block bigMain %}
{% include 'default/header.html.twig' %} {% include 'default/header.html.twig' %}
<div class="container">
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-9 col-sm-offset-3 col-md-9 col-md-offset-3">
<div class="col col-xs-12 col-sm-9 col-sm-offset-3 col-md-9 col-md-offset-3 col-lg-offset-3">
{% block body %} {% block body %}
{% endblock %} {% endblock %}
</div> </div>
</div> </div>
</div>
{% include 'default/footer.html.twig' %} {% include 'default/footer.html.twig' %}
{% endblock %} {% endblock %}
</div> </div>

View File

@ -2,6 +2,7 @@
<div class="nav padded"> <div class="nav padded">
<div class="row"> <div class="row">
<div class="col-xs-12"> <div class="col-xs-12">
{% include 'default/login-choices.html.twig' %} {% include 'default/login-choices.html.twig' %}
</div> </div>
</div> </div>

View File

@ -9,7 +9,7 @@
<div id="menu-dashboard"> <div id="menu-dashboard">
<ul class="nav"> <ul class="nav">
<li> <li>
<a href="{{ path('homepage') }}" class="btn btn-default logo-home"> <a href="{{ path('app_home') }}" class="btn btn-default logo-home">
<i class="fa fa-home"></i> <i class="fa fa-home"></i>
{% trans %}menu.title{% endtrans %} {% trans %}menu.title{% endtrans %}
</a> </a>
@ -30,7 +30,7 @@
{% else %} {% else %}
btn-default btn-default
{% endif %} " {% endif %} "
href="{{ path('productcategory_index') }}"> href="{{ path('productcategory_index') }}">
<i class="fa fa-file-archive-o"></i> <i class="fa fa-file-archive-o"></i>
{% trans %}menu.categories{% endtrans %} {% trans %}menu.categories{% endtrans %}
<span class="badge"> <span class="badge">
@ -44,7 +44,7 @@
{% else %} {% else %}
btn-default btn-default
{% endif %} " {% endif %} "
href="{{ path('product_index') }}" href="{{ path('product_index') }}"
> >
<i class="fa fa-gears"></i> <i class="fa fa-gears"></i>
{% trans %}menu.products{% endtrans %} {% trans %}menu.products{% endtrans %}
@ -54,7 +54,8 @@
</a> </a>
</li> </li>
<li> <li>
<a id="menu_festivals" class="btn {% if app.request.attributes.get('_route') == 'festival_index' %} <a id="menu_festivals"
class="btn {% if app.request.attributes.get('_route') == 'festival_index' %}
btn-success btn-success
{% else %} {% else %}
btn-default btn-default
@ -70,7 +71,8 @@
</a> </a>
</li> </li>
<li> <li>
<a id="menu_series" class="btn {% if app.request.attributes.get('_route') == 'seriefestival_index' %} <a id="menu_series"
class="btn {% if app.request.attributes.get('_route') == 'seriefestival_index' %}
btn-success btn-success
{% else %} {% else %}
btn-default btn-default
@ -111,7 +113,8 @@
</li> </li>
<li> <li>
<a id="menu_previsionnel" class="btn {% if app.request.attributes.get('_route') == 'previsionnel' %} <a id="menu_previsionnel"
class="btn {% if app.request.attributes.get('_route') == 'previsionnel' %}
btn-success btn-success
{% else %} {% else %}
btn-default btn-default
@ -166,13 +169,28 @@
<div class="text-right pull-right"> <div class="text-right pull-right">
<a class="btn btn-primary" <ul>
href="#">
<i class="fa fa-key"></i> <li>
{{ 'layout.login'|trans }}</a> <a href="{{ path('app_home') }}" class="btn btn-default logo-home">
<a class="btn btn-default" <i class="fa fa-home"></i>
href="#">Inscription {% trans %}menu.title{% endtrans %}
</a> </a>
</li>
<li>
<a class="btn btn-primary"
href="#">
<i class="fa fa-key"></i>
{{ 'layout.login'|trans }}</a>
</li>
<li>
<a class="btn btn-default"
href="#">Inscription
</a>
</li>
</ul>
</div> </div>
{% endif %} {% endif %}
</div> </div>

View File

@ -3,28 +3,31 @@
<!--caisse IHM--> <!--caisse IHM-->
<div id="load_ok"> <div id="load_ok">
<div id="listing-products" class="listing-products col-xs-12 col-md-8"> <div id="listing-products" class="listing-products col-xs-12 col-md-8">
{% include 'logged/angular/messages.html.twig' %} {# {% include 'logged/angular/messages.html.twig' %}#}
{% include 'logged/angular/listing-products.html.twig' %} {# {% include 'logged/angular/listing-products.html.twig' %}#}
</div> </div>
<div id="sellings" class="sellings col-xs-12 col-md-4"> <div id="sellings" class="sellings col-xs-12 col-md-4">
<div class="list-sell" ng-class="{'bg-success text-success': sellingOk }"> <div class="list-sell" ng-class="{'bg-success text-success': sellingOk }">
{% include 'logged/angular/validate-button.html.twig' %} <button class="button">valider</button>
{% if app.user.products |length %} {# {% include 'logged/angular/validate-button.html.twig' %}#}
{% include 'logged/angular/current.html.twig' %} {# {% if app.user.products |length %}#}
{% endif %} {# {% include 'logged/angular/current.html.twig' %}#}
{# {% endif %}#}
{#{% include 'logged/angular/paused.html.twig' %}#} {#{% include 'logged/angular/paused.html.twig' %}#}
</div> </div>
</div> </div>
</div> </div>
<div id="other_time"> <div id="other_time">
{% include 'logged/angular/recent.html.twig' %} ventes récentes
{# {% include 'logged/angular/recent.html.twig' %}#}
</div> </div>
<div class="col-xs-12 col-md-4 col-md-offset-8"> <div class="col-xs-12 col-md-4 col-md-offset-8">
{% include 'logged/angular/categ-options.html.twig' %} catégories
{# {% include 'logged/angular/categ-options.html.twig' %}#}
</div> </div>
</div> </div>

View File

@ -1,11 +1,4 @@
<div class="caisse-main-box"> <div class="caisse-main-box">
{% verbatim %}
<div id="not_loaded" ng-if="!initLoadDone">
<div class="well text-center">
<i class="fa fa-refresh fa-spin fa-3x"></i> Chargement en cours de vos produits
</div>
</div>
{% endverbatim %}
{% include 'logged/angular/loaded-caisse.html.twig' %} {% include 'logged/angular/loaded-caisse.html.twig' %}
</div> </div>

View File

@ -10,12 +10,12 @@
<!-- ligne d'informations--> <!-- ligne d'informations-->
{% endverbatim %} {% endverbatim %}
{% include 'logged/listing-options.html.twig' %} {# {% include 'logged/listing-options.html.twig' %}#}
{% include 'logged/festival-infos.html.twig' %} {# {% include 'logged/festival-infos.html.twig' %}#}
{# </div>#} {# </div>#}
<div class="col-xs-12"> <div class="col-xs-12">
{% include 'logged/customer.html.twig' %} {# {% include 'logged/customer.html.twig' %}#}
{% verbatim %} {% verbatim %}
</div> </div>

View File

@ -0,0 +1,42 @@
{% extends 'base.html.twig' %}
{% block title %}Log in!{% endblock %}
{% block body %}
<form method="post">
{% if error %}
<div class="alert alert-danger">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
{% endif %}
{% if app.user %}
<div class="mb-3">
You are logged in as {{ app.user.userIdentifier }}, <a href="{{ path('app_logout') }}">Logout</a>
</div>
{% endif %}
<h1 class="h3 mb-3 font-weight-normal">Please sign in</h1>
<label for="inputUsername">Username</label>
<input type="text" value="{{ last_username }}" name="username" id="inputUsername" class="form-control" autocomplete="username" required autofocus>
<label for="inputPassword">Password</label>
<input type="password" name="password" id="inputPassword" class="form-control" autocomplete="current-password" required>
<input type="hidden" name="_csrf_token"
value="{{ csrf_token('authenticate') }}"
>
{#
Uncomment this section and add a remember_me option below your firewall to activate remember me functionality.
See https://symfony.com/doc/current/security/remember_me.html
<div class="checkbox mb-3">
<label>
<input type="checkbox" name="_remember_me"> Remember me
</label>
</div>
#}
<button class="btn btn-lg btn-primary" type="submit">
Sign in
</button>
</form>
{% endblock %}

View File

@ -11,6 +11,9 @@ menu.products: Products
menu.categories: Categories menu.categories: Categories
menu.future: Forecast menu.future: Forecast
user.greet: Hi user.greet: Hi
security.login.login: 'login'
security.login.logout: 'logout'
security.login.username: user security.login.username: user
security.login.password: password security.login.password: password
security.login.remember_me: remember security.login.remember_me: remember

View File

@ -11,6 +11,8 @@ menu.products: Produits
menu.categories: Catégories menu.categories: Catégories
menu.future: Prévisionnel menu.future: Prévisionnel
user.greet: Bonjour user.greet: Bonjour
security.login.login: 'Se connecter'
security.login.logout: 'Se déconnecter'
security.login.username: utilisateur security.login.username: utilisateur
security.login.password: 'mot de passe' security.login.password: 'mot de passe'
security.login.remember_me: 'se souvenir' security.login.remember_me: 'se souvenir'

View File

@ -599,3 +599,302 @@
[2023-06-28T11:53:35.623778+02:00] request.INFO: Matched route "app_home". {"route":"app_home","route_parameters":{"_route":"app_home","_controller":"App\\Controller\\DefaultController::home"},"request_uri":"https://127.0.0.1:8000/","method":"GET"} [] [2023-06-28T11:53:35.623778+02:00] request.INFO: Matched route "app_home". {"route":"app_home","route_parameters":{"_route":"app_home","_controller":"App\\Controller\\DefaultController::home"},"request_uri":"https://127.0.0.1:8000/","method":"GET"} []
[2023-06-28T11:53:35.625051+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":0} [] [2023-06-28T11:53:35.625051+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":0} []
[2023-06-28T11:53:36.356848+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"5e7662"},"request_uri":"https://127.0.0.1:8000/_wdt/5e7662","method":"GET"} [] [2023-06-28T11:53:36.356848+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"5e7662"},"request_uri":"https://127.0.0.1:8000/_wdt/5e7662","method":"GET"} []
[2023-06-28T11:55:38.784062+02:00] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET https://127.0.0.1:8000/login"" at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/symfony/http-kernel/EventListener/RouterListener.php line 130 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException(code: 0): No route found for \"GET https://127.0.0.1:8000/login\" at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/symfony/http-kernel/EventListener/RouterListener.php:130)\n[previous exception] [object] (Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): No routes found for \"/login/\". at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/symfony/routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:74)"} []
[2023-06-28T11:55:39.269534+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"6134cc"},"request_uri":"https://127.0.0.1:8000/_wdt/6134cc","method":"GET"} []
[2023-06-28T11:59:34.448930+02:00] request.INFO: Matched route "app_user_login". {"route":"app_user_login","route_parameters":{"_route":"app_user_login","_controller":"App\\Controller\\UserController::home"},"request_uri":"https://127.0.0.1:8000/login","method":"GET"} []
[2023-06-28T11:59:34.450940+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":0} []
[2023-06-28T11:59:34.518721+02:00] request.CRITICAL: Uncaught PHP Exception Twig\Error\RuntimeError: "Variable "edit_form" does not exist." at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/templates/account/login.html.twig line 10 {"exception":"[object] (Twig\\Error\\RuntimeError(code: 0): Variable \"edit_form\" does not exist. at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/templates/account/login.html.twig:10)"} []
[2023-06-28T11:59:34.923760+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"2c741e"},"request_uri":"https://127.0.0.1:8000/_wdt/2c741e","method":"GET"} []
[2023-06-28T11:59:41.310943+02:00] request.INFO: Matched route "app_user_login". {"route":"app_user_login","route_parameters":{"_route":"app_user_login","_controller":"App\\Controller\\UserController::home"},"request_uri":"https://127.0.0.1:8000/login","method":"GET"} []
[2023-06-28T11:59:41.313191+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":0} []
[2023-06-28T11:59:41.775574+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"f218d1"},"request_uri":"https://127.0.0.1:8000/_wdt/f218d1","method":"GET"} []
[2023-06-28T12:00:13.957220+02:00] request.INFO: Matched route "app_user_login". {"route":"app_user_login","route_parameters":{"_route":"app_user_login","_controller":"App\\Controller\\UserController::home"},"request_uri":"https://127.0.0.1:8000/login","method":"GET"} []
[2023-06-28T12:00:13.958369+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":0} []
[2023-06-28T12:00:14.380109+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"f70408"},"request_uri":"https://127.0.0.1:8000/_wdt/f70408","method":"GET"} []
[2023-06-28T14:40:17.365403+02:00] request.INFO: Matched route "app_home". {"route":"app_home","route_parameters":{"_route":"app_home","_controller":"App\\Controller\\DefaultController::home"},"request_uri":"https://127.0.0.1:8000/","method":"GET"} []
[2023-06-28T14:40:17.368023+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":0} []
[2023-06-28T14:40:18.072378+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"1ca415"},"request_uri":"https://127.0.0.1:8000/_wdt/1ca415","method":"GET"} []
[2023-06-28T14:40:32.295899+02:00] request.INFO: Matched route "app_user_login". {"route":"app_user_login","route_parameters":{"_route":"app_user_login","_controller":"App\\Controller\\UserController::home"},"request_uri":"https://127.0.0.1:8000/login","method":"GET"} []
[2023-06-28T14:40:32.296763+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":0} []
[2023-06-28T14:40:32.893223+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"3dd0d2"},"request_uri":"https://127.0.0.1:8000/_wdt/3dd0d2","method":"GET"} []
[2023-06-28T14:41:14.855351+02:00] request.INFO: Matched route "app_user_login". {"route":"app_user_login","route_parameters":{"_route":"app_user_login","_controller":"App\\Controller\\UserController::home"},"request_uri":"https://127.0.0.1:8000/login","method":"GET"} []
[2023-06-28T14:41:14.856516+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":0} []
[2023-06-28T14:41:15.519671+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"0f9085"},"request_uri":"https://127.0.0.1:8000/_wdt/0f9085","method":"GET"} []
[2023-06-28T14:41:26.274748+02:00] request.INFO: Matched route "app_user_login". {"route":"app_user_login","route_parameters":{"_route":"app_user_login","_controller":"App\\Controller\\UserController::home"},"request_uri":"https://127.0.0.1:8000/login","method":"GET"} []
[2023-06-28T14:41:26.275475+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":0} []
[2023-06-28T14:41:26.742250+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"4da421"},"request_uri":"https://127.0.0.1:8000/_wdt/4da421","method":"GET"} []
[2023-06-28T14:41:34.405849+02:00] request.INFO: Matched route "app_user_login". {"route":"app_user_login","route_parameters":{"_route":"app_user_login","_controller":"App\\Controller\\UserController::home"},"request_uri":"https://127.0.0.1:8000/login","method":"GET"} []
[2023-06-28T14:41:34.406995+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":0} []
[2023-06-28T14:41:34.985514+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"5eb649"},"request_uri":"https://127.0.0.1:8000/_wdt/5eb649","method":"GET"} []
[2023-06-28T14:41:42.965639+02:00] request.INFO: Matched route "app_home". {"route":"app_home","route_parameters":{"_route":"app_home","_controller":"App\\Controller\\DefaultController::home"},"request_uri":"https://127.0.0.1:8000/","method":"GET"} []
[2023-06-28T14:41:42.966533+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":0} []
[2023-06-28T14:41:43.658131+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"8a1366"},"request_uri":"https://127.0.0.1:8000/_wdt/8a1366","method":"GET"} []
[2023-06-28T14:42:32.322656+02:00] request.INFO: Matched route "app_home". {"route":"app_home","route_parameters":{"_route":"app_home","_controller":"App\\Controller\\DefaultController::home"},"request_uri":"https://127.0.0.1:8000/","method":"GET"} []
[2023-06-28T14:42:32.324167+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":0} []
[2023-06-28T14:43:59.485306+02:00] request.INFO: Matched route "app_home". {"route":"app_home","route_parameters":{"_route":"app_home","_controller":"App\\Controller\\DefaultController::home"},"request_uri":"https://127.0.0.1:8000/","method":"GET"} []
[2023-06-28T14:43:59.486243+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":0} []
[2023-06-28T14:43:59.504427+02:00] request.CRITICAL: Uncaught PHP Exception Twig\Error\RuntimeError: "An exception has been thrown during the rendering of a template ("Unable to generate a URL for the named route "home" as such route does not exist.")." at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/templates/default/header.html.twig line 5 {"exception":"[object] (Twig\\Error\\RuntimeError(code: 0): An exception has been thrown during the rendering of a template (\"Unable to generate a URL for the named route \"home\" as such route does not exist.\"). at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/templates/default/header.html.twig:5)\n[previous exception] [object] (Symfony\\Component\\Routing\\Exception\\RouteNotFoundException(code: 0): Unable to generate a URL for the named route \"home\" as such route does not exist. at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/symfony/routing/Generator/CompiledUrlGenerator.php:50)"} []
[2023-06-28T14:44:00.141050+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"142136"},"request_uri":"https://127.0.0.1:8000/_wdt/142136","method":"GET"} []
[2023-06-28T14:44:07.655738+02:00] request.INFO: Matched route "app_home". {"route":"app_home","route_parameters":{"_route":"app_home","_controller":"App\\Controller\\DefaultController::home"},"request_uri":"https://127.0.0.1:8000/","method":"GET"} []
[2023-06-28T14:44:07.657177+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":0} []
[2023-06-28T14:44:08.547282+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"7cbc79"},"request_uri":"https://127.0.0.1:8000/_wdt/7cbc79","method":"GET"} []
[2023-06-28T14:44:29.991090+02:00] request.INFO: Matched route "app_home". {"route":"app_home","route_parameters":{"_route":"app_home","_controller":"App\\Controller\\DefaultController::home"},"request_uri":"https://127.0.0.1:8000/","method":"GET"} []
[2023-06-28T14:44:29.992350+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":0} []
[2023-06-28T14:44:30.739361+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"751c96"},"request_uri":"https://127.0.0.1:8000/_wdt/751c96","method":"GET"} []
[2023-06-28T14:47:02.790304+02:00] request.INFO: Matched route "app_home". {"route":"app_home","route_parameters":{"_route":"app_home","_controller":"App\\Controller\\DefaultController::home"},"request_uri":"https://127.0.0.1:8000/","method":"GET"} []
[2023-06-28T14:47:02.791293+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":0} []
[2023-06-28T14:47:03.681132+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"eab443"},"request_uri":"https://127.0.0.1:8000/_wdt/eab443","method":"GET"} []
[2023-06-28T14:49:56.933895+02:00] console.CRITICAL: Error thrown while running command "doctrine". Message: "Command "doctrine" is not defined. Did you mean one of these? doctrine:cache:clear-collection-region doctrine:cache:clear-entity-region doctrine:cache:clear-metadata doctrine:cache:clear-query doctrine:cache:clear-query-region doctrine:cache:clear-result doctrine:database:create doctrine:database:drop doctrine:ensure-production-settings doctrine:mapping:convert doctrine:mapping:import doctrine:mapping:info doctrine:migrations:current doctrine:migrations:diff doctrine:migrations:dump-schema doctrine:migrations:execute doctrine:migrations:generate doctrine:migrations:latest doctrine:migrations:list doctrine:migrations:migrate doctrine:migrations:rollup doctrine:migrations:status doctrine:migrations:sync-metadata-storage doctrine:migrations:up-to-date doctrine:migrations:version doctrine:query:dql doctrine:query:sql doctrine:schema:create doctrine:schema:drop doctrine:schema:update doctrine:schema:validate" {"exception":"[object] (Symfony\\Component\\Console\\Exception\\CommandNotFoundException(code: 0): Command \"doctrine\" is not defined.\n\nDid you mean one of these?\n doctrine:cache:clear-collection-region\n doctrine:cache:clear-entity-region\n doctrine:cache:clear-metadata\n doctrine:cache:clear-query\n doctrine:cache:clear-query-region\n doctrine:cache:clear-result\n doctrine:database:create\n doctrine:database:drop\n doctrine:ensure-production-settings\n doctrine:mapping:convert\n doctrine:mapping:import\n doctrine:mapping:info\n doctrine:migrations:current\n doctrine:migrations:diff\n doctrine:migrations:dump-schema\n doctrine:migrations:execute\n doctrine:migrations:generate\n doctrine:migrations:latest\n doctrine:migrations:list\n doctrine:migrations:migrate\n doctrine:migrations:rollup\n doctrine:migrations:status\n doctrine:migrations:sync-metadata-storage\n doctrine:migrations:up-to-date\n doctrine:migrations:version\n doctrine:query:dql\n doctrine:query:sql\n doctrine:schema:create\n doctrine:schema:drop\n doctrine:schema:update\n doctrine:schema:validate at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/symfony/console/Application.php:694)","command":"doctrine","message":"Command \"doctrine\" is not defined.\n\nDid you mean one of these?\n doctrine:cache:clear-collection-region\n doctrine:cache:clear-entity-region\n doctrine:cache:clear-metadata\n doctrine:cache:clear-query\n doctrine:cache:clear-query-region\n doctrine:cache:clear-result\n doctrine:database:create\n doctrine:database:drop\n doctrine:ensure-production-settings\n doctrine:mapping:convert\n doctrine:mapping:import\n doctrine:mapping:info\n doctrine:migrations:current\n doctrine:migrations:diff\n doctrine:migrations:dump-schema\n doctrine:migrations:execute\n doctrine:migrations:generate\n doctrine:migrations:latest\n doctrine:migrations:list\n doctrine:migrations:migrate\n doctrine:migrations:rollup\n doctrine:migrations:status\n doctrine:migrations:sync-metadata-storage\n doctrine:migrations:up-to-date\n doctrine:migrations:version\n doctrine:query:dql\n doctrine:query:sql\n doctrine:schema:create\n doctrine:schema:drop\n doctrine:schema:update\n doctrine:schema:validate"} []
[2023-06-28T14:50:13.288252+02:00] console.DEBUG: Command "make:fixtures" exited with code "1" {"command":"make:fixtures","code":1} []
[2023-06-28T15:18:16.925317+02:00] doctrine.INFO: Connecting with parameters array{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"} {"params":{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"}} []
[2023-06-28T15:18:16.944691+02:00] console.CRITICAL: Error thrown while running command "make:user". Message: "Cannot find the entity manager for class "App\Entity\UserAccount"" {"exception":"[object] (InvalidArgumentException(code: 0): Cannot find the entity manager for class \"App\\Entity\\UserAccount\" at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/symfony/maker-bundle/src/Doctrine/DoctrineHelper.php:91)","command":"make:user","message":"Cannot find the entity manager for class \"App\\Entity\\UserAccount\""} []
[2023-06-28T15:18:16.945191+02:00] console.DEBUG: Command "make:user" exited with code "1" {"command":"make:user","code":1} []
[2023-06-28T15:18:16.947528+02:00] doctrine.INFO: Disconnecting [] []
[2023-06-28T15:18:26.154227+02:00] console.DEBUG: Command "make:crud UserAccount" exited with code "1" {"command":"make:crud UserAccount","code":1} []
[2023-06-28T15:19:00.601786+02:00] doctrine.INFO: Connecting with parameters array{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"} {"params":{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"}} []
[2023-06-28T15:19:00.619039+02:00] console.DEBUG: Command "make:crud UserAccount" exited with code "1" {"command":"make:crud UserAccount","code":1} []
[2023-06-28T15:19:00.619317+02:00] doctrine.INFO: Disconnecting [] []
[2023-06-28T15:19:38.818325+02:00] doctrine.INFO: Connecting with parameters array{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"} {"params":{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"}} []
[2023-06-28T15:19:38.835582+02:00] console.DEBUG: Command "make:crud AppUserAccount" exited with code "1" {"command":"make:crud AppUserAccount","code":1} []
[2023-06-28T15:19:38.835859+02:00] doctrine.INFO: Disconnecting [] []
[2023-06-28T15:19:45.395737+02:00] doctrine.INFO: Connecting with parameters array{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"} {"params":{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"}} []
[2023-06-28T15:19:45.413860+02:00] console.DEBUG: Command "make:crud UserAccount" exited with code "1" {"command":"make:crud UserAccount","code":1} []
[2023-06-28T15:19:45.414125+02:00] doctrine.INFO: Disconnecting [] []
[2023-06-28T15:20:09.520515+02:00] console.CRITICAL: Error thrown while running command "make:entity UserAccount". Message: "Cannot find the entity manager for class "App\Entity\UserAccount"" {"exception":"[object] (InvalidArgumentException(code: 0): Cannot find the entity manager for class \"App\\Entity\\UserAccount\" at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/symfony/maker-bundle/src/Doctrine/DoctrineHelper.php:91)","command":"make:entity UserAccount","message":"Cannot find the entity manager for class \"App\\Entity\\UserAccount\""} []
[2023-06-28T15:20:09.522217+02:00] console.DEBUG: Command "make:entity UserAccount" exited with code "1" {"command":"make:entity UserAccount","code":1} []
[2023-06-28T15:20:17.940037+02:00] doctrine.INFO: Connecting with parameters array{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"} {"params":{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"}} []
[2023-06-28T15:20:17.956485+02:00] console.DEBUG: Command "make:entity UserAccount --regenerate" exited with code "1" {"command":"make:entity UserAccount --regenerate","code":1} []
[2023-06-28T15:20:17.956815+02:00] doctrine.INFO: Disconnecting [] []
[2023-06-28T15:20:57.392587+02:00] doctrine.INFO: Connecting with parameters array{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"} {"params":{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"}} []
[2023-06-28T15:20:57.409990+02:00] console.CRITICAL: Error thrown while running command "make:user Admin". Message: "Cannot find the entity manager for class "App\Entity\Admin"" {"exception":"[object] (InvalidArgumentException(code: 0): Cannot find the entity manager for class \"App\\Entity\\Admin\" at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/symfony/maker-bundle/src/Doctrine/DoctrineHelper.php:91)","command":"make:user Admin","message":"Cannot find the entity manager for class \"App\\Entity\\Admin\""} []
[2023-06-28T15:20:57.410442+02:00] console.DEBUG: Command "make:user Admin" exited with code "1" {"command":"make:user Admin","code":1} []
[2023-06-28T15:20:57.416570+02:00] doctrine.INFO: Disconnecting [] []
[2023-06-28T15:29:01.500133+02:00] doctrine.INFO: Connecting with parameters array{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"} {"params":{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"}} []
[2023-06-28T15:29:01.505186+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:01.522839+02:00] doctrine.DEBUG: Executing statement: SELECT TABLE_NAME FROM information_schema.TABLES WHERE TABLE_SCHEMA = ? AND TABLE_TYPE = 'BASE TABLE' ORDER BY TABLE_NAME (parameters: array{"1":"framadate_api"}, types: array{"1":2}) {"sql":"SELECT TABLE_NAME\nFROM information_schema.TABLES\nWHERE TABLE_SCHEMA = ?\n AND TABLE_TYPE = 'BASE TABLE'\nORDER BY TABLE_NAME","params":{"1":"framadate_api"},"types":{"1":2}} []
[2023-06-28T15:29:01.530874+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:01.531285+02:00] doctrine.DEBUG: Executing statement: SELECT TABLE_NAME FROM information_schema.TABLES WHERE TABLE_SCHEMA = ? AND TABLE_TYPE = 'BASE TABLE' ORDER BY TABLE_NAME (parameters: array{"1":"framadate_api"}, types: array{"1":2}) {"sql":"SELECT TABLE_NAME\nFROM information_schema.TABLES\nWHERE TABLE_SCHEMA = ?\n AND TABLE_TYPE = 'BASE TABLE'\nORDER BY TABLE_NAME","params":{"1":"framadate_api"},"types":{"1":2}} []
[2023-06-28T15:29:08.239796+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:08.240293+02:00] doctrine.DEBUG: Executing statement: SELECT c.TABLE_NAME, c.COLUMN_NAME AS field, c.COLUMN_TYPE AS type, c.IS_NULLABLE AS `null`, c.COLUMN_KEY AS `key`, c.COLUMN_DEFAULT AS `default`, c.EXTRA, c.COLUMN_COMMENT AS comment, c.CHARACTER_SET_NAME AS characterset, c.COLLATION_NAME AS collation FROM information_schema.COLUMNS c INNER JOIN information_schema.TABLES t ON t.TABLE_NAME = c.TABLE_NAME WHERE c.TABLE_SCHEMA = ? AND t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' ORDER BY ORDINAL_POSITION (parameters: array{"1":"framadate_api","2":"framadate_api"}, types: array{"1":2,"2":2}) {"sql":"SELECT c.TABLE_NAME, c.COLUMN_NAME AS field,\n c.COLUMN_TYPE AS type,\n c.IS_NULLABLE AS `null`,\n c.COLUMN_KEY AS `key`,\n c.COLUMN_DEFAULT AS `default`,\n c.EXTRA,\n c.COLUMN_COMMENT AS comment,\n c.CHARACTER_SET_NAME AS characterset,\n c.COLLATION_NAME AS collation\nFROM information_schema.COLUMNS c\n INNER JOIN information_schema.TABLES t\n ON t.TABLE_NAME = c.TABLE_NAME WHERE c.TABLE_SCHEMA = ? AND t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' ORDER BY ORDINAL_POSITION","params":{"1":"framadate_api","2":"framadate_api"},"types":{"1":2,"2":2}} []
[2023-06-28T15:29:08.247769+02:00] doctrine.DEBUG: Executing statement: SELECT TABLE_NAME, NON_UNIQUE AS Non_Unique, INDEX_NAME AS Key_name, COLUMN_NAME AS Column_Name, SUB_PART AS Sub_Part, INDEX_TYPE AS Index_Type FROM information_schema.STATISTICS WHERE TABLE_SCHEMA = ? ORDER BY SEQ_IN_INDEX (parameters: array{"1":"framadate_api"}, types: array{"1":2}) {"sql":"SELECT TABLE_NAME, NON_UNIQUE AS Non_Unique,\n INDEX_NAME AS Key_name,\n COLUMN_NAME AS Column_Name,\n SUB_PART AS Sub_Part,\n INDEX_TYPE AS Index_Type\nFROM information_schema.STATISTICS WHERE TABLE_SCHEMA = ? ORDER BY SEQ_IN_INDEX","params":{"1":"framadate_api"},"types":{"1":2}} []
[2023-06-28T15:29:08.249762+02:00] doctrine.DEBUG: Executing statement: SELECT DISTINCT k.TABLE_NAME, k.CONSTRAINT_NAME, k.COLUMN_NAME, k.REFERENCED_TABLE_NAME, k.REFERENCED_COLUMN_NAME, k.ORDINAL_POSITION /*!50116, c.UPDATE_RULE, c.DELETE_RULE */ FROM information_schema.key_column_usage k /*!50116 INNER JOIN information_schema.referential_constraints c ON c.CONSTRAINT_NAME = k.CONSTRAINT_NAME AND c.TABLE_NAME = k.TABLE_NAME */ WHERE k.TABLE_SCHEMA = ? AND k.REFERENCED_COLUMN_NAME IS NOT NULL /*!50116 AND c.CONSTRAINT_SCHEMA = 'framadate_api' */ ORDER BY k.ORDINAL_POSITION (parameters: array{"1":"framadate_api"}, types: array{"1":2}) {"sql":"SELECT DISTINCT k.TABLE_NAME, k.CONSTRAINT_NAME,\n k.COLUMN_NAME,\n k.REFERENCED_TABLE_NAME,\n k.REFERENCED_COLUMN_NAME,\n k.ORDINAL_POSITION /*!50116,\n c.UPDATE_RULE,\n c.DELETE_RULE */\nFROM information_schema.key_column_usage k /*!50116\nINNER JOIN information_schema.referential_constraints c\nON c.CONSTRAINT_NAME = k.CONSTRAINT_NAME\nAND c.TABLE_NAME = k.TABLE_NAME */ WHERE k.TABLE_SCHEMA = ? AND k.REFERENCED_COLUMN_NAME IS NOT NULL /*!50116 AND c.CONSTRAINT_SCHEMA = 'framadate_api' */ ORDER BY k.ORDINAL_POSITION","params":{"1":"framadate_api"},"types":{"1":2}} []
[2023-06-28T15:29:08.252368+02:00] doctrine.DEBUG: Executing statement: SELECT t.TABLE_NAME, t.ENGINE, t.AUTO_INCREMENT, t.TABLE_COMMENT, t.CREATE_OPTIONS, t.TABLE_COLLATION, ccsa.CHARACTER_SET_NAME FROM information_schema.TABLES t INNER JOIN information_schema.COLLATION_CHARACTER_SET_APPLICABILITY ccsa ON ccsa.COLLATION_NAME = t.TABLE_COLLATION WHERE t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' (parameters: array{"1":"framadate_api"}, types: array{"1":2}) {"sql":" SELECT t.TABLE_NAME,\n t.ENGINE,\n t.AUTO_INCREMENT,\n t.TABLE_COMMENT,\n t.CREATE_OPTIONS,\n t.TABLE_COLLATION,\n ccsa.CHARACTER_SET_NAME\n FROM information_schema.TABLES t\n INNER JOIN information_schema.COLLATION_CHARACTER_SET_APPLICABILITY ccsa\n ON ccsa.COLLATION_NAME = t.TABLE_COLLATION WHERE t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE'","params":{"1":"framadate_api"},"types":{"1":2}} []
[2023-06-28T15:29:08.270143+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:08.289154+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:08.305252+02:00] doctrine.INFO: Disconnecting [] []
[2023-06-28T15:29:10.920051+02:00] doctrine.INFO: Connecting with parameters array{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"} {"params":{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"}} []
[2023-06-28T15:29:10.924392+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:10.928037+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:10.929536+02:00] doctrine.DEBUG: Executing statement: SELECT TABLE_NAME FROM information_schema.TABLES WHERE TABLE_SCHEMA = ? AND TABLE_TYPE = 'BASE TABLE' ORDER BY TABLE_NAME (parameters: array{"1":"framadate_api"}, types: array{"1":2}) {"sql":"SELECT TABLE_NAME\nFROM information_schema.TABLES\nWHERE TABLE_SCHEMA = ?\n AND TABLE_TYPE = 'BASE TABLE'\nORDER BY TABLE_NAME","params":{"1":"framadate_api"},"types":{"1":2}} []
[2023-06-28T15:29:10.940028+02:00] doctrine.DEBUG: Executing statement: CREATE TABLE doctrine_migration_versions (version VARCHAR(191) NOT NULL, executed_at DATETIME DEFAULT NULL, execution_time INT DEFAULT NULL, PRIMARY KEY(version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB {"sql":"CREATE TABLE doctrine_migration_versions (version VARCHAR(191) NOT NULL, executed_at DATETIME DEFAULT NULL, execution_time INT DEFAULT NULL, PRIMARY KEY(version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB"} []
[2023-06-28T15:29:10.988716+02:00] doctrine.DEBUG: Executing query: SELECT * FROM doctrine_migration_versions {"sql":"SELECT * FROM doctrine_migration_versions"} []
[2023-06-28T15:29:10.989964+02:00] doctrine.DEBUG: Executing query: SELECT * FROM doctrine_migration_versions {"sql":"SELECT * FROM doctrine_migration_versions"} []
[2023-06-28T15:29:10.990345+02:00] doctrine.DEBUG: Executing query: SELECT * FROM doctrine_migration_versions {"sql":"SELECT * FROM doctrine_migration_versions"} []
[2023-06-28T15:29:10.995064+02:00] doctrine.DEBUG: Beginning transaction [] []
[2023-06-28T15:29:11.001312+02:00] doctrine.DEBUG: Executing statement: INSERT INTO doctrine_migration_versions (version, executed_at, execution_time) VALUES (?, ?, ?) (parameters: array{"1":"DoctrineMigrations\\Version20230620164025","2":"2023-06-28 15:29:10","3":6}, types: array{"1":2,"2":2,"3":1}) {"sql":"INSERT INTO doctrine_migration_versions (version, executed_at, execution_time) VALUES (?, ?, ?)","params":{"1":"DoctrineMigrations\\Version20230620164025","2":"2023-06-28 15:29:10","3":6},"types":{"1":2,"2":2,"3":1}} []
[2023-06-28T15:29:11.003014+02:00] doctrine.DEBUG: Committing transaction [] []
[2023-06-28T15:29:11.005368+02:00] doctrine.DEBUG: Beginning transaction [] []
[2023-06-28T15:29:11.006179+02:00] doctrine.DEBUG: Executing query: ALTER TABLE choice DROP FOREIGN KEY FK_C1AB5A923C947C0F {"sql":"ALTER TABLE choice DROP FOREIGN KEY FK_C1AB5A923C947C0F"} []
[2023-06-28T15:29:11.047472+02:00] doctrine.DEBUG: Executing query: ALTER TABLE comment DROP FOREIGN KEY FK_9474526C7E3C61F9 {"sql":"ALTER TABLE comment DROP FOREIGN KEY FK_9474526C7E3C61F9"} []
[2023-06-28T15:29:11.089032+02:00] doctrine.DEBUG: Executing query: ALTER TABLE comment DROP FOREIGN KEY FK_9474526C3C947C0F {"sql":"ALTER TABLE comment DROP FOREIGN KEY FK_9474526C3C947C0F"} []
[2023-06-28T15:29:11.128432+02:00] doctrine.DEBUG: Executing query: ALTER TABLE poll DROP FOREIGN KEY FK_84BCFA457E3C61F9 {"sql":"ALTER TABLE poll DROP FOREIGN KEY FK_84BCFA457E3C61F9"} []
[2023-06-28T15:29:11.170904+02:00] doctrine.DEBUG: Executing query: ALTER TABLE stack_of_votes DROP FOREIGN KEY FK_4809A40D7E3C61F9 {"sql":"ALTER TABLE stack_of_votes DROP FOREIGN KEY FK_4809A40D7E3C61F9"} []
[2023-06-28T15:29:11.214949+02:00] doctrine.DEBUG: Executing query: ALTER TABLE stack_of_votes DROP FOREIGN KEY FK_4809A40D3C947C0F {"sql":"ALTER TABLE stack_of_votes DROP FOREIGN KEY FK_4809A40D3C947C0F"} []
[2023-06-28T15:29:11.252803+02:00] doctrine.DEBUG: Executing query: ALTER TABLE vote DROP FOREIGN KEY FK_5A108564998666D1 {"sql":"ALTER TABLE vote DROP FOREIGN KEY FK_5A108564998666D1"} []
[2023-06-28T15:29:11.284347+02:00] doctrine.DEBUG: Executing query: ALTER TABLE vote DROP FOREIGN KEY FK_5A1085643C947C0F {"sql":"ALTER TABLE vote DROP FOREIGN KEY FK_5A1085643C947C0F"} []
[2023-06-28T15:29:11.316182+02:00] doctrine.DEBUG: Executing query: ALTER TABLE vote DROP FOREIGN KEY FK_5A1085649903A56B {"sql":"ALTER TABLE vote DROP FOREIGN KEY FK_5A1085649903A56B"} []
[2023-06-28T15:29:11.354540+02:00] doctrine.DEBUG: Executing query: DROP TABLE owner {"sql":"DROP TABLE owner"} []
[2023-06-28T15:29:11.381784+02:00] doctrine.DEBUG: Executing query: DROP TABLE choice {"sql":"DROP TABLE choice"} []
[2023-06-28T15:29:11.398445+02:00] doctrine.DEBUG: Executing query: DROP TABLE comment {"sql":"DROP TABLE comment"} []
[2023-06-28T15:29:11.427963+02:00] doctrine.DEBUG: Executing query: DROP TABLE poll {"sql":"DROP TABLE poll"} []
[2023-06-28T15:29:11.456777+02:00] doctrine.DEBUG: Executing query: DROP TABLE stack_of_votes {"sql":"DROP TABLE stack_of_votes"} []
[2023-06-28T15:29:11.478768+02:00] doctrine.DEBUG: Executing query: DROP TABLE vote {"sql":"DROP TABLE vote"} []
[2023-06-28T15:29:11.494905+02:00] doctrine.DEBUG: Executing statement: INSERT INTO doctrine_migration_versions (version, executed_at, execution_time) VALUES (?, ?, ?) (parameters: array{"1":"DoctrineMigrations\\Version20230620171220","2":"2023-06-28 15:29:11","3":489}, types: array{"1":2,"2":2,"3":1}) {"sql":"INSERT INTO doctrine_migration_versions (version, executed_at, execution_time) VALUES (?, ?, ?)","params":{"1":"DoctrineMigrations\\Version20230620171220","2":"2023-06-28 15:29:11","3":489},"types":{"1":2,"2":2,"3":1}} []
[2023-06-28T15:29:11.502808+02:00] doctrine.DEBUG: Executing query: CREATE TABLE admin (id INT AUTO_INCREMENT NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB {"sql":"CREATE TABLE admin (id INT AUTO_INCREMENT NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB"} []
[2023-06-28T15:29:11.527223+02:00] doctrine.DEBUG: Executing query: CREATE TABLE user_account (id INT AUTO_INCREMENT NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB {"sql":"CREATE TABLE user_account (id INT AUTO_INCREMENT NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB"} []
[2023-06-28T15:29:11.555255+02:00] doctrine.DEBUG: Executing query: ALTER TABLE vote DROP FOREIGN KEY FK_5A1085643C947C0F {"sql":"ALTER TABLE vote DROP FOREIGN KEY FK_5A1085643C947C0F"} []
[2023-06-28T15:29:11.560711+02:00] console.CRITICAL: Error thrown while running command "doctrine:migrations:migrate -n". Message: "An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'framadate_api.vote' doesn't exist" {"exception":"[object] (Doctrine\\DBAL\\Exception\\TableNotFoundException(code: 1146): An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'framadate_api.vote' doesn't exist at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:49)\n[previous exception] [object] (Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 1146): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'framadate_api.vote' doesn't exist at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28)\n[previous exception] [object] (PDOException(code: 42S02): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'framadate_api.vote' doesn't exist at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/doctrine/dbal/src/Driver/PDO/Connection.php:70)","command":"doctrine:migrations:migrate -n","message":"An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'framadate_api.vote' doesn't exist"} []
[2023-06-28T15:29:11.561222+02:00] console.DEBUG: Command "doctrine:migrations:migrate -n" exited with code "1146" {"command":"doctrine:migrations:migrate -n","code":1146} []
[2023-06-28T15:29:11.569152+02:00] doctrine.INFO: Disconnecting [] []
[2023-06-28T15:29:25.161646+02:00] doctrine.INFO: Connecting with parameters array{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"} {"params":{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"}} []
[2023-06-28T15:29:25.176976+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:25.188452+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:25.190210+02:00] doctrine.DEBUG: Executing statement: SELECT c.TABLE_NAME, c.COLUMN_NAME AS field, c.COLUMN_TYPE AS type, c.IS_NULLABLE AS `null`, c.COLUMN_KEY AS `key`, c.COLUMN_DEFAULT AS `default`, c.EXTRA, c.COLUMN_COMMENT AS comment, c.CHARACTER_SET_NAME AS characterset, c.COLLATION_NAME AS collation FROM information_schema.COLUMNS c INNER JOIN information_schema.TABLES t ON t.TABLE_NAME = c.TABLE_NAME WHERE c.TABLE_SCHEMA = ? AND t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' ORDER BY ORDINAL_POSITION (parameters: array{"1":"framadate_api","2":"framadate_api"}, types: array{"1":2,"2":2}) {"sql":"SELECT c.TABLE_NAME, c.COLUMN_NAME AS field,\n c.COLUMN_TYPE AS type,\n c.IS_NULLABLE AS `null`,\n c.COLUMN_KEY AS `key`,\n c.COLUMN_DEFAULT AS `default`,\n c.EXTRA,\n c.COLUMN_COMMENT AS comment,\n c.CHARACTER_SET_NAME AS characterset,\n c.COLLATION_NAME AS collation\nFROM information_schema.COLUMNS c\n INNER JOIN information_schema.TABLES t\n ON t.TABLE_NAME = c.TABLE_NAME WHERE c.TABLE_SCHEMA = ? AND t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' ORDER BY ORDINAL_POSITION","params":{"1":"framadate_api","2":"framadate_api"},"types":{"1":2,"2":2}} []
[2023-06-28T15:29:25.203153+02:00] doctrine.DEBUG: Executing statement: SELECT TABLE_NAME, NON_UNIQUE AS Non_Unique, INDEX_NAME AS Key_name, COLUMN_NAME AS Column_Name, SUB_PART AS Sub_Part, INDEX_TYPE AS Index_Type FROM information_schema.STATISTICS WHERE TABLE_SCHEMA = ? ORDER BY SEQ_IN_INDEX (parameters: array{"1":"framadate_api"}, types: array{"1":2}) {"sql":"SELECT TABLE_NAME, NON_UNIQUE AS Non_Unique,\n INDEX_NAME AS Key_name,\n COLUMN_NAME AS Column_Name,\n SUB_PART AS Sub_Part,\n INDEX_TYPE AS Index_Type\nFROM information_schema.STATISTICS WHERE TABLE_SCHEMA = ? ORDER BY SEQ_IN_INDEX","params":{"1":"framadate_api"},"types":{"1":2}} []
[2023-06-28T15:29:25.204313+02:00] doctrine.DEBUG: Executing statement: SELECT DISTINCT k.TABLE_NAME, k.CONSTRAINT_NAME, k.COLUMN_NAME, k.REFERENCED_TABLE_NAME, k.REFERENCED_COLUMN_NAME, k.ORDINAL_POSITION /*!50116, c.UPDATE_RULE, c.DELETE_RULE */ FROM information_schema.key_column_usage k /*!50116 INNER JOIN information_schema.referential_constraints c ON c.CONSTRAINT_NAME = k.CONSTRAINT_NAME AND c.TABLE_NAME = k.TABLE_NAME */ WHERE k.TABLE_SCHEMA = ? AND k.REFERENCED_COLUMN_NAME IS NOT NULL /*!50116 AND c.CONSTRAINT_SCHEMA = 'framadate_api' */ ORDER BY k.ORDINAL_POSITION (parameters: array{"1":"framadate_api"}, types: array{"1":2}) {"sql":"SELECT DISTINCT k.TABLE_NAME, k.CONSTRAINT_NAME,\n k.COLUMN_NAME,\n k.REFERENCED_TABLE_NAME,\n k.REFERENCED_COLUMN_NAME,\n k.ORDINAL_POSITION /*!50116,\n c.UPDATE_RULE,\n c.DELETE_RULE */\nFROM information_schema.key_column_usage k /*!50116\nINNER JOIN information_schema.referential_constraints c\nON c.CONSTRAINT_NAME = k.CONSTRAINT_NAME\nAND c.TABLE_NAME = k.TABLE_NAME */ WHERE k.TABLE_SCHEMA = ? AND k.REFERENCED_COLUMN_NAME IS NOT NULL /*!50116 AND c.CONSTRAINT_SCHEMA = 'framadate_api' */ ORDER BY k.ORDINAL_POSITION","params":{"1":"framadate_api"},"types":{"1":2}} []
[2023-06-28T15:29:25.205665+02:00] doctrine.DEBUG: Executing statement: SELECT t.TABLE_NAME, t.ENGINE, t.AUTO_INCREMENT, t.TABLE_COMMENT, t.CREATE_OPTIONS, t.TABLE_COLLATION, ccsa.CHARACTER_SET_NAME FROM information_schema.TABLES t INNER JOIN information_schema.COLLATION_CHARACTER_SET_APPLICABILITY ccsa ON ccsa.COLLATION_NAME = t.TABLE_COLLATION WHERE t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' (parameters: array{"1":"framadate_api"}, types: array{"1":2}) {"sql":" SELECT t.TABLE_NAME,\n t.ENGINE,\n t.AUTO_INCREMENT,\n t.TABLE_COMMENT,\n t.CREATE_OPTIONS,\n t.TABLE_COLLATION,\n ccsa.CHARACTER_SET_NAME\n FROM information_schema.TABLES t\n INNER JOIN information_schema.COLLATION_CHARACTER_SET_APPLICABILITY ccsa\n ON ccsa.COLLATION_NAME = t.TABLE_COLLATION WHERE t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE'","params":{"1":"framadate_api"},"types":{"1":2}} []
[2023-06-28T15:29:25.212848+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:25.219215+02:00] doctrine.INFO: Disconnecting [] []
[2023-06-28T15:29:26.420279+02:00] doctrine.INFO: Connecting with parameters array{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"} {"params":{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"}} []
[2023-06-28T15:29:26.435689+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:26.448334+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:26.450243+02:00] doctrine.DEBUG: Executing statement: SELECT c.TABLE_NAME, c.COLUMN_NAME AS field, c.COLUMN_TYPE AS type, c.IS_NULLABLE AS `null`, c.COLUMN_KEY AS `key`, c.COLUMN_DEFAULT AS `default`, c.EXTRA, c.COLUMN_COMMENT AS comment, c.CHARACTER_SET_NAME AS characterset, c.COLLATION_NAME AS collation FROM information_schema.COLUMNS c INNER JOIN information_schema.TABLES t ON t.TABLE_NAME = c.TABLE_NAME WHERE c.TABLE_SCHEMA = ? AND t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' ORDER BY ORDINAL_POSITION (parameters: array{"1":"framadate_api","2":"framadate_api"}, types: array{"1":2,"2":2}) {"sql":"SELECT c.TABLE_NAME, c.COLUMN_NAME AS field,\n c.COLUMN_TYPE AS type,\n c.IS_NULLABLE AS `null`,\n c.COLUMN_KEY AS `key`,\n c.COLUMN_DEFAULT AS `default`,\n c.EXTRA,\n c.COLUMN_COMMENT AS comment,\n c.CHARACTER_SET_NAME AS characterset,\n c.COLLATION_NAME AS collation\nFROM information_schema.COLUMNS c\n INNER JOIN information_schema.TABLES t\n ON t.TABLE_NAME = c.TABLE_NAME WHERE c.TABLE_SCHEMA = ? AND t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' ORDER BY ORDINAL_POSITION","params":{"1":"framadate_api","2":"framadate_api"},"types":{"1":2,"2":2}} []
[2023-06-28T15:29:26.462914+02:00] doctrine.DEBUG: Executing statement: SELECT TABLE_NAME, NON_UNIQUE AS Non_Unique, INDEX_NAME AS Key_name, COLUMN_NAME AS Column_Name, SUB_PART AS Sub_Part, INDEX_TYPE AS Index_Type FROM information_schema.STATISTICS WHERE TABLE_SCHEMA = ? ORDER BY SEQ_IN_INDEX (parameters: array{"1":"framadate_api"}, types: array{"1":2}) {"sql":"SELECT TABLE_NAME, NON_UNIQUE AS Non_Unique,\n INDEX_NAME AS Key_name,\n COLUMN_NAME AS Column_Name,\n SUB_PART AS Sub_Part,\n INDEX_TYPE AS Index_Type\nFROM information_schema.STATISTICS WHERE TABLE_SCHEMA = ? ORDER BY SEQ_IN_INDEX","params":{"1":"framadate_api"},"types":{"1":2}} []
[2023-06-28T15:29:26.463900+02:00] doctrine.DEBUG: Executing statement: SELECT DISTINCT k.TABLE_NAME, k.CONSTRAINT_NAME, k.COLUMN_NAME, k.REFERENCED_TABLE_NAME, k.REFERENCED_COLUMN_NAME, k.ORDINAL_POSITION /*!50116, c.UPDATE_RULE, c.DELETE_RULE */ FROM information_schema.key_column_usage k /*!50116 INNER JOIN information_schema.referential_constraints c ON c.CONSTRAINT_NAME = k.CONSTRAINT_NAME AND c.TABLE_NAME = k.TABLE_NAME */ WHERE k.TABLE_SCHEMA = ? AND k.REFERENCED_COLUMN_NAME IS NOT NULL /*!50116 AND c.CONSTRAINT_SCHEMA = 'framadate_api' */ ORDER BY k.ORDINAL_POSITION (parameters: array{"1":"framadate_api"}, types: array{"1":2}) {"sql":"SELECT DISTINCT k.TABLE_NAME, k.CONSTRAINT_NAME,\n k.COLUMN_NAME,\n k.REFERENCED_TABLE_NAME,\n k.REFERENCED_COLUMN_NAME,\n k.ORDINAL_POSITION /*!50116,\n c.UPDATE_RULE,\n c.DELETE_RULE */\nFROM information_schema.key_column_usage k /*!50116\nINNER JOIN information_schema.referential_constraints c\nON c.CONSTRAINT_NAME = k.CONSTRAINT_NAME\nAND c.TABLE_NAME = k.TABLE_NAME */ WHERE k.TABLE_SCHEMA = ? AND k.REFERENCED_COLUMN_NAME IS NOT NULL /*!50116 AND c.CONSTRAINT_SCHEMA = 'framadate_api' */ ORDER BY k.ORDINAL_POSITION","params":{"1":"framadate_api"},"types":{"1":2}} []
[2023-06-28T15:29:26.465090+02:00] doctrine.DEBUG: Executing statement: SELECT t.TABLE_NAME, t.ENGINE, t.AUTO_INCREMENT, t.TABLE_COMMENT, t.CREATE_OPTIONS, t.TABLE_COLLATION, ccsa.CHARACTER_SET_NAME FROM information_schema.TABLES t INNER JOIN information_schema.COLLATION_CHARACTER_SET_APPLICABILITY ccsa ON ccsa.COLLATION_NAME = t.TABLE_COLLATION WHERE t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' (parameters: array{"1":"framadate_api"}, types: array{"1":2}) {"sql":" SELECT t.TABLE_NAME,\n t.ENGINE,\n t.AUTO_INCREMENT,\n t.TABLE_COMMENT,\n t.CREATE_OPTIONS,\n t.TABLE_COLLATION,\n ccsa.CHARACTER_SET_NAME\n FROM information_schema.TABLES t\n INNER JOIN information_schema.COLLATION_CHARACTER_SET_APPLICABILITY ccsa\n ON ccsa.COLLATION_NAME = t.TABLE_COLLATION WHERE t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE'","params":{"1":"framadate_api"},"types":{"1":2}} []
[2023-06-28T15:29:26.471555+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:26.477541+02:00] doctrine.INFO: Disconnecting [] []
[2023-06-28T15:29:32.643767+02:00] doctrine.INFO: Connecting with parameters array{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"} {"params":{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"}} []
[2023-06-28T15:29:32.652587+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:32.663972+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:32.665616+02:00] doctrine.DEBUG: Executing statement: SELECT c.TABLE_NAME, c.COLUMN_NAME AS field, c.COLUMN_TYPE AS type, c.IS_NULLABLE AS `null`, c.COLUMN_KEY AS `key`, c.COLUMN_DEFAULT AS `default`, c.EXTRA, c.COLUMN_COMMENT AS comment, c.CHARACTER_SET_NAME AS characterset, c.COLLATION_NAME AS collation FROM information_schema.COLUMNS c INNER JOIN information_schema.TABLES t ON t.TABLE_NAME = c.TABLE_NAME WHERE c.TABLE_SCHEMA = ? AND t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' ORDER BY ORDINAL_POSITION (parameters: array{"1":"framadate_api","2":"framadate_api"}, types: array{"1":2,"2":2}) {"sql":"SELECT c.TABLE_NAME, c.COLUMN_NAME AS field,\n c.COLUMN_TYPE AS type,\n c.IS_NULLABLE AS `null`,\n c.COLUMN_KEY AS `key`,\n c.COLUMN_DEFAULT AS `default`,\n c.EXTRA,\n c.COLUMN_COMMENT AS comment,\n c.CHARACTER_SET_NAME AS characterset,\n c.COLLATION_NAME AS collation\nFROM information_schema.COLUMNS c\n INNER JOIN information_schema.TABLES t\n ON t.TABLE_NAME = c.TABLE_NAME WHERE c.TABLE_SCHEMA = ? AND t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' ORDER BY ORDINAL_POSITION","params":{"1":"framadate_api","2":"framadate_api"},"types":{"1":2,"2":2}} []
[2023-06-28T15:29:32.678613+02:00] doctrine.DEBUG: Executing statement: SELECT TABLE_NAME, NON_UNIQUE AS Non_Unique, INDEX_NAME AS Key_name, COLUMN_NAME AS Column_Name, SUB_PART AS Sub_Part, INDEX_TYPE AS Index_Type FROM information_schema.STATISTICS WHERE TABLE_SCHEMA = ? ORDER BY SEQ_IN_INDEX (parameters: array{"1":"framadate_api"}, types: array{"1":2}) {"sql":"SELECT TABLE_NAME, NON_UNIQUE AS Non_Unique,\n INDEX_NAME AS Key_name,\n COLUMN_NAME AS Column_Name,\n SUB_PART AS Sub_Part,\n INDEX_TYPE AS Index_Type\nFROM information_schema.STATISTICS WHERE TABLE_SCHEMA = ? ORDER BY SEQ_IN_INDEX","params":{"1":"framadate_api"},"types":{"1":2}} []
[2023-06-28T15:29:32.679665+02:00] doctrine.DEBUG: Executing statement: SELECT DISTINCT k.TABLE_NAME, k.CONSTRAINT_NAME, k.COLUMN_NAME, k.REFERENCED_TABLE_NAME, k.REFERENCED_COLUMN_NAME, k.ORDINAL_POSITION /*!50116, c.UPDATE_RULE, c.DELETE_RULE */ FROM information_schema.key_column_usage k /*!50116 INNER JOIN information_schema.referential_constraints c ON c.CONSTRAINT_NAME = k.CONSTRAINT_NAME AND c.TABLE_NAME = k.TABLE_NAME */ WHERE k.TABLE_SCHEMA = ? AND k.REFERENCED_COLUMN_NAME IS NOT NULL /*!50116 AND c.CONSTRAINT_SCHEMA = 'framadate_api' */ ORDER BY k.ORDINAL_POSITION (parameters: array{"1":"framadate_api"}, types: array{"1":2}) {"sql":"SELECT DISTINCT k.TABLE_NAME, k.CONSTRAINT_NAME,\n k.COLUMN_NAME,\n k.REFERENCED_TABLE_NAME,\n k.REFERENCED_COLUMN_NAME,\n k.ORDINAL_POSITION /*!50116,\n c.UPDATE_RULE,\n c.DELETE_RULE */\nFROM information_schema.key_column_usage k /*!50116\nINNER JOIN information_schema.referential_constraints c\nON c.CONSTRAINT_NAME = k.CONSTRAINT_NAME\nAND c.TABLE_NAME = k.TABLE_NAME */ WHERE k.TABLE_SCHEMA = ? AND k.REFERENCED_COLUMN_NAME IS NOT NULL /*!50116 AND c.CONSTRAINT_SCHEMA = 'framadate_api' */ ORDER BY k.ORDINAL_POSITION","params":{"1":"framadate_api"},"types":{"1":2}} []
[2023-06-28T15:29:32.680843+02:00] doctrine.DEBUG: Executing statement: SELECT t.TABLE_NAME, t.ENGINE, t.AUTO_INCREMENT, t.TABLE_COMMENT, t.CREATE_OPTIONS, t.TABLE_COLLATION, ccsa.CHARACTER_SET_NAME FROM information_schema.TABLES t INNER JOIN information_schema.COLLATION_CHARACTER_SET_APPLICABILITY ccsa ON ccsa.COLLATION_NAME = t.TABLE_COLLATION WHERE t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' (parameters: array{"1":"framadate_api"}, types: array{"1":2}) {"sql":" SELECT t.TABLE_NAME,\n t.ENGINE,\n t.AUTO_INCREMENT,\n t.TABLE_COMMENT,\n t.CREATE_OPTIONS,\n t.TABLE_COLLATION,\n ccsa.CHARACTER_SET_NAME\n FROM information_schema.TABLES t\n INNER JOIN information_schema.COLLATION_CHARACTER_SET_APPLICABILITY ccsa\n ON ccsa.COLLATION_NAME = t.TABLE_COLLATION WHERE t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE'","params":{"1":"framadate_api"},"types":{"1":2}} []
[2023-06-28T15:29:32.687448+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:32.693219+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:32.693914+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:32.694345+02:00] doctrine.DEBUG: Executing statement: SELECT c.TABLE_NAME, c.COLUMN_NAME AS field, c.COLUMN_TYPE AS type, c.IS_NULLABLE AS `null`, c.COLUMN_KEY AS `key`, c.COLUMN_DEFAULT AS `default`, c.EXTRA, c.COLUMN_COMMENT AS comment, c.CHARACTER_SET_NAME AS characterset, c.COLLATION_NAME AS collation FROM information_schema.COLUMNS c INNER JOIN information_schema.TABLES t ON t.TABLE_NAME = c.TABLE_NAME WHERE c.TABLE_SCHEMA = ? AND t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' ORDER BY ORDINAL_POSITION (parameters: array{"1":"framadate_api","2":"framadate_api"}, types: array{"1":2,"2":2}) {"sql":"SELECT c.TABLE_NAME, c.COLUMN_NAME AS field,\n c.COLUMN_TYPE AS type,\n c.IS_NULLABLE AS `null`,\n c.COLUMN_KEY AS `key`,\n c.COLUMN_DEFAULT AS `default`,\n c.EXTRA,\n c.COLUMN_COMMENT AS comment,\n c.CHARACTER_SET_NAME AS characterset,\n c.COLLATION_NAME AS collation\nFROM information_schema.COLUMNS c\n INNER JOIN information_schema.TABLES t\n ON t.TABLE_NAME = c.TABLE_NAME WHERE c.TABLE_SCHEMA = ? AND t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' ORDER BY ORDINAL_POSITION","params":{"1":"framadate_api","2":"framadate_api"},"types":{"1":2,"2":2}} []
[2023-06-28T15:29:32.698707+02:00] doctrine.DEBUG: Executing statement: SELECT TABLE_NAME, NON_UNIQUE AS Non_Unique, INDEX_NAME AS Key_name, COLUMN_NAME AS Column_Name, SUB_PART AS Sub_Part, INDEX_TYPE AS Index_Type FROM information_schema.STATISTICS WHERE TABLE_SCHEMA = ? ORDER BY SEQ_IN_INDEX (parameters: array{"1":"framadate_api"}, types: array{"1":2}) {"sql":"SELECT TABLE_NAME, NON_UNIQUE AS Non_Unique,\n INDEX_NAME AS Key_name,\n COLUMN_NAME AS Column_Name,\n SUB_PART AS Sub_Part,\n INDEX_TYPE AS Index_Type\nFROM information_schema.STATISTICS WHERE TABLE_SCHEMA = ? ORDER BY SEQ_IN_INDEX","params":{"1":"framadate_api"},"types":{"1":2}} []
[2023-06-28T15:29:32.699798+02:00] doctrine.DEBUG: Executing statement: SELECT DISTINCT k.TABLE_NAME, k.CONSTRAINT_NAME, k.COLUMN_NAME, k.REFERENCED_TABLE_NAME, k.REFERENCED_COLUMN_NAME, k.ORDINAL_POSITION /*!50116, c.UPDATE_RULE, c.DELETE_RULE */ FROM information_schema.key_column_usage k /*!50116 INNER JOIN information_schema.referential_constraints c ON c.CONSTRAINT_NAME = k.CONSTRAINT_NAME AND c.TABLE_NAME = k.TABLE_NAME */ WHERE k.TABLE_SCHEMA = ? AND k.REFERENCED_COLUMN_NAME IS NOT NULL /*!50116 AND c.CONSTRAINT_SCHEMA = 'framadate_api' */ ORDER BY k.ORDINAL_POSITION (parameters: array{"1":"framadate_api"}, types: array{"1":2}) {"sql":"SELECT DISTINCT k.TABLE_NAME, k.CONSTRAINT_NAME,\n k.COLUMN_NAME,\n k.REFERENCED_TABLE_NAME,\n k.REFERENCED_COLUMN_NAME,\n k.ORDINAL_POSITION /*!50116,\n c.UPDATE_RULE,\n c.DELETE_RULE */\nFROM information_schema.key_column_usage k /*!50116\nINNER JOIN information_schema.referential_constraints c\nON c.CONSTRAINT_NAME = k.CONSTRAINT_NAME\nAND c.TABLE_NAME = k.TABLE_NAME */ WHERE k.TABLE_SCHEMA = ? AND k.REFERENCED_COLUMN_NAME IS NOT NULL /*!50116 AND c.CONSTRAINT_SCHEMA = 'framadate_api' */ ORDER BY k.ORDINAL_POSITION","params":{"1":"framadate_api"},"types":{"1":2}} []
[2023-06-28T15:29:32.701006+02:00] doctrine.DEBUG: Executing statement: SELECT t.TABLE_NAME, t.ENGINE, t.AUTO_INCREMENT, t.TABLE_COMMENT, t.CREATE_OPTIONS, t.TABLE_COLLATION, ccsa.CHARACTER_SET_NAME FROM information_schema.TABLES t INNER JOIN information_schema.COLLATION_CHARACTER_SET_APPLICABILITY ccsa ON ccsa.COLLATION_NAME = t.TABLE_COLLATION WHERE t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' (parameters: array{"1":"framadate_api"}, types: array{"1":2}) {"sql":" SELECT t.TABLE_NAME,\n t.ENGINE,\n t.AUTO_INCREMENT,\n t.TABLE_COMMENT,\n t.CREATE_OPTIONS,\n t.TABLE_COLLATION,\n ccsa.CHARACTER_SET_NAME\n FROM information_schema.TABLES t\n INNER JOIN information_schema.COLLATION_CHARACTER_SET_APPLICABILITY ccsa\n ON ccsa.COLLATION_NAME = t.TABLE_COLLATION WHERE t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE'","params":{"1":"framadate_api"},"types":{"1":2}} []
[2023-06-28T15:29:32.705869+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:32.706994+02:00] doctrine.DEBUG: Executing statement: ALTER TABLE user_product_category DROP FOREIGN KEY FK_B0E9318BA76ED395 {"sql":"ALTER TABLE user_product_category DROP FOREIGN KEY FK_B0E9318BA76ED395"} []
[2023-06-28T15:29:32.736820+02:00] doctrine.DEBUG: Executing statement: ALTER TABLE user_product_category DROP FOREIGN KEY FK_B0E9318BBE6903FD {"sql":"ALTER TABLE user_product_category DROP FOREIGN KEY FK_B0E9318BBE6903FD"} []
[2023-06-28T15:29:32.765791+02:00] doctrine.DEBUG: Executing statement: ALTER TABLE custom_user DROP FOREIGN KEY FK_8CE51EB4DE145A1C {"sql":"ALTER TABLE custom_user DROP FOREIGN KEY FK_8CE51EB4DE145A1C"} []
[2023-06-28T15:29:32.794901+02:00] doctrine.DEBUG: Executing statement: ALTER TABLE product_sold DROP FOREIGN KEY FK_153AFF38A76ED395 {"sql":"ALTER TABLE product_sold DROP FOREIGN KEY FK_153AFF38A76ED395"} []
[2023-06-28T15:29:32.824539+02:00] doctrine.DEBUG: Executing statement: ALTER TABLE product_sold DROP FOREIGN KEY FK_153AFF384584665A {"sql":"ALTER TABLE product_sold DROP FOREIGN KEY FK_153AFF384584665A"} []
[2023-06-28T15:29:32.853870+02:00] doctrine.DEBUG: Executing statement: ALTER TABLE product_sold DROP FOREIGN KEY FK_153AFF3897DB5DB5 {"sql":"ALTER TABLE product_sold DROP FOREIGN KEY FK_153AFF3897DB5DB5"} []
[2023-06-28T15:29:32.884366+02:00] doctrine.DEBUG: Executing statement: ALTER TABLE serieFestival DROP FOREIGN KEY FK_BCDB0705A76ED395 {"sql":"ALTER TABLE serieFestival DROP FOREIGN KEY FK_BCDB0705A76ED395"} []
[2023-06-28T15:29:32.932689+02:00] doctrine.DEBUG: Executing statement: ALTER TABLE sell_record DROP FOREIGN KEY FK_F9F12A02A76ED395 {"sql":"ALTER TABLE sell_record DROP FOREIGN KEY FK_F9F12A02A76ED395"} []
[2023-06-28T15:29:32.962909+02:00] doctrine.DEBUG: Executing statement: ALTER TABLE sell_record DROP FOREIGN KEY FK_F9F12A028AEBAF57 {"sql":"ALTER TABLE sell_record DROP FOREIGN KEY FK_F9F12A028AEBAF57"} []
[2023-06-28T15:29:32.991997+02:00] doctrine.DEBUG: Executing statement: ALTER TABLE product DROP FOREIGN KEY FK_D34A04AD12469DE2 {"sql":"ALTER TABLE product DROP FOREIGN KEY FK_D34A04AD12469DE2"} []
[2023-06-28T15:29:33.021473+02:00] doctrine.DEBUG: Executing statement: ALTER TABLE product DROP FOREIGN KEY FK_D34A04ADA76ED395 {"sql":"ALTER TABLE product DROP FOREIGN KEY FK_D34A04ADA76ED395"} []
[2023-06-28T15:29:33.051368+02:00] doctrine.DEBUG: Executing statement: ALTER TABLE expense_kind DROP FOREIGN KEY FK_8F63F2BBA76ED395 {"sql":"ALTER TABLE expense_kind DROP FOREIGN KEY FK_8F63F2BBA76ED395"} []
[2023-06-28T15:29:33.081208+02:00] doctrine.DEBUG: Executing statement: ALTER TABLE festival DROP FOREIGN KEY FK_57CF7898DD79D04 {"sql":"ALTER TABLE festival DROP FOREIGN KEY FK_57CF7898DD79D04"} []
[2023-06-28T15:29:33.109022+02:00] doctrine.DEBUG: Executing statement: ALTER TABLE festival DROP FOREIGN KEY FK_57CF789A76ED395 {"sql":"ALTER TABLE festival DROP FOREIGN KEY FK_57CF789A76ED395"} []
[2023-06-28T15:29:33.137675+02:00] doctrine.DEBUG: Executing statement: DROP TABLE doctrine_migration_versions {"sql":"DROP TABLE doctrine_migration_versions"} []
[2023-06-28T15:29:33.153914+02:00] doctrine.DEBUG: Executing statement: DROP TABLE user_product_category {"sql":"DROP TABLE user_product_category"} []
[2023-06-28T15:29:33.170250+02:00] doctrine.DEBUG: Executing statement: DROP TABLE custom_user {"sql":"DROP TABLE custom_user"} []
[2023-06-28T15:29:33.191918+02:00] doctrine.DEBUG: Executing statement: DROP TABLE product_sold {"sql":"DROP TABLE product_sold"} []
[2023-06-28T15:29:33.207885+02:00] doctrine.DEBUG: Executing statement: DROP TABLE serieFestival {"sql":"DROP TABLE serieFestival"} []
[2023-06-28T15:29:33.229840+02:00] doctrine.DEBUG: Executing statement: DROP TABLE sell_record {"sql":"DROP TABLE sell_record"} []
[2023-06-28T15:29:33.246656+02:00] doctrine.DEBUG: Executing statement: DROP TABLE product_category {"sql":"DROP TABLE product_category"} []
[2023-06-28T15:29:33.263700+02:00] doctrine.DEBUG: Executing statement: DROP TABLE product {"sql":"DROP TABLE product"} []
[2023-06-28T15:29:33.280042+02:00] doctrine.DEBUG: Executing statement: DROP TABLE expense_kind {"sql":"DROP TABLE expense_kind"} []
[2023-06-28T15:29:33.301714+02:00] doctrine.DEBUG: Executing statement: DROP TABLE festival {"sql":"DROP TABLE festival"} []
[2023-06-28T15:29:33.329697+02:00] doctrine.INFO: Disconnecting [] []
[2023-06-28T15:29:37.384312+02:00] doctrine.INFO: Connecting with parameters array{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"} {"params":{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"}} []
[2023-06-28T15:29:37.388427+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:37.392081+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:37.393741+02:00] doctrine.DEBUG: Executing statement: SELECT TABLE_NAME FROM information_schema.TABLES WHERE TABLE_SCHEMA = ? AND TABLE_TYPE = 'BASE TABLE' ORDER BY TABLE_NAME (parameters: array{"1":"framadate_api"}, types: array{"1":2}) {"sql":"SELECT TABLE_NAME\nFROM information_schema.TABLES\nWHERE TABLE_SCHEMA = ?\n AND TABLE_TYPE = 'BASE TABLE'\nORDER BY TABLE_NAME","params":{"1":"framadate_api"},"types":{"1":2}} []
[2023-06-28T15:29:37.404289+02:00] doctrine.DEBUG: Executing statement: CREATE TABLE doctrine_migration_versions (version VARCHAR(191) NOT NULL, executed_at DATETIME DEFAULT NULL, execution_time INT DEFAULT NULL, PRIMARY KEY(version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB {"sql":"CREATE TABLE doctrine_migration_versions (version VARCHAR(191) NOT NULL, executed_at DATETIME DEFAULT NULL, execution_time INT DEFAULT NULL, PRIMARY KEY(version)) DEFAULT CHARACTER SET utf8 COLLATE `utf8_unicode_ci` ENGINE = InnoDB"} []
[2023-06-28T15:29:37.445827+02:00] doctrine.DEBUG: Executing query: SELECT * FROM doctrine_migration_versions {"sql":"SELECT * FROM doctrine_migration_versions"} []
[2023-06-28T15:29:37.447105+02:00] doctrine.DEBUG: Executing query: SELECT * FROM doctrine_migration_versions {"sql":"SELECT * FROM doctrine_migration_versions"} []
[2023-06-28T15:29:37.447651+02:00] doctrine.DEBUG: Executing query: SELECT * FROM doctrine_migration_versions {"sql":"SELECT * FROM doctrine_migration_versions"} []
[2023-06-28T15:29:37.452476+02:00] doctrine.DEBUG: Beginning transaction [] []
[2023-06-28T15:29:37.456642+02:00] doctrine.DEBUG: Executing statement: INSERT INTO doctrine_migration_versions (version, executed_at, execution_time) VALUES (?, ?, ?) (parameters: array{"1":"DoctrineMigrations\\Version20230620164025","2":"2023-06-28 15:29:37","3":4}, types: array{"1":2,"2":2,"3":1}) {"sql":"INSERT INTO doctrine_migration_versions (version, executed_at, execution_time) VALUES (?, ?, ?)","params":{"1":"DoctrineMigrations\\Version20230620164025","2":"2023-06-28 15:29:37","3":4},"types":{"1":2,"2":2,"3":1}} []
[2023-06-28T15:29:37.457845+02:00] doctrine.DEBUG: Committing transaction [] []
[2023-06-28T15:29:37.460144+02:00] doctrine.DEBUG: Beginning transaction [] []
[2023-06-28T15:29:37.460775+02:00] doctrine.DEBUG: Executing query: ALTER TABLE choice DROP FOREIGN KEY FK_C1AB5A923C947C0F {"sql":"ALTER TABLE choice DROP FOREIGN KEY FK_C1AB5A923C947C0F"} []
[2023-06-28T15:29:37.463268+02:00] doctrine.DEBUG: Rolling back transaction [] []
[2023-06-28T15:29:37.465273+02:00] console.CRITICAL: Error thrown while running command "doctrine:migrations:migrate -n". Message: "An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'framadate_api.choice' doesn't exist" {"exception":"[object] (Doctrine\\DBAL\\Exception\\TableNotFoundException(code: 1146): An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'framadate_api.choice' doesn't exist at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:49)\n[previous exception] [object] (Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 1146): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'framadate_api.choice' doesn't exist at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28)\n[previous exception] [object] (PDOException(code: 42S02): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'framadate_api.choice' doesn't exist at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/doctrine/dbal/src/Driver/PDO/Connection.php:70)","command":"doctrine:migrations:migrate -n","message":"An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'framadate_api.choice' doesn't exist"} []
[2023-06-28T15:29:37.465813+02:00] console.DEBUG: Command "doctrine:migrations:migrate -n" exited with code "1146" {"command":"doctrine:migrations:migrate -n","code":1146} []
[2023-06-28T15:29:37.473666+02:00] doctrine.INFO: Disconnecting [] []
[2023-06-28T15:29:43.111052+02:00] doctrine.INFO: Connecting with parameters array{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"} {"params":{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"}} []
[2023-06-28T15:29:43.115471+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:43.119200+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:43.120941+02:00] doctrine.DEBUG: Executing statement: SELECT TABLE_NAME FROM information_schema.TABLES WHERE TABLE_SCHEMA = ? AND TABLE_TYPE = 'BASE TABLE' ORDER BY TABLE_NAME (parameters: array{"1":"framadate_api"}, types: array{"1":2}) {"sql":"SELECT TABLE_NAME\nFROM information_schema.TABLES\nWHERE TABLE_SCHEMA = ?\n AND TABLE_TYPE = 'BASE TABLE'\nORDER BY TABLE_NAME","params":{"1":"framadate_api"},"types":{"1":2}} []
[2023-06-28T15:29:43.125714+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:43.126152+02:00] doctrine.DEBUG: Executing statement: SELECT t.TABLE_NAME, t.ENGINE, t.AUTO_INCREMENT, t.TABLE_COMMENT, t.CREATE_OPTIONS, t.TABLE_COLLATION, ccsa.CHARACTER_SET_NAME FROM information_schema.TABLES t INNER JOIN information_schema.COLLATION_CHARACTER_SET_APPLICABILITY ccsa ON ccsa.COLLATION_NAME = t.TABLE_COLLATION WHERE t.TABLE_SCHEMA = ? AND t.TABLE_NAME = ? AND t.TABLE_TYPE = 'BASE TABLE' (parameters: array{"1":"framadate_api","2":"doctrine_migration_versions"}, types: array{"1":2,"2":2}) {"sql":" SELECT t.TABLE_NAME,\n t.ENGINE,\n t.AUTO_INCREMENT,\n t.TABLE_COMMENT,\n t.CREATE_OPTIONS,\n t.TABLE_COLLATION,\n ccsa.CHARACTER_SET_NAME\n FROM information_schema.TABLES t\n INNER JOIN information_schema.COLLATION_CHARACTER_SET_APPLICABILITY ccsa\n ON ccsa.COLLATION_NAME = t.TABLE_COLLATION WHERE t.TABLE_SCHEMA = ? AND t.TABLE_NAME = ? AND t.TABLE_TYPE = 'BASE TABLE'","params":{"1":"framadate_api","2":"doctrine_migration_versions"},"types":{"1":2,"2":2}} []
[2023-06-28T15:29:43.127218+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:43.127620+02:00] doctrine.DEBUG: Executing statement: SELECT DISTINCT k.CONSTRAINT_NAME, k.COLUMN_NAME, k.REFERENCED_TABLE_NAME, k.REFERENCED_COLUMN_NAME, k.ORDINAL_POSITION /*!50116, c.UPDATE_RULE, c.DELETE_RULE */ FROM information_schema.key_column_usage k /*!50116 INNER JOIN information_schema.referential_constraints c ON c.CONSTRAINT_NAME = k.CONSTRAINT_NAME AND c.TABLE_NAME = k.TABLE_NAME */ WHERE k.TABLE_SCHEMA = ? AND k.TABLE_NAME = ? AND k.REFERENCED_COLUMN_NAME IS NOT NULL /*!50116 AND c.CONSTRAINT_SCHEMA = 'framadate_api' */ ORDER BY k.ORDINAL_POSITION (parameters: array{"1":"framadate_api","2":"doctrine_migration_versions"}, types: array{"1":2,"2":2}) {"sql":"SELECT DISTINCT k.CONSTRAINT_NAME,\n k.COLUMN_NAME,\n k.REFERENCED_TABLE_NAME,\n k.REFERENCED_COLUMN_NAME,\n k.ORDINAL_POSITION /*!50116,\n c.UPDATE_RULE,\n c.DELETE_RULE */\nFROM information_schema.key_column_usage k /*!50116\nINNER JOIN information_schema.referential_constraints c\nON c.CONSTRAINT_NAME = k.CONSTRAINT_NAME\nAND c.TABLE_NAME = k.TABLE_NAME */ WHERE k.TABLE_SCHEMA = ? AND k.TABLE_NAME = ? AND k.REFERENCED_COLUMN_NAME IS NOT NULL /*!50116 AND c.CONSTRAINT_SCHEMA = 'framadate_api' */ ORDER BY k.ORDINAL_POSITION","params":{"1":"framadate_api","2":"doctrine_migration_versions"},"types":{"1":2,"2":2}} []
[2023-06-28T15:29:43.128323+02:00] doctrine.DEBUG: Executing statement: SELECT c.COLUMN_NAME AS field, c.COLUMN_TYPE AS type, c.IS_NULLABLE AS `null`, c.COLUMN_KEY AS `key`, c.COLUMN_DEFAULT AS `default`, c.EXTRA, c.COLUMN_COMMENT AS comment, c.CHARACTER_SET_NAME AS characterset, c.COLLATION_NAME AS collation FROM information_schema.COLUMNS c INNER JOIN information_schema.TABLES t ON t.TABLE_NAME = c.TABLE_NAME WHERE c.TABLE_SCHEMA = ? AND t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' AND t.TABLE_NAME = ? ORDER BY ORDINAL_POSITION (parameters: array{"1":"framadate_api","2":"framadate_api","3":"doctrine_migration_versions"}, types: array{"1":2,"2":2,"3":2}) {"sql":"SELECT c.COLUMN_NAME AS field,\n c.COLUMN_TYPE AS type,\n c.IS_NULLABLE AS `null`,\n c.COLUMN_KEY AS `key`,\n c.COLUMN_DEFAULT AS `default`,\n c.EXTRA,\n c.COLUMN_COMMENT AS comment,\n c.CHARACTER_SET_NAME AS characterset,\n c.COLLATION_NAME AS collation\nFROM information_schema.COLUMNS c\n INNER JOIN information_schema.TABLES t\n ON t.TABLE_NAME = c.TABLE_NAME WHERE c.TABLE_SCHEMA = ? AND t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' AND t.TABLE_NAME = ? ORDER BY ORDINAL_POSITION","params":{"1":"framadate_api","2":"framadate_api","3":"doctrine_migration_versions"},"types":{"1":2,"2":2,"3":2}} []
[2023-06-28T15:29:43.140481+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:43.140963+02:00] doctrine.DEBUG: Executing statement: SELECT NON_UNIQUE AS Non_Unique, INDEX_NAME AS Key_name, COLUMN_NAME AS Column_Name, SUB_PART AS Sub_Part, INDEX_TYPE AS Index_Type FROM information_schema.STATISTICS WHERE TABLE_SCHEMA = ? AND TABLE_NAME = ? ORDER BY SEQ_IN_INDEX (parameters: array{"1":"framadate_api","2":"doctrine_migration_versions"}, types: array{"1":2,"2":2}) {"sql":"SELECT NON_UNIQUE AS Non_Unique,\n INDEX_NAME AS Key_name,\n COLUMN_NAME AS Column_Name,\n SUB_PART AS Sub_Part,\n INDEX_TYPE AS Index_Type\nFROM information_schema.STATISTICS WHERE TABLE_SCHEMA = ? AND TABLE_NAME = ? ORDER BY SEQ_IN_INDEX","params":{"1":"framadate_api","2":"doctrine_migration_versions"},"types":{"1":2,"2":2}} []
[2023-06-28T15:29:43.149320+02:00] doctrine.DEBUG: Executing query: SELECT * FROM doctrine_migration_versions {"sql":"SELECT * FROM doctrine_migration_versions"} []
[2023-06-28T15:29:43.150479+02:00] doctrine.DEBUG: Executing query: SELECT * FROM doctrine_migration_versions {"sql":"SELECT * FROM doctrine_migration_versions"} []
[2023-06-28T15:29:43.151025+02:00] doctrine.DEBUG: Executing query: SELECT * FROM doctrine_migration_versions {"sql":"SELECT * FROM doctrine_migration_versions"} []
[2023-06-28T15:29:43.155893+02:00] doctrine.DEBUG: Beginning transaction [] []
[2023-06-28T15:29:43.160550+02:00] doctrine.DEBUG: Executing query: ALTER TABLE choice DROP FOREIGN KEY FK_C1AB5A923C947C0F {"sql":"ALTER TABLE choice DROP FOREIGN KEY FK_C1AB5A923C947C0F"} []
[2023-06-28T15:29:43.163205+02:00] doctrine.DEBUG: Rolling back transaction [] []
[2023-06-28T15:29:43.165055+02:00] console.CRITICAL: Error thrown while running command "doctrine:migrations:migrate -n --write-sql". Message: "An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'framadate_api.choice' doesn't exist" {"exception":"[object] (Doctrine\\DBAL\\Exception\\TableNotFoundException(code: 1146): An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'framadate_api.choice' doesn't exist at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:49)\n[previous exception] [object] (Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 1146): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'framadate_api.choice' doesn't exist at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28)\n[previous exception] [object] (PDOException(code: 42S02): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'framadate_api.choice' doesn't exist at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/doctrine/dbal/src/Driver/PDO/Connection.php:70)","command":"doctrine:migrations:migrate -n --write-sql","message":"An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'framadate_api.choice' doesn't exist"} []
[2023-06-28T15:29:43.165526+02:00] console.DEBUG: Command "doctrine:migrations:migrate -n --write-sql" exited with code "1146" {"command":"doctrine:migrations:migrate -n --write-sql","code":1146} []
[2023-06-28T15:29:43.172894+02:00] doctrine.INFO: Disconnecting [] []
[2023-06-28T15:29:48.512425+02:00] doctrine.INFO: Connecting with parameters array{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"} {"params":{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"}} []
[2023-06-28T15:29:48.516758+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:48.520527+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:48.522205+02:00] doctrine.DEBUG: Executing statement: SELECT TABLE_NAME FROM information_schema.TABLES WHERE TABLE_SCHEMA = ? AND TABLE_TYPE = 'BASE TABLE' ORDER BY TABLE_NAME (parameters: array{"1":"framadate_api"}, types: array{"1":2}) {"sql":"SELECT TABLE_NAME\nFROM information_schema.TABLES\nWHERE TABLE_SCHEMA = ?\n AND TABLE_TYPE = 'BASE TABLE'\nORDER BY TABLE_NAME","params":{"1":"framadate_api"},"types":{"1":2}} []
[2023-06-28T15:29:48.526905+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:48.527225+02:00] doctrine.DEBUG: Executing statement: SELECT t.TABLE_NAME, t.ENGINE, t.AUTO_INCREMENT, t.TABLE_COMMENT, t.CREATE_OPTIONS, t.TABLE_COLLATION, ccsa.CHARACTER_SET_NAME FROM information_schema.TABLES t INNER JOIN information_schema.COLLATION_CHARACTER_SET_APPLICABILITY ccsa ON ccsa.COLLATION_NAME = t.TABLE_COLLATION WHERE t.TABLE_SCHEMA = ? AND t.TABLE_NAME = ? AND t.TABLE_TYPE = 'BASE TABLE' (parameters: array{"1":"framadate_api","2":"doctrine_migration_versions"}, types: array{"1":2,"2":2}) {"sql":" SELECT t.TABLE_NAME,\n t.ENGINE,\n t.AUTO_INCREMENT,\n t.TABLE_COMMENT,\n t.CREATE_OPTIONS,\n t.TABLE_COLLATION,\n ccsa.CHARACTER_SET_NAME\n FROM information_schema.TABLES t\n INNER JOIN information_schema.COLLATION_CHARACTER_SET_APPLICABILITY ccsa\n ON ccsa.COLLATION_NAME = t.TABLE_COLLATION WHERE t.TABLE_SCHEMA = ? AND t.TABLE_NAME = ? AND t.TABLE_TYPE = 'BASE TABLE'","params":{"1":"framadate_api","2":"doctrine_migration_versions"},"types":{"1":2,"2":2}} []
[2023-06-28T15:29:48.528175+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:48.528541+02:00] doctrine.DEBUG: Executing statement: SELECT DISTINCT k.CONSTRAINT_NAME, k.COLUMN_NAME, k.REFERENCED_TABLE_NAME, k.REFERENCED_COLUMN_NAME, k.ORDINAL_POSITION /*!50116, c.UPDATE_RULE, c.DELETE_RULE */ FROM information_schema.key_column_usage k /*!50116 INNER JOIN information_schema.referential_constraints c ON c.CONSTRAINT_NAME = k.CONSTRAINT_NAME AND c.TABLE_NAME = k.TABLE_NAME */ WHERE k.TABLE_SCHEMA = ? AND k.TABLE_NAME = ? AND k.REFERENCED_COLUMN_NAME IS NOT NULL /*!50116 AND c.CONSTRAINT_SCHEMA = 'framadate_api' */ ORDER BY k.ORDINAL_POSITION (parameters: array{"1":"framadate_api","2":"doctrine_migration_versions"}, types: array{"1":2,"2":2}) {"sql":"SELECT DISTINCT k.CONSTRAINT_NAME,\n k.COLUMN_NAME,\n k.REFERENCED_TABLE_NAME,\n k.REFERENCED_COLUMN_NAME,\n k.ORDINAL_POSITION /*!50116,\n c.UPDATE_RULE,\n c.DELETE_RULE */\nFROM information_schema.key_column_usage k /*!50116\nINNER JOIN information_schema.referential_constraints c\nON c.CONSTRAINT_NAME = k.CONSTRAINT_NAME\nAND c.TABLE_NAME = k.TABLE_NAME */ WHERE k.TABLE_SCHEMA = ? AND k.TABLE_NAME = ? AND k.REFERENCED_COLUMN_NAME IS NOT NULL /*!50116 AND c.CONSTRAINT_SCHEMA = 'framadate_api' */ ORDER BY k.ORDINAL_POSITION","params":{"1":"framadate_api","2":"doctrine_migration_versions"},"types":{"1":2,"2":2}} []
[2023-06-28T15:29:48.529344+02:00] doctrine.DEBUG: Executing statement: SELECT c.COLUMN_NAME AS field, c.COLUMN_TYPE AS type, c.IS_NULLABLE AS `null`, c.COLUMN_KEY AS `key`, c.COLUMN_DEFAULT AS `default`, c.EXTRA, c.COLUMN_COMMENT AS comment, c.CHARACTER_SET_NAME AS characterset, c.COLLATION_NAME AS collation FROM information_schema.COLUMNS c INNER JOIN information_schema.TABLES t ON t.TABLE_NAME = c.TABLE_NAME WHERE c.TABLE_SCHEMA = ? AND t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' AND t.TABLE_NAME = ? ORDER BY ORDINAL_POSITION (parameters: array{"1":"framadate_api","2":"framadate_api","3":"doctrine_migration_versions"}, types: array{"1":2,"2":2,"3":2}) {"sql":"SELECT c.COLUMN_NAME AS field,\n c.COLUMN_TYPE AS type,\n c.IS_NULLABLE AS `null`,\n c.COLUMN_KEY AS `key`,\n c.COLUMN_DEFAULT AS `default`,\n c.EXTRA,\n c.COLUMN_COMMENT AS comment,\n c.CHARACTER_SET_NAME AS characterset,\n c.COLLATION_NAME AS collation\nFROM information_schema.COLUMNS c\n INNER JOIN information_schema.TABLES t\n ON t.TABLE_NAME = c.TABLE_NAME WHERE c.TABLE_SCHEMA = ? AND t.TABLE_SCHEMA = ? AND t.TABLE_TYPE = 'BASE TABLE' AND t.TABLE_NAME = ? ORDER BY ORDINAL_POSITION","params":{"1":"framadate_api","2":"framadate_api","3":"doctrine_migration_versions"},"types":{"1":2,"2":2,"3":2}} []
[2023-06-28T15:29:48.541946+02:00] doctrine.DEBUG: Executing query: SELECT DATABASE() {"sql":"SELECT DATABASE()"} []
[2023-06-28T15:29:48.542414+02:00] doctrine.DEBUG: Executing statement: SELECT NON_UNIQUE AS Non_Unique, INDEX_NAME AS Key_name, COLUMN_NAME AS Column_Name, SUB_PART AS Sub_Part, INDEX_TYPE AS Index_Type FROM information_schema.STATISTICS WHERE TABLE_SCHEMA = ? AND TABLE_NAME = ? ORDER BY SEQ_IN_INDEX (parameters: array{"1":"framadate_api","2":"doctrine_migration_versions"}, types: array{"1":2,"2":2}) {"sql":"SELECT NON_UNIQUE AS Non_Unique,\n INDEX_NAME AS Key_name,\n COLUMN_NAME AS Column_Name,\n SUB_PART AS Sub_Part,\n INDEX_TYPE AS Index_Type\nFROM information_schema.STATISTICS WHERE TABLE_SCHEMA = ? AND TABLE_NAME = ? ORDER BY SEQ_IN_INDEX","params":{"1":"framadate_api","2":"doctrine_migration_versions"},"types":{"1":2,"2":2}} []
[2023-06-28T15:29:48.549561+02:00] doctrine.DEBUG: Executing query: SELECT * FROM doctrine_migration_versions {"sql":"SELECT * FROM doctrine_migration_versions"} []
[2023-06-28T15:29:48.550704+02:00] doctrine.DEBUG: Executing query: SELECT * FROM doctrine_migration_versions {"sql":"SELECT * FROM doctrine_migration_versions"} []
[2023-06-28T15:29:48.551154+02:00] doctrine.DEBUG: Executing query: SELECT * FROM doctrine_migration_versions {"sql":"SELECT * FROM doctrine_migration_versions"} []
[2023-06-28T15:29:48.556012+02:00] doctrine.DEBUG: Beginning transaction [] []
[2023-06-28T15:29:48.559698+02:00] doctrine.DEBUG: Executing query: ALTER TABLE choice DROP FOREIGN KEY FK_C1AB5A923C947C0F {"sql":"ALTER TABLE choice DROP FOREIGN KEY FK_C1AB5A923C947C0F"} []
[2023-06-28T15:29:48.562122+02:00] doctrine.DEBUG: Rolling back transaction [] []
[2023-06-28T15:29:48.564717+02:00] console.CRITICAL: Error thrown while running command "doctrine:migrations:migrate -n". Message: "An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'framadate_api.choice' doesn't exist" {"exception":"[object] (Doctrine\\DBAL\\Exception\\TableNotFoundException(code: 1146): An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'framadate_api.choice' doesn't exist at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:49)\n[previous exception] [object] (Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 1146): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'framadate_api.choice' doesn't exist at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28)\n[previous exception] [object] (PDOException(code: 42S02): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'framadate_api.choice' doesn't exist at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/doctrine/dbal/src/Driver/PDO/Connection.php:70)","command":"doctrine:migrations:migrate -n","message":"An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'framadate_api.choice' doesn't exist"} []
[2023-06-28T15:29:48.565190+02:00] console.DEBUG: Command "doctrine:migrations:migrate -n" exited with code "1146" {"command":"doctrine:migrations:migrate -n","code":1146} []
[2023-06-28T15:29:48.572813+02:00] doctrine.INFO: Disconnecting [] []
[2023-06-28T15:31:32.158389+02:00] doctrine.INFO: Connecting with parameters array{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"} {"params":{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"}} []
[2023-06-28T15:31:32.734118+02:00] doctrine.INFO: Disconnecting [] []
[2023-06-28T15:33:09.766333+02:00] request.INFO: Matched route "app_login". {"route":"app_login","route_parameters":{"_route":"app_login","_controller":"App\\Controller\\SecurityController::login"},"request_uri":"https://127.0.0.1:8000/login","method":"GET"} []
[2023-06-28T15:33:09.771742+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":1} []
[2023-06-28T15:33:09.771858+02:00] security.DEBUG: Checking support on authenticator. {"firewall_name":"main","authenticator":"App\\Security\\AppCustomAuthenticator"} []
[2023-06-28T15:33:09.771911+02:00] security.DEBUG: Authenticator does not support the request. {"firewall_name":"main","authenticator":"App\\Security\\AppCustomAuthenticator"} []
[2023-06-28T15:33:10.575062+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"a125c5"},"request_uri":"https://127.0.0.1:8000/_wdt/a125c5","method":"GET"} []
[2023-06-28T15:36:07.883469+02:00] request.INFO: Matched route "app_login". {"route":"app_login","route_parameters":{"_route":"app_login","_controller":"App\\Controller\\SecurityController::login"},"request_uri":"https://127.0.0.1:8000/login","method":"GET"} []
[2023-06-28T15:36:07.884818+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":1} []
[2023-06-28T15:36:07.884944+02:00] security.DEBUG: Checking support on authenticator. {"firewall_name":"main","authenticator":"App\\Security\\AppCustomAuthenticator"} []
[2023-06-28T15:36:07.885002+02:00] security.DEBUG: Authenticator does not support the request. {"firewall_name":"main","authenticator":"App\\Security\\AppCustomAuthenticator"} []
[2023-06-28T15:36:07.915942+02:00] request.CRITICAL: Uncaught PHP Exception Twig\Error\RuntimeError: "An exception has been thrown during the rendering of a template ("Unable to generate a URL for the named route "homepage" as such route does not exist.")." at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/templates/default/login-choices.html.twig line 175 {"exception":"[object] (Twig\\Error\\RuntimeError(code: 0): An exception has been thrown during the rendering of a template (\"Unable to generate a URL for the named route \"homepage\" as such route does not exist.\"). at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/templates/default/login-choices.html.twig:175)\n[previous exception] [object] (Symfony\\Component\\Routing\\Exception\\RouteNotFoundException(code: 0): Unable to generate a URL for the named route \"homepage\" as such route does not exist. at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/symfony/routing/Generator/CompiledUrlGenerator.php:50)"} []
[2023-06-28T15:36:08.579152+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"8352eb"},"request_uri":"https://127.0.0.1:8000/_wdt/8352eb","method":"GET"} []
[2023-06-28T15:36:41.490039+02:00] request.INFO: Matched route "app_login". {"route":"app_login","route_parameters":{"_route":"app_login","_controller":"App\\Controller\\SecurityController::login"},"request_uri":"https://127.0.0.1:8000/login","method":"GET"} []
[2023-06-28T15:36:41.491063+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":1} []
[2023-06-28T15:36:41.491210+02:00] security.DEBUG: Checking support on authenticator. {"firewall_name":"main","authenticator":"App\\Security\\AppCustomAuthenticator"} []
[2023-06-28T15:36:41.491294+02:00] security.DEBUG: Authenticator does not support the request. {"firewall_name":"main","authenticator":"App\\Security\\AppCustomAuthenticator"} []
[2023-06-28T15:36:41.521693+02:00] request.CRITICAL: Uncaught PHP Exception Twig\Error\RuntimeError: "An exception has been thrown during the rendering of a template ("Unable to generate a URL for the named route "home" as such route does not exist.")." at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/templates/default/login-choices.html.twig line 175 {"exception":"[object] (Twig\\Error\\RuntimeError(code: 0): An exception has been thrown during the rendering of a template (\"Unable to generate a URL for the named route \"home\" as such route does not exist.\"). at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/templates/default/login-choices.html.twig:175)\n[previous exception] [object] (Symfony\\Component\\Routing\\Exception\\RouteNotFoundException(code: 0): Unable to generate a URL for the named route \"home\" as such route does not exist. at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/symfony/routing/Generator/CompiledUrlGenerator.php:50)"} []
[2023-06-28T15:36:42.321033+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"194447"},"request_uri":"https://127.0.0.1:8000/_wdt/194447","method":"GET"} []
[2023-06-28T15:54:07.813853+02:00] request.INFO: Matched route "app_login". {"route":"app_login","route_parameters":{"_route":"app_login","_controller":"App\\Controller\\SecurityController::login"},"request_uri":"https://127.0.0.1:8000/login","method":"GET"} []
[2023-06-28T15:54:07.814796+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":1} []
[2023-06-28T15:54:07.814915+02:00] security.DEBUG: Checking support on authenticator. {"firewall_name":"main","authenticator":"App\\Security\\AppCustomAuthenticator"} []
[2023-06-28T15:54:07.814994+02:00] security.DEBUG: Authenticator does not support the request. {"firewall_name":"main","authenticator":"App\\Security\\AppCustomAuthenticator"} []
[2023-06-28T15:54:08.662940+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"8c2e8c"},"request_uri":"https://127.0.0.1:8000/_wdt/8c2e8c","method":"GET"} []
[2023-06-28T15:55:09.769480+02:00] console.CRITICAL: Error thrown while running command "doctrine". Message: "Command "doctrine" is not defined. Did you mean one of these? doctrine:cache:clear-collection-region doctrine:cache:clear-entity-region doctrine:cache:clear-metadata doctrine:cache:clear-query doctrine:cache:clear-query-region doctrine:cache:clear-result doctrine:database:create doctrine:database:drop doctrine:ensure-production-settings doctrine:fixtures:load doctrine:mapping:convert doctrine:mapping:import doctrine:mapping:info doctrine:migrations:current doctrine:migrations:diff doctrine:migrations:dump-schema doctrine:migrations:execute doctrine:migrations:generate doctrine:migrations:latest doctrine:migrations:list doctrine:migrations:migrate doctrine:migrations:rollup doctrine:migrations:status doctrine:migrations:sync-metadata-storage doctrine:migrations:up-to-date doctrine:migrations:version doctrine:query:dql doctrine:query:sql doctrine:schema:create doctrine:schema:drop doctrine:schema:update doctrine:schema:validate" {"exception":"[object] (Symfony\\Component\\Console\\Exception\\CommandNotFoundException(code: 0): Command \"doctrine\" is not defined.\n\nDid you mean one of these?\n doctrine:cache:clear-collection-region\n doctrine:cache:clear-entity-region\n doctrine:cache:clear-metadata\n doctrine:cache:clear-query\n doctrine:cache:clear-query-region\n doctrine:cache:clear-result\n doctrine:database:create\n doctrine:database:drop\n doctrine:ensure-production-settings\n doctrine:fixtures:load\n doctrine:mapping:convert\n doctrine:mapping:import\n doctrine:mapping:info\n doctrine:migrations:current\n doctrine:migrations:diff\n doctrine:migrations:dump-schema\n doctrine:migrations:execute\n doctrine:migrations:generate\n doctrine:migrations:latest\n doctrine:migrations:list\n doctrine:migrations:migrate\n doctrine:migrations:rollup\n doctrine:migrations:status\n doctrine:migrations:sync-metadata-storage\n doctrine:migrations:up-to-date\n doctrine:migrations:version\n doctrine:query:dql\n doctrine:query:sql\n doctrine:schema:create\n doctrine:schema:drop\n doctrine:schema:update\n doctrine:schema:validate at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/symfony/console/Application.php:694)","command":"doctrine","message":"Command \"doctrine\" is not defined.\n\nDid you mean one of these?\n doctrine:cache:clear-collection-region\n doctrine:cache:clear-entity-region\n doctrine:cache:clear-metadata\n doctrine:cache:clear-query\n doctrine:cache:clear-query-region\n doctrine:cache:clear-result\n doctrine:database:create\n doctrine:database:drop\n doctrine:ensure-production-settings\n doctrine:fixtures:load\n doctrine:mapping:convert\n doctrine:mapping:import\n doctrine:mapping:info\n doctrine:migrations:current\n doctrine:migrations:diff\n doctrine:migrations:dump-schema\n doctrine:migrations:execute\n doctrine:migrations:generate\n doctrine:migrations:latest\n doctrine:migrations:list\n doctrine:migrations:migrate\n doctrine:migrations:rollup\n doctrine:migrations:status\n doctrine:migrations:sync-metadata-storage\n doctrine:migrations:up-to-date\n doctrine:migrations:version\n doctrine:query:dql\n doctrine:query:sql\n doctrine:schema:create\n doctrine:schema:drop\n doctrine:schema:update\n doctrine:schema:validate"} []
[2023-06-28T15:56:13.460064+02:00] request.INFO: Matched route "app_login". {"route":"app_login","route_parameters":{"_route":"app_login","_controller":"App\\Controller\\SecurityController::login"},"request_uri":"https://127.0.0.1:8000/login","method":"GET"} []
[2023-06-28T15:56:13.461026+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":1} []
[2023-06-28T15:56:13.461135+02:00] security.DEBUG: Checking support on authenticator. {"firewall_name":"main","authenticator":"App\\Security\\AppCustomAuthenticator"} []
[2023-06-28T15:56:13.461192+02:00] security.DEBUG: Authenticator does not support the request. {"firewall_name":"main","authenticator":"App\\Security\\AppCustomAuthenticator"} []
[2023-06-28T15:56:14.245701+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"2abdc1"},"request_uri":"https://127.0.0.1:8000/_wdt/2abdc1","method":"GET"} []
[2023-06-28T15:59:38.922203+02:00] console.CRITICAL: Error thrown while running command "'make:admin'". Message: "Command "make:admin" is not defined. Did you mean one of these? make:admin:crud make:admin:dashboard make:auth make:command make:controller make:crud make:docker:database make:entity make:fixtures make:form make:functional-test make:message make:messenger-middleware make:migration make:registration-form make:reset-password make:security:form-login make:serializer:encoder make:serializer:normalizer make:stimulus-controller make:subscriber make:test make:twig-component make:twig-extension make:unit-test make:user make:validator make:voter" {"exception":"[object] (Symfony\\Component\\Console\\Exception\\CommandNotFoundException(code: 0): Command \"make:admin\" is not defined.\n\nDid you mean one of these?\n make:admin:crud\n make:admin:dashboard\n make:auth\n make:command\n make:controller\n make:crud\n make:docker:database\n make:entity\n make:fixtures\n make:form\n make:functional-test\n make:message\n make:messenger-middleware\n make:migration\n make:registration-form\n make:reset-password\n make:security:form-login\n make:serializer:encoder\n make:serializer:normalizer\n make:stimulus-controller\n make:subscriber\n make:test\n make:twig-component\n make:twig-extension\n make:unit-test\n make:user\n make:validator\n make:voter at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/symfony/console/Application.php:694)","command":"'make:admin'","message":"Command \"make:admin\" is not defined.\n\nDid you mean one of these?\n make:admin:crud\n make:admin:dashboard\n make:auth\n make:command\n make:controller\n make:crud\n make:docker:database\n make:entity\n make:fixtures\n make:form\n make:functional-test\n make:message\n make:messenger-middleware\n make:migration\n make:registration-form\n make:reset-password\n make:security:form-login\n make:serializer:encoder\n make:serializer:normalizer\n make:stimulus-controller\n make:subscriber\n make:test\n make:twig-component\n make:twig-extension\n make:unit-test\n make:user\n make:validator\n make:voter"} []
[2023-06-28T15:59:45.514512+02:00] doctrine.INFO: Connecting with parameters array{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"} {"params":{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"}} []
[2023-06-28T15:59:51.124538+02:00] doctrine.INFO: Disconnecting [] []
[2023-06-28T16:00:24.561941+02:00] request.INFO: Matched route "dashboard". {"route":"dashboard","route_parameters":{"_route":"dashboard","_controller":"App\\Controller\\Admin\\DashboardController::index"},"request_uri":"https://127.0.0.1:8000/admin","method":"GET"} []
[2023-06-28T16:00:24.563515+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":1} []
[2023-06-28T16:00:24.563638+02:00] security.DEBUG: Checking support on authenticator. {"firewall_name":"main","authenticator":"App\\Security\\AppCustomAuthenticator"} []
[2023-06-28T16:00:24.563692+02:00] security.DEBUG: Authenticator does not support the request. {"firewall_name":"main","authenticator":"App\\Security\\AppCustomAuthenticator"} []
[2023-06-28T16:00:25.082744+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"66efdb"},"request_uri":"https://127.0.0.1:8000/_wdt/66efdb","method":"GET"} []
[2023-06-28T16:02:02.001865+02:00] request.INFO: Matched route "dashboard". {"route":"dashboard","route_parameters":{"_route":"dashboard","_controller":"App\\Controller\\Admin\\DashboardController::index"},"request_uri":"https://127.0.0.1:8000/admin","method":"GET"} []
[2023-06-28T16:02:02.004588+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":1} []
[2023-06-28T16:02:02.004711+02:00] security.DEBUG: Checking support on authenticator. {"firewall_name":"main","authenticator":"App\\Security\\AppCustomAuthenticator"} []
[2023-06-28T16:02:02.004768+02:00] security.DEBUG: Authenticator does not support the request. {"firewall_name":"main","authenticator":"App\\Security\\AppCustomAuthenticator"} []
[2023-06-28T16:02:02.511080+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"f14f25"},"request_uri":"https://127.0.0.1:8000/_wdt/f14f25","method":"GET"} []
[2023-06-28T16:02:08.725660+02:00] request.INFO: Matched route "dashboard". {"route":"dashboard","route_parameters":{"_route":"dashboard","_controller":"App\\Controller\\Admin\\DashboardController::index"},"request_uri":"https://127.0.0.1:8000/admin","method":"GET"} []
[2023-06-28T16:02:08.726687+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":1} []
[2023-06-28T16:02:08.726800+02:00] security.DEBUG: Checking support on authenticator. {"firewall_name":"main","authenticator":"App\\Security\\AppCustomAuthenticator"} []
[2023-06-28T16:02:08.726856+02:00] security.DEBUG: Authenticator does not support the request. {"firewall_name":"main","authenticator":"App\\Security\\AppCustomAuthenticator"} []
[2023-06-28T16:02:08.749804+02:00] request.CRITICAL: Uncaught PHP Exception Twig\Error\RuntimeError: "Impossible to access an attribute ("activeFestival") on a null variable." at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/templates/logged/angular/messages.html.twig line 15 {"exception":"[object] (Twig\\Error\\RuntimeError(code: 0): Impossible to access an attribute (\"activeFestival\") on a null variable. at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/templates/logged/angular/messages.html.twig:15)"} []
[2023-06-28T16:02:09.267924+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"66660f"},"request_uri":"https://127.0.0.1:8000/_wdt/66660f","method":"GET"} []
[2023-06-28T16:03:26.683960+02:00] request.INFO: Matched route "dashboard". {"route":"dashboard","route_parameters":{"_route":"dashboard","_controller":"App\\Controller\\Admin\\DashboardController::index"},"request_uri":"https://127.0.0.1:8000/admin","method":"GET"} []
[2023-06-28T16:03:26.686046+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":1} []
[2023-06-28T16:03:26.686255+02:00] security.DEBUG: Checking support on authenticator. {"firewall_name":"main","authenticator":"App\\Security\\AppCustomAuthenticator"} []
[2023-06-28T16:03:26.686315+02:00] security.DEBUG: Authenticator does not support the request. {"firewall_name":"main","authenticator":"App\\Security\\AppCustomAuthenticator"} []
[2023-06-28T16:04:12.894951+02:00] request.INFO: Matched route "dashboard". {"route":"dashboard","route_parameters":{"_route":"dashboard","_controller":"App\\Controller\\Admin\\DashboardController::index"},"request_uri":"https://127.0.0.1:8000/admin","method":"GET"} []
[2023-06-28T16:04:12.895911+02:00] security.DEBUG: Checking for authenticator support. {"firewall_name":"main","authenticators":1} []
[2023-06-28T16:04:12.896023+02:00] security.DEBUG: Checking support on authenticator. {"firewall_name":"main","authenticator":"App\\Security\\AppCustomAuthenticator"} []
[2023-06-28T16:04:12.896077+02:00] security.DEBUG: Authenticator does not support the request. {"firewall_name":"main","authenticator":"App\\Security\\AppCustomAuthenticator"} []
[2023-06-28T16:04:13.692841+02:00] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"4e24b7"},"request_uri":"https://127.0.0.1:8000/_wdt/4e24b7","method":"GET"} []
[2023-06-28T16:07:31.596515+02:00] console.CRITICAL: Error thrown while running command "make". Message: "Command "make" is not defined. Did you mean one of these? make:admin:crud make:admin:dashboard make:auth make:command make:controller make:crud make:docker:database make:entity make:fixtures make:form make:functional-test make:message make:messenger-middleware make:migration make:registration-form make:reset-password make:security:form-login make:serializer:encoder make:serializer:normalizer make:stimulus-controller make:subscriber make:test make:twig-component make:twig-extension make:unit-test make:user make:validator make:voter" {"exception":"[object] (Symfony\\Component\\Console\\Exception\\CommandNotFoundException(code: 0): Command \"make\" is not defined.\n\nDid you mean one of these?\n make:admin:crud\n make:admin:dashboard\n make:auth\n make:command\n make:controller\n make:crud\n make:docker:database\n make:entity\n make:fixtures\n make:form\n make:functional-test\n make:message\n make:messenger-middleware\n make:migration\n make:registration-form\n make:reset-password\n make:security:form-login\n make:serializer:encoder\n make:serializer:normalizer\n make:stimulus-controller\n make:subscriber\n make:test\n make:twig-component\n make:twig-extension\n make:unit-test\n make:user\n make:validator\n make:voter at /home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/symfony/console/Application.php:694)","command":"make","message":"Command \"make\" is not defined.\n\nDid you mean one of these?\n make:admin:crud\n make:admin:dashboard\n make:auth\n make:command\n make:controller\n make:crud\n make:docker:database\n make:entity\n make:fixtures\n make:form\n make:functional-test\n make:message\n make:messenger-middleware\n make:migration\n make:registration-form\n make:reset-password\n make:security:form-login\n make:serializer:encoder\n make:serializer:normalizer\n make:stimulus-controller\n make:subscriber\n make:test\n make:twig-component\n make:twig-extension\n make:unit-test\n make:user\n make:validator\n make:voter"} []
[2023-06-28T16:07:34.146560+02:00] doctrine.INFO: Connecting with parameters array{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"} {"params":{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"}} []
[2023-06-28T16:09:38.662272+02:00] doctrine.INFO: Disconnecting [] []
[2023-06-28T16:09:41.378429+02:00] doctrine.INFO: Connecting with parameters array{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"} {"params":{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"}} []
[2023-06-28T16:10:24.827810+02:00] doctrine.INFO: Disconnecting [] []
[2023-06-28T16:10:46.557105+02:00] doctrine.INFO: Connecting with parameters array{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"} {"params":{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"}} []
[2023-06-28T16:12:24.155984+02:00] doctrine.INFO: Disconnecting [] []
[2023-06-28T16:12:36.384145+02:00] doctrine.INFO: Connecting with parameters array{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"} {"params":{"driver":"pdo_mysql","host":"localhost","port":3306,"user":"framadate-admin","password":"<redacted>","driverOptions":[],"defaultTableOptions":{"collation":"utf8mb4_unicode_ci"},"dbname":"framadate_api","charset":"utf8mb4"}} []
[2023-06-28T16:12:45.592028+02:00] doctrine.INFO: Disconnecting [] []

View File

@ -2470,6 +2470,15 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"bootstrap@npm:^5.3.0":
version: 5.3.0
resolution: "bootstrap@npm:5.3.0"
peerDependencies:
"@popperjs/core": ^2.11.7
checksum: 29a83cc8cac96d70051e265a5da342cc488df8fc76dff6746ef7d155698286cd5bdfa3e52c6ebf09f8e5a97f25929ee97aee36237117732e52b0d3276a72c45c
languageName: node
linkType: hard
"brace-expansion@npm:^1.1.7": "brace-expansion@npm:^1.1.7":
version: 1.1.11 version: 1.1.11
resolution: "brace-expansion@npm:1.1.11" resolution: "brace-expansion@npm:1.1.11"
@ -3562,6 +3571,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"font-awesome@npm:^4.7.0":
version: 4.7.0
resolution: "font-awesome@npm:4.7.0"
checksum: fa223f6e3b27e97d2d09cdbf0c1363e2ad18d2a685fc045f54e86394db59f7c113482a819de3b6489f42a630a8ec5911b8e65718e45f7cace1c0a1b05d7fce08
languageName: node
linkType: hard
"foreground-child@npm:^3.1.0": "foreground-child@npm:^3.1.0":
version: 3.1.1 version: 3.1.1
resolution: "foreground-child@npm:3.1.1" resolution: "foreground-child@npm:3.1.1"
@ -4057,6 +4073,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"intro.js@npm:^7.0.1":
version: 7.0.1
resolution: "intro.js@npm:7.0.1"
checksum: e29fd0b64fd049bfe7ec59c1916ce20789313320829f09c7ad6fedd9344a7c3aa985c0c65086fa08feca792c6fdfe189dfdc8776af9437c6f5ced751268c453f
languageName: node
linkType: hard
"ip@npm:^2.0.0": "ip@npm:^2.0.0":
version: 2.0.0 version: 2.0.0
resolution: "ip@npm:2.0.0" resolution: "ip@npm:2.0.0"
@ -5800,7 +5823,10 @@ __metadata:
"@hotwired/stimulus": ^3.0.0 "@hotwired/stimulus": ^3.0.0
"@symfony/stimulus-bridge": ^3.2.0 "@symfony/stimulus-bridge": ^3.2.0
"@symfony/webpack-encore": ^4.0.0 "@symfony/webpack-encore": ^4.0.0
bootstrap: ^5.3.0
core-js: ^3.23.0 core-js: ^3.23.0
font-awesome: ^4.7.0
intro.js: ^7.0.1
regenerator-runtime: ^0.13.9 regenerator-runtime: ^0.13.9
sass: ^1.63.3 sass: ^1.63.3
sass-loader: ^13.0.0 sass-loader: ^13.0.0