mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
fix folder name
This commit is contained in:
3
src/Bundle/ChillTaskBundle/config/routes.yaml
Normal file
3
src/Bundle/ChillTaskBundle/config/routes.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
chill_task_controllers:
|
||||
resource: "@ChillTaskBundle/Controller"
|
||||
type: annotation
|
2
src/Bundle/ChillTaskBundle/config/services.yaml
Normal file
2
src/Bundle/ChillTaskBundle/config/services.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
services:
|
||||
|
11
src/Bundle/ChillTaskBundle/config/services/controller.yaml
Normal file
11
src/Bundle/ChillTaskBundle/config/services/controller.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
services:
|
||||
Chill\TaskBundle\Controller\:
|
||||
resource: '../../Controller'
|
||||
tags: ['controller.service_arguments']
|
||||
|
||||
Chill\TaskBundle\Controller\SingleTaskController:
|
||||
arguments:
|
||||
$eventDispatcher: '@Symfony\Component\EventDispatcher\EventDispatcherInterface'
|
||||
$timelineBuilder: '@chill_main.timeline_builder'
|
||||
$logger: '@chill.main.logger'
|
||||
tags: ['controller.service_arguments']
|
7
src/Bundle/ChillTaskBundle/config/services/event.yaml
Normal file
7
src/Bundle/ChillTaskBundle/config/services/event.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
services:
|
||||
Chill\TaskBundle\Event\Lifecycle\TaskLifecycleEvent:
|
||||
arguments:
|
||||
$em: '@Doctrine\ORM\EntityManagerInterface'
|
||||
$tokenStorage: '@Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface'
|
||||
tags:
|
||||
- { name: kernel.event_subscriber }
|
4
src/Bundle/ChillTaskBundle/config/services/fixtures.yaml
Normal file
4
src/Bundle/ChillTaskBundle/config/services/fixtures.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
services:
|
||||
Chill\TaskBundle\DataFixtures\ORM\:
|
||||
resource: ../../DataFixtures/ORM
|
||||
tags: [ 'doctrine.fixture.orm' ]
|
9
src/Bundle/ChillTaskBundle/config/services/form.yaml
Normal file
9
src/Bundle/ChillTaskBundle/config/services/form.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
services:
|
||||
Chill\TaskBundle\Form\SingleTaskListType:
|
||||
arguments:
|
||||
$em: '@Doctrine\ORM\EntityManagerInterface'
|
||||
$authorizationHelper: '@Chill\MainBundle\Security\Authorization\AuthorizationHelper'
|
||||
$tokenStorage: '@Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface'
|
||||
$taskWorkflowManager: '@Chill\TaskBundle\Workflow\TaskWorkflowManager'
|
||||
tags:
|
||||
- { name: form.type }
|
23
src/Bundle/ChillTaskBundle/config/services/menu.yaml
Normal file
23
src/Bundle/ChillTaskBundle/config/services/menu.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
services:
|
||||
Chill\TaskBundle\Menu\UserMenuBuilder:
|
||||
arguments:
|
||||
$tokenStorage: '@Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface'
|
||||
$counter: '@Chill\TaskBundle\Templating\UI\CountNotificationTask'
|
||||
$translator: '@Symfony\Component\Translation\TranslatorInterface'
|
||||
$authorizationChecker: '@Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface'
|
||||
tags:
|
||||
- { name: 'chill.menu_builder' }
|
||||
|
||||
Chill\TaskBundle\Menu\PersonMenuBuilder:
|
||||
arguments:
|
||||
$authorizationChecker: '@Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface'
|
||||
$translator: '@Symfony\Component\Translation\TranslatorInterface'
|
||||
tags:
|
||||
- { name: 'chill.menu_builder' }
|
||||
|
||||
Chill\TaskBundle\Menu\SectionMenuBuilder:
|
||||
arguments:
|
||||
$authorizationChecker: '@Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface'
|
||||
$translator: '@Symfony\Component\Translation\TranslatorInterface'
|
||||
tags:
|
||||
- { name: 'chill.menu_builder' }
|
11
src/Bundle/ChillTaskBundle/config/services/repositories.yaml
Normal file
11
src/Bundle/ChillTaskBundle/config/services/repositories.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
services:
|
||||
chill_task.single_task_repository:
|
||||
class: Chill\TaskBundle\Repository\SingleTaskRepository
|
||||
factory: ['@doctrine.orm.entity_manager', getRepository]
|
||||
arguments:
|
||||
- 'Chill\TaskBundle\Entity\SingleTask'
|
||||
calls:
|
||||
- method: setAuthorizationHelper
|
||||
arguments:
|
||||
- "@chill.main.security.authorization.helper"
|
||||
Chill\TaskBundle\Repository\SingleTaskRepository: '@chill_task.single_task_repository'
|
11
src/Bundle/ChillTaskBundle/config/services/security.yaml
Normal file
11
src/Bundle/ChillTaskBundle/config/services/security.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
services:
|
||||
chill_task.task_voter:
|
||||
class: Chill\TaskBundle\Security\Authorization\TaskVoter
|
||||
arguments:
|
||||
- "@security.access.decision_manager"
|
||||
- "@chill.main.security.authorization.helper"
|
||||
- '@Symfony\Component\EventDispatcher\EventDispatcherInterface'
|
||||
- "@logger"
|
||||
tags:
|
||||
- { name: security.voter }
|
||||
- { name: chill.role }
|
13
src/Bundle/ChillTaskBundle/config/services/templating.yaml
Normal file
13
src/Bundle/ChillTaskBundle/config/services/templating.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
services:
|
||||
Chill\TaskBundle\Templating\TaskTwigExtension:
|
||||
arguments:
|
||||
$taskWorkflowManager: '@Chill\TaskBundle\Workflow\TaskWorkflowManager'
|
||||
tags:
|
||||
- { name: 'twig.extension' }
|
||||
|
||||
Chill\TaskBundle\Templating\UI\CountNotificationTask:
|
||||
arguments:
|
||||
$singleTaskRepository: '@Chill\TaskBundle\Repository\SingleTaskRepository'
|
||||
$cachePool: '@cache.user_data'
|
||||
tags:
|
||||
- { name: chill.count_notification.user }
|
17
src/Bundle/ChillTaskBundle/config/services/timeline.yaml
Normal file
17
src/Bundle/ChillTaskBundle/config/services/timeline.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
services:
|
||||
Chill\TaskBundle\Timeline\TaskLifeCycleEventTimelineProvider:
|
||||
arguments:
|
||||
$em: '@Doctrine\ORM\EntityManagerInterface'
|
||||
$registry: '@Symfony\Component\Workflow\Registry'
|
||||
$authorizationHelper: '@Chill\MainBundle\Security\Authorization\AuthorizationHelper'
|
||||
$tokenStorage: '@Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface'
|
||||
public: true
|
||||
tags:
|
||||
- { name: 'chill.timeline', context: 'person' }
|
||||
|
||||
Chill\TaskBundle\Timeline\SingleTaskTaskLifeCycleEventTimelineProvider:
|
||||
arguments:
|
||||
$em: '@Doctrine\ORM\EntityManagerInterface'
|
||||
$registry: '@Symfony\Component\Workflow\Registry'
|
||||
tags:
|
||||
- { name: 'chill.timeline', context: 'task' }
|
12
src/Bundle/ChillTaskBundle/config/services/workflow.yaml
Normal file
12
src/Bundle/ChillTaskBundle/config/services/workflow.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
services:
|
||||
Chill\TaskBundle\Workflow\TaskWorkflowManager: ~
|
||||
|
||||
Chill\TaskBundle\Workflow\Definition\DefaultTaskDefinition:
|
||||
tags:
|
||||
- { name: 'chill_task.workflow_definition' }
|
||||
|
||||
Chill\TaskBundle\Workflow\Event\DefaultTaskGuardEvent:
|
||||
arguments:
|
||||
- '@Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface'
|
||||
tags:
|
||||
- { name: kernel.event_subscriber }
|
Reference in New Issue
Block a user