add entities for sf6

This commit is contained in:
Tykayn 2023-06-20 19:14:19 +02:00 committed by tykayn
parent 62f061a882
commit 4182af18de
3757 changed files with 187378 additions and 161863 deletions

View File

@ -15,12 +15,12 @@
###> symfony/framework-bundle ### ###> symfony/framework-bundle ###
APP_ENV=dev APP_ENV=dev
ADMIN_TOKEN=admintok ADMIN_TOKEN=CHANGE_THIS_STRING_HERE
APP_SECRET=appsecret APP_SECRET=CHANGE_THIS_STRING_THERE
# Base website url, should contain https:// and having no trailing slash. example: BASE_URL=https://framadate.org # Base website url, should contain https:// and having no trailing slash. example: BASE_URL=https://framadate.org
BASE_URL=http://localhost BASE_URL=https://YOUR_WEBSITE
WEBSITE_NAME=my_website_name WEBSITE_NAME=Framadate_2
WEBSITE_LOGO=logo.ico WEBSITE_LOGO=logo.svg
#TRUSTED_PROXIES=127.0.0.1,127.0.0.2 #TRUSTED_PROXIES=127.0.0.1,127.0.0.2
#TRUSTED_HOSTS='^localhost|example\.com$' #TRUSTED_HOSTS='^localhost|example\.com$'
###< symfony/framework-bundle ### ###< symfony/framework-bundle ###
@ -30,17 +30,16 @@ WEBSITE_LOGO=logo.ico
# For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db" # For an SQLite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
# For a PostgreSQL database, use: "postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=11" # For a PostgreSQL database, use: "postgresql://db_user:db_password@127.0.0.1:5432/db_name?serverVersion=11"
# IMPORTANT: You MUST also configure your db driver and server_version in config/packages/doctrine.yaml # IMPORTANT: You MUST also configure your db driver and server_version in config/packages/doctrine.yaml
DATABASE_URL=mysql://fdsqluser:fdsqlpassword@date-db:3306/my_website_database_name DATABASE_URL=mysql://framadate-admin:framadate-admin-password@localhost:3306/framadate_api
###< doctrine/doctrine-bundle ### ###< doctrine/doctrine-bundle ###
###> symfony/swiftmailer-bundle ### ###> symfony/swiftmailer-bundle ###
# For Gmail as a transport, use: "gmail://username:password@localhost" # For Gmail as a transport, use: "gmail://username:password@localhost"
# For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode=" # For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode="
# Delivery is disabled by default via "null://localhost" # Delivery is disabled by default via "null://localhost"
#MAILER_URL=sendmail://YOUR_WEBSITE MAILER_URL=sendmail://YOUR_WEBSITE
MAILER_URL=null://localhost
# set the support email who will answer users in case of emergency # set the support email who will answer users in case of emergency
SUPPORT_EMAIL=support-my_website_caisse@YOUR_WEBSITE SUPPORT_EMAIL=support-framadate@YOUR_WEBSITE
#SPOOL_PATH=/var/www/html/my_website_folder/var/email/spool SPOOL_PATH=/var/www/html/date-poll-api/var/email/spool
###< symfony/swiftmailer-bundle ### ###< symfony/swiftmailer-bundle ###
###> nelmio/cors-bundle ### ###> nelmio/cors-bundle ###
@ -50,3 +49,4 @@ CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
###> symfony/mailer ### ###> symfony/mailer ###
# MAILER_DSN=smtp://localhost # MAILER_DSN=smtp://localhost
###< symfony/mailer ### ###< symfony/mailer ###
MESSENGER_TRANSPORT_DSN=doctrine://default

View File

@ -2,9 +2,113 @@
<module type="WEB_MODULE" version="4"> <module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager"> <component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$"> <content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/old/tests" isTestSource="true" packagePrefix="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$/old/src/AppBundle" isTestSource="false" packagePrefix="AppBundle\" /> <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" packagePrefix="App\" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/deprecations" />
<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/sql-formatter" />
<excludeFolder url="file://$MODULE_DIR$/vendor/easycorp/easyadmin-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/egulias/email-validator" />
<excludeFolder url="file://$MODULE_DIR$/vendor/friendsofphp/proxy-manager-lts" />
<excludeFolder url="file://$MODULE_DIR$/vendor/laminas/laminas-code" />
<excludeFolder url="file://$MODULE_DIR$/vendor/myclabs/deep-copy" />
<excludeFolder url="file://$MODULE_DIR$/vendor/nikic/php-parser" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phar-io/manifest" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phar-io/version" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpdocumentor/reflection-common" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpdocumentor/reflection-docblock" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpdocumentor/type-resolver" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpstan/phpdoc-parser" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/php-code-coverage" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/php-file-iterator" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/php-invoker" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/php-text-template" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/php-timer" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpunit/phpunit" />
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/event-dispatcher" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/cli-parser" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/code-unit" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/code-unit-reverse-lookup" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/comparator" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/complexity" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/diff" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/environment" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/exporter" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/global-state" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/lines-of-code" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/object-enumerator" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/object-reflector" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/recursion-context" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/resource-operations" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/type" />
<excludeFolder url="file://$MODULE_DIR$/vendor/sebastian/version" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/asset" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/browser-kit" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/cache" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/cache-contracts" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/config" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/console" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/css-selector" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/debug-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/dependency-injection" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/deprecation-contracts" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/doctrine-bridge" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/doctrine-messenger" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/dom-crawler" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/dotenv" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/error-handler" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/event-dispatcher" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/event-dispatcher-contracts" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/expression-language" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/filesystem" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/finder" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/flex" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/form" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/framework-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/http-foundation" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/http-kernel" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/intl" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/mailer" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/maker-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/messenger" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/monolog-bridge" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/notifier" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/options-resolver" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/password-hasher" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-intl-grapheme" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-intl-normalizer" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-php81" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-uuid" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/process" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/property-access" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/property-info" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/routing" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/runtime" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/security-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/security-core" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/security-csrf" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/security-http" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/serializer" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/service-contracts" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/stopwatch" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/string" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/translation" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/translation-contracts" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/twig-bridge" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/twig-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/uid" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/validator" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/var-dumper" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/var-exporter" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/web-link" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/web-profiler-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/webpack-encore-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/yaml" />
<excludeFolder url="file://$MODULE_DIR$/vendor/theseer/tokenizer" />
<excludeFolder url="file://$MODULE_DIR$/vendor/twig/extra-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/webmozart/assert" />
</content> </content>
<orderEntry type="inheritedJdk" /> <orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />

View File

@ -81,7 +81,116 @@
<path value="$PROJECT_DIR$/vendor/doctrine/reflection" /> <path value="$PROJECT_DIR$/vendor/doctrine/reflection" />
<path value="$PROJECT_DIR$/vendor/doctrine/persistence" /> <path value="$PROJECT_DIR$/vendor/doctrine/persistence" />
<path value="$PROJECT_DIR$/vendor/sonata-project/doctrine-extensions" /> <path value="$PROJECT_DIR$/vendor/sonata-project/doctrine-extensions" />
<path value="$PROJECT_DIR$/vendor/sebastian/type" />
<path value="$PROJECT_DIR$/vendor/symfony/options-resolver" />
<path value="$PROJECT_DIR$/vendor/psr/event-dispatcher" />
<path value="$PROJECT_DIR$/vendor/symfony/doctrine-bridge" />
<path value="$PROJECT_DIR$/vendor/symfony/security-csrf" />
<path value="$PROJECT_DIR$/vendor/symfony/maker-bundle" />
<path value="$PROJECT_DIR$/vendor/symfony/cache" />
<path value="$PROJECT_DIR$/vendor/sebastian/environment" />
<path value="$PROJECT_DIR$/vendor/symfony/expression-language" />
<path value="$PROJECT_DIR$/vendor/symfony/error-handler" />
<path value="$PROJECT_DIR$/vendor/symfony/cache-contracts" />
<path value="$PROJECT_DIR$/vendor/phpunit/php-timer" />
<path value="$PROJECT_DIR$/vendor/symfony/form" />
<path value="$PROJECT_DIR$/vendor/laminas/laminas-code" />
<path value="$PROJECT_DIR$/vendor/symfony/security-bundle" />
<path value="$PROJECT_DIR$/vendor/phpstan/phpdoc-parser" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-php81" />
<path value="$PROJECT_DIR$/vendor/nikic/php-parser" />
<path value="$PROJECT_DIR$/vendor/symfony/doctrine-messenger" />
<path value="$PROJECT_DIR$/vendor/symfony/webpack-encore-bundle" />
<path value="$PROJECT_DIR$/vendor/sebastian/complexity" />
<path value="$PROJECT_DIR$/vendor/phpdocumentor/reflection-docblock" />
<path value="$PROJECT_DIR$/vendor/myclabs/deep-copy" />
<path value="$PROJECT_DIR$/vendor/sebastian/diff" />
<path value="$PROJECT_DIR$/vendor/symfony/asset" />
<path value="$PROJECT_DIR$/vendor/symfony/var-exporter" />
<path value="$PROJECT_DIR$/vendor/symfony/debug-bundle" />
<path value="$PROJECT_DIR$/vendor/symfony/translation-contracts" />
<path value="$PROJECT_DIR$/vendor/symfony/serializer" />
<path value="$PROJECT_DIR$/vendor/doctrine/migrations" />
<path value="$PROJECT_DIR$/vendor/symfony/service-contracts" />
<path value="$PROJECT_DIR$/vendor/friendsofphp/proxy-manager-lts" />
<path value="$PROJECT_DIR$/vendor/symfony/property-access" />
<path value="$PROJECT_DIR$/vendor/symfony/framework-bundle" />
<path value="$PROJECT_DIR$/vendor/phpdocumentor/reflection-common" />
<path value="$PROJECT_DIR$/vendor/symfony/filesystem" />
<path value="$PROJECT_DIR$/vendor/symfony/var-dumper" />
<path value="$PROJECT_DIR$/vendor/webmozart/assert" />
<path value="$PROJECT_DIR$/vendor/symfony/security-core" />
<path value="$PROJECT_DIR$/vendor/twig/extra-bundle" />
<path value="$PROJECT_DIR$/vendor/sebastian/comparator" />
<path value="$PROJECT_DIR$/vendor/symfony/http-foundation" />
<path value="$PROJECT_DIR$/vendor/phpunit/phpunit" />
<path value="$PROJECT_DIR$/vendor/sebastian/code-unit-reverse-lookup" />
<path value="$PROJECT_DIR$/vendor/symfony/yaml" />
<path value="$PROJECT_DIR$/vendor/symfony/flex" />
<path value="$PROJECT_DIR$/vendor/symfony/mailer" />
<path value="$PROJECT_DIR$/vendor/symfony/routing" />
<path value="$PROJECT_DIR$/vendor/symfony/event-dispatcher" />
<path value="$PROJECT_DIR$/vendor/sebastian/cli-parser" />
<path value="$PROJECT_DIR$/vendor/symfony/translation" />
<path value="$PROJECT_DIR$/vendor/doctrine/doctrine-migrations-bundle" />
<path value="$PROJECT_DIR$/vendor/symfony/deprecation-contracts" />
<path value="$PROJECT_DIR$/vendor/symfony/intl" />
<path value="$PROJECT_DIR$/vendor/sebastian/resource-operations" />
<path value="$PROJECT_DIR$/vendor/doctrine/sql-formatter" />
<path value="$PROJECT_DIR$/vendor/symfony/dom-crawler" />
<path value="$PROJECT_DIR$/vendor/symfony/config" />
<path value="$PROJECT_DIR$/vendor/symfony/password-hasher" />
<path value="$PROJECT_DIR$/vendor/symfony/notifier" />
<path value="$PROJECT_DIR$/vendor/theseer/tokenizer" />
<path value="$PROJECT_DIR$/vendor/sebastian/recursion-context" />
<path value="$PROJECT_DIR$/vendor/symfony/property-info" />
<path value="$PROJECT_DIR$/vendor/symfony/twig-bridge" />
<path value="$PROJECT_DIR$/vendor/symfony/event-dispatcher-contracts" />
<path value="$PROJECT_DIR$/vendor/phar-io/manifest" />
<path value="$PROJECT_DIR$/vendor/symfony/validator" />
<path value="$PROJECT_DIR$/vendor/symfony/process" />
<path value="$PROJECT_DIR$/vendor/sebastian/object-enumerator" />
<path value="$PROJECT_DIR$/vendor/symfony/finder" />
<path value="$PROJECT_DIR$/vendor/symfony/stopwatch" />
<path value="$PROJECT_DIR$/vendor/symfony/console" />
<path value="$PROJECT_DIR$/vendor/sebastian/code-unit" />
<path value="$PROJECT_DIR$/vendor/symfony/css-selector" />
<path value="$PROJECT_DIR$/vendor/symfony/browser-kit" />
<path value="$PROJECT_DIR$/vendor/sebastian/exporter" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-intl-normalizer" />
<path value="$PROJECT_DIR$/vendor/phpdocumentor/type-resolver" />
<path value="$PROJECT_DIR$/vendor/sebastian/object-reflector" />
<path value="$PROJECT_DIR$/vendor/symfony/dotenv" />
<path value="$PROJECT_DIR$/vendor/sebastian/version" />
<path value="$PROJECT_DIR$/vendor/phpunit/php-text-template" />
<path value="$PROJECT_DIR$/vendor/symfony/web-profiler-bundle" />
<path value="$PROJECT_DIR$/vendor/symfony/http-kernel" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-intl-grapheme" />
<path value="$PROJECT_DIR$/vendor/symfony/messenger" />
<path value="$PROJECT_DIR$/vendor/symfony/runtime" />
<path value="$PROJECT_DIR$/vendor/phpunit/php-code-coverage" />
<path value="$PROJECT_DIR$/vendor/symfony/security-http" />
<path value="$PROJECT_DIR$/vendor/phar-io/version" />
<path value="$PROJECT_DIR$/vendor/sebastian/lines-of-code" />
<path value="$PROJECT_DIR$/vendor/symfony/string" />
<path value="$PROJECT_DIR$/vendor/egulias/email-validator" />
<path value="$PROJECT_DIR$/vendor/doctrine/deprecations" />
<path value="$PROJECT_DIR$/vendor/symfony/monolog-bridge" />
<path value="$PROJECT_DIR$/vendor/symfony/web-link" />
<path value="$PROJECT_DIR$/vendor/symfony/twig-bundle" />
<path value="$PROJECT_DIR$/vendor/phpunit/php-file-iterator" />
<path value="$PROJECT_DIR$/vendor/phpunit/php-invoker" />
<path value="$PROJECT_DIR$/vendor/sebastian/global-state" />
<path value="$PROJECT_DIR$/vendor/symfony/dependency-injection" />
<path value="$PROJECT_DIR$/vendor/easycorp/easyadmin-bundle" />
<path value="$PROJECT_DIR$/vendor/symfony/uid" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-uuid" />
</include_path> </include_path>
</component> </component>
<component name="PhpProjectSharedConfiguration" php_language_level="7" /> <component name="PhpProjectSharedConfiguration" php_language_level="7" />
<component name="PhpUnit">
<phpunit_settings>
<PhpUnitSettings configuration_file_path="$PROJECT_DIR$/phpunit.xml.dist" custom_loader_path="$PROJECT_DIR$/vendor/autoload.php" use_configuration_file="true" />
</phpunit_settings>
</component>
</project> </project>

10
.idea/phpunit.xml Normal file
View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="PHPUnit">
<option name="directories">
<list>
<option value="$PROJECT_DIR$/tests" />
</list>
</option>
</component>
</project>

9
.idea/symfony2.xml Normal file
View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Symfony2PluginSettings">
<option name="pathToTranslation" value="var/cache/dev/translations" />
<option name="directoryToWeb" value="public" />
<option name="pluginEnabled" value="true" />
<option name="twigBundleNamespaceSupport" value="false" />
</component>
</project>

View File

