2 wallabag_core.helper.detect_active_theme:
3 class: Wallabag\CoreBundle\Helper\DetectActiveTheme
5 - "@security.token_storage"
6 - "%wallabag_core.theme%"
9 wallabag_core.form.type.config:
10 class: Wallabag\CoreBundle\Form\Type\ConfigType
12 - "%liip_theme.themes%"
13 - "%wallabag_core.languages%"
17 wallabag_core.filter.type.entry:
18 class: Wallabag\CoreBundle\Form\Type\EntryFilterType
20 - "@wallabag_core.entry_repository"
21 - "@security.token_storage"
25 wallabag_core.param_converter.username_rsstoken_converter:
26 class: Wallabag\CoreBundle\ParamConverter\UsernameRssTokenConverter
28 - { name: request.param_converter, converter: username_rsstoken_converter }
32 wallabag_core.subscriber.table_prefix:
33 class: Wallabag\CoreBundle\Event\Subscriber\TablePrefixSubscriber
35 - "%database_table_prefix%"
37 - { name: doctrine.event_subscriber }
43 error_message: '%wallabag_core.fetching_error_message%'
46 'lifehacker.com': 'PHP/5.2'
47 'gawker.com': 'PHP/5.2'
48 'deadspin.com': 'PHP/5.2'
49 'kotaku.com': 'PHP/5.2'
50 'jezebel.com': 'PHP/5.2'
52 'jalopnik.com': 'PHP/5.2'
53 'gizmodo.com': 'PHP/5.2'
54 '.wikipedia.org': 'Mozilla/5.2'
55 '.fok.nl': 'Googlebot/2.1'
56 'getpocket.com': 'PHP/5.2'
57 'iansommerville.com': 'PHP/5.2'
58 '.slashdot.org': 'PHP/5.2'
60 - [ setLogger, [ "@logger" ] ]
62 - { name: monolog.logger, channel: graby }
64 wallabag_core.content_proxy:
65 class: Wallabag\CoreBundle\Helper\ContentProxy
67 - "@wallabag_core.graby"
68 - "@wallabag_core.rule_based_tagger"
69 - "@wallabag_core.tag_repository"
72 wallabag_core.rule_based_tagger:
73 class: Wallabag\CoreBundle\Helper\RuleBasedTagger
76 - "@wallabag_core.tag_repository"
77 - "@wallabag_core.entry_repository"
79 # repository as a service
80 wallabag_core.entry_repository:
81 class: Wallabag\CoreBundle\Repository\EntryRepository
82 factory: [ "@doctrine.orm.default_entity_manager", getRepository ]
84 - WallabagCoreBundle:Entry
86 wallabag_core.tag_repository:
87 class: Wallabag\CoreBundle\Repository\TagRepository
88 factory: [ "@doctrine.orm.default_entity_manager", getRepository ]
90 - WallabagCoreBundle:Tag
92 wallabag_core.helper.entries_export:
93 class: Wallabag\CoreBundle\Helper\EntriesExport
95 - '@=service(''craue_config'').get(''wallabag_url'')'
96 - src/Wallabag/CoreBundle/Resources/public/themes/_global/img/appicon/apple-touch-icon-152.png
98 wallabag.operator.array.matches:
99 class: Wallabag\CoreBundle\Operator\PHP\Matches
101 - { name: rulerz.operator, executor: rulerz.executor.array, operator: matches }
103 wallabag.operator.doctrine.matches:
104 class: Wallabag\CoreBundle\Operator\Doctrine\Matches
106 - { name: rulerz.operator, executor: rulerz.executor.doctrine, operator: matches, inline: true }
108 wallabag_core.helper.redirect:
109 class: Wallabag\CoreBundle\Helper\Redirect
113 wallabag_core.helper.prepare_pager_for_entries:
114 class: Wallabag\CoreBundle\Helper\PreparePagerForEntries
116 - "@security.token_storage"
119 wallabag_core.redis.client:
123 scheme: '%redis_scheme%'
128 wallabag_core.exception_controller:
129 class: Wallabag\CoreBundle\Controller\ExceptionController
134 wallabag_core.subscriber.sqlite_cascade_delete:
135 class: Wallabag\CoreBundle\Event\Subscriber\SQLiteCascadeDeleteSubscriber
139 - { name: doctrine.event_subscriber }
141 wallabag_core.subscriber.download_images:
142 class: Wallabag\CoreBundle\Event\Subscriber\DownloadImagesSubscriber
144 - "@doctrine.orm.default_entity_manager"
145 - "@wallabag_core.entry.download_images"
146 - '@=service(''craue_config'').get(''download_images_enabled'')'
149 - { name: kernel.event_subscriber }
151 wallabag_core.entry.download_images:
152 class: Wallabag\CoreBundle\Helper\DownloadImages
154 - "@wallabag_core.entry.download_images.client"
155 - "%kernel.root_dir%/../web/assets/images"
156 - '@=service(''craue_config'').get(''wallabag_url'')'
159 wallabag_core.entry.download_images.client:
160 class: GuzzleHttp\Client