diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-10-16 10:51:53 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@smile.fr> | 2015-11-09 16:32:48 +0100 |
commit | add597bad95b30dbecab3aecc8362a1ccd427976 (patch) | |
tree | 1e4976f41fb043bea41c4db4544b42458eee3500 /app | |
parent | 03690d138792dde6405e3d2eb3c53f6572eb3c43 (diff) | |
download | wallabag-add597bad95b30dbecab3aecc8362a1ccd427976.tar.gz wallabag-add597bad95b30dbecab3aecc8362a1ccd427976.tar.zst wallabag-add597bad95b30dbecab3aecc8362a1ccd427976.zip |
Rework on export
- all export now return a `HttpFoundation\Response`
- return a 404 on unsupported format
- add tests
Diffstat (limited to 'app')
-rw-r--r-- | app/config/parameters.yml.dist | 1 | ||||
-rw-r--r-- | app/config/tests/parameters.yml.dist.mysql | 1 | ||||
-rw-r--r-- | app/config/tests/parameters.yml.dist.pgsql | 1 | ||||
-rw-r--r-- | app/config/tests/parameters.yml.dist.sqlite | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/app/config/parameters.yml.dist b/app/config/parameters.yml.dist index 52f9bccb..b475d637 100644 --- a/app/config/parameters.yml.dist +++ b/app/config/parameters.yml.dist | |||
@@ -51,6 +51,7 @@ parameters: | |||
51 | export_epub: true | 51 | export_epub: true |
52 | export_mobi: true | 52 | export_mobi: true |
53 | export_pdf: true | 53 | export_pdf: true |
54 | wallabag_url: http://v2.wallabag.org | ||
54 | 55 | ||
55 | # default user config | 56 | # default user config |
56 | items_on_page: 12 | 57 | items_on_page: 12 |
diff --git a/app/config/tests/parameters.yml.dist.mysql b/app/config/tests/parameters.yml.dist.mysql index 03fdf5a6..5b29690c 100644 --- a/app/config/tests/parameters.yml.dist.mysql +++ b/app/config/tests/parameters.yml.dist.mysql | |||
@@ -51,6 +51,7 @@ parameters: | |||
51 | export_epub: true | 51 | export_epub: true |
52 | export_mobi: true | 52 | export_mobi: true |
53 | export_pdf: true | 53 | export_pdf: true |
54 | wallabag_url: http://v2.wallabag.org | ||
54 | 55 | ||
55 | # default user config | 56 | # default user config |
56 | items_on_page: 12 | 57 | items_on_page: 12 |
diff --git a/app/config/tests/parameters.yml.dist.pgsql b/app/config/tests/parameters.yml.dist.pgsql index 675ba6c9..efdac961 100644 --- a/app/config/tests/parameters.yml.dist.pgsql +++ b/app/config/tests/parameters.yml.dist.pgsql | |||
@@ -51,6 +51,7 @@ parameters: | |||
51 | export_epub: true | 51 | export_epub: true |
52 | export_mobi: true | 52 | export_mobi: true |
53 | export_pdf: true | 53 | export_pdf: true |
54 | wallabag_url: http://v2.wallabag.org | ||
54 | 55 | ||
55 | # default user config | 56 | # default user config |
56 | items_on_page: 12 | 57 | items_on_page: 12 |
diff --git a/app/config/tests/parameters.yml.dist.sqlite b/app/config/tests/parameters.yml.dist.sqlite index 258627af..276d1147 100644 --- a/app/config/tests/parameters.yml.dist.sqlite +++ b/app/config/tests/parameters.yml.dist.sqlite | |||
@@ -51,6 +51,7 @@ parameters: | |||
51 | export_epub: true | 51 | export_epub: true |
52 | export_mobi: true | 52 | export_mobi: true |
53 | export_pdf: true | 53 | export_pdf: true |
54 | wallabag_url: http://v2.wallabag.org | ||
54 | 55 | ||
55 | # default user config | 56 | # default user config |
56 | items_on_page: 12 | 57 | items_on_page: 12 |