@ -2,237 +2,76 @@
<project version="4"> <project version="4">
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="7b6ae3ea-b7de-4daa-94af-b6fb4f3c8b8e" name="Default Changelist" comment=""> <list default="true" id="7b6ae3ea-b7de-4daa-94af-b6fb4f3c8b8e" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.gitignore" beforeDir="false" afterPath="$PROJECT_DIR$/old/.gitignore" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.env.local" beforeDir="false" afterPath="$PROJECT_DIR$/.env.local" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gitlab-ci.yml" beforeDir="false" afterPath="$PROJECT_DIR$/old/.gitlab-ci.yml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/caisse.iml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/caisse.iml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.gitmodules" beforeDir="false" afterPath="$PROJECT_DIR$/old/.gitmodules" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/php.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/php.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/TEST" beforeDir="false" afterPath="$PROJECT_DIR$/old/TEST" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/.htaccess" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/.htaccess" afterDir="false" /> <change beforePath="$PROJECT_DIR$/composer.json" beforeDir="false" afterPath="$PROJECT_DIR$/composer.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/AppCache.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/AppCache.php" afterDir="false" /> <change beforePath="$PROJECT_DIR$/composer.lock" beforeDir="false" afterPath="$PROJECT_DIR$/composer.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/AppKernel.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/AppKernel.php" afterDir="false" /> <change beforePath="$PROJECT_DIR$/config/bundles.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/bundles.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/FOSUserBundle/views/ChangePassword/change_password.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/FOSUserBundle/views/ChangePassword/change_password.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/config/packages/messenger.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/config/packages/messenger.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/FOSUserBundle/views/ChangePassword/change_password_content.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/FOSUserBundle/views/ChangePassword/change_password_content.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/config/routes.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/config/routes.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/FOSUserBundle/views/Registration/check_email.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/FOSUserBundle/views/Registration/check_email.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/app/AppKernel.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/AppKernel.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/FOSUserBundle/views/Registration/confirmed.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/FOSUserBundle/views/Registration/confirmed.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/AppBundle.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/AppBundle.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/FOSUserBundle/views/Registration/email.txt.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/FOSUserBundle/views/Registration/email.txt.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Controller/DefaultController.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Controller/DefaultController.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/FOSUserBundle/views/Registration/register.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/FOSUserBundle/views/Registration/register.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Controller/FestivalController.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Controller/FestivalController.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/FOSUserBundle/views/Registration/register_content.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/FOSUserBundle/views/Registration/register_content.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Controller/LegalController.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Controller/LegalController.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/FOSUserBundle/views/Resetting/request.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/FOSUserBundle/views/Resetting/request.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Controller/ProductCategoryController.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Controller/ProductCategoryController.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/FOSUserBundle/views/Security/login.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/FOSUserBundle/views/Security/login.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Controller/ProductController.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Controller/ProductController.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/FOSUserBundle/views/Security/login_content.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/FOSUserBundle/views/Security/login_content.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Controller/SellRecordController.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Controller/SellRecordController.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/FOSUserBundle/views/layout.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/FOSUserBundle/views/layout.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Controller/SerieFestivalController.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Controller/SerieFestivalController.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/HWIOAuthBundle/Controller/ConnectController.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/HWIOAuthBundle/Controller/ConnectController.php" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Entity/ExpenseKind.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Entity/ExpenseKind.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/HWIOAuthBundle/views/Connect/login.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/HWIOAuthBundle/views/Connect/login.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Entity/Festival.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Entity/Festival.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/HWIOAuthBundle/views/layout.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/HWIOAuthBundle/views/layout.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Entity/Product.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Entity/Product.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/base.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/base.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Entity/ProductCategory.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Entity/ProductCategory.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/default/description-app.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/default/description-app.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Entity/ProductSold.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Entity/ProductSold.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/default/footer.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/default/footer.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Entity/SellRecord.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Entity/SellRecord.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/default/header.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/default/header.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Entity/SerieFestival.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Entity/SerieFestival.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/default/index.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/default/index.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Entity/User.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Entity/User.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/default/login-choices.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/default/login-choices.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Form/FestivalType.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Form/FestivalType.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/default/main-screen.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/default/main-screen.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Form/ProductCategoryType.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Form/ProductCategoryType.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/default/test-email.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/default/test-email.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Form/ProductType.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Form/ProductType.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/festival/edit.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/festival/edit.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Form/SellRecordType.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Form/SellRecordType.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/festival/index.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/festival/index.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Form/SerieFestivalType.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Form/SerieFestivalType.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/festival/new.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/festival/new.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Repository/ExpenseKindRepository.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Repository/ExpenseKindRepository.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/festival/show.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/festival/show.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Repository/FestivalRepository.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Repository/FestivalRepository.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/legal/privacy.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/legal/privacy.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Repository/ProductCategoryRepository.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Repository/ProductCategoryRepository.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/legal/tos.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/legal/tos.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Repository/ProductRepository.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Repository/ProductRepository.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/logged/angular/categ-options.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/logged/angular/categ-options.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Repository/SellRecordRepository.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Repository/SellRecordRepository.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/logged/angular/current.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/logged/angular/current.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Repository/StuffRepository.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Repository/StuffRepository.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/logged/angular/listing-products.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/logged/angular/listing-products.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Repository/UserRepository.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Repository/UserRepository.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/logged/angular/loaded-caisse.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/logged/angular/loaded-caisse.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Security/Core/User/MyFOSUBUserProvider.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Security/Core/User/MyFOSUBUserProvider.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/logged/angular/messages.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/logged/angular/messages.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Service/OwnerService.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Service/OwnerService.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/logged/angular/pause-selling.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/logged/angular/pause-selling.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Tests/Controller/FestivalControllerTest.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Tests/Controller/FestivalControllerTest.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/logged/angular/paused.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/logged/angular/paused.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Tests/Controller/ProductCategoryControllerTest.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Tests/Controller/ProductCategoryControllerTest.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/logged/angular/recent.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/logged/angular/recent.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Tests/Controller/ProductControllerTest.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Tests/Controller/ProductControllerTest.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/logged/angular/totals.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/logged/angular/totals.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Tests/Controller/SellRecordControllerTest.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Tests/Controller/SellRecordControllerTest.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/logged/angular/validate-button.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/logged/angular/validate-button.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Tests/Controller/SerieFestivalControllerTest.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Tests/Controller/SerieFestivalControllerTest.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/logged/caisse-main.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/logged/caisse-main.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Traits/Commentable.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Traits/Commentable.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/logged/customer.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/logged/customer.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/old/src/AppBundle/Traits/Sellable.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Traits/Sellable.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/logged/dashboard.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/logged/dashboard.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/Entity/ExpenseKind.php" beforeDir="false" afterPath="$PROJECT_DIR$/src/Entity/ExpenseKind.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/logged/festival-infos.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/logged/festival-infos.html.twig" 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$/app/Resources/views/logged/history-script.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/logged/history-script.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/Entity/Product.php" beforeDir="false" afterPath="$PROJECT_DIR$/src/Entity/Product.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/logged/history.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/logged/history.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/Entity/ProductCategory.php" beforeDir="false" afterPath="$PROJECT_DIR$/src/Entity/ProductCategory.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/logged/import.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/logged/import.html.twig" 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$/app/Resources/views/logged/listing-options.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/logged/listing-options.html.twig" 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$/app/Resources/views/logged/mass-register.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/logged/mass-register.html.twig" 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$/app/Resources/views/logged/ng2.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/logged/ng2.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/Entity/User.php" beforeDir="false" afterPath="$PROJECT_DIR$/src/Entity/User.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/logged/previsionnel.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/logged/previsionnel.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/symfony.lock" beforeDir="false" afterPath="$PROJECT_DIR$/symfony.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/product/edit.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/product/edit.html.twig" 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$/app/Resources/views/product/index.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/product/index.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/var/cache/dev/profiler/index.csv" beforeDir="false" afterPath="$PROJECT_DIR$/var/cache/dev/profiler/index.csv" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/product/new.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/product/new.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$/app/Resources/views/product/show.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/product/show.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/vendor/autoload.php" beforeDir="false" afterPath="$PROJECT_DIR$/vendor/autoload.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/product/test.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/product/test.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/vendor/composer/ClassLoader.php" beforeDir="false" afterPath="$PROJECT_DIR$/vendor/composer/ClassLoader.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/productcategory/edit.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/productcategory/edit.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/vendor/composer/InstalledVersions.php" beforeDir="false" afterPath="$PROJECT_DIR$/vendor/composer/InstalledVersions.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/productcategory/index.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/productcategory/index.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/vendor/composer/autoload_classmap.php" beforeDir="false" afterPath="$PROJECT_DIR$/vendor/composer/autoload_classmap.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/productcategory/new.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/productcategory/new.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/vendor/composer/autoload_files.php" beforeDir="false" afterPath="$PROJECT_DIR$/vendor/composer/autoload_files.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/productcategory/show.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/productcategory/show.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/vendor/composer/autoload_namespaces.php" beforeDir="false" afterPath="$PROJECT_DIR$/vendor/composer/autoload_namespaces.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/sellrecord/edit.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/sellrecord/edit.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/vendor/composer/autoload_psr4.php" beforeDir="false" afterPath="$PROJECT_DIR$/vendor/composer/autoload_psr4.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/sellrecord/index.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/sellrecord/index.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/vendor/composer/autoload_real.php" beforeDir="false" afterPath="$PROJECT_DIR$/vendor/composer/autoload_real.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/sellrecord/new.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/sellrecord/new.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/vendor/composer/autoload_static.php" beforeDir="false" afterPath="$PROJECT_DIR$/vendor/composer/autoload_static.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/sellrecord/show.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/sellrecord/show.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/vendor/composer/installed.json" beforeDir="false" afterPath="$PROJECT_DIR$/vendor/composer/installed.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/seriefestival/edit.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/seriefestival/edit.html.twig" afterDir="false" /> <change beforePath="$PROJECT_DIR$/vendor/composer/installed.php" beforeDir="false" afterPath="$PROJECT_DIR$/vendor/composer/installed.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/seriefestival/index.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/seriefestival/index.html.twig" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/seriefestival/new.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/seriefestival/new.html.twig" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/Resources/views/seriefestival/show.html.twig" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/Resources/views/seriefestival/show.html.twig" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/config/config.yml" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/config/config.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/config/config_dev.yml" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/config/config_dev.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/config/config_prod.yml" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/config/config_prod.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/config/config_test.yml" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/config/config_test.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/config/parameters.yml.dist" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/config/parameters.yml.dist" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/config/parameters.yml.save" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/config/parameters.yml.save" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/config/routing.yml" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/config/routing.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/config/routing_dev.yml" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/config/routing_dev.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/config/security.yml" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/config/security.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/config/services.yml" beforeDir="false" afterPath="$PROJECT_DIR$/old/app/config/services.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/.gitignore" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/.gitignore" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/css/app.scss" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/css/app.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/css/fonts/all.scss" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/css/fonts/all.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/css/fonts/source-sans-pro/SIL Open Font License.txt" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/css/fonts/source-sans-pro/SIL Open Font License.txt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/css/fonts/source-sans-pro/SourceSansPro-Black.otf" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/css/fonts/source-sans-pro/SourceSansPro-Black.otf" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/css/fonts/source-sans-pro/SourceSansPro-BlackIt.otf" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/css/fonts/source-sans-pro/SourceSansPro-BlackIt.otf" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/css/fonts/source-sans-pro/SourceSansPro-Bold.otf" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/css/fonts/source-sans-pro/SourceSansPro-Bold.otf" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/css/fonts/source-sans-pro/SourceSansPro-BoldIt.otf" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/css/fonts/source-sans-pro/SourceSansPro-BoldIt.otf" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/css/fonts/source-sans-pro/SourceSansPro-ExtraLight.otf" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/css/fonts/source-sans-pro/SourceSansPro-ExtraLight.otf" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/css/fonts/source-sans-pro/SourceSansPro-ExtraLightIt.otf" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/css/fonts/source-sans-pro/SourceSansPro-ExtraLightIt.otf" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/css/fonts/source-sans-pro/SourceSansPro-It.otf" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/css/fonts/source-sans-pro/SourceSansPro-It.otf" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/css/fonts/source-sans-pro/SourceSansPro-Light.otf" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/css/fonts/source-sans-pro/SourceSansPro-Light.otf" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/css/fonts/source-sans-pro/SourceSansPro-LightIt.otf" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/css/fonts/source-sans-pro/SourceSansPro-LightIt.otf" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/css/fonts/source-sans-pro/SourceSansPro-Regular.otf" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/css/fonts/source-sans-pro/SourceSansPro-Regular.otf" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/css/fonts/source-sans-pro/SourceSansPro-Semibold.otf" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/css/fonts/source-sans-pro/SourceSansPro-Semibold.otf" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/css/fonts/source-sans-pro/SourceSansPro-SemiboldIt.otf" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/css/fonts/source-sans-pro/SourceSansPro-SemiboldIt.otf" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/css/global.scss" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/css/global.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/css/pages/_dashboard.scss" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/css/pages/_dashboard.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/css/pages/_history.scss" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/css/pages/_history.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/css/pages/demo.scss" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/css/pages/demo.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/css/pages/global.scss" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/css/pages/global.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/css/pages/home.scss" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/css/pages/home.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/css/pages/libs.scss" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/css/pages/libs.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/css/pages/responsive.scss" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/css/pages/responsive.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/css/pages/special.scss" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/css/pages/special.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/css/split/custom_vars.scss" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/css/split/custom_vars.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/css/split/formulaires.scss" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/css/split/formulaires.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/css/split/override_libs.scss" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/css/split/override_libs.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/css/split/typo.scss" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/css/split/typo.scss" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/img/accessories.jpg" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/img/accessories.jpg" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/img/bg.jpg" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/img/bg.jpg" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/img/girl_computer.jpg" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/img/girl_computer.jpg" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/js/app.js" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/js/app.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/js/build-frontend-submodule/3rdpartylicenses.txt" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/js/build-frontend-submodule/3rdpartylicenses.txt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/js/build-frontend-submodule/favicon.ico" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/js/build-frontend-submodule/favicon.ico" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/js/build-frontend-submodule/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/js/build-frontend-submodule/index.html" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/js/build-frontend-submodule/main.js" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/js/build-frontend-submodule/main.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/js/build-frontend-submodule/main.js.map" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/js/build-frontend-submodule/main.js.map" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/js/build-frontend-submodule/polyfills.js" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/js/build-frontend-submodule/polyfills.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/js/build-frontend-submodule/polyfills.js.map" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/js/build-frontend-submodule/polyfills.js.map" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/js/build-frontend-submodule/runtime.js" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/js/build-frontend-submodule/runtime.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/js/build-frontend-submodule/runtime.js.map" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/js/build-frontend-submodule/runtime.js.map" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/js/build-frontend-submodule/styles.js" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/js/build-frontend-submodule/styles.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/js/build-frontend-submodule/styles.js.map" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/js/build-frontend-submodule/styles.js.map" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/js/build-frontend-submodule/vendor.js" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/js/build-frontend-submodule/vendor.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/js/build-frontend-submodule/vendor.js.map" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/js/build-frontend-submodule/vendor.js.map" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/js/parts/caisseCtrl.js" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/js/parts/caisseCtrl.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/js/parts/dashboard.js" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/js/parts/dashboard.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/js/parts/globalActions.js" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/js/parts/globalActions.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/js/parts/main.js" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/js/parts/main.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/assets/js/parts/previsionnel.js" beforeDir="false" afterPath="$PROJECT_DIR$/old/assets/js/parts/previsionnel.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/bin/console" beforeDir="false" afterPath="$PROJECT_DIR$/old/bin/console" afterDir="false" />
<change beforePath="$PROJECT_DIR$/bin/symfony_requirements" beforeDir="false" afterPath="$PROJECT_DIR$/old/bin/symfony_requirements" afterDir="false" />
<change beforePath="$PROJECT_DIR$/compile-frontend.sh" beforeDir="false" afterPath="$PROJECT_DIR$/old/compile-frontend.sh" afterDir="false" />
<change beforePath="$PROJECT_DIR$/composer-temp.phar" beforeDir="false" afterPath="$PROJECT_DIR$/old/composer-temp.phar" afterDir="false" />
<change beforePath="$PROJECT_DIR$/composer.json" beforeDir="false" afterPath="$PROJECT_DIR$/old/composer.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/composer.lock" beforeDir="false" afterPath="$PROJECT_DIR$/old/composer.lock" afterDir="false" />
<change beforePath="$PROJECT_DIR$/composer.phar" beforeDir="false" afterPath="$PROJECT_DIR$/old/composer.phar" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/bundles.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/config/bundles.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/packages/dev/easy_log_handler.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/old/config/packages/dev/easy_log_handler.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/packages/dev/monolog.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/old/config/packages/dev/monolog.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/packages/dev/routing.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/old/config/packages/dev/routing.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/packages/dev/security_checker.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/old/config/packages/dev/security_checker.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/packages/dev/swiftmailer.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/old/config/packages/dev/swiftmailer.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/packages/dev/web_profiler.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/old/config/packages/dev/web_profiler.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/packages/doctrine.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/old/config/packages/doctrine.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/packages/doctrine_migrations.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/old/config/packages/doctrine_migrations.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/packages/fos_rest.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/old/config/packages/fos_rest.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/packages/framework.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/old/config/packages/framework.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/packages/msgphp_user.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/config/packages/msgphp_user.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/packages/prod/doctrine.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/old/config/packages/prod/doctrine.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/packages/prod/monolog.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/old/config/packages/prod/monolog.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/packages/routing.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/old/config/packages/routing.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/packages/security.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/old/config/packages/security.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/packages/swiftmailer.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/old/config/packages/swiftmailer.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/packages/test/framework.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/old/config/packages/test/framework.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/packages/test/monolog.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/old/config/packages/test/monolog.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/packages/test/swiftmailer.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/old/config/packages/test/swiftmailer.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/packages/test/web_profiler.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/old/config/packages/test/web_profiler.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/packages/translation.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/old/config/packages/translation.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/packages/twig.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/old/config/packages/twig.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/routes.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/old/config/routes.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/routes/annotations.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/old/config/routes/annotations.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/routes/dev/twig.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/old/config/routes/dev/twig.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/routes/dev/web_profiler.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/old/config/routes/dev/web_profiler.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/services.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/old/config/services.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/config/services_test.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/old/config/services_test.yaml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/crowdin.yml" beforeDir="false" afterPath="$PROJECT_DIR$/old/crowdin.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/docs/installation.md" beforeDir="false" afterPath="$PROJECT_DIR$/old/docs/installation.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/docs/upgrade.md" beforeDir="false" afterPath="$PROJECT_DIR$/old/docs/upgrade.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/old/package.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/phpunit.xml.dist" beforeDir="false" afterPath="$PROJECT_DIR$/old/phpunit.xml.dist" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/.htaccess" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/.htaccess" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/AppBundle.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/AppBundle.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Controller/DefaultController.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Controller/DefaultController.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Controller/FestivalController.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Controller/FestivalController.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Controller/LegalController.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Controller/LegalController.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Controller/ProductCategoryController.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Controller/ProductCategoryController.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Controller/ProductController.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Controller/ProductController.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Controller/SellRecordController.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Controller/SellRecordController.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Controller/SerieFestivalController.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Controller/SerieFestivalController.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Entity/ExpenseKind.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Entity/ExpenseKind.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Entity/Festival.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Entity/Festival.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Entity/Product.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Entity/Product.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Entity/ProductCategory.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Entity/ProductCategory.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Entity/ProductSold.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Entity/ProductSold.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Entity/SellRecord.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Entity/SellRecord.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Entity/SerieFestival.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Entity/SerieFestival.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Entity/User.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Entity/User.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Form/FestivalType.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Form/FestivalType.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Form/ProductCategoryType.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Form/ProductCategoryType.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Form/ProductType.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Form/ProductType.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Form/SellRecordType.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Form/SellRecordType.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Form/SerieFestivalType.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Form/SerieFestivalType.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Repository/ExpenseKindRepository.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Repository/ExpenseKindRepository.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Repository/FestivalRepository.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Repository/FestivalRepository.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Repository/ProductCategoryRepository.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Repository/ProductCategoryRepository.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Repository/ProductRepository.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Repository/ProductRepository.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Repository/SellRecordRepository.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Repository/SellRecordRepository.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Repository/StuffRepository.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Repository/StuffRepository.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Repository/UserRepository.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Repository/UserRepository.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Security/Core/User/MyFOSUBUserProvider.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Security/Core/User/MyFOSUBUserProvider.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Service/OwnerService.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Service/OwnerService.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Tests/Controller/FestivalControllerTest.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Tests/Controller/FestivalControllerTest.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Tests/Controller/ProductCategoryControllerTest.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Tests/Controller/ProductCategoryControllerTest.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Tests/Controller/ProductControllerTest.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Tests/Controller/ProductControllerTest.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Tests/Controller/SellRecordControllerTest.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Tests/Controller/SellRecordControllerTest.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Tests/Controller/SerieFestivalControllerTest.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Tests/Controller/SerieFestivalControllerTest.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Traits/Commentable.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Traits/Commentable.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/AppBundle/Traits/Sellable.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/src/AppBundle/Traits/Sellable.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/tests/.gitignore" beforeDir="false" afterPath="$PROJECT_DIR$/old/tests/.gitignore" afterDir="false" />
<change beforePath="$PROJECT_DIR$/tests/AppBundle/Controller/DefaultControllerTest.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/tests/AppBundle/Controller/DefaultControllerTest.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/translations/messages.en.yml" beforeDir="false" afterPath="$PROJECT_DIR$/old/translations/messages.en.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/translations/messages.fr.yml" beforeDir="false" afterPath="$PROJECT_DIR$/old/translations/messages.fr.yml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/var/SymfonyRequirements.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/var/SymfonyRequirements.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/var/cache/.gitkeep" beforeDir="false" afterPath="$PROJECT_DIR$/old/var/cache/.gitkeep" afterDir="false" />
<change beforePath="$PROJECT_DIR$/var/logs/.gitkeep" beforeDir="false" afterPath="$PROJECT_DIR$/old/var/logs/.gitkeep" afterDir="false" />
<change beforePath="$PROJECT_DIR$/var/sessions/.gitkeep" beforeDir="false" afterPath="$PROJECT_DIR$/old/var/sessions/.gitkeep" afterDir="false" />
<change beforePath="$PROJECT_DIR$/web/.htaccess" beforeDir="false" afterPath="$PROJECT_DIR$/old/web/.htaccess" afterDir="false" />
<change beforePath="$PROJECT_DIR$/web/app.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/web/app.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/web/app_dev.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/web/app_dev.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/web/apple-touch-icon.png" beforeDir="false" afterPath="$PROJECT_DIR$/old/web/apple-touch-icon.png" afterDir="false" />
<change beforePath="$PROJECT_DIR$/web/config.php" beforeDir="false" afterPath="$PROJECT_DIR$/old/web/config.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/web/favicon.ico" beforeDir="false" afterPath="$PROJECT_DIR$/old/web/favicon.ico" afterDir="false" />
<change beforePath="$PROJECT_DIR$/web/modele_import_caisse.csv" beforeDir="false" afterPath="$PROJECT_DIR$/old/web/modele_import_caisse.csv" afterDir="false" />
<change beforePath="$PROJECT_DIR$/web/robots.txt" beforeDir="false" afterPath="$PROJECT_DIR$/old/web/robots.txt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/webpack.config.js" beforeDir="false" afterPath="$PROJECT_DIR$/old/webpack.config.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/yarn.lock" beforeDir="false" afterPath="$PROJECT_DIR$/old/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" />
@ -327,6 +166,110 @@
<path value="$PROJECT_DIR$/vendor/doctrine/reflection" /> <path value="$PROJECT_DIR$/vendor/doctrine/reflection" />
<path value="$PROJECT_DIR$/vendor/doctrine/persistence" /> <path value="$PROJECT_DIR$/vendor/doctrine/persistence" />
<path value="$PROJECT_DIR$/vendor/sonata-project/doctrine-extensions" /> <path value="$PROJECT_DIR$/vendor/sonata-project/doctrine-extensions" />
<path value="$PROJECT_DIR$/vendor/sebastian/type" />
<path value="$PROJECT_DIR$/vendor/symfony/options-resolver" />
<path value="$PROJECT_DIR$/vendor/psr/event-dispatcher" />
<path value="$PROJECT_DIR$/vendor/symfony/doctrine-bridge" />
<path value="$PROJECT_DIR$/vendor/symfony/security-csrf" />
<path value="$PROJECT_DIR$/vendor/symfony/maker-bundle" />
<path value="$PROJECT_DIR$/vendor/symfony/cache" />
<path value="$PROJECT_DIR$/vendor/sebastian/environment" />
<path value="$PROJECT_DIR$/vendor/symfony/expression-language" />
<path value="$PROJECT_DIR$/vendor/symfony/error-handler" />
<path value="$PROJECT_DIR$/vendor/symfony/cache-contracts" />
<path value="$PROJECT_DIR$/vendor/phpunit/php-timer" />
<path value="$PROJECT_DIR$/vendor/symfony/form" />
<path value="$PROJECT_DIR$/vendor/laminas/laminas-code" />
<path value="$PROJECT_DIR$/vendor/symfony/security-bundle" />
<path value="$PROJECT_DIR$/vendor/phpstan/phpdoc-parser" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-php81" />
<path value="$PROJECT_DIR$/vendor/nikic/php-parser" />
<path value="$PROJECT_DIR$/vendor/symfony/doctrine-messenger" />
<path value="$PROJECT_DIR$/vendor/symfony/webpack-encore-bundle" />
<path value="$PROJECT_DIR$/vendor/sebastian/complexity" />
<path value="$PROJECT_DIR$/vendor/phpdocumentor/reflection-docblock" />
<path value="$PROJECT_DIR$/vendor/myclabs/deep-copy" />
<path value="$PROJECT_DIR$/vendor/sebastian/diff" />
<path value="$PROJECT_DIR$/vendor/symfony/asset" />
<path value="$PROJECT_DIR$/vendor/symfony/var-exporter" />
<path value="$PROJECT_DIR$/vendor/symfony/debug-bundle" />
<path value="$PROJECT_DIR$/vendor/symfony/translation-contracts" />
<path value="$PROJECT_DIR$/vendor/symfony/serializer" />
<path value="$PROJECT_DIR$/vendor/doctrine/migrations" />
<path value="$PROJECT_DIR$/vendor/symfony/service-contracts" />
<path value="$PROJECT_DIR$/vendor/friendsofphp/proxy-manager-lts" />
<path value="$PROJECT_DIR$/vendor/symfony/property-access" />
<path value="$PROJECT_DIR$/vendor/symfony/framework-bundle" />
<path value="$PROJECT_DIR$/vendor/phpdocumentor/reflection-common" />
<path value="$PROJECT_DIR$/vendor/symfony/filesystem" />
<path value="$PROJECT_DIR$/vendor/symfony/var-dumper" />
<path value="$PROJECT_DIR$/vendor/webmozart/assert" />
<path value="$PROJECT_DIR$/vendor/symfony/security-core" />
<path value="$PROJECT_DIR$/vendor/twig/extra-bundle" />
<path value="$PROJECT_DIR$/vendor/sebastian/comparator" />
<path value="$PROJECT_DIR$/vendor/symfony/http-foundation" />
<path value="$PROJECT_DIR$/vendor/phpunit/phpunit" />
<path value="$PROJECT_DIR$/vendor/sebastian/code-unit-reverse-lookup" />
<path value="$PROJECT_DIR$/vendor/symfony/yaml" />
<path value="$PROJECT_DIR$/vendor/symfony/flex" />
<path value="$PROJECT_DIR$/vendor/symfony/mailer" />
<path value="$PROJECT_DIR$/vendor/symfony/routing" />
<path value="$PROJECT_DIR$/vendor/symfony/event-dispatcher" />
<path value="$PROJECT_DIR$/vendor/sebastian/cli-parser" />
<path value="$PROJECT_DIR$/vendor/symfony/translation" />
<path value="$PROJECT_DIR$/vendor/doctrine/doctrine-migrations-bundle" />
<path value="$PROJECT_DIR$/vendor/symfony/deprecation-contracts" />
<path value="$PROJECT_DIR$/vendor/symfony/intl" />
<path value="$PROJECT_DIR$/vendor/sebastian/resource-operations" />
<path value="$PROJECT_DIR$/vendor/doctrine/sql-formatter" />
<path value="$PROJECT_DIR$/vendor/symfony/dom-crawler" />
<path value="$PROJECT_DIR$/vendor/symfony/config" />
<path value="$PROJECT_DIR$/vendor/symfony/password-hasher" />
<path value="$PROJECT_DIR$/vendor/symfony/notifier" />
<path value="$PROJECT_DIR$/vendor/theseer/tokenizer" />
<path value="$PROJECT_DIR$/vendor/sebastian/recursion-context" />
<path value="$PROJECT_DIR$/vendor/symfony/property-info" />
<path value="$PROJECT_DIR$/vendor/symfony/twig-bridge" />
<path value="$PROJECT_DIR$/vendor/symfony/event-dispatcher-contracts" />
<path value="$PROJECT_DIR$/vendor/phar-io/manifest" />
<path value="$PROJECT_DIR$/vendor/symfony/validator" />
<path value="$PROJECT_DIR$/vendor/symfony/process" />
<path value="$PROJECT_DIR$/vendor/sebastian/object-enumerator" />
<path value="$PROJECT_DIR$/vendor/symfony/finder" />
<path value="$PROJECT_DIR$/vendor/symfony/stopwatch" />
<path value="$PROJECT_DIR$/vendor/symfony/console" />
<path value="$PROJECT_DIR$/vendor/sebastian/code-unit" />
<path value="$PROJECT_DIR$/vendor/symfony/css-selector" />
<path value="$PROJECT_DIR$/vendor/symfony/browser-kit" />
<path value="$PROJECT_DIR$/vendor/sebastian/exporter" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-intl-normalizer" />
<path value="$PROJECT_DIR$/vendor/phpdocumentor/type-resolver" />
<path value="$PROJECT_DIR$/vendor/sebastian/object-reflector" />
<path value="$PROJECT_DIR$/vendor/symfony/dotenv" />
<path value="$PROJECT_DIR$/vendor/sebastian/version" />
<path value="$PROJECT_DIR$/vendor/phpunit/php-text-template" />
<path value="$PROJECT_DIR$/vendor/symfony/web-profiler-bundle" />
<path value="$PROJECT_DIR$/vendor/symfony/http-kernel" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-intl-grapheme" />
<path value="$PROJECT_DIR$/vendor/symfony/messenger" />
<path value="$PROJECT_DIR$/vendor/symfony/runtime" />
<path value="$PROJECT_DIR$/vendor/phpunit/php-code-coverage" />
<path value="$PROJECT_DIR$/vendor/symfony/security-http" />
<path value="$PROJECT_DIR$/vendor/phar-io/version" />
<path value="$PROJECT_DIR$/vendor/sebastian/lines-of-code" />
<path value="$PROJECT_DIR$/vendor/symfony/string" />
<path value="$PROJECT_DIR$/vendor/egulias/email-validator" />
<path value="$PROJECT_DIR$/vendor/doctrine/deprecations" />
<path value="$PROJECT_DIR$/vendor/symfony/monolog-bridge" />
<path value="$PROJECT_DIR$/vendor/symfony/web-link" />
<path value="$PROJECT_DIR$/vendor/symfony/twig-bundle" />
<path value="$PROJECT_DIR$/vendor/phpunit/php-file-iterator" />
<path value="$PROJECT_DIR$/vendor/phpunit/php-invoker" />
<path value="$PROJECT_DIR$/vendor/sebastian/global-state" />
<path value="$PROJECT_DIR$/vendor/symfony/dependency-injection" />
<path value="$PROJECT_DIR$/vendor/easycorp/easyadmin-bundle" />
<path value="$PROJECT_DIR$/vendor/symfony/uid" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-uuid" />
</include_path> </include_path>
</component> </component>
<component name="ProjectId" id="1RMlJsg2Tg46rvC91UMEe0aUs5g" /> <component name="ProjectId" id="1RMlJsg2Tg46rvC91UMEe0aUs5g" />
@ -344,21 +287,33 @@
<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$" /> <property name="last_opened_file_path" value="$PROJECT_DIR$/src" />
<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" />
<property name="php.override.implement.member.chooser.php.doc" value="NONE" />
<property name="settings.editor.selected.configurable" value="web-ide.project.structure" /> <property name="settings.editor.selected.configurable" value="web-ide.project.structure" />
</component> </component>
<component name="RecentsManager"> <component name="RecentsManager">
<key name="CopyFile.RECENT_KEYS">
<recent name="$PROJECT_DIR$" />
<recent name="$PROJECT_DIR$/src/Entity" />
</key>
<key name="MoveFile.RECENT_KEYS"> <key name="MoveFile.RECENT_KEYS">
<recent name="$PROJECT_DIR$/src" />
<recent name="$PROJECT_DIR$/src/AppBundle" />
<recent name="$PROJECT_DIR$" /> <recent name="$PROJECT_DIR$" />
<recent name="$PROJECT_DIR$/old" /> <recent name="$PROJECT_DIR$/old" />
</key> </key>
<key name="CopyFile.RECENT_KEYS">
<recent name="$PROJECT_DIR$/src" />
<recent name="$PROJECT_DIR$" />
<recent name="$PROJECT_DIR$/public" />
<recent name="$PROJECT_DIR$/public/assets/img" />
<recent name="$PROJECT_DIR$/src/Entity" />
</key>
</component>
<component name="RunManager">
<configuration name="phpunit.xml.dist" type="PHPUnitRunConfigurationType" factoryName="PHPUnit">
<TestRunner scope="XML" />
<method v="2" />
</configuration>
</component> </component>
<component name="SvnConfiguration"> <component name="SvnConfiguration">
<configuration /> <configuration />
@ -375,7 +330,8 @@
<workItem from="1569485177815" duration="618000" /> <workItem from="1569485177815" duration="618000" />
<workItem from="1591541768314" duration="439000" /> <workItem from="1591541768314" duration="439000" />
<workItem from="1686601233370" duration="1574000" /> <workItem from="1686601233370" duration="1574000" />
<workItem from="1686851564377" duration="1264000" /> <workItem from="1686851564377" duration="1602000" />
<workItem from="1687277447224" duration="3557000" />
</task> </task>
<servers /> <servers />
</component> </component>
@ -395,6 +351,10 @@
<option name="oldMeFiltersMigrated" value="true" /> <option name="oldMeFiltersMigrated" value="true" />
</component> </component>
<component name="WindowStateProjectService"> <component name="WindowStateProjectService">
<state x="703" y="141" key="#com.intellij.ide.util.MemberChooser" timestamp="1687278814575">
<screen x="0" y="0" width="1920" height="1080" />
</state>
<state x="703" y="141" key="#com.intellij.ide.util.MemberChooser/0.0.1920.1080/1920.0.3440.1440@0.0.1920.1080" timestamp="1687278814575" />
<state x="691" y="212" key="FileChooserDialogImpl" timestamp="1686849741743"> <state x="691" y="212" key="FileChooserDialogImpl" timestamp="1686849741743">
<screen x="0" y="0" width="1920" height="1080" /> <screen x="0" y="0" width="1920" height="1080" />
</state> </state>
@ -403,5 +363,9 @@
<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="139" width="1201" height="802" key="find.popup" timestamp="1687280123841">
<screen x="0" y="0" width="1920" height="1080" />
</state>
<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" />
</component> </component>
</project> </project>

View File

@ -7,9 +7,11 @@
"php": ">=8.0.2", "php": ">=8.0.2",
"ext-ctype": "*", "ext-ctype": "*",
"ext-iconv": "*", "ext-iconv": "*",
"doctrine/annotations": "^1.0",
"doctrine/doctrine-bundle": "^2.10", "doctrine/doctrine-bundle": "^2.10",
"doctrine/doctrine-migrations-bundle": "^3.2", "doctrine/doctrine-migrations-bundle": "^3.2",
"doctrine/orm": "^2.15", "doctrine/orm": "^2.15",
"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",
"symfony/asset": "6.0.*", "symfony/asset": "6.0.*",

346
composer.lock generated
View File

@ -4,8 +4,84 @@
"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": "bd730c929610d61144164cc52125884e", "content-hash": "e95c50b475d7749692dd1c32cc16e527",
"packages": [ "packages": [
{
"name": "doctrine/annotations",
"version": "1.14.3",
"source": {
"type": "git",
"url": "https://github.com/doctrine/annotations.git",
"reference": "fb0d71a7393298a7b232cbf4c8b1f73f3ec3d5af"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/annotations/zipball/fb0d71a7393298a7b232cbf4c8b1f73f3ec3d5af",
"reference": "fb0d71a7393298a7b232cbf4c8b1f73f3ec3d5af",
"shasum": ""
},
"require": {
"doctrine/lexer": "^1 || ^2",
"ext-tokenizer": "*",
"php": "^7.1 || ^8.0",
"psr/cache": "^1 || ^2 || ^3"
},
"require-dev": {
"doctrine/cache": "^1.11 || ^2.0",
"doctrine/coding-standard": "^9 || ^10",
"phpstan/phpstan": "~1.4.10 || ^1.8.0",
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.5",
"symfony/cache": "^4.4 || ^5.4 || ^6",
"vimeo/psalm": "^4.10"
},
"suggest": {
"php": "PHP 8.0 or higher comes with attributes, a native replacement for annotations"
},
"type": "library",
"autoload": {
"psr-4": {
"Doctrine\\Common\\Annotations\\": "lib/Doctrine/Common/Annotations"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Guilherme Blanco",
"email": "guilhermeblanco@gmail.com"
},
{
"name": "Roman Borschel",
"email": "roman@code-factory.org"
},
{
"name": "Benjamin Eberlei",
"email": "kontakt@beberlei.de"
},
{
"name": "Jonathan Wage",
"email": "jonwage@gmail.com"
},
{
"name": "Johannes Schmitt",
"email": "schmittjoh@gmail.com"
}
],
"description": "Docblock Annotations Parser",
"homepage": "https://www.doctrine-project.org/projects/annotations.html",
"keywords": [
"annotations",
"docblock",
"parser"
],
"support": {
"issues": "https://github.com/doctrine/annotations/issues",
"source": "https://github.com/doctrine/annotations/tree/1.14.3"
},
"time": "2023-02-01T09:20:38+00:00"
},
{ {
"name": "doctrine/cache", "name": "doctrine/cache",
"version": "2.2.0", "version": "2.2.0",
@ -714,28 +790,28 @@
}, },
{ {
"name": "doctrine/inflector", "name": "doctrine/inflector",
"version": "2.0.6", "version": "2.0.8",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/doctrine/inflector.git", "url": "https://github.com/doctrine/inflector.git",
"reference": "d9d313a36c872fd6ee06d9a6cbcf713eaa40f024" "reference": "f9301a5b2fb1216b2b08f02ba04dc45423db6bff"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/doctrine/inflector/zipball/d9d313a36c872fd6ee06d9a6cbcf713eaa40f024", "url": "https://api.github.com/repos/doctrine/inflector/zipball/f9301a5b2fb1216b2b08f02ba04dc45423db6bff",
"reference": "d9d313a36c872fd6ee06d9a6cbcf713eaa40f024", "reference": "f9301a5b2fb1216b2b08f02ba04dc45423db6bff",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^7.2 || ^8.0" "php": "^7.2 || ^8.0"
}, },
"require-dev": { "require-dev": {
"doctrine/coding-standard": "^10", "doctrine/coding-standard": "^11.0",
"phpstan/phpstan": "^1.8", "phpstan/phpstan": "^1.8",
"phpstan/phpstan-phpunit": "^1.1", "phpstan/phpstan-phpunit": "^1.1",
"phpstan/phpstan-strict-rules": "^1.3", "phpstan/phpstan-strict-rules": "^1.3",
"phpunit/phpunit": "^8.5 || ^9.5", "phpunit/phpunit": "^8.5 || ^9.5",
"vimeo/psalm": "^4.25" "vimeo/psalm": "^4.25 || ^5.4"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
@ -785,7 +861,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/doctrine/inflector/issues", "issues": "https://github.com/doctrine/inflector/issues",
"source": "https://github.com/doctrine/inflector/tree/2.0.6" "source": "https://github.com/doctrine/inflector/tree/2.0.8"
}, },
"funding": [ "funding": [
{ {
@ -801,7 +877,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-10-20T09:10:12+00:00" "time": "2023-06-16T13:40:37+00:00"
}, },
{ {
"name": "doctrine/instantiator", "name": "doctrine/instantiator",
@ -1304,6 +1380,100 @@
}, },
"time": "2022-05-23T21:33:49+00:00" "time": "2022-05-23T21:33:49+00:00"
}, },
{
"name": "easycorp/easyadmin-bundle",
"version": "v4.6.6",
"source": {
"type": "git",
"url": "https://github.com/EasyCorp/EasyAdminBundle.git",
"reference": "ef10d412109429cf47bb5a406bbba6a256255350"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/EasyCorp/EasyAdminBundle/zipball/ef10d412109429cf47bb5a406bbba6a256255350",
"reference": "ef10d412109429cf47bb5a406bbba6a256255350",
"shasum": ""
},
"require": {
"doctrine/doctrine-bundle": "^2.5",
"doctrine/orm": "^2.10",
"ext-json": "*",
"php": ">=8.0.2",
"symfony/asset": "^5.4|^6.0",
"symfony/cache": "^5.4|^6.0",
"symfony/config": "^5.4|^6.0",
"symfony/dependency-injection": "^5.4|^6.0",
"symfony/deprecation-contracts": "^3.0",
"symfony/doctrine-bridge": "^5.4|^6.0",
"symfony/event-dispatcher": "^5.4|^6.0",
"symfony/filesystem": "^5.4|^6.0",
"symfony/form": "^5.4|^6.0",
"symfony/framework-bundle": "^5.4|^6.0",
"symfony/http-foundation": "^5.4|^6.0",
"symfony/http-kernel": "^5.4|^6.0",
"symfony/intl": "^5.4|^6.0",
"symfony/property-access": "^5.4|^6.0",
"symfony/security-bundle": "^5.4|^6.0",
"symfony/string": "^5.4|^6.0",
"symfony/translation": "^5.4|^6.0",
"symfony/twig-bundle": "^5.4|^6.0",
"symfony/uid": "^5.4|^6.0",
"symfony/validator": "^5.4|^6.0"
},
"require-dev": {
"doctrine/doctrine-fixtures-bundle": "^3.4",
"phpstan/extension-installer": "^1.2",
"phpstan/phpstan": "^1.9",
"phpstan/phpstan-phpunit": "^1.2",
"phpstan/phpstan-strict-rules": "^1.4",
"phpstan/phpstan-symfony": "^1.2",
"psr/log": "^1.0",
"symfony/browser-kit": "^5.4|^6.0",
"symfony/css-selector": "^5.4|^6.0",
"symfony/debug-bundle": "^5.4|^6.0",
"symfony/dom-crawler": "^5.4|^6.0",
"symfony/phpunit-bridge": "^5.4|^6.0"
},
"type": "symfony-bundle",
"extra": {
"branch-alias": {
"dev-master": "4.0.x-dev"
}
},
"autoload": {
"psr-4": {
"EasyCorp\\Bundle\\EasyAdminBundle\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Project Contributors",
"homepage": "https://github.com/EasyCorp/EasyAdminBundle/graphs/contributors"
}
],
"description": "Admin generator for Symfony applications",
"homepage": "https://github.com/EasyCorp/EasyAdminBundle",
"keywords": [
"admin",
"backend",
"generator"
],
"support": {
"issues": "https://github.com/EasyCorp/EasyAdminBundle/issues",
"source": "https://github.com/EasyCorp/EasyAdminBundle/tree/v4.6.6"
},
"funding": [
{
"url": "https://github.com/javiereguiluz",
"type": "github"
}
],
"time": "2023-05-30T18:19:51+00:00"
},
{ {
"name": "egulias/email-validator", "name": "egulias/email-validator",
"version": "3.2.6", "version": "3.2.6",
@ -5201,6 +5371,88 @@
], ],
"time": "2022-11-03T14:55:06+00:00" "time": "2022-11-03T14:55:06+00:00"
}, },
{
"name": "symfony/polyfill-uuid",
"version": "v1.27.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-uuid.git",
"reference": "f3cf1a645c2734236ed1e2e671e273eeb3586166"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/f3cf1a645c2734236ed1e2e671e273eeb3586166",
"reference": "f3cf1a645c2734236ed1e2e671e273eeb3586166",
"shasum": ""
},
"require": {
"php": ">=7.1"
},
"provide": {
"ext-uuid": "*"
},
"suggest": {
"ext-uuid": "For best performance"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "1.27-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
}
},
"autoload": {
"files": [
"bootstrap.php"
],
"psr-4": {
"Symfony\\Polyfill\\Uuid\\": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Grégoire Pineau",
"email": "lyrixx@lyrixx.info"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony polyfill for uuid functions",
"homepage": "https://symfony.com",
"keywords": [
"compatibility",
"polyfill",
"portable",
"uuid"
],
"support": {
"source": "https://github.com/symfony/polyfill-uuid/tree/v1.27.0"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2022-11-03T14:55:06+00:00"
},
{ {
"name": "symfony/process", "name": "symfony/process",
"version": "v6.0.19", "version": "v6.0.19",
@ -6649,6 +6901,80 @@
], ],
"time": "2023-01-01T08:36:10+00:00" "time": "2023-01-01T08:36:10+00:00"
}, },
{
"name": "symfony/uid",
"version": "v6.0.19",
"source": {
"type": "git",
"url": "https://github.com/symfony/uid.git",
"reference": "6499e28b0ac9f2aa3151e11845bdb5cd21e6bb9d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/uid/zipball/6499e28b0ac9f2aa3151e11845bdb5cd21e6bb9d",
"reference": "6499e28b0ac9f2aa3151e11845bdb5cd21e6bb9d",
"shasum": ""
},
"require": {
"php": ">=8.0.2",
"symfony/polyfill-uuid": "^1.15"
},
"require-dev": {
"symfony/console": "^5.4|^6.0"
},
"type": "library",
"autoload": {
"psr-4": {
"Symfony\\Component\\Uid\\": ""
},
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Grégoire Pineau",
"email": "lyrixx@lyrixx.info"
},
{
"name": "Nicolas Grekas",
"email": "p@tchwork.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Provides an object-oriented API to generate and represent UIDs",
"homepage": "https://symfony.com",
"keywords": [
"UID",
"ulid",
"uuid"
],
"support": {
"source": "https://github.com/symfony/uid/tree/v6.0.19"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2023-01-01T08:36:10+00:00"
},
{ {
"name": "symfony/validator", "name": "symfony/validator",
"version": "v6.0.19", "version": "v6.0.19",
@ -9568,5 +9894,5 @@
"ext-iconv": "*" "ext-iconv": "*"
}, },
"platform-dev": [], "platform-dev": [],
"plugin-api-version": "2.2.0" "plugin-api-version": "2.3.0"
} }

