diff options
author | lizyn <zhiylin@outlook.com> | 2020-02-24 10:04:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-24 10:04:13 +0800 |
commit | b19df31d78d881a43bcf6b3215e5fc3781e8e8aa (patch) | |
tree | d0d9861694a4b5e5fbfdbeb53c255ecd15fe9328 /app/config | |
parent | 4d0c632c70ea50d459c3c55ddda2e0f394dd51cb (diff) | |
parent | 04d918cae0227c06a41d27fb6533dddbf30dfe71 (diff) | |
download | wallabag-b19df31d78d881a43bcf6b3215e5fc3781e8e8aa.tar.gz wallabag-b19df31d78d881a43bcf6b3215e5fc3781e8e8aa.tar.zst wallabag-b19df31d78d881a43bcf6b3215e5fc3781e8e8aa.zip |
Merge pull request #1 from wallabag/master
Keep up with the master again
Diffstat (limited to 'app/config')
-rw-r--r-- | app/config/config.yml | 77 | ||||
-rw-r--r-- | app/config/config_dev.yml | 2 | ||||
-rw-r--r-- | app/config/config_prod.yml | 3 | ||||
-rw-r--r-- | app/config/config_test.yml | 2 | ||||
-rw-r--r-- | app/config/parameters.yml.dist | 18 | ||||
-rw-r--r-- | app/config/parameters_test.yml | 1 | ||||
-rw-r--r-- | app/config/routing.yml | 44 | ||||
-rw-r--r-- | app/config/security.yml | 19 | ||||
-rw-r--r-- | app/config/services.yml | 6 | ||||
-rw-r--r-- | app/config/services_test.yml | 38 | ||||
-rw-r--r-- | app/config/tests/parameters_test.mysql.yml | 1 | ||||
-rw-r--r-- | app/config/tests/parameters_test.pgsql.yml | 1 | ||||
-rw-r--r-- | app/config/tests/parameters_test.sqlite.yml | 1 | ||||
-rw-r--r-- | app/config/wallabag.yml | 12 |
14 files changed, 185 insertions, 40 deletions
diff --git a/app/config/config.yml b/app/config/config.yml index 0c2b6a1d..0b325afe 100644 --- a/app/config/config.yml +++ b/app/config/config.yml | |||
@@ -46,7 +46,6 @@ twig: | |||
46 | doctrine: | 46 | doctrine: |
47 | dbal: | 47 | dbal: |
48 | driver: "%database_driver%" | 48 | driver: "%database_driver%" |
49 | driver_class: "%database_driver_class%" | ||
50 | host: "%database_host%" | 49 | host: "%database_host%" |
51 | port: "%database_port%" | 50 | port: "%database_port%" |
52 | dbname: "%database_name%" | 51 | dbname: "%database_name%" |
@@ -55,7 +54,6 @@ doctrine: | |||
55 | charset: "%database_charset%" | 54 | charset: "%database_charset%" |
56 | path: "%database_path%" | 55 | path: "%database_path%" |
57 | unix_socket: "%database_socket%" | 56 | unix_socket: "%database_socket%" |
58 | server_version: 5.6 | ||
59 | 57 | ||
60 | orm: | 58 | orm: |
61 | auto_generate_proxy_classes: "%kernel.debug%" | 59 | auto_generate_proxy_classes: "%kernel.debug%" |
@@ -79,10 +77,13 @@ doctrine_migrations: | |||
79 | 77 | ||
80 | # Swiftmailer Configuration | 78 | # Swiftmailer Configuration |
81 | swiftmailer: | 79 | swiftmailer: |
82 | transport: "%mailer_transport%" | 80 | transport: "%mailer_transport%" |
83 | host: "%mailer_host%" | 81 | username: "%mailer_user%" |
84 | username: "%mailer_user%" | 82 | password: "%mailer_password%" |
85 | password: "%mailer_password%" | 83 | host: "%mailer_host%" |
84 | port: "%mailer_port%" | ||
85 | encryption: "%mailer_encryption%" | ||
86 | auth_mode: "%mailer_auth_mode%" | ||
86 | spool: | 87 | spool: |
87 | type: memory | 88 | type: memory |
88 | 89 | ||
@@ -147,18 +148,18 @@ nelmio_cors: | |||
147 | paths: | 148 | paths: |
148 | '^/api/': | 149 | '^/api/': |
149 | allow_origin: ['*'] | 150 | allow_origin: ['*'] |
150 | allow_headers: ['X-Custom-Auth'] | 151 | allow_headers: ['Authorization','content-type'] |
151 | allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE'] | 152 | allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE'] |
152 | max_age: 3600 | 153 | max_age: 3600 |
153 | '^/oauth/': | 154 | '^/oauth/': |
154 | allow_origin: ['*'] | 155 | allow_origin: ['*'] |
155 | allow_headers: ['X-Custom-Auth'] | 156 | allow_headers: ['Authorization','content-type'] |
156 | allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] | 157 | allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] |
157 | max_age: 3600 | 158 | max_age: 3600 |
158 | '^/': | 159 | '^/': |
159 | #origin_regex: true | 160 | #origin_regex: true |
160 | allow_origin: ['^http://localhost:[0-9]+'] | 161 | allow_origin: ['*'] |
161 | allow_headers: ['X-Custom-Auth'] | 162 | allow_headers: ['Authorization','content-type'] |
162 | allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] | 163 | allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] |
163 | max_age: 3600 | 164 | max_age: 3600 |
164 | hosts: ['^api\.'] | 165 | hosts: ['^api\.'] |
@@ -197,10 +198,17 @@ fos_oauth_server: | |||
197 | refresh_token_lifetime: 1209600 | 198 | refresh_token_lifetime: 1209600 |
198 | 199 | ||
199 | scheb_two_factor: | 200 | scheb_two_factor: |
200 | trusted_computer: | 201 | trusted_device: |
201 | enabled: true | 202 | enabled: true |
202 | cookie_name: wllbg_trusted_computer | 203 | cookie_name: wllbg_trusted_computer |
203 | cookie_lifetime: 2592000 | 204 | lifetime: 2592000 |
205 | |||
206 | backup_codes: | ||
207 | enabled: "%twofactor_auth%" | ||
208 | |||
209 | google: | ||
210 | enabled: "%twofactor_auth%" | ||
211 | template: WallabagUserBundle:Authentication:form.html.twig | ||
204 | 212 | ||
205 | email: | 213 | email: |
206 | enabled: "%twofactor_auth%" | 214 | enabled: "%twofactor_auth%" |
@@ -253,6 +261,11 @@ old_sound_rabbit_mq: | |||
253 | exchange_options: | 261 | exchange_options: |
254 | name: 'wallabag.import.wallabag_v2' | 262 | name: 'wallabag.import.wallabag_v2' |
255 | type: topic | 263 | type: topic |
264 | import_elcurator: | ||
265 | connection: default | ||
266 | exchange_options: | ||
267 | name: 'wallabag.import.elcurator' | ||
268 | type: topic | ||
256 | import_firefox: | 269 | import_firefox: |
257 | connection: default | 270 | connection: default |
258 | exchange_options: | 271 | exchange_options: |
@@ -318,6 +331,15 @@ old_sound_rabbit_mq: | |||
318 | name: 'wallabag.import.wallabag_v2' | 331 | name: 'wallabag.import.wallabag_v2' |
319 | callback: wallabag_import.consumer.amqp.wallabag_v2 | 332 | callback: wallabag_import.consumer.amqp.wallabag_v2 |
320 | qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"} | 333 | qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"} |
334 | import_elcurator: | ||
335 | connection: default | ||
336 | exchange_options: | ||
337 | name: 'wallabag.import.elcurator' | ||
338 | type: topic | ||
339 | queue_options: | ||
340 | name: 'wallabag.import.elcurator' | ||
341 | callback: wallabag_import.consumer.amqp.elcurator | ||
342 | qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"} | ||
321 | import_firefox: | 343 | import_firefox: |
322 | connection: default | 344 | connection: default |
323 | exchange_options: | 345 | exchange_options: |
@@ -357,3 +379,34 @@ jms_serializer: | |||
357 | # see: https://github.com/schmittjoh/JMSSerializerBundle/pull/494 | 379 | # see: https://github.com/schmittjoh/JMSSerializerBundle/pull/494 |
358 | datetime: | 380 | datetime: |
359 | default_format: "Y-m-d\\TH:i:sO" # ATOM | 381 | default_format: "Y-m-d\\TH:i:sO" # ATOM |
382 | |||
383 | # see https://github.com/symfony/symfony-standard/pull/1133 | ||
384 | sensio_framework_extra: | ||
385 | router: | ||
386 | annotations: false | ||
387 | |||
388 | httplug: | ||
389 | clients: | ||
390 | wallabag_core: | ||
391 | factory: 'wallabag_core.http_client_factory' | ||
392 | config: | ||
393 | defaults: | ||
394 | timeout: 10 | ||
395 | plugins: ['httplug.plugin.logger'] | ||
396 | wallabag_core.entry.download_images: | ||
397 | factory: 'httplug.factory.auto' | ||
398 | plugins: ['httplug.plugin.logger'] | ||
399 | wallabag_import.pocket.client: | ||
400 | factory: 'httplug.factory.auto' | ||
401 | plugins: | ||
402 | - 'httplug.plugin.logger' | ||
403 | - header_defaults: | ||
404 | headers: | ||
405 | 'content-type': 'application/json' | ||
406 | 'X-Accept': 'application/json' | ||
407 | discovery: | ||
408 | client: false | ||
409 | |||
410 | # define custom entity so we can override length attribute to fix utf8mb4 issue | ||
411 | craue_config: | ||
412 | entity_name: Wallabag\CoreBundle\Entity\InternalSetting | ||
diff --git a/app/config/config_dev.yml b/app/config/config_dev.yml index 0c490575..fa6e14e7 100644 --- a/app/config/config_dev.yml +++ b/app/config/config_dev.yml | |||
@@ -36,7 +36,7 @@ monolog: | |||
36 | channels: [doctrine] | 36 | channels: [doctrine] |
37 | 37 | ||
38 | swiftmailer: | 38 | swiftmailer: |
39 | # see http://mailcatcher.me/ | 39 | # see https://mailcatcher.me/ |
40 | transport: smtp | 40 | transport: smtp |
41 | host: 'localhost' | 41 | host: 'localhost' |
42 | port: 1025 | 42 | port: 1025 |
diff --git a/app/config/config_prod.yml b/app/config/config_prod.yml index 44e29aac..59d2e9e2 100644 --- a/app/config/config_prod.yml +++ b/app/config/config_prod.yml | |||
@@ -23,3 +23,6 @@ monolog: | |||
23 | level: debug | 23 | level: debug |
24 | console: | 24 | console: |
25 | type: console | 25 | type: console |
26 | |||
27 | sentry: | ||
28 | dsn: "%sentry_dsn%" | ||
diff --git a/app/config/config_test.yml b/app/config/config_test.yml index fc067ff4..216f8431 100644 --- a/app/config/config_test.yml +++ b/app/config/config_test.yml | |||
@@ -1,6 +1,7 @@ | |||
1 | imports: | 1 | imports: |
2 | - { resource: config_dev.yml } | 2 | - { resource: config_dev.yml } |
3 | - { resource: parameters_test.yml } | 3 | - { resource: parameters_test.yml } |
4 | - { resource: services_test.yml } | ||
4 | 5 | ||
5 | framework: | 6 | framework: |
6 | test: ~ | 7 | test: ~ |
@@ -23,7 +24,6 @@ swiftmailer: | |||
23 | doctrine: | 24 | doctrine: |
24 | dbal: | 25 | dbal: |
25 | driver: "%test_database_driver%" | 26 | driver: "%test_database_driver%" |
26 | driver_class: "%test_database_driver_class%" | ||
27 | host: "%test_database_host%" | 27 | host: "%test_database_host%" |
28 | port: "%test_database_port%" | 28 | port: "%test_database_port%" |
29 | dbname: "%test_database_name%" | 29 | dbname: "%test_database_name%" |
diff --git a/app/config/parameters.yml.dist b/app/config/parameters.yml.dist index 6b0cb8e8..9948fa46 100644 --- a/app/config/parameters.yml.dist +++ b/app/config/parameters.yml.dist | |||
@@ -11,8 +11,6 @@ parameters: | |||
11 | # database_password: %env.database_password% | 11 | # database_password: %env.database_password% |
12 | 12 | ||
13 | database_driver: pdo_mysql | 13 | database_driver: pdo_mysql |
14 | database_driver_class: ~ | ||
15 | # database_driver_class: Wallabag\CoreBundle\Doctrine\DBAL\Driver\CustomPostgreSQLDriver | ||
16 | database_host: 127.0.0.1 | 14 | database_host: 127.0.0.1 |
17 | database_port: ~ | 15 | database_port: ~ |
18 | database_name: wallabag | 16 | database_name: wallabag |
@@ -27,15 +25,18 @@ parameters: | |||
27 | 25 | ||
28 | domain_name: https://your-wallabag-url-instance.com | 26 | domain_name: https://your-wallabag-url-instance.com |
29 | 27 | ||
30 | mailer_transport: smtp | 28 | mailer_transport: smtp |
31 | mailer_host: 127.0.0.1 | 29 | mailer_user: ~ |
32 | mailer_user: ~ | 30 | mailer_password: ~ |
33 | mailer_password: ~ | 31 | mailer_host: 127.0.0.1 |
32 | mailer_port: false | ||
33 | mailer_encryption: ~ | ||
34 | mailer_auth_mode: ~ | ||
34 | 35 | ||
35 | locale: en | 36 | locale: en |
36 | 37 | ||
37 | # A secret key that's used to generate certain security-related tokens | 38 | # A secret key that's used to generate certain security-related tokens |
38 | secret: ovmpmAWXRCabNlMgzlzFXDYmCFfzGv | 39 | secret: CHANGE_ME_TO_SOMETHING_SECRET_AND_RANDOM |
39 | 40 | ||
40 | # two factor stuff | 41 | # two factor stuff |
41 | twofactor_auth: true | 42 | twofactor_auth: true |
@@ -62,3 +63,6 @@ parameters: | |||
62 | redis_port: 6379 | 63 | redis_port: 6379 |
63 | redis_path: null | 64 | redis_path: null |
64 | redis_password: null | 65 | redis_password: null |
66 | |||
67 | # sentry logging | ||
68 | sentry_dsn: ~ | ||
diff --git a/app/config/parameters_test.yml b/app/config/parameters_test.yml index 64e51976..257d2ace 100644 --- a/app/config/parameters_test.yml +++ b/app/config/parameters_test.yml | |||
@@ -8,4 +8,3 @@ parameters: | |||
8 | test_database_path: "%env(TEST_DATABASE_PATH)%" | 8 | test_database_path: "%env(TEST_DATABASE_PATH)%" |
9 | env(TEST_DATABASE_PATH): "%kernel.project_dir%/data/db/wallabag_test.sqlite" | 9 | env(TEST_DATABASE_PATH): "%kernel.project_dir%/data/db/wallabag_test.sqlite" |
10 | test_database_charset: utf8 | 10 | test_database_charset: utf8 |
11 | test_database_driver_class: ~ | ||
diff --git a/app/config/routing.yml b/app/config/routing.yml index 0bd2d130..d4defca0 100644 --- a/app/config/routing.yml +++ b/app/config/routing.yml | |||
@@ -51,3 +51,47 @@ craue_config_settings_modify: | |||
51 | 51 | ||
52 | fos_js_routing: | 52 | fos_js_routing: |
53 | resource: "@FOSJsRoutingBundle/Resources/config/routing/routing.xml" | 53 | resource: "@FOSJsRoutingBundle/Resources/config/routing/routing.xml" |
54 | |||
55 | 2fa_login: | ||
56 | path: /2fa | ||
57 | defaults: | ||
58 | _controller: "scheb_two_factor.form_controller:form" | ||
59 | |||
60 | 2fa_login_check: | ||
61 | path: /2fa_check | ||
62 | |||
63 | # redirect RSS feed to Atom | ||
64 | rss_to_atom_unread: | ||
65 | path: /{username}/{token}/unread.xml | ||
66 | defaults: | ||
67 | _controller: FrameworkBundle:Redirect:redirect | ||
68 | route: unread_feed | ||
69 | permanent: true | ||
70 | |||
71 | rss_to_atom_archive: | ||
72 | path: /{username}/{token}/archive.xml | ||
73 | defaults: | ||
74 | _controller: FrameworkBundle:Redirect:redirect | ||
75 | route: archive_feed | ||
76 | permanent: true | ||
77 | |||
78 | rss_to_atom_starred: | ||
79 | path: /{username}/{token}/starred.xml | ||
80 | defaults: | ||
81 | _controller: FrameworkBundle:Redirect:redirect | ||
82 | route: starred_feed | ||
83 | permanent: true | ||
84 | |||
85 | rss_to_atom_all: | ||
86 | path: /{username}/{token}/all.xml | ||
87 | defaults: | ||
88 | _controller: FrameworkBundle:Redirect:redirect | ||
89 | route: all_feed | ||
90 | permanent: true | ||
91 | |||
92 | rss_to_atom_tags: | ||
93 | path: /{username}/{token}/tags/{slug}.xml | ||
94 | defaults: | ||
95 | _controller: FrameworkBundle:Redirect:redirect | ||
96 | route: tag_feed | ||
97 | permanent: true | ||
diff --git a/app/config/security.yml b/app/config/security.yml index 02afc9ea..760b2550 100644 --- a/app/config/security.yml +++ b/app/config/security.yml | |||
@@ -31,12 +31,15 @@ security: | |||
31 | fos_oauth: true | 31 | fos_oauth: true |
32 | stateless: true | 32 | stateless: true |
33 | anonymous: true | 33 | anonymous: true |
34 | provider: fos_userbundle | ||
34 | 35 | ||
35 | login_firewall: | 36 | login_firewall: |
37 | logout_on_user_change: true | ||
36 | pattern: ^/login$ | 38 | pattern: ^/login$ |
37 | anonymous: ~ | 39 | anonymous: ~ |
38 | 40 | ||
39 | secured_area: | 41 | secured_area: |
42 | logout_on_user_change: true | ||
40 | pattern: ^/ | 43 | pattern: ^/ |
41 | form_login: | 44 | form_login: |
42 | provider: fos_userbundle | 45 | provider: fos_userbundle |
@@ -53,17 +56,27 @@ security: | |||
53 | path: /logout | 56 | path: /logout |
54 | target: / | 57 | target: / |
55 | 58 | ||
59 | two_factor: | ||
60 | provider: fos_userbundle | ||
61 | auth_form_path: 2fa_login | ||
62 | check_path: 2fa_login_check | ||
63 | |||
56 | access_control: | 64 | access_control: |
57 | - { path: ^/api/doc, roles: IS_AUTHENTICATED_ANONYMOUSLY } | 65 | - { path: ^/api/(doc|version|info|user), roles: IS_AUTHENTICATED_ANONYMOUSLY } |
58 | - { path: ^/api/version, roles: IS_AUTHENTICATED_ANONYMOUSLY } | ||
59 | - { path: ^/api/user, roles: IS_AUTHENTICATED_ANONYMOUSLY } | ||
60 | - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY } | 66 | - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY } |
67 | # force role for logout otherwise when 2fa enable, you won't be able to logout | ||
68 | # https://github.com/scheb/two-factor-bundle/issues/168#issuecomment-430822478 | ||
69 | - { path: ^/logout, roles: [IS_AUTHENTICATED_ANONYMOUSLY, IS_AUTHENTICATED_2FA_IN_PROGRESS] } | ||
61 | - { path: ^/register, role: IS_AUTHENTICATED_ANONYMOUSLY } | 70 | - { path: ^/register, role: IS_AUTHENTICATED_ANONYMOUSLY } |
62 | - { path: ^/resetting, role: IS_AUTHENTICATED_ANONYMOUSLY } | 71 | - { path: ^/resetting, role: IS_AUTHENTICATED_ANONYMOUSLY } |
63 | - { path: /(unread|starred|archive|all).xml$, roles: IS_AUTHENTICATED_ANONYMOUSLY } | 72 | - { path: /(unread|starred|archive|all).xml$, roles: IS_AUTHENTICATED_ANONYMOUSLY } |
73 | - { path: ^/locale, role: IS_AUTHENTICATED_ANONYMOUSLY } | ||
64 | - { path: /tags/(.*).xml$, roles: IS_AUTHENTICATED_ANONYMOUSLY } | 74 | - { path: /tags/(.*).xml$, roles: IS_AUTHENTICATED_ANONYMOUSLY } |
75 | - { path: ^/feed, roles: IS_AUTHENTICATED_ANONYMOUSLY } | ||
76 | - { path: /(unread|starred|archive).xml$, roles: IS_AUTHENTICATED_ANONYMOUSLY } # For backwards compatibility | ||
65 | - { path: ^/share, roles: IS_AUTHENTICATED_ANONYMOUSLY } | 77 | - { path: ^/share, roles: IS_AUTHENTICATED_ANONYMOUSLY } |
66 | - { path: ^/settings, roles: ROLE_SUPER_ADMIN } | 78 | - { path: ^/settings, roles: ROLE_SUPER_ADMIN } |
67 | - { path: ^/annotations, roles: ROLE_USER } | 79 | - { path: ^/annotations, roles: ROLE_USER } |
80 | - { path: ^/2fa, role: IS_AUTHENTICATED_2FA_IN_PROGRESS } | ||
68 | - { path: ^/users, roles: ROLE_SUPER_ADMIN } | 81 | - { path: ^/users, roles: ROLE_SUPER_ADMIN } |
69 | - { path: ^/, roles: ROLE_USER } | 82 | - { path: ^/, roles: ROLE_USER } |
diff --git a/app/config/services.yml b/app/config/services.yml index 7b85d846..25bbe5dc 100644 --- a/app/config/services.yml +++ b/app/config/services.yml | |||
@@ -2,12 +2,6 @@ parameters: | |||
2 | lexik_form_filter.get_filter.doctrine_orm.class: Wallabag\CoreBundle\Event\Subscriber\CustomDoctrineORMSubscriber | 2 | lexik_form_filter.get_filter.doctrine_orm.class: Wallabag\CoreBundle\Event\Subscriber\CustomDoctrineORMSubscriber |
3 | 3 | ||
4 | services: | 4 | services: |
5 | # used for tests | ||
6 | filesystem_cache: | ||
7 | class: Doctrine\Common\Cache\FilesystemCache | ||
8 | arguments: | ||
9 | - "%kernel.cache_dir%/doctrine/metadata" | ||
10 | |||
11 | twig.extension.text: | 5 | twig.extension.text: |
12 | class: Twig_Extensions_Extension_Text | 6 | class: Twig_Extensions_Extension_Text |
13 | tags: | 7 | tags: |
diff --git a/app/config/services_test.yml b/app/config/services_test.yml new file mode 100644 index 00000000..1b3aff63 --- /dev/null +++ b/app/config/services_test.yml | |||
@@ -0,0 +1,38 @@ | |||
1 | services: | ||
2 | # see https://github.com/symfony/symfony/issues/24543 | ||
3 | fos_user.user_manager.test: | ||
4 | alias: fos_user.user_manager | ||
5 | public: true | ||
6 | |||
7 | fos_user.security.login_manager.test: | ||
8 | alias: fos_user.security.login_manager | ||
9 | public: true | ||
10 | |||
11 | wallabag_core.entry_repository.test: | ||
12 | alias: wallabag_core.entry_repository | ||
13 | public: true | ||
14 | |||
15 | wallabag_user.user_repository.test: | ||
16 | alias: wallabag_user.user_repository | ||
17 | public: true | ||
18 | |||
19 | filesystem_cache: | ||
20 | class: Doctrine\Common\Cache\FilesystemCache | ||
21 | arguments: | ||
22 | - "%kernel.cache_dir%/doctrine/metadata" | ||
23 | |||
24 | # fixtures | ||
25 | Wallabag\UserBundle\DataFixtures\: | ||
26 | resource: '../../src/Wallabag/UserBundle/DataFixtures/*' | ||
27 | tags: ['doctrine.fixture.orm'] | ||
28 | autowire: true | ||
29 | |||
30 | Wallabag\CoreBundle\DataFixtures\: | ||
31 | resource: '../../src/Wallabag/CoreBundle/DataFixtures/*' | ||
32 | tags: ['doctrine.fixture.orm'] | ||
33 | autowire: true | ||
34 | |||
35 | Wallabag\AnnotationBundle\DataFixtures\: | ||
36 | resource: '../../src/Wallabag/AnnotationBundle/DataFixtures/*' | ||
37 | tags: ['doctrine.fixture.orm'] | ||
38 | autowire: true | ||
diff --git a/app/config/tests/parameters_test.mysql.yml b/app/config/tests/parameters_test.mysql.yml index 0b7b82eb..36b227fb 100644 --- a/app/config/tests/parameters_test.mysql.yml +++ b/app/config/tests/parameters_test.mysql.yml | |||
@@ -1,6 +1,5 @@ | |||
1 | parameters: | 1 | parameters: |
2 | test_database_driver: pdo_mysql | 2 | test_database_driver: pdo_mysql |
3 | test_database_driver_class: ~ | ||
4 | test_database_host: localhost | 3 | test_database_host: localhost |
5 | test_database_port: 3306 | 4 | test_database_port: 3306 |
6 | test_database_name: wallabag_test | 5 | test_database_name: wallabag_test |
diff --git a/app/config/tests/parameters_test.pgsql.yml b/app/config/tests/parameters_test.pgsql.yml index ea249324..60f51df6 100644 --- a/app/config/tests/parameters_test.pgsql.yml +++ b/app/config/tests/parameters_test.pgsql.yml | |||
@@ -1,6 +1,5 @@ | |||
1 | parameters: | 1 | parameters: |
2 | test_database_driver: pdo_pgsql | 2 | test_database_driver: pdo_pgsql |
3 | test_database_driver_class: Wallabag\CoreBundle\Doctrine\DBAL\Driver\CustomPostgreSQLDriver | ||
4 | test_database_host: localhost | 3 | test_database_host: localhost |
5 | test_database_port: | 4 | test_database_port: |
6 | test_database_name: wallabag_test | 5 | test_database_name: wallabag_test |
diff --git a/app/config/tests/parameters_test.sqlite.yml b/app/config/tests/parameters_test.sqlite.yml index 64cd984b..2b92d579 100644 --- a/app/config/tests/parameters_test.sqlite.yml +++ b/app/config/tests/parameters_test.sqlite.yml | |||
@@ -1,6 +1,5 @@ | |||
1 | parameters: | 1 | parameters: |
2 | test_database_driver: pdo_sqlite | 2 | test_database_driver: pdo_sqlite |
3 | test_database_driver_class: ~ | ||
4 | test_database_host: localhost | 3 | test_database_host: localhost |
5 | test_database_port: | 4 | test_database_port: |
6 | test_database_name: ~ | 5 | test_database_name: ~ |
diff --git a/app/config/wallabag.yml b/app/config/wallabag.yml index d9a3d5dc..c54d7eb7 100644 --- a/app/config/wallabag.yml +++ b/app/config/wallabag.yml | |||
@@ -1,5 +1,5 @@ | |||
1 | wallabag_core: | 1 | wallabag_core: |
2 | version: 2.3.6-dev | 2 | version: 2.4.0-dev |
3 | paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb" | 3 | paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb" |
4 | languages: | 4 | languages: |
5 | en: 'English' | 5 | en: 'English' |
@@ -20,13 +20,13 @@ wallabag_core: | |||
20 | theme: material | 20 | theme: material |
21 | language: '%locale%' | 21 | language: '%locale%' |
22 | rss_limit: 50 | 22 | rss_limit: 50 |
23 | reading_speed: 1 | 23 | reading_speed: 200 |
24 | cache_lifetime: 10 | 24 | cache_lifetime: 10 |
25 | action_mark_as_read: 1 | 25 | action_mark_as_read: 1 |
26 | list_mode: 0 | 26 | list_mode: 0 |
27 | fetching_error_message_title: 'No title found' | 27 | fetching_error_message_title: 'No title found' |
28 | fetching_error_message: | | 28 | fetching_error_message: | |
29 | wallabag can't retrieve contents for this article. Please <a href="http://doc.wallabag.org/en/user/errors_during_fetching.html#how-can-i-help-to-fix-that">troubleshoot this issue</a>. | 29 | wallabag can't retrieve contents for this article. Please <a href="https://doc.wallabag.org/en/user/errors_during_fetching.html#how-can-i-help-to-fix-that">troubleshoot this issue</a>. |
30 | api_limit_mass_actions: 10 | 30 | api_limit_mass_actions: 10 |
31 | encryption_key_path: "%kernel.project_dir%/data/site-credentials-secret-key.txt" | 31 | encryption_key_path: "%kernel.project_dir%/data/site-credentials-secret-key.txt" |
32 | default_internal_settings: | 32 | default_internal_settings: |
@@ -44,7 +44,7 @@ wallabag_core: | |||
44 | section: entry | 44 | section: entry |
45 | - | 45 | - |
46 | name: diaspora_url | 46 | name: diaspora_url |
47 | value: http://diasporapod.com | 47 | value: https://diasporapod.com |
48 | section: entry | 48 | section: entry |
49 | - | 49 | - |
50 | name: share_unmark | 50 | name: share_unmark |
@@ -64,11 +64,11 @@ wallabag_core: | |||
64 | section: entry | 64 | section: entry |
65 | - | 65 | - |
66 | name: shaarli_url | 66 | name: shaarli_url |
67 | value: http://myshaarli.com | 67 | value: https://myshaarli.com |
68 | section: entry | 68 | section: entry |
69 | - | 69 | - |
70 | name: scuttle_url | 70 | name: scuttle_url |
71 | value: http://scuttle.org | 71 | value: https://scuttle.org |
72 | section: entry | 72 | section: entry |
73 | - | 73 | - |
74 | name: share_mail | 74 | name: share_mail |