mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-29 04:21:06 +00:00
Move related event things in Event folder
This commit is contained in:
parent
156bf62758
commit
535bfcbe80
8 changed files with 10 additions and 9 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -25,6 +25,8 @@ web/uploads/
|
||||||
!web/bundles
|
!web/bundles
|
||||||
web/bundles/*
|
web/bundles/*
|
||||||
!web/bundles/wallabagcore
|
!web/bundles/wallabagcore
|
||||||
|
/web/assets/images/*
|
||||||
|
!web/assets/images/.gitkeep
|
||||||
|
|
||||||
# Build
|
# Build
|
||||||
/app/build
|
/app/build
|
||||||
|
@ -34,7 +36,6 @@ web/bundles/*
|
||||||
/composer.phar
|
/composer.phar
|
||||||
|
|
||||||
# Data for wallabag
|
# Data for wallabag
|
||||||
data/assets/*
|
|
||||||
data/db/wallabag*.sqlite
|
data/db/wallabag*.sqlite
|
||||||
|
|
||||||
# Docker container logs and data
|
# Docker container logs and data
|
||||||
|
|
|
@ -32,13 +32,13 @@ services:
|
||||||
- { name: twig.extension }
|
- { name: twig.extension }
|
||||||
|
|
||||||
wallabag.locale_listener:
|
wallabag.locale_listener:
|
||||||
class: Wallabag\CoreBundle\EventListener\LocaleListener
|
class: Wallabag\CoreBundle\Event\Listener\LocaleListener
|
||||||
arguments: ["%kernel.default_locale%"]
|
arguments: ["%kernel.default_locale%"]
|
||||||
tags:
|
tags:
|
||||||
- { name: kernel.event_subscriber }
|
- { name: kernel.event_subscriber }
|
||||||
|
|
||||||
wallabag.user_locale_listener:
|
wallabag.user_locale_listener:
|
||||||
class: Wallabag\CoreBundle\EventListener\UserLocaleListener
|
class: Wallabag\CoreBundle\Event\Listener\UserLocaleListener
|
||||||
arguments: ["@session"]
|
arguments: ["@session"]
|
||||||
tags:
|
tags:
|
||||||
- { name: kernel.event_listener, event: security.interactive_login, method: onInteractiveLogin }
|
- { name: kernel.event_listener, event: security.interactive_login, method: onInteractiveLogin }
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Wallabag\CoreBundle\EventListener;
|
namespace Wallabag\CoreBundle\Event\Listener;
|
||||||
|
|
||||||
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||||
use Symfony\Component\HttpKernel\Event\GetResponseEvent;
|
use Symfony\Component\HttpKernel\Event\GetResponseEvent;
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Wallabag\CoreBundle\EventListener;
|
namespace Wallabag\CoreBundle\Event\Listener;
|
||||||
|
|
||||||
use Symfony\Component\HttpFoundation\Session\Session;
|
use Symfony\Component\HttpFoundation\Session\Session;
|
||||||
use Symfony\Component\Security\Http\Event\InteractiveLoginEvent;
|
use Symfony\Component\Security\Http\Event\InteractiveLoginEvent;
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Wallabag\CoreBundle\Subscriber;
|
namespace Wallabag\CoreBundle\Event\Subscriber;
|
||||||
|
|
||||||
use Doctrine\Common\EventSubscriber;
|
use Doctrine\Common\EventSubscriber;
|
||||||
use Doctrine\ORM\Event\LifecycleEventArgs;
|
use Doctrine\ORM\Event\LifecycleEventArgs;
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Wallabag\CoreBundle\Subscriber;
|
namespace Wallabag\CoreBundle\Event\Subscriber;
|
||||||
|
|
||||||
use Doctrine\Common\EventSubscriber;
|
use Doctrine\Common\EventSubscriber;
|
||||||
use Doctrine\ORM\Event\LoadClassMetadataEventArgs;
|
use Doctrine\ORM\Event\LoadClassMetadataEventArgs;
|
|
@ -30,7 +30,7 @@ services:
|
||||||
- "@doctrine"
|
- "@doctrine"
|
||||||
|
|
||||||
wallabag_core.subscriber.table_prefix:
|
wallabag_core.subscriber.table_prefix:
|
||||||
class: Wallabag\CoreBundle\Subscriber\TablePrefixSubscriber
|
class: Wallabag\CoreBundle\Event\Subscriber\TablePrefixSubscriber
|
||||||
arguments:
|
arguments:
|
||||||
- "%database_table_prefix%"
|
- "%database_table_prefix%"
|
||||||
tags:
|
tags:
|
||||||
|
@ -131,7 +131,7 @@ services:
|
||||||
- '%kernel.debug%'
|
- '%kernel.debug%'
|
||||||
|
|
||||||
wallabag_core.subscriber.sqlite_cascade_delete:
|
wallabag_core.subscriber.sqlite_cascade_delete:
|
||||||
class: Wallabag\CoreBundle\Subscriber\SQLiteCascadeDeleteSubscriber
|
class: Wallabag\CoreBundle\Event\Subscriber\SQLiteCascadeDeleteSubscriber
|
||||||
arguments:
|
arguments:
|
||||||
- "@doctrine"
|
- "@doctrine"
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Reference in a new issue