View File

@ -12,4 +12,5 @@ return [
Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true], Symfony\Bundle\MonologBundle\MonologBundle::class => ['all' => true],
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],
]; ];

View File

@ -6,6 +6,7 @@ framework:
# https://symfony.com/doc/current/messenger.html#transport-configuration # https://symfony.com/doc/current/messenger.html#transport-configuration
async: async:
dsn: '%env(MESSENGER_TRANSPORT_DSN)%' dsn: '%env(MESSENGER_TRANSPORT_DSN)%'
# dsn: ~
options: options:
use_notify: true use_notify: true
check_delayed_interval: 60000 check_delayed_interval: 60000

View File

@ -5,3 +5,9 @@ controllers:
kernel: kernel:
resource: ../src/Kernel.php resource: ../src/Kernel.php
type: annotation type: annotation
# the "app_lucky_number" route name is not important yet
app_lucky_number:
path: /lucky/number
controller: App\Controller\DefaultController::number

52
docs/installation.md Executable file
View File

@ -0,0 +1,52 @@
# Requirements:
a web server speaking PHP, composer and NPM to install dependencies.
I develop on [Ubuntu](https://ubuntu.org), so here are the steps i recommend:
## Install [Composer](https://getcomposer.org/download/) via PHP command
Composer manages dependencies of a lot of php projects. Try these commands or refer to [the download docs of getcomposer.org](https://getcomposer.org/download/)
```
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '48e3236262b34d30969dca3c37281b3b4bbe3221bda826ac6a9a62d6444cdb0dcd0615698a5cbe587c3f0fe57a54d8f5') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
composer install
```
# Installation:
When you have satisfied all the previous requirements you can install dependencies with [the bash script](/install.sh):
```bash
bash install.sh
```
## Configure your app parameters
In the [paramters.yml](/app/config/parameters.yml) file, setup your database access (create your DB if necessary). Works with mysql and others via the magic of Doctrine ORM.
```yaml
database_host: 127.0.0.1
database_port: null
database_name: symfony
database_user: YOURDATABASEUSER
database_password: YOURDATABASEPASSWORD
```
update schema with doctrine in the command line.
```bash
php bin/console doctrine:schema:update --dump-sql
php bin/console doctrine:schema:update --force
```
compile front end assets
```bash
yarn run encore dev --watch
```
access the front with your browser
```bash
php bin/console server:run
firefox http://http://127.0.0.1:8000/
```
enjoy!
#install via Docker ?
I didn't do that for the moment, but you can contribute to this if you like to.

5
docs/upgrade.md Executable file
View File

@ -0,0 +1,5 @@
# Upgrade the app
Pull the last news, and update the vendors. Update database, Rebuild the front, and that's it.
All of this is done with the `bash update.sh` script.
No need to reboot anything.

View File

@ -0,0 +1,31 @@
<?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 Version20230620164025 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
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
}
}

View File

@ -0,0 +1,59 @@
<?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 Version20230620171220 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('ALTER TABLE choice DROP FOREIGN KEY FK_C1AB5A923C947C0F');
$this->addSql('ALTER TABLE comment DROP FOREIGN KEY FK_9474526C7E3C61F9');
$this->addSql('ALTER TABLE comment DROP FOREIGN KEY FK_9474526C3C947C0F');
$this->addSql('ALTER TABLE poll DROP FOREIGN KEY FK_84BCFA457E3C61F9');
$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 vote DROP FOREIGN KEY FK_5A108564998666D1');
$this->addSql('ALTER TABLE vote DROP FOREIGN KEY FK_5A1085643C947C0F');
$this->addSql('ALTER TABLE vote DROP FOREIGN KEY FK_5A1085649903A56B');
$this->addSql('DROP TABLE owner');
$this->addSql('DROP TABLE choice');
$this->addSql('DROP TABLE comment');
$this->addSql('DROP TABLE poll');
$this->addSql('DROP TABLE stack_of_votes');
$this->addSql('DROP TABLE vote');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$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 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 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_9474526C7E3C61F9 (owner_id), INDEX IDX_9474526C3C947C0F (poll_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 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 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('ALTER TABLE choice ADD CONSTRAINT FK_C1AB5A923C947C0F FOREIGN KEY (poll_id) REFERENCES poll (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 poll ADD CONSTRAINT FK_84BCFA457E3C61F9 FOREIGN KEY (owner_id) REFERENCES owner (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 vote ADD CONSTRAINT FK_5A108564998666D1 FOREIGN KEY (choice_id) REFERENCES choice (id)');
$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)');
}
}

View File

@ -14,7 +14,7 @@ class AppKernel extends Kernel {
new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(), new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(),
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(), new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(),
new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(), new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(),
new AppBundle\AppBundle(), new CaisseBliss\AppBundle(),
new FOS\UserBundle\FOSUserBundle(), new FOS\UserBundle\FOSUserBundle(),
// new Http\HttplugBundle\HttplugBundle(), // new Http\HttplugBundle\HttplugBundle(),
// new HWI\Bundle\OAuthBundle\HWIOAuthBundle(), // new HWI\Bundle\OAuthBundle\HWIOAuthBundle(),

View File

@ -1,6 +1,6 @@
<?php <?php
namespace AppBundle; namespace CaisseBliss;
use Symfony\Component\HttpKernel\Bundle\Bundle; use Symfony\Component\HttpKernel\Bundle\Bundle;

View File

@ -1,13 +1,13 @@
<?php <?php
namespace AppBundle\Controller; namespace CaisseBliss\Controller;
use AppBundle\Entity\ExpenseKind; use CaisseBliss\Entity\ExpenseKind;
use AppBundle\Entity\Product; use CaisseBliss\Entity\Product;
use AppBundle\Entity\ProductCategory; use CaisseBliss\Entity\ProductCategory;
use AppBundle\Entity\ProductSold; use CaisseBliss\Entity\ProductSold;
use AppBundle\Entity\SellRecord; use CaisseBliss\Entity\SellRecord;
use AppBundle\Service\OwnerService; use CaisseBliss\Service\OwnerService;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\JsonResponse;

View File

@ -1,8 +1,8 @@
<?php <?php
namespace AppBundle\Controller; namespace CaisseBliss\Controller;
use AppBundle\Entity\Festival; use CaisseBliss\Entity\Festival;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace AppBundle\Controller; namespace CaisseBliss\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller;

View File

@ -1,8 +1,8 @@
<?php <?php
namespace AppBundle\Controller; namespace CaisseBliss\Controller;
use AppBundle\Entity\ProductCategory; use CaisseBliss\Entity\ProductCategory;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller;

View File

@ -1,8 +1,8 @@
<?php <?php
namespace AppBundle\Controller; namespace CaisseBliss\Controller;
use AppBundle\Entity\Product; use CaisseBliss\Entity\Product;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller;

View File

@ -1,8 +1,8 @@
<?php <?php
namespace AppBundle\Controller; namespace CaisseBliss\Controller;
use AppBundle\Entity\SellRecord; use CaisseBliss\Entity\SellRecord;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller;

View File

@ -1,8 +1,8 @@
<?php <?php
namespace AppBundle\Controller; namespace CaisseBliss\Controller;
use AppBundle\Entity\SerieFestival; use CaisseBliss\Entity\SerieFestival;
use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;use Symfony\Component\HttpFoundation\Request; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;use Symfony\Component\HttpFoundation\Request;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace AppBundle\Entity; namespace CaisseBliss\Entity;
use Doctrine\ORM\Mapping as ORM; use Doctrine\ORM\Mapping as ORM;

View File

@ -1,200 +0,0 @@
<?php
namespace AppBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* ExpenseKind, for previsional compta
*
* @ORM\Table(name="expense_kind")
* @ORM\Entity(repositoryClass="AppBundle\Repository\ExpenseKindRepository")
*/
class ExpenseKind
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="name", type="string", length=255)
*/
private $name;
/**
* @var int|null
*
* @ORM\Column(name="delay", type="integer", nullable=true)
*/
private $delay;
/**
* line enabled to calculate on
*
* @ORM\Column(name="enabled", type="boolean", nullable=true)
*/
private $enabled;
/**
* @var int|null
*
* @ORM\Column(name="repeatitions", type="integer", nullable=true)
*/
private $repeatitions;
/**
* @var float
*
* @ORM\Column(name="amount", type="float")
*/
private $amount;
/**
* @ORM\ManyToOne(targetEntity="AppBundle\Entity\User", inversedBy="expenses")
*/
private $user;
/**
* @return int|null
*/
public function getEnabled()
{
return $this->enabled;
}
/**
* @param int|null $enabled
*/
public function setEnabled($enabled)
{
$this->enabled = $enabled;
}
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* @return mixed
*/
public function getUser()
{
return $this->user;
}
/**
* @param mixed $user
*/
public function setUser($user)
{
$this->user = $user;
}
/**
* Set name.
*
* @param string $name
*
* @return ExpenseKind
*/
public function setName($name)
{
$this->name = $name;
return $this;
}
/**
* Get name.
*
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Set delay.
*
* @param int|null $delay
*
* @return ExpenseKind
*/
public function setDelay($delay = null)
{
$this->delay = $delay;
return $this;
}
/**
* Get delay.
*
* @return int|null
*/
public function getDelay()
{
return $this->delay;
}
/**
* Set repeatitions.
*
* @param int|null $repeatitions
*
* @return ExpenseKind
*/
public function setRepeatitions($repeatitions = null)
{
$this->repeatitions = $repeatitions;
return $this;
}
/**
* Get repeatitions.
*
* @return int|null
*/
public function getRepeatitions()
{
return $this->repeatitions;
}
/**
* Set amount.
*
* @param float $amount
*
* @return ExpenseKind
*/
public function setAmount($amount)
{
$this->amount = $amount;
return $this;
}
/**
* Get amount.
*
* @return float
*/
public function getAmount()
{
return $this->amount;
}
}

View File

