2022-08-27 16:48:25 +00:00
|
|
|
imports:
|
|
|
|
- { resource: services_rabbit.yml }
|
|
|
|
- { resource: services_redis.yml }
|
|
|
|
- { resource: parameters_addons.yml }
|
|
|
|
|
2015-01-22 07:30:07 +00:00
|
|
|
parameters:
|
2015-08-22 13:35:28 +00:00
|
|
|
lexik_form_filter.get_filter.doctrine_orm.class: Wallabag\CoreBundle\Event\Subscriber\CustomDoctrineORMSubscriber
|
2015-01-22 07:30:07 +00:00
|
|
|
|
|
|
|
services:
|
2022-08-27 17:26:16 +00:00
|
|
|
_defaults:
|
|
|
|
autowire: true
|
|
|
|
autoconfigure: true
|
|
|
|
public: true
|
2022-08-27 21:45:27 +00:00
|
|
|
bind:
|
|
|
|
$rootDir: '%kernel.root_dir%'
|
|
|
|
$debug: '%kernel.debug%'
|
|
|
|
$defaultLocale: '%kernel.default_locale%'
|
|
|
|
$wallabagUrl: '%domain_name%'
|
|
|
|
$tablePrefix: "%database_table_prefix%"
|
|
|
|
$encryptionKeyPath: "%wallabag_core.site_credentials.encryption_key_path%"
|
|
|
|
$fetchingErrorMessageTitle: "%wallabag_core.fetching_error_message_title%"
|
|
|
|
$fetchingErrorMessage: '%wallabag_core.fetching_error_message%'
|
|
|
|
$languages: '%wallabag_core.languages%'
|
|
|
|
$lifeTime: '%wallabag_core.cache_lifetime%'
|
|
|
|
$cookieFile: "%kernel.cache_dir%/cookiejar.json"
|
|
|
|
$logoPath: 'web/img/appicon/apple-touch-icon-152.png'
|
|
|
|
$registrationEnabled: '%fosuser_registration%'
|
|
|
|
$restrictedAccess: '@=service(''craue_config'').get(''restricted_access'')'
|
|
|
|
$senderEmail: "%scheb_two_factor.email.sender_email%"
|
|
|
|
$senderName: "%scheb_two_factor.email.sender_name%"
|
|
|
|
$storeArticleHeaders: '@=service(''craue_config'').get(''store_article_headers'')'
|
|
|
|
$supportUrl: '@=service(''craue_config'').get(''wallabag_support_url'')'
|
2022-08-27 17:26:16 +00:00
|
|
|
|
2022-08-27 23:07:59 +00:00
|
|
|
Wallabag\AnnotationBundle\:
|
|
|
|
resource: '../../src/Wallabag/AnnotationBundle/*'
|
|
|
|
exclude: '../../src/Wallabag/AnnotationBundle/{Controller,Entity}'
|
|
|
|
|
|
|
|
Wallabag\ApiBundle\:
|
|
|
|
resource: '../../src/Wallabag/ApiBundle/*'
|
|
|
|
exclude: '../../src/Wallabag/ApiBundle/{Controller,Entity}'
|
|
|
|
|
|
|
|
Wallabag\CoreBundle\:
|
|
|
|
resource: '../../src/Wallabag/CoreBundle/*'
|
2022-11-23 16:09:32 +00:00
|
|
|
exclude: ['../../src/Wallabag/CoreBundle/{Controller,Entity}', '../../src/Wallabag/CoreBundle/Event/*Event.php']
|
2022-08-27 23:07:59 +00:00
|
|
|
|
|
|
|
Wallabag\ImportBundle\:
|
|
|
|
resource: '../../src/Wallabag/ImportBundle/*'
|
|
|
|
exclude: '../../src/Wallabag/ImportBundle/{Consumer,Controller,Redis}'
|
|
|
|
|
|
|
|
Wallabag\UserBundle\:
|
|
|
|
resource: '../../src/Wallabag/UserBundle/*'
|
|
|
|
exclude: '../../src/Wallabag/UserBundle/{Controller,Entity}'
|
|
|
|
|
2022-08-28 00:01:46 +00:00
|
|
|
Doctrine\DBAL\Connection:
|
|
|
|
alias: doctrine.dbal.default_connection
|
|
|
|
|
|
|
|
Doctrine\ORM\EntityManagerInterface:
|
|
|
|
alias: doctrine.orm.entity_manager
|
|
|
|
|
|
|
|
Doctrine\Persistence\ManagerRegistry:
|
|
|
|
alias: doctrine
|
|
|
|
|
|
|
|
Craue\ConfigBundle\Util\Config:
|
|
|
|
alias: craue_config
|
|
|
|
|
|
|
|
JMS\Serializer\SerializerInterface:
|
|
|
|
alias: jms_serializer
|
|
|
|
|
|
|
|
Lexik\Bundle\FormFilterBundle\Filter\FilterBuilderUpdaterInterface:
|
|
|
|
alias: lexik_form_filter.query_builder_updater
|
|
|
|
|
|
|
|
Scheb\TwoFactorBundle\Security\TwoFactor\Provider\Google\GoogleAuthenticatorInterface:
|
|
|
|
alias: scheb_two_factor.security.google_authenticator
|
|
|
|
|
|
|
|
Symfony\Component\HttpFoundation\Session\SessionInterface:
|
|
|
|
alias: session
|
|
|
|
|
|
|
|
Symfony\Component\EventDispatcher\EventDispatcherInterface:
|
|
|
|
alias: event_dispatcher
|
|
|
|
|
|
|
|
Symfony\Component\Form\FormFactoryInterface:
|
|
|
|
alias: form.factory
|
|
|
|
|
|
|
|
Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface:
|
|
|
|
alias: security.token_storage
|
|
|
|
|
|
|
|
Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface:
|
|
|
|
alias: security.authorization_checker
|
|
|
|
|
|
|
|
Symfony\Component\Translation\TranslatorInterface:
|
|
|
|
alias: translator
|
|
|
|
|
|
|
|
Symfony\Component\Validator\Validator\ValidatorInterface:
|
|
|
|
alias: validator
|
|
|
|
|
|
|
|
FOS\UserBundle\Model\UserManagerInterface:
|
|
|
|
alias: fos_user.user_manager
|
|
|
|
|
2022-04-24 14:01:01 +00:00
|
|
|
MatomoTwigExtension\MatomoTwigExtension:
|
2016-02-19 14:27:57 +00:00
|
|
|
public: false
|
|
|
|
|
2022-04-24 14:01:01 +00:00
|
|
|
Wallabag\CoreBundle\Event\Listener\UserLocaleListener:
|
2015-10-01 14:28:38 +00:00
|
|
|
tags:
|
|
|
|
- { name: kernel.event_listener, event: security.interactive_login, method: onInteractiveLogin }
|
2017-05-12 14:33:12 +00:00
|
|
|
|
|
|
|
craue_config_cache_provider:
|
|
|
|
class: Symfony\Component\Cache\Adapter\FilesystemAdapter
|
|
|
|
public: false
|
|
|
|
arguments:
|
2022-08-27 18:22:48 +00:00
|
|
|
$namespace: 'craue_config'
|
|
|
|
$defaultLifetime: 0
|
|
|
|
$directory: '%kernel.cache_dir%'
|
2022-08-27 16:48:25 +00:00
|
|
|
|
|
|
|
Wallabag\CoreBundle\ParamConverter\UsernameFeedTokenConverter:
|
|
|
|
tags:
|
|
|
|
- { name: request.param_converter, converter: username_feed_token_converter }
|
|
|
|
|
|
|
|
Wallabag\CoreBundle\Event\Subscriber\TablePrefixSubscriber:
|
|
|
|
tags:
|
|
|
|
- { name: doctrine.event_subscriber }
|
|
|
|
|
|
|
|
Graby\Graby:
|
|
|
|
arguments:
|
2022-08-27 18:22:48 +00:00
|
|
|
$config:
|
2022-08-27 16:48:25 +00:00
|
|
|
error_message: '%wallabag_core.fetching_error_message%'
|
|
|
|
error_message_title: '%wallabag_core.fetching_error_message_title%'
|
|
|
|
calls:
|
|
|
|
- [ setLogger, [ "@logger" ] ]
|
|
|
|
tags:
|
|
|
|
- { name: monolog.logger, channel: graby }
|
|
|
|
|
|
|
|
Graby\SiteConfig\ConfigBuilder:
|
|
|
|
arguments:
|
2022-08-27 18:22:48 +00:00
|
|
|
$config: {}
|
2022-08-27 16:48:25 +00:00
|
|
|
|
|
|
|
wallabag_core.http_client:
|
|
|
|
alias: 'httplug.client.wallabag_core'
|
|
|
|
|
|
|
|
Wallabag\CoreBundle\GuzzleSiteAuthenticator\GrabySiteConfigBuilder:
|
|
|
|
tags:
|
|
|
|
- { name: monolog.logger, channel: graby }
|
|
|
|
|
|
|
|
# service alias override
|
|
|
|
bd_guzzle_site_authenticator.site_config_builder:
|
|
|
|
alias: Wallabag\CoreBundle\GuzzleSiteAuthenticator\GrabySiteConfigBuilder
|
|
|
|
|
2022-11-14 22:11:46 +00:00
|
|
|
GuzzleHttp\Cookie\CookieJar:
|
|
|
|
alias: 'Wallabag\CoreBundle\Helper\FileCookieJar'
|
|
|
|
|
2022-08-27 16:48:25 +00:00
|
|
|
Wallabag\CoreBundle\Helper\HttpClientFactory:
|
|
|
|
calls:
|
|
|
|
- ["addSubscriber", ["@bd_guzzle_site_authenticator.authenticator_subscriber"]]
|
|
|
|
|
2022-11-23 10:13:52 +00:00
|
|
|
RulerZ\RulerZ:
|
|
|
|
alias: rulerz
|
|
|
|
|
2022-08-27 16:48:25 +00:00
|
|
|
Wallabag\CoreBundle\Operator\PHP\Matches:
|
|
|
|
tags:
|
|
|
|
- { name: rulerz.operator, target: native, operator: matches }
|
|
|
|
|
|
|
|
Wallabag\CoreBundle\Operator\Doctrine\Matches:
|
|
|
|
tags:
|
|
|
|
- { name: rulerz.operator, target: doctrine, operator: matches, inline: true }
|
|
|
|
|
|
|
|
Wallabag\CoreBundle\Operator\PHP\NotMatches:
|
|
|
|
tags:
|
|
|
|
- { name: rulerz.operator, target: native, operator: notmatches }
|
|
|
|
|
|
|
|
Wallabag\CoreBundle\Operator\Doctrine\NotMatches:
|
|
|
|
tags:
|
|
|
|
- { name: rulerz.operator, target: doctrine, operator: notmatches, inline: true }
|
|
|
|
|
|
|
|
Wallabag\CoreBundle\Operator\PHP\PatternMatches:
|
|
|
|
tags:
|
|
|
|
- { name: rulerz.operator, target: native, operator: "~" }
|
|
|
|
|
|
|
|
Predis\Client:
|
|
|
|
arguments:
|
2022-08-27 18:22:48 +00:00
|
|
|
$parameters:
|
2022-08-27 16:48:25 +00:00
|
|
|
scheme: '%redis_scheme%'
|
|
|
|
host: '%redis_host%'
|
|
|
|
port: '%redis_port%'
|
|
|
|
path: '%redis_path%'
|
|
|
|
password: '%redis_password%'
|
|
|
|
|
2022-08-27 21:45:27 +00:00
|
|
|
Wallabag\CoreBundle\Controller\ExceptionController: ~
|
2022-08-27 16:48:25 +00:00
|
|
|
|
|
|
|
Wallabag\CoreBundle\Event\Subscriber\SQLiteCascadeDeleteSubscriber:
|
|
|
|
tags:
|
|
|
|
- { name: doctrine.event_subscriber }
|
|
|
|
|
|
|
|
Wallabag\CoreBundle\Event\Subscriber\DownloadImagesSubscriber:
|
|
|
|
arguments:
|
2022-08-27 18:22:48 +00:00
|
|
|
$enabled: '@=service(''craue_config'').get(''download_images_enabled'')'
|
2022-08-27 16:48:25 +00:00
|
|
|
|
|
|
|
Wallabag\CoreBundle\Helper\DownloadImages:
|
|
|
|
arguments:
|
2022-08-27 18:22:48 +00:00
|
|
|
$baseFolder: "%kernel.project_dir%/web/assets/images"
|
2022-08-27 16:48:25 +00:00
|
|
|
|
2022-12-15 19:57:02 +00:00
|
|
|
Wallabag\CoreBundle\Command\ExportCommand:
|
|
|
|
arguments:
|
|
|
|
$projectDir: '%kernel.project_dir%'
|
|
|
|
|
|
|
|
Wallabag\CoreBundle\Command\InstallCommand:
|
|
|
|
arguments:
|
|
|
|
$databaseDriver: '%database_driver%'
|
|
|
|
$databaseName: '%database_name%'
|
|
|
|
$defaultSettings: '%wallabag_core.default_internal_settings%'
|
|
|
|
$defaultIgnoreOriginInstanceRules: '%wallabag_core.default_ignore_origin_instance_rules%'
|
|
|
|
|
2022-08-27 16:48:25 +00:00
|
|
|
wallabag_core.entry.download_images.client:
|
|
|
|
alias: 'httplug.client.wallabag_core.entry.download_images'
|
|
|
|
|
2022-12-15 11:02:52 +00:00
|
|
|
Wallabag\UserBundle\Mailer\UserMailer:
|
|
|
|
arguments:
|
|
|
|
$parameters:
|
|
|
|
template:
|
|
|
|
confirmation: '%fos_user.registration.confirmation.template%'
|
|
|
|
resetting: '%fos_user.resetting.email.template%'
|
|
|
|
from_email:
|
|
|
|
confirmation: '%fos_user.registration.confirmation.from_email%'
|
|
|
|
resetting: '%fos_user.resetting.email.from_email%'
|
|
|
|
|
2022-08-27 16:48:25 +00:00
|
|
|
Wallabag\UserBundle\EventListener\CreateConfigListener:
|
|
|
|
arguments:
|
2022-08-27 18:22:48 +00:00
|
|
|
$itemsOnPage: "%wallabag_core.items_on_page%"
|
|
|
|
$feedLimit: "%wallabag_core.feed_limit%"
|
|
|
|
$language: "%wallabag_core.language%"
|
|
|
|
$readingSpeed: "%wallabag_core.reading_speed%"
|
|
|
|
$actionMarkAsRead: "%wallabag_core.action_mark_as_read%"
|
|
|
|
$listMode: "%wallabag_core.list_mode%"
|
2022-08-27 16:48:25 +00:00
|
|
|
|
|
|
|
Wallabag\UserBundle\EventListener\AuthenticationFailureListener:
|
|
|
|
tags:
|
|
|
|
- { name: kernel.event_listener, event: security.authentication.failure, method: onAuthenticationFailure }
|
|
|
|
|
|
|
|
wallabag_import.pocket.client:
|
|
|
|
alias: 'httplug.client.wallabag_import.pocket.client'
|
|
|
|
|
|
|
|
Wallabag\ImportBundle\Import\PocketImport:
|
|
|
|
calls:
|
|
|
|
- [ setClient, [ "@wallabag_import.pocket.client" ] ]
|
|
|
|
tags:
|
|
|
|
- { name: wallabag_import.import, alias: pocket }
|
|
|
|
|
|
|
|
Wallabag\ImportBundle\Import\WallabagV1Import:
|
|
|
|
tags:
|
|
|
|
- { name: wallabag_import.import, alias: wallabag_v1 }
|
|
|
|
|
|
|
|
Wallabag\ImportBundle\Import\WallabagV2Import:
|
|
|
|
tags:
|
|
|
|
- { name: wallabag_import.import, alias: wallabag_v2 }
|
|
|
|
|
|
|
|
Wallabag\ImportBundle\Import\ElcuratorImport:
|
|
|
|
tags:
|
|
|
|
- { name: wallabag_import.import, alias: elcurator }
|
|
|
|
|
|
|
|
Wallabag\ImportBundle\Import\ReadabilityImport:
|
|
|
|
tags:
|
|
|
|
- { name: wallabag_import.import, alias: readability }
|
|
|
|
|
|
|
|
Wallabag\ImportBundle\Import\InstapaperImport:
|
|
|
|
tags:
|
|
|
|
- { name: wallabag_import.import, alias: instapaper }
|
|
|
|
|
|
|
|
Wallabag\ImportBundle\Import\PinboardImport:
|
|
|
|
tags:
|
|
|
|
- { name: wallabag_import.import, alias: pinboard }
|
|
|
|
|
|
|
|
Wallabag\ImportBundle\Import\DeliciousImport:
|
|
|
|
tags:
|
|
|
|
- { name: wallabag_import.import, alias: delicious }
|
|
|
|
|
|
|
|
Wallabag\ImportBundle\Import\FirefoxImport:
|
|
|
|
tags:
|
|
|
|
- { name: wallabag_import.import, alias: firefox }
|
|
|
|
|
|
|
|
Wallabag\ImportBundle\Import\ChromeImport:
|
|
|
|
tags:
|
|
|
|
- { name: wallabag_import.import, alias: chrome }
|
2022-12-14 13:36:29 +00:00
|
|
|
|
|
|
|
# to factorize the proximity and bypass translation for prev & next
|
|
|
|
pagerfanta.view.default_wallabag:
|
|
|
|
class: Pagerfanta\View\OptionableView
|
|
|
|
arguments:
|
|
|
|
- '@pagerfanta.view.twitter_bootstrap'
|
|
|
|
- { proximity: 1, prev_message: "<", next_message: ">" }
|
|
|
|
public: false
|
|
|
|
tags:
|
|
|
|
- { name: pagerfanta.view, alias: default_wallabag }
|