diff options
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | app/config/services.yml | 4 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Event/Listener/LocaleListener.php (renamed from src/Wallabag/CoreBundle/EventListener/LocaleListener.php) | 2 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Event/Listener/UserLocaleListener.php (renamed from src/Wallabag/CoreBundle/EventListener/UserLocaleListener.php) | 2 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Event/Subscriber/SQLiteCascadeDeleteSubscriber.php (renamed from src/Wallabag/CoreBundle/Subscriber/SQLiteCascadeDeleteSubscriber.php) | 2 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Event/Subscriber/TablePrefixSubscriber.php (renamed from src/Wallabag/CoreBundle/Subscriber/TablePrefixSubscriber.php) | 2 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/config/services.yml | 4 | ||||
-rw-r--r-- | web/assets/images/.gitkeep (renamed from data/assets/.gitignore) | 0 |
8 files changed, 10 insertions, 9 deletions
@@ -25,6 +25,8 @@ web/uploads/ | |||
25 | !web/bundles | 25 | !web/bundles |
26 | web/bundles/* | 26 | web/bundles/* |
27 | !web/bundles/wallabagcore | 27 | !web/bundles/wallabagcore |
28 | /web/assets/images/* | ||
29 | !web/assets/images/.gitkeep | ||
28 | 30 | ||
29 | # Build | 31 | # Build |
30 | /app/build | 32 | /app/build |
@@ -34,7 +36,6 @@ web/bundles/* | |||
34 | /composer.phar | 36 | /composer.phar |
35 | 37 | ||
36 | # Data for wallabag | 38 | # Data for wallabag |
37 | data/assets/* | ||
38 | data/db/wallabag*.sqlite | 39 | data/db/wallabag*.sqlite |
39 | 40 | ||
40 | # Docker container logs and data | 41 | # Docker container logs and data |
diff --git a/app/config/services.yml b/app/config/services.yml index a57ef0f3..9a1ce80b 100644 --- a/app/config/services.yml +++ b/app/config/services.yml | |||
@@ -32,13 +32,13 @@ services: | |||
32 | - { name: twig.extension } | 32 | - { name: twig.extension } |
33 | 33 | ||
34 | wallabag.locale_listener: | 34 | wallabag.locale_listener: |
35 | class: Wallabag\CoreBundle\EventListener\LocaleListener | 35 | class: Wallabag\CoreBundle\Event\Listener\LocaleListener |
36 | arguments: ["%kernel.default_locale%"] | 36 | arguments: ["%kernel.default_locale%"] |
37 | tags: | 37 | tags: |
38 | - { name: kernel.event_subscriber } | 38 | - { name: kernel.event_subscriber } |
39 | 39 | ||
40 | wallabag.user_locale_listener: | 40 | wallabag.user_locale_listener: |
41 | class: Wallabag\CoreBundle\EventListener\UserLocaleListener | 41 | class: Wallabag\CoreBundle\Event\Listener\UserLocaleListener |
42 | arguments: ["@session"] | 42 | arguments: ["@session"] |
43 | tags: | 43 | tags: |
44 | - { name: kernel.event_listener, event: security.interactive_login, method: onInteractiveLogin } | 44 | - { name: kernel.event_listener, event: security.interactive_login, method: onInteractiveLogin } |
diff --git a/src/Wallabag/CoreBundle/EventListener/LocaleListener.php b/src/Wallabag/CoreBundle/Event/Listener/LocaleListener.php index a1c7e5ab..b435d99e 100644 --- a/src/Wallabag/CoreBundle/EventListener/LocaleListener.php +++ b/src/Wallabag/CoreBundle/Event/Listener/LocaleListener.php | |||
@@ -1,6 +1,6 @@ | |||
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | namespace Wallabag\CoreBundle\EventListener; | 3 | namespace Wallabag\CoreBundle\Event\Listener; |
4 | 4 | ||
5 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; | 5 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
6 | use Symfony\Component\HttpKernel\Event\GetResponseEvent; | 6 | use Symfony\Component\HttpKernel\Event\GetResponseEvent; |
diff --git a/src/Wallabag/CoreBundle/EventListener/UserLocaleListener.php b/src/Wallabag/CoreBundle/Event/Listener/UserLocaleListener.php index 82d1a63a..367cdfb0 100644 --- a/src/Wallabag/CoreBundle/EventListener/UserLocaleListener.php +++ b/src/Wallabag/CoreBundle/Event/Listener/UserLocaleListener.php | |||
@@ -1,6 +1,6 @@ | |||
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | namespace Wallabag\CoreBundle\EventListener; | 3 | namespace Wallabag\CoreBundle\Event\Listener; |
4 | 4 | ||
5 | use Symfony\Component\HttpFoundation\Session\Session; | 5 | use Symfony\Component\HttpFoundation\Session\Session; |
6 | use Symfony\Component\Security\Http\Event\InteractiveLoginEvent; | 6 | use Symfony\Component\Security\Http\Event\InteractiveLoginEvent; |
diff --git a/src/Wallabag/CoreBundle/Subscriber/SQLiteCascadeDeleteSubscriber.php b/src/Wallabag/CoreBundle/Event/Subscriber/SQLiteCascadeDeleteSubscriber.php index f7210bd3..3b4c4cf9 100644 --- a/src/Wallabag/CoreBundle/Subscriber/SQLiteCascadeDeleteSubscriber.php +++ b/src/Wallabag/CoreBundle/Event/Subscriber/SQLiteCascadeDeleteSubscriber.php | |||
@@ -1,6 +1,6 @@ | |||
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | namespace Wallabag\CoreBundle\Subscriber; | 3 | namespace Wallabag\CoreBundle\Event\Subscriber; |
4 | 4 | ||
5 | use Doctrine\Common\EventSubscriber; | 5 | use Doctrine\Common\EventSubscriber; |
6 | use Doctrine\ORM\Event\LifecycleEventArgs; | 6 | use Doctrine\ORM\Event\LifecycleEventArgs; |
diff --git a/src/Wallabag/CoreBundle/Subscriber/TablePrefixSubscriber.php b/src/Wallabag/CoreBundle/Event/Subscriber/TablePrefixSubscriber.php index 0379ad6a..9013328f 100644 --- a/src/Wallabag/CoreBundle/Subscriber/TablePrefixSubscriber.php +++ b/src/Wallabag/CoreBundle/Event/Subscriber/TablePrefixSubscriber.php | |||
@@ -1,6 +1,6 @@ | |||
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | namespace Wallabag\CoreBundle\Subscriber; | 3 | namespace Wallabag\CoreBundle\Event\Subscriber; |
4 | 4 | ||
5 | use Doctrine\Common\EventSubscriber; | 5 | use Doctrine\Common\EventSubscriber; |
6 | use Doctrine\ORM\Event\LoadClassMetadataEventArgs; | 6 | use Doctrine\ORM\Event\LoadClassMetadataEventArgs; |
diff --git a/src/Wallabag/CoreBundle/Resources/config/services.yml b/src/Wallabag/CoreBundle/Resources/config/services.yml index cc5f9e9a..4b7751fe 100644 --- a/src/Wallabag/CoreBundle/Resources/config/services.yml +++ b/src/Wallabag/CoreBundle/Resources/config/services.yml | |||
@@ -30,7 +30,7 @@ services: | |||
30 | - "@doctrine" | 30 | - "@doctrine" |
31 | 31 | ||
32 | wallabag_core.subscriber.table_prefix: | 32 | wallabag_core.subscriber.table_prefix: |
33 | class: Wallabag\CoreBundle\Subscriber\TablePrefixSubscriber | 33 | class: Wallabag\CoreBundle\Event\Subscriber\TablePrefixSubscriber |
34 | arguments: | 34 | arguments: |
35 | - "%database_table_prefix%" | 35 | - "%database_table_prefix%" |
36 | tags: | 36 | tags: |
@@ -131,7 +131,7 @@ services: | |||
131 | - '%kernel.debug%' | 131 | - '%kernel.debug%' |
132 | 132 | ||
133 | wallabag_core.subscriber.sqlite_cascade_delete: | 133 | wallabag_core.subscriber.sqlite_cascade_delete: |
134 | class: Wallabag\CoreBundle\Subscriber\SQLiteCascadeDeleteSubscriber | 134 | class: Wallabag\CoreBundle\Event\Subscriber\SQLiteCascadeDeleteSubscriber |
135 | arguments: | 135 | arguments: |
136 | - "@doctrine" | 136 | - "@doctrine" |
137 | tags: | 137 | tags: |
diff --git a/data/assets/.gitignore b/web/assets/images/.gitkeep index e69de29b..e69de29b 100644 --- a/data/assets/.gitignore +++ b/web/assets/images/.gitkeep | |||