@ -1,8 +1,8 @@
<?php <?php
namespace AppBundle\Entity; namespace CaisseBliss\Entity;
use AppBundle\Traits\Commentable; use CaisseBliss\Traits\Commentable;
use Doctrine\ORM\Mapping as ORM; use Doctrine\ORM\Mapping as ORM;
/** /**
@ -233,11 +233,11 @@ class Festival {
/** /**
* Add sellRecord * Add sellRecord
* *
* @param \AppBundle\Entity\SellRecord $sellRecord * @param \CaisseBliss\Entity\SellRecord $sellRecord
* *
* @return Festival * @return Festival
*/ */
public function addSellRecord( \AppBundle\Entity\SellRecord $sellRecord ) { public function addSellRecord( \CaisseBliss\Entity\SellRecord $sellRecord ) {
$this->sellRecords[] = $sellRecord; $this->sellRecords[] = $sellRecord;
return $this; return $this;
@ -246,20 +246,20 @@ class Festival {
/** /**
* Remove sellRecord * Remove sellRecord
* *
* @param \AppBundle\Entity\SellRecord $sellRecord * @param \CaisseBliss\Entity\SellRecord $sellRecord
*/ */
public function removeSellRecord( \AppBundle\Entity\SellRecord $sellRecord ) { public function removeSellRecord( \CaisseBliss\Entity\SellRecord $sellRecord ) {
$this->sellRecords->removeElement( $sellRecord ); $this->sellRecords->removeElement( $sellRecord );
} }
/** /**
* Set user. * Set user.
* *
* @param \AppBundle\Entity\User|null $user * @param \CaisseBliss\Entity\User|null $user
* *
* @return Festival * @return Festival
*/ */
public function setUser( \AppBundle\Entity\User $user = null ) { public function setUser( \CaisseBliss\Entity\User $user = null ) {
$this->user = $user; $this->user = $user;
return $this; return $this;
@ -268,7 +268,7 @@ class Festival {
/** /**
* Get user. * Get user.
* *
* @return \AppBundle\Entity\User|null * @return \CaisseBliss\Entity\User|null
*/ */
public function getUser() { public function getUser() {
return $this->user; return $this->user;

View File

@ -1,430 +0,0 @@
<?php
namespace AppBundle\Entity;
use AppBundle\Traits\Commentable;
use Doctrine\ORM\Mapping as ORM;
/**
* Festival
*
* @ORM\Table(name="festival")
* @ORM\Entity(repositoryClass="AppBundle\Repository\FestivalRepository")
*/
class Festival {
use Commentable;
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="name", type="string", length=255)
*/
private $name;
/**
* @var \DateTime
*
* @ORM\Column(name="dateCreation", type="datetime")
*/
private $dateCreation;
/**
* @var \stdClass
*
* @ORM\OneToMany(targetEntity="AppBundle\Entity\SellRecord",mappedBy="festival", cascade={"remove"})
*/
private $sellRecords;
/**
* @ORM\ManyToOne(targetEntity="AppBundle\Entity\User", inversedBy="festivals")
*/
private $user;
/**
* @ORM\ManyToOne(targetEntity="AppBundle\Entity\SerieFestival", inversedBy="festivals")
*/
private $serieFestival;
/**
* @var
* @ORM\Column(name="fond_de_caisse_avant", type="float")
*/
private $fondDeCaisseAvant;
/**
* @var
* @ORM\Column(name="fond_de_caisse_apres", type="float")
*/
private $fondDeCaisseApres;
/**
* @var
* @ORM\Column(name="chiffre_affaire", type="float")
*/
private $chiffreAffaire;
/**
* @ORM\Column(type="decimal", scale=2, nullable=true)
*/
private $fraisInscription;
/**
* @ORM\Column(type="decimal", scale=2, nullable=true)
*/
private $fraisHebergement;
/**
* @ORM\Column(type="decimal", scale=2, nullable=true)
*/
private $fraisTransport;
/**
* @ORM\Column(type="decimal", scale=2, nullable=true)
*/
private $fraisRepas;
public function __toString() {
return $this->getName();
}
/**
* @return mixed
*/
public function getSerieFestival()
{
return $this->serieFestival;
}
/**
* @param mixed $serieFestival
*/
public function setSerieFestival($serieFestival)
{
$this->serieFestival = $serieFestival;
}
/**
* array usable by js
* @return array
*/
public function makeArray(){
$sellRecords = $this->getSellRecords();
$soldItems = [];
foreach ( $sellRecords as $sell_record ) {
foreach ( $sell_record->getProductsSold() as $sold ) {
if(!isset($soldItems[$sold->getProduct()->getId()])){
$soldItems[$sold->getProduct()->getId()] = 0;
}
$soldItems[$sold->getProduct()->getId()]++;
}
}
return [
'id' => $this->getId(),
'name' => $this->getName(),
'commentaire' => $this->getComment(),
'dateCreation' => $this->getDateCreation(),
'chiffreAffaire' => $this->getChiffreAffaire(),
'clientsCount' => count($this->getSellRecords()),
'fondDeCaisseAvant' => $this->getFondDeCaisseAvant(),
'fondDeCaisseApres' => $this->getFondDeCaisseApres(),
'sold' => $soldItems,
];
}
public function recalculateChiffreAffaire() {
$sellings = $this->getSellRecords();
$newChiffreAffaire = 0;
foreach ( $sellings as $selling ) {
$newChiffreAffaire += $selling->getAmount();
}
$this->setChiffreAffaire( $newChiffreAffaire );
return $this;
}
/**
* Get id
*
* @return int
*/
public function getId() {
return $this->id;
}
/**
* Set name
*
* @param string $name
*
* @return Festival
*/
public function setName( $name ) {
$this->name = $name;
return $this;
}
/**
* Get name
*
* @return string
*/
public function getName() {
return $this->name;
}
/**
* Set dateCreation
*
* @param \DateTime $dateCreation
*
* @return Festival
*/
public function setDateCreation( $dateCreation ) {
$this->dateCreation = $dateCreation;
return $this;
}
/**
* Get dateCreation
*
* @return \DateTime
*/
public function getDateCreation() {
return $this->dateCreation;
}
/**
* Set sellRecords
*
* @param \stdClass $sellRecords
*
* @return Festival
*/
public function setSellRecords( $sellRecords ) {
$this->sellRecords = $sellRecords;
return $this;
}
/**
* Get sellRecords
*
* @return \stdClass
*/
public function getSellRecords() {
return $this->sellRecords;
}
/**
* Constructor
*/
public function __construct() {
$this->sellRecords = new \Doctrine\Common\Collections\ArrayCollection();
}
/**
* Add sellRecord
*
* @param \AppBundle\Entity\SellRecord $sellRecord
*
* @return Festival
*/
public function addSellRecord( \AppBundle\Entity\SellRecord $sellRecord ) {
$this->sellRecords[] = $sellRecord;
return $this;
}
/**
* Remove sellRecord
*
* @param \AppBundle\Entity\SellRecord $sellRecord
*/
public function removeSellRecord( \AppBundle\Entity\SellRecord $sellRecord ) {
$this->sellRecords->removeElement( $sellRecord );
}
/**
* Set user.
*
* @param \AppBundle\Entity\User|null $user
*
* @return Festival
*/
public function setUser( \AppBundle\Entity\User $user = null ) {
$this->user = $user;
return $this;
}
/**
* Get user.
*
* @return \AppBundle\Entity\User|null
*/
public function getUser() {
return $this->user;
}
/**
* Set fondDeCaisseAvant.
*
* @param float $fondDeCaisseAvant
*
* @return Festival
*/
public function setFondDeCaisseAvant( $fondDeCaisseAvant ) {
$this->fondDeCaisseAvant = $fondDeCaisseAvant;
return $this;
}
/**
* Get fondDeCaisseAvant.
*
* @return float
*/
public function getFondDeCaisseAvant() {
return $this->fondDeCaisseAvant;
}
/**
* Set fondDeCaisseApres.
*
* @param float $fondDeCaisseApres
*
* @return Festival
*/
public function setFondDeCaisseApres( $fondDeCaisseApres ) {
$this->fondDeCaisseApres = $fondDeCaisseApres;
return $this;
}
/**
* Get fondDeCaisseApres.
*
* @return float
*/
public function getFondDeCaisseApres() {
return $this->fondDeCaisseApres;
}
/**
* Set chiffreAffaire.
*
* @param float $chiffreAffaire
*
* @return Festival
*/
public function setChiffreAffaire( $chiffreAffaire ) {
$this->chiffreAffaire = $chiffreAffaire;
return $this;
}
/**
* Get chiffreAffaire.
*
* @return float
*/
public function getChiffreAffaire() {
return $this->chiffreAffaire;
}
/**
* Set fraisInscription.
*
* @param string|null $fraisInscription
*
* @return Festival
*/
public function setFraisInscription( $fraisInscription = null ) {
$this->fraisInscription = $fraisInscription;
return $this;
}
/**
* Get fraisInscription.
*
* @return string|null
*/
public function getFraisInscription() {
return $this->fraisInscription;
}
/**
* Set fraisHebergement.
*
* @param string|null $fraisHebergement
*
* @return Festival
*/
public function setFraisHebergement( $fraisHebergement = null ) {
$this->fraisHebergement = $fraisHebergement;
return $this;
}
/**
* Get fraisHebergement.
*
* @return string|null
*/
public function getFraisHebergement() {
return $this->fraisHebergement;
}
/**
* Set fraisTransport.
*
* @param string|null $fraisTransport
*
* @return Festival
*/
public function setFraisTransport( $fraisTransport = null ) {
$this->fraisTransport = $fraisTransport;
return $this;
}
/**
* Get fraisTransport.
*
* @return string|null
*/
public function getFraisTransport() {
return $this->fraisTransport;
}
/**
* Set fraisRepas.
*
* @param string|null $fraisRepas
*
* @return Festival
*/
public function setFraisRepas( $fraisRepas = null ) {
$this->fraisRepas = $fraisRepas;
return $this;
}
/**
* Get fraisRepas.
*
* @return string|null
*/
public function getFraisRepas() {
return $this->fraisRepas;
}
}

View File

@ -1,9 +1,9 @@
<?php <?php
namespace AppBundle\Entity; namespace CaisseBliss\Entity;
use AppBundle\Traits\Commentable; use CaisseBliss\Traits\Commentable;
use AppBundle\Traits\Sellable; use CaisseBliss\Traits\Sellable;
use Doctrine\ORM\Mapping as ORM; use Doctrine\ORM\Mapping as ORM;
/** /**
@ -107,11 +107,11 @@ class Product {
/** /**
* Set category. * Set category.
* *
* @param \AppBundle\Entity\ProductCategory|null $category * @param \CaisseBliss\Entity\ProductCategory|null $category
* *
* @return Product * @return Product
*/ */
public function setCategory( \AppBundle\Entity\ProductCategory $category = null ) { public function setCategory( \CaisseBliss\Entity\ProductCategory $category = null ) {
$this->category = $category; $this->category = $category;
return $this; return $this;
@ -120,7 +120,7 @@ class Product {
/** /**
* Get category. * Get category.
* *
* @return \AppBundle\Entity\ProductCategory|null * @return \CaisseBliss\Entity\ProductCategory|null
*/ */
public function getCategory() { public function getCategory() {
return $this->category; return $this->category;
@ -129,11 +129,11 @@ class Product {
/** /**
* Set user. * Set user.
* *
* @param \AppBundle\Entity\User|null $user * @param \CaisseBliss\Entity\User|null $user
* *
* @return Product * @return Product
*/ */
public function setUser( \AppBundle\Entity\User $user = null ) { public function setUser( \CaisseBliss\Entity\User $user = null ) {
$this->user = $user; $this->user = $user;
return $this; return $this;
@ -142,7 +142,7 @@ class Product {
/** /**
* Get user. * Get user.
* *
* @return \AppBundle\Entity\User|null * @return \CaisseBliss\Entity\User|null
*/ */
public function getUser() { public function getUser() {
return $this->user; return $this->user;
@ -180,11 +180,11 @@ class Product {
/** /**
* Add productsSold. * Add productsSold.
* *
* @param \AppBundle\Entity\User $productsSold * @param \CaisseBliss\Entity\User $productsSold
* *
* @return Product * @return Product
*/ */
public function addProductsSold( \AppBundle\Entity\User $productsSold ) { public function addProductsSold( \CaisseBliss\Entity\User $productsSold ) {
$this->productsSold[] = $productsSold; $this->productsSold[] = $productsSold;
return $this; return $this;
@ -193,11 +193,11 @@ class Product {
/** /**
* Remove productsSold. * Remove productsSold.
* *
* @param \AppBundle\Entity\User $productsSold * @param \CaisseBliss\Entity\User $productsSold
* *
* @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( \AppBundle\Entity\User $productsSold ) { public function removeProductsSold( \CaisseBliss\Entity\User $productsSold ) {
return $this->productsSold->removeElement( $productsSold ); return $this->productsSold->removeElement( $productsSold );
} }

View File

@ -1,212 +0,0 @@
<?php
namespace AppBundle\Entity;
use AppBundle\Traits\Commentable;
use AppBundle\Traits\Sellable;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="AppBundle\Repository\ProductRepository")
*/
class Product {
/**
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* number of items available
* @ORM\Column(name="stock_count", type="integer")
*/
private $stockCount;
/**
* @ORM\Column(type="string", length=100)
*/
private $name;
/**
* url for image
* @ORM\Column(type="string", length=256, nullable=true)
*/
private $image;
/**
* @ORM\ManyToOne(targetEntity="ProductCategory", inversedBy="products")
*/
private $category;
/**
* @ORM\ManyToOne(targetEntity="AppBundle\Entity\User", inversedBy="products")
*/
private $user;
/**
* @ORM\OneToMany(targetEntity="AppBundle\Entity\ProductSold", mappedBy="product", cascade={"remove"})
*/
private $productsSold;
use Sellable;
use Commentable;
/**
* Get id.
*
* @return int
*/
public function getId() {
return $this->id;
}
/**
* Set name.
*
* @param string $name
*
* @return Product
*/
public function setName( $name ) {
$this->name = $name;
return $this;
}
/**
* Get name.
*
* @return string
*/
public function getName() {
return $this->name;
}
/**
* Set image.
*
* @param string|null $image
*
* @return Product
*/
public function setImage( $image = null ) {
$this->image = $image;
return $this;
}
/**
* Get image.
*
* @return string|null
*/
public function getImage() {
return $this->image;
}
/**
* Set category.
*
* @param \AppBundle\Entity\ProductCategory|null $category
*
* @return Product
*/
public function setCategory( \AppBundle\Entity\ProductCategory $category = null ) {
$this->category = $category;
return $this;
}
/**
* Get category.
*
* @return \AppBundle\Entity\ProductCategory|null
*/
public function getCategory() {
return $this->category;
}
/**
* Set user.
*
* @param \AppBundle\Entity\User|null $user
*
* @return Product
*/
public function setUser( \AppBundle\Entity\User $user = null ) {
$this->user = $user;
return $this;
}
/**
* Get user.
*
* @return \AppBundle\Entity\User|null
*/
public function getUser() {
return $this->user;
}
/**
* Set stockCount.
*
* @param int $stockCount
*
* @return Product
*/
public function setStockCount( $stockCount ) {
$this->stockCount = $stockCount;
return $this;
}
/**
* Get stockCount.
*
* @return int
*/
public function getStockCount() {
return $this->stockCount;
}
/**
* Constructor
*/
public function __construct() {
$this->productsSold = new \Doctrine\Common\Collections\ArrayCollection();
}
/**
* Add productsSold.
*
* @param \AppBundle\Entity\User $productsSold
*
* @return Product
*/
public function addProductsSold( \AppBundle\Entity\User $productsSold ) {
$this->productsSold[] = $productsSold;
return $this;
}
/**
* Remove productsSold.
*
* @param \AppBundle\Entity\User $productsSold
*
* @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
*/
public function removeProductsSold( \AppBundle\Entity\User $productsSold ) {
return $this->productsSold->removeElement( $productsSold );
}
/**
* Get productsSold.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getProductsSold() {
return $this->productsSold;
}
}

View File

@ -1,6 +1,6 @@
<?php <?php
namespace AppBundle\Entity; namespace CaisseBliss\Entity;
use Doctrine\ORM\Mapping as ORM; use Doctrine\ORM\Mapping as ORM;
@ -119,11 +119,11 @@ class ProductCategory {
/** /**
* Add product * Add product
* *
* @param \AppBundle\Entity\Product $product * @param \CaisseBliss\Entity\Product $product
* *
* @return ProductCategory * @return ProductCategory
*/ */
public function addProduct( \AppBundle\Entity\Product $product ) { public function addProduct( \CaisseBliss\Entity\Product $product ) {
$this->products[] = $product; $this->products[] = $product;
return $this; return $this;
@ -132,20 +132,20 @@ class ProductCategory {
/** /**
* Remove product * Remove product
* *
* @param \AppBundle\Entity\Product $product * @param \CaisseBliss\Entity\Product $product
*/ */
public function removeProduct( \AppBundle\Entity\Product $product ) { public function removeProduct( \CaisseBliss\Entity\Product $product ) {
$this->products->removeElement( $product ); $this->products->removeElement( $product );
} }
/** /**
* Add user * Add user
* *
* @param \AppBundle\Entity\User $user * @param \CaisseBliss\Entity\User $user
* *
* @return ProductCategory * @return ProductCategory
*/ */
public function addUser( \AppBundle\Entity\User $user ) { public function addUser( \CaisseBliss\Entity\User $user ) {
$this->users[] = $user; $this->users[] = $user;
return $this; return $this;
@ -154,20 +154,20 @@ class ProductCategory {
/** /**
* Remove user * Remove user
* *
* @param \AppBundle\Entity\User $user * @param \CaisseBliss\Entity\User $user
*/ */
public function removeUser( \AppBundle\Entity\User $user ) { public function removeUser( \CaisseBliss\Entity\User $user ) {
$this->users->removeElement( $user ); $this->users->removeElement( $user );
} }
/** /**
* Add productsSold. * Add productsSold.
* *
* @param \AppBundle\Entity\ProductSold $productsSold * @param \CaisseBliss\Entity\ProductSold $productsSold
* *
* @return ProductCategory * @return ProductCategory
*/ */
public function addProductsSold(\AppBundle\Entity\ProductSold $productsSold) public function addProductsSold(\CaisseBliss\Entity\ProductSold $productsSold)
{ {
$this->productsSold[] = $productsSold; $this->productsSold[] = $productsSold;
@ -177,11 +177,11 @@ class ProductCategory {
/** /**
* Remove productsSold. * Remove productsSold.
* *
* @param \AppBundle\Entity\ProductSold $productsSold * @param \CaisseBliss\Entity\ProductSold $productsSold
* *
* @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(\AppBundle\Entity\ProductSold $productsSold) public function removeProductsSold(\CaisseBliss\Entity\ProductSold $productsSold)
{ {
return $this->productsSold->removeElement($productsSold); return $this->productsSold->removeElement($productsSold);
} }

View File

@ -1,198 +0,0 @@
<?php
namespace AppBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="AppBundle\Repository\ProductCategoryRepository")
*/
class ProductCategory {
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=100)
*/
private $name;
/**
* @ORM\OneToMany(targetEntity="Product", mappedBy="category", cascade={"remove"})
*/
private $products;
/**
* @ORM\OneToMany(targetEntity="ProductSold", mappedBy="product", cascade={"remove"})
*/
private $productsSold;
/**
* @ORM\ManyToMany(targetEntity="AppBundle\Entity\User", mappedBy="categories")
*/
private $users;
public function __toString() {
return $this->getName() . ' (' . count( $this->getProducts() ) . ' produits)';
}
/**
* @param $userId
*
* @return bool
*/
public function hasUser( $userId ) {
foreach ( $this->getUsers() as $user ) {
if ( $user->getId() === $userId ) {
return true;
}
}
return false;
}
/**
* @return mixed
*/
public function getUsers() {
return $this->users;
}
/**
* @param mixed $users
*/
public function setUsers( $users ) {
$this->users = $users;
}
/**
* @return mixed
*/
public function getProducts() {
return $this->products;
}
/**
* @param mixed $products
*/
public function setProducts( $products ) {
$this->products = $products;
}
/**
* @return mixed
*/
public function getId() {
return $this->id;
}
/**
* @param mixed $id
*/
public function setId( $id ) {
$this->id = $id;
}
/**
* @return mixed
*/
public function getName() {
return $this->name;
}
/**
* @param mixed $name
*/
public function setName( $name ) {
$this->name = $name;
}
/**
* Constructor
*/
public function __construct() {
$this->products = new \Doctrine\Common\Collections\ArrayCollection();
}
/**
* Add product
*
* @param \AppBundle\Entity\Product $product
*
* @return ProductCategory
*/
public function addProduct( \AppBundle\Entity\Product $product ) {
$this->products[] = $product;
return $this;
}
/**
* Remove product
*
* @param \AppBundle\Entity\Product $product
*/
public function removeProduct( \AppBundle\Entity\Product $product ) {
$this->products->removeElement( $product );
}
/**
* Add user
*
* @param \AppBundle\Entity\User $user
*
* @return ProductCategory
*/
public function addUser( \AppBundle\Entity\User $user ) {
$this->users[] = $user;
return $this;
}
/**
* Remove user
*
* @param \AppBundle\Entity\User $user
*/
public function removeUser( \AppBundle\Entity\User $user ) {
$this->users->removeElement( $user );
}
/**
* Add productsSold.
*
* @param \AppBundle\Entity\ProductSold $productsSold
*
* @return ProductCategory
*/
public function addProductsSold(\AppBundle\Entity\ProductSold $productsSold)
{
$this->productsSold[] = $productsSold;
return $this;
}
/**
* Remove productsSold.
*
* @param \AppBundle\Entity\ProductSold $productsSold
*
* @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
*/
public function removeProductsSold(\AppBundle\Entity\ProductSold $productsSold)
{
return $this->productsSold->removeElement($productsSold);
}
/**
* Get productsSold.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getProductsSold()
{
return $this->productsSold;
}
}

View File

@ -1,9 +1,9 @@
<?php <?php
namespace AppBundle\Entity; namespace CaisseBliss\Entity;
use AppBundle\Traits\Commentable; use CaisseBliss\Traits\Commentable;
use AppBundle\Traits\Sellable; use CaisseBliss\Traits\Sellable;
use Doctrine\ORM\Mapping as ORM; use Doctrine\ORM\Mapping as ORM;
/** /**
@ -51,11 +51,11 @@ class ProductSold {
/** /**
* Set sellRecords. * Set sellRecords.
* *
* @param \AppBundle\Entity\SellRecord|null $sellRecords * @param \CaisseBliss\Entity\SellRecord|null $sellRecords
* *
* @return ProductSold * @return ProductSold
*/ */
public function setSellRecords( \AppBundle\Entity\SellRecord $sellRecords = null ) { public function setSellRecords( \CaisseBliss\Entity\SellRecord $sellRecords = null ) {
$this->sellRecords = $sellRecords; $this->sellRecords = $sellRecords;
return $this; return $this;
@ -64,7 +64,7 @@ class ProductSold {
/** /**
* Get sellRecords. * Get sellRecords.
* *
* @return \AppBundle\Entity\SellRecord|null * @return \CaisseBliss\Entity\SellRecord|null
*/ */
public function getSellRecords() { public function getSellRecords() {
return $this->sellRecords; return $this->sellRecords;
@ -73,11 +73,11 @@ class ProductSold {
/** /**
* Set product. * Set product.
* *
* @param \AppBundle\Entity\Product|null $product * @param \CaisseBliss\Entity\Product|null $product
* *
* @return ProductSold * @return ProductSold
*/ */
public function setProduct( \AppBundle\Entity\Product $product = null ) { public function setProduct( \CaisseBliss\Entity\Product $product = null ) {
$this->product = $product; $this->product = $product;
return $this; return $this;
@ -86,7 +86,7 @@ class ProductSold {
/** /**
* Get product. * Get product.
* *
* @return \AppBundle\Entity\Product|null * @return \CaisseBliss\Entity\Product|null
*/ */
public function getProduct() { public function getProduct() {
return $this->product; return $this->product;
@ -148,11 +148,11 @@ class ProductSold {
/** /**
* Set user. * Set user.
* *
* @param \AppBundle\Entity\User|null $user * @param \CaisseBliss\Entity\User|null $user
* *
* @return ProductSold * @return ProductSold
*/ */
public function setUser( \AppBundle\Entity\User $user = null ) { public function setUser( \CaisseBliss\Entity\User $user = null ) {
$this->user = $user; $this->user = $user;
return $this; return $this;
@ -161,7 +161,7 @@ class ProductSold {
/** /**
* Get user. * Get user.
* *
* @return \AppBundle\Entity\User|null * @return \CaisseBliss\Entity\User|null
*/ */
public function getUser() { public function getUser() {
return $this->user; return $this->user;

View File

@ -1,169 +0,0 @@
<?php
namespace AppBundle\Entity;
use AppBundle\Traits\Commentable;
use AppBundle\Traits\Sellable;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="AppBundle\Repository\ProductRepository")
*/
class ProductSold {
/**
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @ORM\Column(type="string", length=100)
*/
private $name;
/**
* @ORM\Column(type="string", length=256)
*/
private $image;
/**
* @ORM\ManyToOne(targetEntity="AppBundle\Entity\User", inversedBy="productsSold")
*/
private $user;
/**
* the stack of products for one client at one time
* @ORM\ManyToOne(targetEntity="SellRecord", inversedBy="productsSold")
*/
public $sellRecords;
/**
* references the product from whom this line is inspired
* @ORM\ManyToOne(targetEntity="AppBundle\Entity\Product", inversedBy="productsSold")
*/
private $product;
use Sellable;
use Commentable;
/**
* Set sellRecords.
*
* @param \AppBundle\Entity\SellRecord|null $sellRecords
*
* @return ProductSold
*/
public function setSellRecords( \AppBundle\Entity\SellRecord $sellRecords = null ) {
$this->sellRecords = $sellRecords;
return $this;
}
/**
* Get sellRecords.
*
* @return \AppBundle\Entity\SellRecord|null
*/
public function getSellRecords() {
return $this->sellRecords;
}
/**
* Set product.
*
* @param \AppBundle\Entity\Product|null $product
*
* @return ProductSold
*/
public function setProduct( \AppBundle\Entity\Product $product = null ) {
$this->product = $product;
return $this;
}
/**
* Get product.
*
* @return \AppBundle\Entity\Product|null
*/
public function getProduct() {
return $this->product;
}
/**
* Get id.
*
* @return int
*/
public function getId() {
return $this->id;
}
/**
* Set name.
*
* @param string $name
*
* @return ProductSold
*/
public function setName( $name ) {
$this->name = $name;
return $this;
}
/**
* Get name.
*
* @return string
*/
public function getName() {
return $this->name;
}
/**
* Set image.
*
* @param string $image
*
* @return ProductSold
*/
public function setImage( $image ) {
$this->image = $image;
return $this;
}
/**
* Get image.
*
* @return string
*/
public function getImage() {
return $this->image;
}
/**
* Set user.
*
* @param \AppBundle\Entity\User|null $user
*
* @return ProductSold
*/
public function setUser( \AppBundle\Entity\User $user = null ) {
$this->user = $user;
return $this;
}
/**
* Get user.
*
* @return \AppBundle\Entity\User|null
*/
public function getUser() {
return $this->user;
}
}

View File

@ -1,8 +1,8 @@
<?php <?php
namespace AppBundle\Entity; namespace CaisseBliss\Entity;
use AppBundle\Traits\Commentable; use CaisseBliss\Traits\Commentable;
use Doctrine\ORM\Mapping as ORM; use Doctrine\ORM\Mapping as ORM;
/** /**
@ -149,11 +149,11 @@ class SellRecord {
/** /**
* Add productsSold * Add productsSold
* *
* @param \AppBundle\Entity\ProductSold $productsSold * @param \CaisseBliss\Entity\ProductSold $productsSold
* *
* @return SellRecord * @return SellRecord
*/ */
public function addProductsSold( \AppBundle\Entity\ProductSold $productsSold ) { public function addProductsSold( \CaisseBliss\Entity\ProductSold $productsSold ) {
$this->productsSold[] = $productsSold; $this->productsSold[] = $productsSold;
return $this; return $this;
@ -162,9 +162,9 @@ class SellRecord {
/** /**
* Remove productsSold * Remove productsSold
* *
* @param \AppBundle\Entity\ProductSold $productsSold * @param \CaisseBliss\Entity\ProductSold $productsSold
*/ */
public function removeProductsSold( \AppBundle\Entity\ProductSold $productsSold ) { public function removeProductsSold( \CaisseBliss\Entity\ProductSold $productsSold ) {
$this->productsSold->removeElement( $productsSold ); $this->productsSold->removeElement( $productsSold );
} }
@ -180,11 +180,11 @@ class SellRecord {
/** /**
* Set festival * Set festival
* *
* @param \AppBundle\Entity\Festival $festival * @param \CaisseBliss\Entity\Festival $festival
* *
* @return SellRecord * @return SellRecord
*/ */
public function setFestival( \AppBundle\Entity\Festival $festival = null ) { public function setFestival( \CaisseBliss\Entity\Festival $festival = null ) {
$this->festival = $festival; $this->festival = $festival;
return $this; return $this;
@ -193,7 +193,7 @@ class SellRecord {
/** /**
* Get festival * Get festival
* *
* @return \AppBundle\Entity\Festival * @return \CaisseBliss\Entity\Festival
*/ */
public function getFestival() { public function getFestival() {
return $this->festival; return $this->festival;
@ -202,11 +202,11 @@ class SellRecord {
/** /**
* Set user * Set user
* *
* @param \AppBundle\Entity\User $user * @param \CaisseBliss\Entity\User $user
* *
* @return SellRecord * @return SellRecord
*/ */
public function setUser( \AppBundle\Entity\User $user = null ) { public function setUser( \CaisseBliss\Entity\User $user = null ) {
$this->user = $user; $this->user = $user;
return $this; return $this;
@ -215,7 +215,7 @@ class SellRecord {
/** /**
* Get user * Get user
* *
* @return \AppBundle\Entity\User * @return \CaisseBliss\Entity\User
*/ */
public function getUser() { public function getUser() {
return $this->user; return $this->user;

View File

@ -1,247 +0,0 @@
<?php
namespace AppBundle\Entity;
use AppBundle\Traits\Commentable;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="AppBundle\Repository\SellRecordRepository")
*/
class SellRecord {
use Commentable;
/**
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* gender of the client
* @ORM\Column( type = "string", nullable=true )
*/
private $gender;
/**
* liste des produits de la vente
* @ORM\OneToMany(targetEntity="AppBundle\Entity\ProductSold", mappedBy="sellRecords", cascade={"remove", "persist","detach"})
*/
private $productsSold;
/**
* creation date
* @ORM\Column(type="datetime")
*/
private $date;
/**
* total
* @ORM\Column(type="decimal", scale=2, nullable=false)
*/
private $amount;
/**
* amount paid by client
* @ORM\Column(type="decimal", scale=2, nullable=true)
*/
private $paidByClient;
/**
* @var
* @ORM\ManyToOne(targetEntity="AppBundle\Entity\Festival",inversedBy="sellRecords")
*/
private $festival;
/**
* owner of the selling account
* @ORM\ManyToOne(targetEntity="AppBundle\Entity\User", inversedBy="sellRecords")
*/
private $user;
/**
* Constructor
*/
public function __construct() {
$this->productsSold = new \Doctrine\Common\Collections\ArrayCollection();
}
/**
* @return mixed
*/
public function getId() {
return $this->id;
}
/**
* @param mixed $id
*/
public function setId( $id ) {
$this->id = $id;
}
/**
* Set date
*
* @param \DateTime $date
*
* @return SellRecord
*/
public function setDate( $date ) {
$this->date = $date;
return $this;
}
/**
* Get date
*
* @return \DateTime
*/
public function getDate() {
return $this->date;
}
/**
* Set amount
*
* @param string $amount
*
* @return SellRecord
*/
public function setAmount( $amount ) {
$this->amount = $amount;
return $this;
}
/**
* Get amount
*
* @return string
*/
public function getAmount() {
return $this->amount;
}
/**
* Set paidByClient
*
* @param string $paidByClient
*
* @return SellRecord
*/
public function setPaidByClient( $paidByClient ) {
$this->paidByClient = $paidByClient;
return $this;
}
/**
* Get paidByClient
*
* @return string
*/
public function getPaidByClient() {
return $this->paidByClient;
}
/**
* Add productsSold
*
* @param \AppBundle\Entity\ProductSold $productsSold
*
* @return SellRecord
*/
public function addProductsSold( \AppBundle\Entity\ProductSold $productsSold ) {
$this->productsSold[] = $productsSold;
return $this;
}
/**
* Remove productsSold
*
* @param \AppBundle\Entity\ProductSold $productsSold
*/
public function removeProductsSold( \AppBundle\Entity\ProductSold $productsSold ) {
$this->productsSold->removeElement( $productsSold );
}
/**
* Get productsSold
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getProductsSold() {
return $this->productsSold;
}
/**
* Set festival
*
* @param \AppBundle\Entity\Festival $festival
*
* @return SellRecord
*/
public function setFestival( \AppBundle\Entity\Festival $festival = null ) {
$this->festival = $festival;
return $this;
}
/**
* Get festival
*
* @return \AppBundle\Entity\Festival
*/
public function getFestival() {
return $this->festival;
}
/**
* Set user
*
* @param \AppBundle\Entity\User $user
*
* @return SellRecord
*/
public function setUser( \AppBundle\Entity\User $user = null ) {
$this->user = $user;
return $this;
}
/**
* Get user
*
* @return \AppBundle\Entity\User
*/
public function getUser() {
return $this->user;
}
/**
* Set gender.
*
* @param string|null $gender
*
* @return SellRecord
*/
public function setGender($gender = null)
{
$this->gender = $gender;
return $this;
}
/**
* Get gender.
*
* @return string|null
*/
public function getGender()
{
return $this->gender;
}
}

View File

@ -1,8 +1,8 @@
<?php <?php
namespace AppBundle\Entity; namespace CaisseBliss\Entity;
use AppBundle\Traits\Commentable; use CaisseBliss\Traits\Commentable;
use Doctrine\ORM\Mapping as ORM; use Doctrine\ORM\Mapping as ORM;
/** /**
@ -138,11 +138,11 @@ class SerieFestival {
/** /**
* Add festival. * Add festival.
* *
* @param \AppBundle\Entity\Festival $festival * @param \CaisseBliss\Entity\Festival $festival
* *
* @return SerieFestival * @return SerieFestival
*/ */
public function addFestival(\AppBundle\Entity\Festival $festival) public function addFestival(\CaisseBliss\Entity\Festival $festival)
{ {
$this->festivals[] = $festival; $this->festivals[] = $festival;
@ -152,11 +152,11 @@ class SerieFestival {
/** /**
* Remove festival. * Remove festival.
* *
* @param \AppBundle\Entity\Festival $festival * @param \CaisseBliss\Entity\Festival $festival
* *
* @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 removeFestival(\AppBundle\Entity\Festival $festival) public function removeFestival(\CaisseBliss\Entity\Festival $festival)
{ {
return $this->festivals->removeElement($festival); return $this->festivals->removeElement($festival);
} }

View File

@ -1,130 +0,0 @@
<?php
namespace AppBundle\Entity;
use AppBundle\Traits\Commentable;
use Doctrine\ORM\Mapping as ORM;
/**
* Festival
*
* @ORM\Table(name="serieFestival")
* @ORM\Entity(repositoryClass="AppBundle\Repository\FestivalRepository")
*/
class SerieFestival {
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="name", type="string", length=255)
*/
private $name;
/**
* variabilised products sold
* @ORM\OneToMany(targetEntity="AppBundle\Entity\Festival", mappedBy="serieFestival")
*/
private $festivals;
/**
* @var \DateTime
*
* @ORM\Column(name="dateCreation", type="datetime")
*/
private $dateCreation;
/**
* @ORM\ManyToOne(targetEntity="AppBundle\Entity\User", inversedBy="seriesFestivals")
*/
private $user;
/**
* @return mixed
*/
public function getUser()
{
return $this->user;
}
/**
* @param mixed $user
*/
public function setUser($user)
{
$this->user = $user;
}
/**
* @return int
*/
public function getId()
{
return $this->id;
}
/**
* @param int $id
*/
public function setId($id)
{
$this->id = $id;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return mixed
*/
public function getFestivals()
{
return $this->festivals;
}
/**
* @param mixed $festivals
*/
public function setFestivals($festivals)
{
$this->festivals = $festivals;
}
/**
* @return \DateTime
*/
public function getDateCreation()
{
return $this->dateCreation;
}
/**
* @param \DateTime $dateCreation
*/
public function setDateCreation($dateCreation)
{
$this->dateCreation = $dateCreation;
}
}

View File

@ -1,6 +1,6 @@
<?php <?php
namespace AppBundle\Entity; namespace CaisseBliss\Entity;
use Doctrine\ORM\Mapping as ORM; use Doctrine\ORM\Mapping as ORM;
use FOS\UserBundle\Model\User as BaseUser; use FOS\UserBundle\Model\User as BaseUser;
@ -303,11 +303,11 @@ class User extends BaseUser {
/** /**
* Add product * Add product
* *
* @param \AppBundle\Entity\Product $product * @param \CaisseBliss\Entity\Product $product
* *
* @return User * @return User
*/ */
public function addProduct( \AppBundle\Entity\Product $product ) { public function addProduct( \CaisseBliss\Entity\Product $product ) {
$this->products[] = $product; $this->products[] = $product;
return $this; return $this;
@ -316,29 +316,29 @@ class User extends BaseUser {
/** /**
* Remove product * Remove product
* *
* @param \AppBundle\Entity\Product $product * @param \CaisseBliss\Entity\Product $product
*/ */
public function removeProduct( \AppBundle\Entity\Product $product ) { public function removeProduct( \CaisseBliss\Entity\Product $product ) {
$this->products->removeElement( $product ); $this->products->removeElement( $product );
} }
/** /**
* Remove productsSold * Remove productsSold
* *
* @param \AppBundle\Entity\ProductSold $productsSold * @param \CaisseBliss\Entity\ProductSold $productsSold
*/ */
public function removeProductsSold( \AppBundle\Entity\ProductSold $productsSold ) { public function removeProductsSold( \CaisseBliss\Entity\ProductSold $productsSold ) {
$this->productsSold->removeElement( $productsSold ); $this->productsSold->removeElement( $productsSold );
} }
/** /**
* Add category * Add category
* *
* @param \AppBundle\Entity\ProductCategory $category * @param \CaisseBliss\Entity\ProductCategory $category
* *
* @return User * @return User
*/ */
public function addCategory( \AppBundle\Entity\ProductCategory $category ) { public function addCategory( \CaisseBliss\Entity\ProductCategory $category ) {
$this->categories[] = $category; $this->categories[] = $category;
return $this; return $this;
@ -347,20 +347,20 @@ class User extends BaseUser {
/** /**
* Remove category * Remove category
* *
* @param \AppBundle\Entity\ProductCategory $category * @param \CaisseBliss\Entity\ProductCategory $category
*/ */
public function removeCategory( \AppBundle\Entity\ProductCategory $category ) { public function removeCategory( \CaisseBliss\Entity\ProductCategory $category ) {
$this->categories->removeElement( $category ); $this->categories->removeElement( $category );
} }
/** /**
* Add sellRecord * Add sellRecord
* *
* @param \AppBundle\Entity\SellRecord $sellRecord * @param \CaisseBliss\Entity\SellRecord $sellRecord
* *
* @return User * @return User
*/ */
public function addSellRecord( \AppBundle\Entity\SellRecord $sellRecord ) { public function addSellRecord( \CaisseBliss\Entity\SellRecord $sellRecord ) {
$this->sellRecords[] = $sellRecord; $this->sellRecords[] = $sellRecord;
return $this; return $this;
@ -369,20 +369,20 @@ class User extends BaseUser {
/** /**
* Remove sellRecord * Remove sellRecord
* *
* @param \AppBundle\Entity\SellRecord $sellRecord * @param \CaisseBliss\Entity\SellRecord $sellRecord
*/ */
public function removeSellRecord( \AppBundle\Entity\SellRecord $sellRecord ) { public function removeSellRecord( \CaisseBliss\Entity\SellRecord $sellRecord ) {
$this->sellRecords->removeElement( $sellRecord ); $this->sellRecords->removeElement( $sellRecord );
} }
/** /**
* Add festival. * Add festival.
* *
* @param \AppBundle\Entity\Festival $festival * @param \CaisseBliss\Entity\Festival $festival
* *
* @return User * @return User
*/ */
public function addFestival( \AppBundle\Entity\Festival $festival ) { public function addFestival( \CaisseBliss\Entity\Festival $festival ) {
$this->festivals[] = $festival; $this->festivals[] = $festival;
return $this; return $this;
@ -391,11 +391,11 @@ class User extends BaseUser {
/** /**
* Remove festival. * Remove festival.
* *
* @param \AppBundle\Entity\Festival $festival * @param \CaisseBliss\Entity\Festival $festival
* *
* @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 removeFestival( \AppBundle\Entity\Festival $festival ) { public function removeFestival( \CaisseBliss\Entity\Festival $festival ) {
return $this->festivals->removeElement( $festival ); return $this->festivals->removeElement( $festival );
} }
@ -411,11 +411,11 @@ class User extends BaseUser {
/** /**
* Set activeFestival. * Set activeFestival.
* *
* @param \AppBundle\Entity\Festival|null $activeFestival * @param \CaisseBliss\Entity\Festival|null $activeFestival
* *
* @return User * @return User
*/ */
public function setActiveFestival( \AppBundle\Entity\Festival $activeFestival = null ) { public function setActiveFestival( \CaisseBliss\Entity\Festival $activeFestival = null ) {
$this->activeFestival = $activeFestival; $this->activeFestival = $activeFestival;
return $this; return $this;
@ -424,7 +424,7 @@ class User extends BaseUser {
/** /**
* Get activeFestival. * Get activeFestival.
* *
* @return \AppBundle\Entity\Festival|null * @return \CaisseBliss\Entity\Festival|null
*/ */
public function getActiveFestival() { public function getActiveFestival() {
return $this->activeFestival; return $this->activeFestival;
@ -501,11 +501,11 @@ class User extends BaseUser {
/** /**
* Add seriesFestival. * Add seriesFestival.
* *
* @param \AppBundle\Entity\SerieFestival $seriesFestival * @param \CaisseBliss\Entity\SerieFestival $seriesFestival
* *
* @return User * @return User
*/ */
public function addSeriesFestival(\AppBundle\Entity\SerieFestival $seriesFestival) public function addSeriesFestival(\CaisseBliss\Entity\SerieFestival $seriesFestival)
{ {
$this->seriesFestivals[] = $seriesFestival; $this->seriesFestivals[] = $seriesFestival;
@ -515,11 +515,11 @@ class User extends BaseUser {
/** /**
* Remove seriesFestival. * Remove seriesFestival.
* *
* @param \AppBundle\Entity\SerieFestival $seriesFestival * @param \CaisseBliss\Entity\SerieFestival $seriesFestival
* *
* @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 removeSeriesFestival(\AppBundle\Entity\SerieFestival $seriesFestival) public function removeSeriesFestival(\CaisseBliss\Entity\SerieFestival $seriesFestival)
{ {
return $this->seriesFestivals->removeElement($seriesFestival); return $this->seriesFestivals->removeElement($seriesFestival);
} }
@ -527,11 +527,11 @@ class User extends BaseUser {
/** /**
* Add expense. * Add expense.
* *
* @param \AppBundle\Entity\ExpenseKind $expense * @param \CaisseBliss\Entity\ExpenseKind $expense
* *
* @return User * @return User
*/ */
public function addExpense(\AppBundle\Entity\ExpenseKind $expense) public function addExpense(\CaisseBliss\Entity\ExpenseKind $expense)
{ {
$this->expenses[] = $expense; $this->expenses[] = $expense;
@ -541,11 +541,11 @@ class User extends BaseUser {
/** /**
* Remove expense. * Remove expense.
* *
* @param \AppBundle\Entity\ExpenseKind $expense * @param \CaisseBliss\Entity\ExpenseKind $expense
* *
* @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 removeExpense(\AppBundle\Entity\ExpenseKind $expense) public function removeExpense(\CaisseBliss\Entity\ExpenseKind $expense)
{ {
return $this->expenses->removeElement($expense); return $this->expenses->removeElement($expense);
} }

View File

@ -1,476 +0,0 @@
<?php
namespace AppBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use FOS\UserBundle\Model\User as BaseUser;
/**
* User
*
* @ORM\Table(name="custom_user")
* @ORM\Entity(repositoryClass="AppBundle\Repository\UserRepository")
*/
class User extends BaseUser {
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="AUTO")
*/
protected $id;
/**
* @ORM\Column(name="twitter_id", type="string", length=255, nullable=true)
*/
private $twitterId;
private $twitterAccessToken;
/**
* @ORM\Column(name="disqus_id", type="string", length=255, nullable=true)
*/
private $disqusId;
private $disqusAccessToken;
/**
* @ORM\Column(name="google_id", type="string", length=255, nullable=true)
*/
private $googleId;
/**
* @ORM\Column(name="mastodon_id", type="string", length=255, nullable=true)
*/
private $mastodonId;
private $googleAccessToken;
/**
* @ORM\ManyToMany(targetEntity="AppBundle\Entity\ProductCategory", inversedBy="users")
*/
private $categories;
/**
* templates products
* @ORM\OneToMany(targetEntity="AppBundle\Entity\Product", mappedBy="user")
*/
private $products;
/**
* variabilised products sold
* @ORM\OneToMany(targetEntity="AppBundle\Entity\ProductSold", mappedBy="user")
*/
private $productsSold;
/**
* variabilised products sold
* @ORM\OneToMany(targetEntity="AppBundle\Entity\Festival", mappedBy="user")
*/
private $festivals;
/**
* series of festivals
* @ORM\OneToMany(targetEntity="AppBundle\Entity\SerieFestival", mappedBy="user")
*/
private $seriesFestivals;
/**
* current festival we are recording sellings for
* @ORM\OneToOne(targetEntity="AppBundle\Entity\Festival")
*/
private $activeFestival;
//expenses previsionnel configs
/**
* @ORM\Column(name="averageMonthlyEarnings", type="float", nullable=true)
*/
private $averageMonthlyEarnings;
/**
* available money, for previsionnel calculation
* @ORM\Column(name="disponibility", type="float", nullable=true)
*/
private $disponibility;
/**
* expenses by kind, for previsionnel
* @ORM\OneToMany(targetEntity="AppBundle\Entity\ExpenseKind", mappedBy="user")
*/
private $expenses;
/**
* @return mixed
*/
public function getAverageMonthlyEarnings()
{
return $this->averageMonthlyEarnings;
}
/**
* @param mixed $averageMonthlyEarnings
*/
public function setAverageMonthlyEarnings($averageMonthlyEarnings)
{
$this->averageMonthlyEarnings = $averageMonthlyEarnings;
}
/**
* @return mixed
*/
public function getDisponibility()
{
return $this->disponibility;
}
/**
* @param mixed $disponibility
*/
public function setDisponibility($disponibility)
{
$this->disponibility = $disponibility;
}
/**
* @return mixed
*/
public function getSeriesFestivals()
{
return $this->seriesFestivals;
}
/**
* @param mixed $seriesFestivals
*/
public function setSeriesFestivals($seriesFestivals)
{
$this->seriesFestivals = $seriesFestivals;
}
/**
* @return mixed
*/
public function getExpenses()
{
return $this->expenses;
}
/**
* @param mixed $expenses
*/
public function setExpenses($expenses)
{
$this->expenses = $expenses;
}
/**
* @return mixed
*/
public function getProductsSold() {
return $this->productsSold;
}
/**
* @return mixed
*/
public function addProductsSold( $product ) {
return $this->productsSold[] = $product;
}
/**
* @param mixed $productsSold
*/
public function setProductsSold( $productsSold ) {
$this->productsSold = $productsSold;
}
/**
* @ORM\OneToMany(targetEntity="AppBundle\Entity\SellRecord", mappedBy="user")
*/
private $sellRecords;
/**
* @return mixed
*/
public function getSellRecords() {
return $this->sellRecords;
}
/**
* @param mixed $sellRecords
*/
public function setSellRecords( $sellRecords ) {
$this->sellRecords = $sellRecords;
}
/**
* @param mixed $sellRecords
*/
public function addSellRecords( $sellRecords ) {
$this->sellRecords[] = $sellRecords;
}
/**
* @return mixed
*/
public function getGoogleAccessToken() {
return $this->googleAccessToken;
}
/**
* @param mixed $googleAccessToken
*/
public function setGoogleAccessToken( $googleAccessToken ) {
$this->googleAccessToken = $googleAccessToken;
}
/**
* @return mixed
*/
public function getDisqusAccessToken() {
return $this->disqusAccessToken;
}
/**
* @param mixed $disqusAccessToken
*/
public function setDisqusAccessToken( $disqusAccessToken ) {
$this->disqusAccessToken = $disqusAccessToken;
}
/**
* @return mixed
*/
public function getTwitterAccessToken() {
return $this->twitterAccessToken;
}
/**
* @param mixed $twitterAccessToken
*/
public function setTwitterAccessToken( $TwitterAccessToken ) {
$this->twitterAccessToken = $TwitterAccessToken;
}
/**
* @return mixed
*/
public function getProducts() {
return $this->products;
}
/**
* @param mixed $products
*/
public function setProducts( $products ) {
$this->products = $products;
}
/**
* @return mixed
*/
public function getCategories() {
return $this->categories;
}
/**
* @param mixed $categories
*/
public function setCategories( $categories ) {
$this->categories = $categories;
}
/**
* Get id
*
* @return int
*/
public function getId() {
return $this->id;
}
/**
* Set googleId
*
* @param string $googleId
*
* @return User
*/
public function setGoogleId( $googleId ) {
$this->googleId = $googleId;
return $this;
}
/**
* Get googleId
*
* @return string
*/
public function getGoogleId() {
return $this->googleId;
}
/**
* Add product
*
* @param \AppBundle\Entity\Product $product
*
* @return User
*/
public function addProduct( \AppBundle\Entity\Product $product ) {
$this->products[] = $product;
return $this;
}
/**
* Remove product
*
* @param \AppBundle\Entity\Product $product
*/
public function removeProduct( \AppBundle\Entity\Product $product ) {
$this->products->removeElement( $product );
}
/**
* Remove productsSold
*
* @param \AppBundle\Entity\ProductSold $productsSold
*/
public function removeProductsSold( \AppBundle\Entity\ProductSold $productsSold ) {
$this->productsSold->removeElement( $productsSold );
}
/**
* Add category
*
* @param \AppBundle\Entity\ProductCategory $category
*
* @return User
*/
public function addCategory( \AppBundle\Entity\ProductCategory $category ) {
$this->categories[] = $category;
return $this;
}
/**
* Remove category
*
* @param \AppBundle\Entity\ProductCategory $category
*/
public function removeCategory( \AppBundle\Entity\ProductCategory $category ) {
$this->categories->removeElement( $category );
}
/**
* Add sellRecord
*
* @param \AppBundle\Entity\SellRecord $sellRecord
*
* @return User
*/
public function addSellRecord( \AppBundle\Entity\SellRecord $sellRecord ) {
$this->sellRecords[] = $sellRecord;
return $this;
}
/**
* Remove sellRecord
*
* @param \AppBundle\Entity\SellRecord $sellRecord
*/
public function removeSellRecord( \AppBundle\Entity\SellRecord $sellRecord ) {
$this->sellRecords->removeElement( $sellRecord );
}
/**
* Add festival.
*
* @param \AppBundle\Entity\Festival $festival
*
* @return User
*/
public function addFestival( \AppBundle\Entity\Festival $festival ) {
$this->festivals[] = $festival;
return $this;
}
/**
* Remove festival.
*
* @param \AppBundle\Entity\Festival $festival
*
* @return boolean TRUE if this collection contained the specified element, FALSE otherwise.
*/
public function removeFestival( \AppBundle\Entity\Festival $festival ) {
return $this->festivals->removeElement( $festival );
}
/**
* Get festivals.
*
* @return \Doctrine\Common\Collections\Collection
*/
public function getFestivals() {
return $this->festivals;
}
/**
* Set activeFestival.
*
* @param \AppBundle\Entity\Festival|null $activeFestival
*
* @return User
*/
public function setActiveFestival( \AppBundle\Entity\Festival $activeFestival = null ) {
$this->activeFestival = $activeFestival;
return $this;
}
/**
* Get activeFestival.
*
* @return \AppBundle\Entity\Festival|null
*/
public function getActiveFestival() {
return $this->activeFestival;
}
/**
* Set twitterId.
*
* @param string|null $twitterId
*
* @return User
*/
public function setTwitterId( $twitterId = null ) {
$this->twitterId = $twitterId;
return $this;
}
/**
* Get twitterId.
*
* @return string|null
*/
public function getTwitterId() {
return $this->twitterId;
}
/**
* Set disqusId.
*
* @param string|null $disqusId
*
* @return User
*/
public function setDisqusId( $disqusId = null ) {
$this->disqusId = $disqusId;
return $this;
}
/**
* Get disqusId.
*
* @return string|null
*/
public function getDisqusId() {
return $this->disqusId;
}
}

View File

@ -1,6 +1,6 @@
<?php <?php
namespace AppBundle\Form; namespace CaisseBliss\Form;
use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\Form\FormBuilderInterface;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace AppBundle\Form; namespace CaisseBliss\Form;
use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\Form\FormBuilderInterface;

View File

@ -1,8 +1,8 @@
<?php <?php
namespace AppBundle\Form; namespace CaisseBliss\Form;
use AppBundle\Entity\ProductCategory; use CaisseBliss\Entity\ProductCategory;
use Symfony\Bridge\Doctrine\Form\Type\EntityType; use Symfony\Bridge\Doctrine\Form\Type\EntityType;
use Symfony\Bundle\FrameworkBundle\Tests\Fixtures\Validation\Category; use Symfony\Bundle\FrameworkBundle\Tests\Fixtures\Validation\Category;
use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\AbstractType;

View File

@ -1,8 +1,8 @@
<?php <?php
namespace AppBundle\Form; namespace CaisseBliss\Form;
use AppBundle\Entity\Product; use CaisseBliss\Entity\Product;
use Symfony\Bundle\FrameworkBundle\Tests\Fixtures\Validation\Category; use Symfony\Bundle\FrameworkBundle\Tests\Fixtures\Validation\Category;
use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\Form\FormBuilderInterface;

View File

@ -1,8 +1,8 @@
<?php <?php
namespace AppBundle\Form; namespace CaisseBliss\Form;
use AppBundle\Entity\Festival; use CaisseBliss\Entity\Festival;
use Symfony\Bridge\Doctrine\Form\Type\EntityType; use Symfony\Bridge\Doctrine\Form\Type\EntityType;
use Symfony\Component\Form\Extension\Core\Type\DateType; use Symfony\Component\Form\Extension\Core\Type\DateType;
use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\AbstractType;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace AppBundle\Repository; namespace CaisseBliss\Repository;
/** /**
* ExpenseKindRepository * ExpenseKindRepository

View File

@ -1,6 +1,6 @@
<?php <?php
namespace AppBundle\Repository; namespace CaisseBliss\Repository;
/** /**
* FestivalRepository * FestivalRepository

View File

@ -1,6 +1,6 @@
<?php <?php
namespace AppBundle\Repository; namespace CaisseBliss\Repository;
/** /**
* StuffRepository * StuffRepository

View File

@ -1,6 +1,6 @@
<?php <?php
namespace AppBundle\Repository; namespace CaisseBliss\Repository;
/** /**
* StuffRepository * StuffRepository

View File

@ -1,6 +1,6 @@
<?php <?php
namespace AppBundle\Repository; namespace CaisseBliss\Repository;
/** /**
* StuffRepository * StuffRepository

View File

@ -1,6 +1,6 @@
<?php <?php
namespace AppBundle\Repository; namespace CaisseBliss\Repository;
/** /**
* StuffRepository * StuffRepository

View File

@ -1,6 +1,6 @@
<?php <?php
namespace AppBundle\Repository; namespace CaisseBliss\Repository;
/** /**
* UserRepository * UserRepository

View File

@ -1,8 +1,8 @@
<?php <?php
namespace AppBundle\Security\Core\User; namespace CaisseBliss\Security\Core\User;
use AppBundle\Entity\User; use CaisseBliss\Entity\User;
use Doctrine\ORM\EntityManager; use Doctrine\ORM\EntityManager;
use FOS\UserBundle\Model\UserManagerInterface; use FOS\UserBundle\Model\UserManagerInterface;
use HWI\Bundle\OAuthBundle\OAuth\Response\UserResponseInterface; use HWI\Bundle\OAuthBundle\OAuth\Response\UserResponseInterface;

View File

@ -1,10 +1,10 @@
<?php <?php
namespace AppBundle\Service; namespace CaisseBliss\Service;
use AppBundle\Entity\Festival; use CaisseBliss\Entity\Festival;
use AppBundle\Entity\ProductCategory; use CaisseBliss\Entity\ProductCategory;
use AppBundle\Entity\User; use CaisseBliss\Entity\User;
use Doctrine\Common\Persistence\ObjectManager; use Doctrine\Common\Persistence\ObjectManager;
use Doctrine\ORM\EntityManager; use Doctrine\ORM\EntityManager;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace AppBundle\Tests\Controller; namespace CaisseBliss\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace AppBundle\Tests\Controller; namespace CaisseBliss\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace AppBundle\Tests\Controller; namespace CaisseBliss\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace AppBundle\Tests\Controller; namespace CaisseBliss\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace AppBundle\Tests\Controller; namespace CaisseBliss\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace AppBundle\Traits; namespace CaisseBliss\Traits;
trait Commentable { trait Commentable {

View File

@ -1,6 +1,6 @@
<?php <?php
namespace AppBundle\Traits; namespace CaisseBliss\Traits;
trait Sellable { trait Sellable {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,5 @@
/*!
* Bootstrap v5.2.3 (https://getbootstrap.com/)
* Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/

View File

@ -0,0 +1,81 @@
{
"entrypoints": {
"app": {
"css": [
"/app.404e52fc.css",
"/app.404e52fc.rtl.css"
],
"js": [
"/app.b5acb2f0.js"
]
},
"form": {
"js": [
"/form.fc39362b.js"
]
},
"page-layout": {
"js": [
"/page-layout.3347892e.js"
]
},
"page-color-scheme": {
"js": [
"/page-color-scheme.a1970567.js"
]
},
"field-boolean": {
"js": [
"/field-boolean.353e173e.js"
]
},
"field-code-editor": {
"css": [
"/field-code-editor.09574d54.css",
"/field-code-editor.09574d54.rtl.css"
],
"js": [
"/field-code-editor.8988bf27.js"
]
},
"field-collection": {
"js": [
"/field-collection.8ea41328.js"
]
},
"field-file-upload": {
"js": [
"/field-file-upload.b5f460d6.js"
]
},
"field-image": {
"js": [
"/field-image.b7b44654.js"
]
},
"field-slug": {
"js": [
"/field-slug.0af8dc08.js"
]
},
"field-textarea": {
"js": [
"/field-textarea.663dbf0a.js"
]
},
"field-text-editor": {
"css": [
"/field-text-editor.7348fb97.css",
"/field-text-editor.7348fb97.rtl.css"
],
"js": [
"/field-text-editor.beed4e76.js"
]
},
"login": {
"js": [
"/login.7259f5de.js"
]
}
}
}

View File

@ -0,0 +1 @@
(()=>{function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(e,n){for(var i=0;i<n.length;i++){var o=n[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(r=o.key,c=void 0,c=function(e,n){if("object"!==t(e)||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var o=i.call(e,n||"default");if("object"!==t(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(r,"string"),"symbol"===t(c)?c:String(c)),o)}var r,c}function n(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}function i(t,e){!function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}(t,e),e.add(t)}function o(t,e,n){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return n}document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll('td.field-boolean .form-switch input[type="checkbox"]').forEach((function(t){new a(t)}))}));var r=new WeakSet,c=new WeakSet,a=n((function t(e){"use strict";!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),i(this,c),i(this,r),this.field=e,this.field.addEventListener("change",o(this,r,f).bind(this))}));function f(){var t=this,e=this.field.checked,n=this.field.getAttribute("data-toggle-url")+"&newValue="+e.toString();fetch(n,{method:"PATCH",headers:{"X-Requested-With":"XMLHttpRequest"}}).then((function(e){return e.ok||o(t,c,l).call(t),e.text()})).then((function(){})).catch((function(){return o(t,c,l).call(t)}))}function l(){this.field.checked=!this.field.checked,this.field.disabled=!0,this.field.closest(".form-switch").classList.add("disabled")}})();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(()=>{var __webpack_exports__={},eaCollectionHandler=function(e){document.querySelectorAll("button.field-collection-add-button").forEach((function(e){var t=e.closest("[data-ea-collection-field]");t&&!t.classList.contains("processed")&&(EaCollectionProperty.handleAddButton(e,t),EaCollectionProperty.updateCollectionItemCssClasses(t))})),document.querySelectorAll("button.field-collection-delete-button").forEach((function(e){e.addEventListener("click",(function(){var t=e.closest("[data-ea-collection-field]");e.closest(".field-collection-item").remove(),document.dispatchEvent(new Event("ea.collection.item-removed")),EaCollectionProperty.updateCollectionItemCssClasses(t)}))}))};window.addEventListener("DOMContentLoaded",eaCollectionHandler),document.addEventListener("ea.collection.item-added",eaCollectionHandler);var EaCollectionProperty={handleAddButton:function handleAddButton(addButton,collection){addButton.addEventListener("click",(function(){var isArrayCollection=collection.classList.contains("field-array"),numItems=parseInt(collection.dataset.numItems),emptyCollectionBadge=this.parentElement.querySelector(".collection-empty");null!==emptyCollectionBadge&&(emptyCollectionBadge.outerHTML=isArrayCollection?'<div class="ea-form-collection-items"></div>':'<div class="ea-form-collection-items"><div class="accordion"><div class="form-widget-compound"><div data-empty-collection></div></div></div></div>');var formTypeNamePlaceholder=collection.dataset.formTypeNamePlaceholder,labelRegexp=new RegExp(formTypeNamePlaceholder+"label__","g"),nameRegexp=new RegExp(formTypeNamePlaceholder,"g"),newItemHtml=collection.dataset.prototype.replace(labelRegexp,++numItems).replace(nameRegexp,numItems);collection.dataset.numItems=numItems;var newItemInsertionSelector=isArrayCollection?".ea-form-collection-items":".ea-form-collection-items .accordion > .form-widget-compound [data-empty-collection]",collectionItemsWrapper=collection.querySelector(newItemInsertionSelector);collectionItemsWrapper.insertAdjacentHTML("beforeend",newItemHtml);var collectionItems=collectionItemsWrapper.querySelectorAll(".field-collection-item"),lastElement=collectionItems[collectionItems.length-1];if(lastElement.querySelectorAll("script").forEach((function(script){return eval(script.innerHTML)})),!isArrayCollection){EaCollectionProperty.updateCollectionItemCssClasses(collection);var lastElementCollapseButton=lastElement.querySelector(".accordion-button");lastElementCollapseButton.classList.remove("collapsed");var lastElementBody=lastElement.querySelector(".accordion-collapse");lastElementBody.classList.add("show")}document.dispatchEvent(new Event("ea.collection.item-added"))})),collection.classList.add("processed")},updateCollectionItemCssClasses:function(e){if(null!==e){var t=e.querySelectorAll(".field-collection-item");t.forEach((function(e){return e.classList.remove("field-collection-item-first","field-collection-item-last")}));var l=t[0];if(void 0!==l){l.classList.add("field-collection-item-first");var o=t[t.length-1];void 0!==o&&o.classList.add("field-collection-item-last")}}}}})();

View File

@ -0,0 +1 @@
(()=>{"use strict";function t(t,e){e?(t.classList.remove("d-block"),t.classList.add("d-none")):(t.classList.remove("d-none"),t.classList.add("d-block"))}function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function n(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return i(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,a=!0,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){c=!0,l=t},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw l}}}}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function r(t,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(o=r.key,l=void 0,l=function(t,n){if("object"!==e(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var r=i.call(t,n||"default");if("object"!==e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(o,"string"),"symbol"===e(l)?l:String(l)),r)}var o,l}function o(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function l(t,e){a(t,e),e.add(t)}function a(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function c(t,e){return function(t,e){if(e.get)return e.get.call(t);return e.value}(t,f(t,e,"get"))}function s(t,e,n){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return n}function u(t,e,n){return function(t,e,n){if(e.set)e.set.call(t,n);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=n}}(t,f(t,e,"set"),n),n}function f(t,e,n){if(!e.has(t))throw new TypeError("attempted to "+n+" private field on non-instance");return e.get(t)}var h=function(t){document.querySelectorAll('.ea-fileupload input[type="file"]').forEach((function(t){new g(t)}))};window.addEventListener("DOMContentLoaded",h),document.addEventListener("ea.collection.item-added",h);var d=new WeakMap,y=new WeakSet,p=new WeakSet,v=new WeakSet,b=new WeakSet,m=new WeakSet,w=new WeakSet,g=o((function t(e){var n,i,r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,w),l(this,m),l(this,b),l(this,v),l(this,p),l(this,y),r={writable:!0,value:void 0},a(n=this,i=d),i.set(n,r),this.field=e,u(this,d,this.field.closest(".ea-fileupload")),this.field.addEventListener("change",s(this,y,S).bind(this));var o=s(this,m,M).call(this);o&&o.addEventListener("click",s(this,p,E).bind(this))}));function S(){var t=this;if(0!==this.field.files.length){var e,i=1===this.field.files.length?this.field.files[0].name:this.field.files.length+" "+this.field.getAttribute("data-files-label"),r=0,o=n(this.field.files);try{for(o.s();!(e=o.n()).done;){r+=e.value.size}}catch(t){o.e(t)}finally{o.f()}s(this,b,T).call(this).innerHTML=i,s(this,m,M).call(this).style.display="block",s(this,w,L).call(this).childNodes.forEach((function(e){e.nodeType===Node.TEXT_NODE&&s(t,w,L).call(t).removeChild(e)})),s(this,w,L).call(this).prepend(s(this,v,k).call(this,r))}}function E(){var e=this,n=c(this,d).querySelector("input[type=checkbox].form-check-input"),i=c(this,d).querySelector(".fileupload-list");n&&(n.checked=!0,n.click()),this.field.value="",s(this,b,T).call(this).innerHTML="",t(s(this,m,M).call(this),!0),s(this,w,L).call(this).childNodes.forEach((function(t){t.nodeType===Node.TEXT_NODE&&s(e,w,L).call(e).removeChild(t)})),null!==i&&t(i,!0)}function k(t){var e=Math.trunc(Math.floor(Math.log(t)/Math.log(1024)));return Math.trunc(t/Math.pow(1024,e))+["B","K","M","G","T","P","E","Z","Y"][e]}function T(){return c(this,d).querySelector(".custom-file-label")}function M(){return c(this,d).querySelector(".ea-fileupload-delete-btn")}function L(){return c(this,d).querySelector(".input-group-text")}})();

View File

@ -0,0 +1 @@
(()=>{var t={27:t=>{t.exports=function t(e,n,r){function o(a,c){if(!n[a]){if(!e[a]){if(i)return i(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var l=n[a]={exports:{}};e[a][0].call(l.exports,(function(t){return o(e[a][1][t]||t)}),l,l.exports,t,e,n,r)}return n[a].exports}for(var i=void 0,a=0;a<r.length;a++)o(r[a]);return o}({1:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.create=n.visible=void 0;var r=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=document.createElement("div");return n.innerHTML=t.trim(),!0===e?n.children:n.firstChild},o=function(t,e){var n=t.children;return 1===n.length&&n[0].tagName===e},i=function(t){return null!=(t=t||document.querySelector(".basicLightbox"))&&!0===t.ownerDocument.body.contains(t)};n.visible=i,n.create=function(t,e){var n=function(t,e){var n=r('\n\t\t<div class="basicLightbox '.concat(e.className,'">\n\t\t\t<div class="basicLightbox__placeholder" role="dialog"></div>\n\t\t</div>\n\t')),i=n.querySelector(".basicLightbox__placeholder");t.forEach((function(t){return i.appendChild(t)}));var a=o(i,"IMG"),c=o(i,"VIDEO"),u=o(i,"IFRAME");return!0===a&&n.classList.add("basicLightbox--img"),!0===c&&n.classList.add("basicLightbox--video"),!0===u&&n.classList.add("basicLightbox--iframe"),n}(t=function(t){var e="string"==typeof t,n=t instanceof HTMLElement==1;if(!1===e&&!1===n)throw new Error("Content must be a DOM element/node or string");return!0===e?Array.from(r(t,!0)):"TEMPLATE"===t.tagName?[t.content.cloneNode(!0)]:Array.from(t.children)}(t),e=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(null==(t=Object.assign({},t)).closable&&(t.closable=!0),null==t.className&&(t.className=""),null==t.onShow&&(t.onShow=function(){}),null==t.onClose&&(t.onClose=function(){}),"boolean"!=typeof t.closable)throw new Error("Property `closable` must be a boolean");if("string"!=typeof t.className)throw new Error("Property `className` must be a string");if("function"!=typeof t.onShow)throw new Error("Property `onShow` must be a function");if("function"!=typeof t.onClose)throw new Error("Property `onClose` must be a function");return t}(e)),a=function(t){return!1!==e.onClose(c)&&function(t,e){return t.classList.remove("basicLightbox--visible"),setTimeout((function(){return!1===i(t)||t.parentElement.removeChild(t),e()}),410),!0}(n,(function(){if("function"==typeof t)return t(c)}))};!0===e.closable&&n.addEventListener("click",(function(t){t.target===n&&a()}));var c={element:function(){return n},visible:function(){return i(n)},show:function(t){return!1!==e.onShow(c)&&function(t,e){return document.body.appendChild(t),setTimeout((function(){requestAnimationFrame((function(){return t.classList.add("basicLightbox--visible"),e()}))}),10),!0}(n,(function(){if("function"==typeof t)return t(c)}))},close:a};return c}},{}]},{},[1])(1)}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";var t=n(27);function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e(t)}function r(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(i=o.key,a=void 0,a=function(t,n){if("object"!==e(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,n||"default");if("object"!==e(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(t)}(i,"string"),"symbol"===e(a)?a:String(a)),o)}var i,a}function o(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function i(t,e){!function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}(t,e),e.add(t)}document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".ea-lightbox-thumbnail").forEach((function(t){new c(t)}))}));var a=new WeakSet,c=o((function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),i(this,a),this.field=e,this.field.addEventListener("click",function(t,e,n){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return n}(this,a,u).bind(this))}));function u(){var e=document.querySelector(this.field.getAttribute("data-ea-lightbox-content-selector")).innerHTML;t.create(e).show()}})()})();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,9 @@
/**
* @license
* Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/

View File

@ -0,0 +1 @@
(()=>{function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(e,i){for(var o=0;o<i.length;o++){var r=i[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(n=r.key,l=void 0,l=function(e,i){if("object"!==t(e)||null===e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,i||"default");if("object"!==t(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===i?String:Number)(e)}(n,"string"),"symbol"===t(l)?l:String(l)),r)}var n,l}var i=function(){"use strict";function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.field=e,this.field.addEventListener("input",this.autogrow.bind(this)),this.autogrow()}var i,o,r;return i=t,(o=[{key:"autogrow",value:function(){this.field.style.overflow="hidden",this.field.style.resize="none",this.field.style.boxSizing="border-box",this.field.style.height="auto",this.field.scrollHeight>0&&(this.field.style.height=this.field.scrollHeight+"px")}}])&&e(i.prototype,o),r&&e(i,r),Object.defineProperty(i,"prototype",{writable:!1}),t}();document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll("[data-ea-textarea-field]").forEach((function(t){new i(t)}))}))})();

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#0052B4" d="M0 0h513v342H0z"/><path fill="#FFF" d="M440.1 181.1c-.1 39.2-6.4 81.4-57.4 101.5-51.1-20.1-57.3-62.3-57.4-101.5h114.8z"/><path fill="#29DBFF" d="M439.6 197.7c-2.8 34.9-12.4 67.4-57 85-44.4-17.6-54.5-51.2-56.9-84.9"/><path fill="#FFF" d="M437.8 214.1c-3.2 24.3-16.7 53.5-55.1 68.6-38.4-15.1-50.5-42.5-55.1-68.4"/><path fill="#29DBFF" d="M434.2 230.3c-5.7 17.7-19.3 39.4-51.3 52.8-32-12.6-45.2-33.8-51.4-53"/><path fill="#FFF" d="M426.7 246.9c-6.5 11.3-17.7 25.4-44 35.9-27.5-11.5-37.4-25.3-44-36.1"/><path fill="#29DBFF" d="M412.4 265.1c-8.1 7.2-12 11.2-29.6 17.9-20.1-7.9-22.6-11.6-29.2-17.5"/><path fill="#5CC85C" d="M383.3 231.6c-.2-.2-27.9 35.7-27.9 35.7-1.8-1.3-10-9.5-13.3-15l41.3-50.1 40.2 49.7c-3.9 6.5-11.4 13.6-13.2 15M382.6 85.3l-26.5 45h53z"/><ellipse transform="rotate(-82.3 291.431 225.686)" fill="#F7A226" cx="291.4" cy="225.7" rx="48.7" ry="15.7"/><ellipse transform="rotate(-68.099 303.087 164.67)" fill="#DDC7AB" cx="303.1" cy="164.7" rx="11.7" ry="7.2"/><ellipse transform="rotate(-81.738 291.697 271.697)" fill="#DDC7AB" cx="291.7" cy="271.7" rx="11.4" ry="3.3"/><ellipse transform="matrix(.9986 -.05353 .05353 .9986 -13.992 16.424)" fill="#DDC7AB" cx="299.6" cy="269.4" rx="3.3" ry="11"/><ellipse transform="rotate(-21.518 314.54 201.06)" fill="#DDC7AB" cx="314.5" cy="201.1" rx="4.1" ry="13.7"/><ellipse transform="rotate(-21.518 317.511 178.077)" fill="#DDC7AB" cx="317.5" cy="178.1" rx="13.7" ry="4.1"/><ellipse transform="rotate(-7.7 473.781 225.857)" fill="#F7A226" cx="473.6" cy="225.9" rx="15.7" ry="48.7"/><ellipse transform="rotate(-21.901 462.057 164.866)" fill="#DDC7AB" cx="462" cy="164.9" rx="7.2" ry="11.7"/><ellipse transform="rotate(-8.27 473.27 271.908)" fill="#DDC7AB" cx="473.4" cy="271.9" rx="3.3" ry="11.4"/><ellipse transform="matrix(.05353 -.9986 .9986 .05353 171.34 719.998)" fill="#DDC7AB" cx="465.5" cy="269.6" rx="11" ry="3.3"/><ellipse transform="rotate(-68.482 450.552 201.247)" fill="#DDC7AB" cx="450.6" cy="201.2" rx="13.7" ry="4.1"/><ellipse transform="rotate(-68.482 447.58 178.265)" fill="#DDC7AB" cx="447.6" cy="178.3" rx="4.1" ry="13.7"/><path fill="#B0C6CC" d="M373.3 130.3 356.1 155l17.8 26.1H396l4.7-25.4-5.4-25.4z"/><path fill="#FFF" d="M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"/><path fill="#D80027" d="M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"/><path fill="#2E52B2" d="M256 22.7v30.7h-46.1z"/><path fill="#D80027" d="M0 170.7v-11l62.5-42.3h22.6L7.3 170.7zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zM248.7 170.7l-77.8-53.3h22.6l62.5 42.3v11z"/></svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><style>.st0{fill:#ffda44}.st1{fill:#0052b4}.st2{fill:#d80027}.st3,.st4{fill:none;stroke:#d80027;stroke-width:7;stroke-miterlimit:10}.st4{stroke-width:4}.st5{fill:#bc8b00}</style><path fill="#FFDA44" d="M0 0h513v342H0z"/><path fill="#0052B4" d="M0 0h171v342H0z"/><path fill="#D80027" d="M342 0h171v342H342zM198.9 113.6H256v64.8h-57.1z"/><g stroke="#D80027" stroke-width="7"><path d="M267.6 113.6v64.7M284.2 113.6v64.7M300.8 113.6v64.7"/></g><g stroke="#D80027" stroke-width="5"><path d="M247.4 178.4v64.7M234.1 178.4v64.7M220.8 178.5v53.9M207.1 178.5v47.1"/></g><path fill="#FFDA44" d="m199.9 146 27.6-32.4 28.5 32.3-28.1 32.4z"/><path fill="#BC8B00" d="M182.2 95.9v92.2c0 34.3 27.3 54.2 48.6 64.5-.8 1.4 25.1 8.3 25.1 8.3s25.9-6.9 25.1-8.3c21.4-10.3 48.6-30.1 48.6-64.5V95.9H182.2zm129.9 92.2c0 16.9-10 29.4-32.8 43.9-8.6 5.5-17.5 9-23.3 11-5.8-2-14.7-5.5-23.3-11-22.8-14.5-32.8-28-32.8-43.9v-74.5h112.2v74.5z"/><path fill="#D80027" d="M264.4 188.9h29.5v8.6h-29.5zM264.4 206.5h29.5v8.6h-29.5z"/></svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#FFF" d="M0 0h513v342H0z"/><path fill="#009e49" d="M0 0h513v114H0z"/><path d="M0 228h513v114H0z"/><path fill="#ce1126" d="M0 0h171v342H0z"/></svg>

After

Width:  |  Height:  |  Size: 220 B

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 513 342"><path fill="#DB3E00" d="M0 0h513v342H0z"/><path fill="#479900" d="M331 0h182v342H331z"/><path d="M0 0h181.8v342H0z"/><path fill="#FFF" d="M256 126.7c-19.4 0-35.2 15.8-35.2 35.2v52.8h70.4v-52.8c0-19.5-15.8-35.2-35.2-35.2z"/><path fill="#FFF" d="M256 84.3c-47.7 0-86.4 38.7-86.4 86.4S208.3 257 256 257s86.4-38.7 86.4-86.4-38.7-86.3-86.4-86.3zm0 157.7c-39.4 0-71.4-32-71.4-71.4 0-39.4 32-71.4 71.4-71.4 39.4 0 71.4 32 71.4 71.4 0 39.5-32 71.4-71.4 71.4z"/></svg>

After

Width:  |  Height:  |  Size: 521 B

Some files were not shown because too many files have changed in this diff Show More