diff options
Diffstat (limited to 'app/config')
-rw-r--r-- | app/config/config.yml | 16 | ||||
-rw-r--r-- | app/config/routing.yml | 5 | ||||
-rw-r--r-- | app/config/security.yml | 1 | ||||
-rw-r--r-- | app/config/services.yml | 1 |
4 files changed, 22 insertions, 1 deletions
diff --git a/app/config/config.yml b/app/config/config.yml index a4584a1b..fbebfee7 100644 --- a/app/config/config.yml +++ b/app/config/config.yml | |||
@@ -55,7 +55,7 @@ wallabag_user: | |||
55 | registration_enabled: "%fosuser_registration%" | 55 | registration_enabled: "%fosuser_registration%" |
56 | 56 | ||
57 | wallabag_import: | 57 | wallabag_import: |
58 | allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain'] | 58 | allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain', 'text/csv'] |
59 | resource_dir: "%kernel.root_dir%/../web/uploads/import" | 59 | resource_dir: "%kernel.root_dir%/../web/uploads/import" |
60 | 60 | ||
61 | # Twig Configuration | 61 | # Twig Configuration |
@@ -64,6 +64,7 @@ twig: | |||
64 | strict_variables: "%kernel.debug%" | 64 | strict_variables: "%kernel.debug%" |
65 | form_themes: | 65 | form_themes: |
66 | - "LexikFormFilterBundle:Form:form_div_layout.html.twig" | 66 | - "LexikFormFilterBundle:Form:form_div_layout.html.twig" |
67 | exception_controller: wallabag_core.exception_controller:showAction | ||
67 | 68 | ||
68 | # Doctrine Configuration | 69 | # Doctrine Configuration |
69 | doctrine: | 70 | doctrine: |
@@ -236,6 +237,11 @@ old_sound_rabbit_mq: | |||
236 | exchange_options: | 237 | exchange_options: |
237 | name: 'wallabag.import.readability' | 238 | name: 'wallabag.import.readability' |
238 | type: topic | 239 | type: topic |
240 | import_instapaper: | ||
241 | connection: default | ||
242 | exchange_options: | ||
243 | name: 'wallabag.import.instapaper' | ||
244 | type: topic | ||
239 | import_wallabag_v1: | 245 | import_wallabag_v1: |
240 | connection: default | 246 | connection: default |
241 | exchange_options: | 247 | exchange_options: |
@@ -273,6 +279,14 @@ old_sound_rabbit_mq: | |||
273 | queue_options: | 279 | queue_options: |
274 | name: 'wallabag.import.readability' | 280 | name: 'wallabag.import.readability' |
275 | callback: wallabag_import.consumer.amqp.readability | 281 | callback: wallabag_import.consumer.amqp.readability |
282 | import_instapaper: | ||
283 | connection: default | ||
284 | exchange_options: | ||
285 | name: 'wallabag.import.instapaper' | ||
286 | type: topic | ||
287 | queue_options: | ||
288 | name: 'wallabag.import.instapaper' | ||
289 | callback: wallabag_import.consumer.amqp.instapaper | ||
276 | import_wallabag_v1: | 290 | import_wallabag_v1: |
277 | connection: default | 291 | connection: default |
278 | exchange_options: | 292 | exchange_options: |
diff --git a/app/config/routing.yml b/app/config/routing.yml index 40cc7165..2be74d7f 100644 --- a/app/config/routing.yml +++ b/app/config/routing.yml | |||
@@ -7,6 +7,11 @@ wallabag_import: | |||
7 | type: annotation | 7 | type: annotation |
8 | prefix: /import | 8 | prefix: /import |
9 | 9 | ||
10 | wallabag_user: | ||
11 | resource: "@WallabagUserBundle/Controller/" | ||
12 | type: annotation | ||
13 | prefix: /users | ||
14 | |||
10 | wallabag_api: | 15 | wallabag_api: |
11 | resource: "@WallabagApiBundle/Resources/config/routing.yml" | 16 | resource: "@WallabagApiBundle/Resources/config/routing.yml" |
12 | prefix: / | 17 | prefix: / |
diff --git a/app/config/security.yml b/app/config/security.yml index 1f30e58b..efb00a53 100644 --- a/app/config/security.yml +++ b/app/config/security.yml | |||
@@ -63,4 +63,5 @@ security: | |||
63 | - { path: ^/share, roles: IS_AUTHENTICATED_ANONYMOUSLY } | 63 | - { path: ^/share, roles: IS_AUTHENTICATED_ANONYMOUSLY } |
64 | - { path: ^/settings, roles: ROLE_SUPER_ADMIN } | 64 | - { path: ^/settings, roles: ROLE_SUPER_ADMIN } |
65 | - { path: ^/annotations, roles: ROLE_USER } | 65 | - { path: ^/annotations, roles: ROLE_USER } |
66 | - { path: ^/users, roles: ROLE_SUPER_ADMIN } | ||
66 | - { path: ^/, roles: ROLE_USER } | 67 | - { path: ^/, roles: ROLE_USER } |
diff --git a/app/config/services.yml b/app/config/services.yml index 76bbce27..a57ef0f3 100644 --- a/app/config/services.yml +++ b/app/config/services.yml | |||
@@ -21,6 +21,7 @@ services: | |||
21 | - "@wallabag_core.tag_repository" | 21 | - "@wallabag_core.tag_repository" |
22 | - "@security.token_storage" | 22 | - "@security.token_storage" |
23 | - "%wallabag_core.cache_lifetime%" | 23 | - "%wallabag_core.cache_lifetime%" |
24 | - "@translator" | ||
24 | tags: | 25 | tags: |
25 | - { name: twig.extension } | 26 | - { name: twig.extension } |
26 | 27 | ||