Private
Public Access
1
0

chg: usr: make the first working version - the stepping is broken due to the algorythm structure #4

This commit is contained in:
2026-04-09 12:10:37 +02:00
parent dd4b410624
commit fa0fc0743d
51 changed files with 8355 additions and 55172 deletions

View File

@@ -5,17 +5,16 @@ return [
Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true],
Symfony\Bundle\TwigBundle\TwigBundle::class => ['all' => true],
Symfony\Bundle\MakerBundle\MakerBundle::class => ['dev' => true],
Doctrine\Bundle\DoctrineCacheBundle\DoctrineCacheBundle::class => ['all' => true],
Doctrine\Bundle\DoctrineBundle\DoctrineBundle::class => ['all' => true],
Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle::class => ['all' => true],
Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true],
Sonata\DatagridBundle\SonataDatagridBundle::class => ['all' => true],
Sonata\CoreBundle\SonataCoreBundle::class => ['all' => true],
Sonata\BlockBundle\SonataBlockBundle::class => ['all' => true],
Knp\Bundle\MenuBundle\KnpMenuBundle::class => ['all' => true],
Sonata\Doctrine\Bridge\Symfony\SonataDoctrineBundle::class => ['all' => true],
Sonata\Exporter\Bridge\Symfony\SonataExporterBundle::class => ['all' => true],
Sonata\Form\Bridge\Symfony\Bundle\SonataFormBundle::class => ['all' => true],
Sonata\Twig\Bridge\Symfony\SonataTwigBundle::class => ['all' => true],
Sonata\BlockBundle\SonataBlockBundle::class => ['all' => true],
Sonata\AdminBundle\SonataAdminBundle::class => ['all' => true],
Sonata\EasyExtendsBundle\SonataEasyExtendsBundle::class => ['all' => true],
FOS\UserBundle\FOSUserBundle::class => ['all' => true],
Sonata\UserBundle\SonataUserBundle::class => ['all' => true],
App\Application\Sonata\UserBundle\ApplicationSonataUserBundle::class => ['all' => true],
Sonata\DoctrineORMAdminBundle\SonataDoctrineORMAdminBundle::class => ['all' => true],

View File

@@ -30,5 +30,4 @@ doctrine:
prefix: 'App\Entity'
alias: App
SonataUserBundle: ~
FOSUserBundle: ~
ApplicationSonataUserBundle: ~

View File

@@ -1,5 +1,4 @@
doctrine_migrations:
dir_name: '%kernel.project_dir%/src/Migrations'
# namespace is arbitrary but should be different from App\Migrations
# as migrations classes should NOT be autoloaded
namespace: DoctrineMigrations
migrations_paths:
'App\Migrations': '%kernel.project_dir%/src/Migrations'
organize_migrations: BY_YEAR_AND_MONTH

View File

@@ -1,13 +0,0 @@
fos_user:
db_driver: orm # can be orm or odm
firewall_name: main
user_class: App\Application\Sonata\UserBundle\Entity\User
group:
group_class: App\Application\Sonata\UserBundle\Entity\Group
group_manager: sonata.user.orm.group_manager # If you're using doctrine orm (use sonata.user.mongodb.group_manager for mongodb)
service:
user_manager: sonata.user.orm.user_manager
mailer: 'fos_user.mailer.noop'
from_email:
address: '%env(MAILER_USER_ADDRESS)%'
sender_name: '%env(MAILER_USER_NAME)%'

View File

@@ -3,9 +3,6 @@ framework:
#default_locale: en
#csrf_protection: true
#http_method_override: true
templating:
engines: ['twig']
# Enables session support. Note that the session will ONLY be started if you read or write from it.
# Remove or comment this section to explicitly disable session support.
session:

View File

@@ -23,5 +23,6 @@ gos_web_socket:
# driver: "@gos_web_socket.client_storage.driver.predis"
# ttl: 28800 #(optionally) time to live if you use redis driver
# prefix: client #(optionally) prefix if you use redis driver, create key "client:1" instead key "1"
periodic:
- '@mineseeker.periodic'
ping:
services:
- { name: doctrine.dbal.default_connection, type: doctrine, interval: 300 }

View File

@@ -7,7 +7,7 @@ security:
pattern: ^/(_(profiler|wdt)|css|images|js)/
security: false
main:
anonymous: true
lazy: true
# activate different ways to authenticate

View File

@@ -1,4 +0,0 @@
sonata_core:
form:
mapping:
enabled: false

View File

@@ -1,6 +1,3 @@
sonata_user:
security_acl: false
manager_type: orm # can be orm or mongodb
class:
user: App\Application\Sonata\UserBundle\Entity\User
group: App\Application\Sonata\UserBundle\Entity\Group

View File

@@ -1,8 +1,7 @@
## Topic Configuration
mineseeker_topic:
channel: mineseeker/channel/{game}
handler:
callback: 'mineseeker.topic' #related to the getName() of your topic
callback: 'mineseeker.topic'
# requirements:
# method:
# path: '[a-z1-9A-Z]+'
@@ -10,8 +9,6 @@ mineseeker_topic:
# Remote Procedure Call Configuration
mineseeker_rpc:
channel: mineseeker-rpc/{method}
handler:
callback: 'mineseeker.rpc' #related to the getName() or your RPC service
callback: 'mineseeker.rpc'
requirements:
method:
path: "[a-z_]+"
method: "[a-zA-Z_]+"

View File

@@ -1,3 +1,3 @@
_errors:
resource: '@TwigBundle/Resources/config/routing/errors.xml'
prefix: /_error
resource: '@FrameworkBundle/Resources/config/routing/errors.xml'
prefix: /_error

View File

@@ -1,27 +1,27 @@
MineSeekerBundle_homepage:
path: /
controller: App\Controller\GameController:index
controller: App\Controller\GameController::index
MineSeekerBundle_gamePlay:
path: /play
controller: App\Controller\GameController:play
controller: App\Controller\GameController::play
MineSeekerBundle_gamePlayWId:
path: /play/{gameAssoc}
controller: App\Controller\GameController:play
controller: App\Controller\GameController::play
MineSeekerBundle_terms:
path: /terms-of-service
controller: App\Controller\GameController:terms
controller: App\Controller\GameController::terms
MineSeekerBundle_privacy:
path: /privacy-policy
controller: App\Controller\GameController:privacy
controller: App\Controller\GameController::privacy
MineSeekerBundle_contact:
path: /contact
controller: App\Controller\GameController:contact
controller: App\Controller\GameController::contact
MineSeekerBundle_landing:
path: /landing-page
controller: App\Controller\GameController:landing
controller: App\Controller\GameController::landing

View File

@@ -22,7 +22,7 @@ services:
# this creates a service per class whose id is the fully-qualified class name
App\:
resource: '../src/*'
exclude: '../src/{Entity,Migrations,Tests,Kernel.php}'
exclude: '../src/{Entity,Migrations,Tests,Kernel.php,Periodic}'
# controllers are imported separately to make sure services can be injected
# as action arguments even if you don't extend any base controller class
@@ -33,13 +33,6 @@ services:
# add more service definitions when explicit configuration is needed
# please note that last definitions always *replace* previous ones
mineseeker.periodic:
class: App\Periodic\MinePeriodic
tags:
- { name: gos_web_socket.periodic }
arguments:
- '@gos_web_socket.pdo.periodic_ping'
mineseeker.topic_sample_service:
class: App\Topic\MineseekerTopic
tags: