aboutsummaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authorJeremy Benoist <j0k3r@users.noreply.github.com>2016-09-19 07:15:40 +0200
committerGitHub <noreply@github.com>2016-09-19 07:15:40 +0200
commitda18a4682f124b02278860d23ac1d59dee995277 (patch)
treeeabbe9da7203eea41e0cb0ec3c26b9b6599cf58f /app
parent0ed8ce55b5caf2c88e8330afa83abef6c4aac9a4 (diff)
parent59b97fae996d8307b9d957d210d46200f6d206bf (diff)
downloadwallabag-da18a4682f124b02278860d23ac1d59dee995277.tar.gz
wallabag-da18a4682f124b02278860d23ac1d59dee995277.tar.zst
wallabag-da18a4682f124b02278860d23ac1d59dee995277.zip
Merge pull request #1941 from wallabag/v2-asynchronous-jobs
Use asynchronous jobs for imports
Diffstat (limited to 'app')
-rw-r--r--app/AppKernel.php1
-rw-r--r--app/DoctrineMigrations/Version20160911214952.php42
-rw-r--r--app/DoctrineMigrations/Version20160916201049.php46
-rw-r--r--app/Resources/CraueConfigBundle/translations/CraueConfigBundle.da.yml3
-rw-r--r--app/Resources/CraueConfigBundle/translations/CraueConfigBundle.de.yml3
-rw-r--r--app/Resources/CraueConfigBundle/translations/CraueConfigBundle.en.yml3
-rw-r--r--app/Resources/CraueConfigBundle/translations/CraueConfigBundle.es.yml3
-rw-r--r--app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fa.yml3
-rw-r--r--app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fr.yml3
-rw-r--r--app/Resources/CraueConfigBundle/translations/CraueConfigBundle.it.yml3
-rw-r--r--app/Resources/CraueConfigBundle/translations/CraueConfigBundle.oc.yml3
-rw-r--r--app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pl.yml3
-rw-r--r--app/Resources/CraueConfigBundle/translations/CraueConfigBundle.ro.yml3
-rw-r--r--app/Resources/CraueConfigBundle/translations/CraueConfigBundle.tr.yml31
-rw-r--r--app/config/config.yml64
-rw-r--r--app/config/parameters.yml.dist12
-rw-r--r--app/config/parameters_test.yml2
17 files changed, 217 insertions, 11 deletions
diff --git a/app/AppKernel.php b/app/AppKernel.php
index 96e45da8..52f85558 100644
--- a/app/AppKernel.php
+++ b/app/AppKernel.php
@@ -38,6 +38,7 @@ class AppKernel extends Kernel
38 new Wallabag\UserBundle\WallabagUserBundle(), 38 new Wallabag\UserBundle\WallabagUserBundle(),
39 new Wallabag\ImportBundle\WallabagImportBundle(), 39 new Wallabag\ImportBundle\WallabagImportBundle(),
40 new Wallabag\AnnotationBundle\WallabagAnnotationBundle(), 40 new Wallabag\AnnotationBundle\WallabagAnnotationBundle(),
41 new OldSound\RabbitMqBundle\OldSoundRabbitMqBundle(),
41 ]; 42 ];
42 43
43 if (in_array($this->getEnvironment(), ['dev', 'test'], true)) { 44 if (in_array($this->getEnvironment(), ['dev', 'test'], true)) {
diff --git a/app/DoctrineMigrations/Version20160911214952.php b/app/DoctrineMigrations/Version20160911214952.php
new file mode 100644
index 00000000..35809cec
--- /dev/null
+++ b/app/DoctrineMigrations/Version20160911214952.php
@@ -0,0 +1,42 @@
1<?php
2
3namespace Application\Migrations;
4
5use Doctrine\DBAL\Migrations\AbstractMigration;
6use Doctrine\DBAL\Schema\Schema;
7use Symfony\Component\DependencyInjection\ContainerAwareInterface;
8use Symfony\Component\DependencyInjection\ContainerInterface;
9
10class Version20160911214952 extends AbstractMigration implements ContainerAwareInterface
11{
12 /**
13 * @var ContainerInterface
14 */
15 private $container;
16
17 public function setContainer(ContainerInterface $container = null)
18 {
19 $this->container = $container;
20 }
21
22 private function getTable($tableName)
23 {
24 return $this->container->getParameter('database_table_prefix') . $tableName;
25 }
26
27 /**
28 * @param Schema $schema
29 */
30 public function up(Schema $schema)
31 {
32 $this->addSql('INSERT INTO `'.$this->getTable('craue_config_setting').'` (`name`, `value`, `section`) VALUES (\'import_with_redis\', \'0\', \'import\')');
33 $this->addSql('INSERT INTO `'.$this->getTable('craue_config_setting').'` (`name`, `value`, `section`) VALUES (\'import_with_rabbitmq\', \'0\', \'import\')');
34 }
35
36 /**
37 * @param Schema $schema
38 */
39 public function down(Schema $schema)
40 {
41 }
42}
diff --git a/app/DoctrineMigrations/Version20160916201049.php b/app/DoctrineMigrations/Version20160916201049.php
new file mode 100644
index 00000000..202901e6
--- /dev/null
+++ b/app/DoctrineMigrations/Version20160916201049.php
@@ -0,0 +1,46 @@
1<?php
2
3namespace Application\Migrations;
4
5use Doctrine\DBAL\Migrations\AbstractMigration;
6use Doctrine\DBAL\Schema\Schema;
7use Symfony\Component\DependencyInjection\ContainerAwareInterface;
8use Symfony\Component\DependencyInjection\ContainerInterface;
9
10class Version20160916201049 extends AbstractMigration implements ContainerAwareInterface
11{
12 /**
13 * @var ContainerInterface
14 */
15 private $container;
16
17 public function setContainer(ContainerInterface $container = null)
18 {
19 $this->container = $container;
20 }
21
22 private function getTable($tableName)
23 {
24 return $this->container->getParameter('database_table_prefix') . $tableName;
25 }
26
27 /**
28 * @param Schema $schema
29 */
30 public function up(Schema $schema)
31 {
32 $this->addSql('ALTER TABLE '.$this->getTable('config').' ADD pocket_consumer_key VARCHAR(255) DEFAULT NULL');
33 $this->addSql("DELETE FROM `".$this->getTable('craue_config_setting')."` WHERE `name` = 'pocket_consumer_key';");
34 }
35
36 /**
37 * @param Schema $schema
38 */
39 public function down(Schema $schema)
40 {
41 $this->abortIf($this->connection->getDatabasePlatform()->getName() == 'sqlite', 'Migration can only be executed safely on \'mysql\' or \'postgresql\'.');
42
43 $this->addSql('ALTER TABLE `'.$this->getTable('config').'` DROP pocket_consumer_key');
44 $this->addSql("INSERT INTO `".$this->getTable('craue_config_setting')."` (`name`, `value`, `section`) VALUES ('pocket_consumer_key', NULL, 'import')");
45 }
46}
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.da.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.da.yml
index 3478d638..85079330 100644
--- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.da.yml
+++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.da.yml
@@ -8,7 +8,8 @@ export_csv: Aktiver eksport til CSV
8export_json: Aktiver eksport til JSON 8export_json: Aktiver eksport til JSON
9export_txt: Aktiver eksport til TXT 9export_txt: Aktiver eksport til TXT
10export_xml: Aktiver eksport til XML 10export_xml: Aktiver eksport til XML
11pocket_consumer_key: Brugers nøgle til Pocket for at importere materialer (https://getpocket.com/developer/docs/authentication) 11# import_with_rabbitmq: Enable RabbitMQ to import data asynchronously
12# import_with_redis: Enable Redis to import data asynchronously
12shaarli_url: Shaarli-URL, hvis tjenesten er aktiv 13shaarli_url: Shaarli-URL, hvis tjenesten er aktiv
13share_diaspora: Aktiver deling til Diaspora 14share_diaspora: Aktiver deling til Diaspora
14share_mail: Aktiver deling med email 15share_mail: Aktiver deling med email
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.de.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.de.yml
index f655a27f..eaba14cd 100644
--- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.de.yml
+++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.de.yml
@@ -8,7 +8,8 @@ export_csv: CSV-Export aktivieren
8export_json: JSON-Export aktivieren 8export_json: JSON-Export aktivieren
9export_txt: TXT-Export aktivieren 9export_txt: TXT-Export aktivieren
10export_xml: XML-Export aktivieren 10export_xml: XML-Export aktivieren
11pocket_consumer_key: Consumer-Key für Pocket, um Inhalte zu importieren (https://getpocket.com/developer/docs/authentication) 11# import_with_rabbitmq: Enable RabbitMQ to import data asynchronously
12# import_with_redis: Enable Redis to import data asynchronously
12shaarli_url: Shaarli-URL, sofern der Service aktiviert ist 13shaarli_url: Shaarli-URL, sofern der Service aktiviert ist
13share_diaspora: Teilen zu Diaspora aktiveren 14share_diaspora: Teilen zu Diaspora aktiveren
14share_mail: Teilen via E-Mail aktiveren 15share_mail: Teilen via E-Mail aktiveren
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.en.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.en.yml
index 48d0ec4b..8aaa27e7 100644
--- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.en.yml
+++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.en.yml
@@ -8,7 +8,8 @@ export_csv: Enable CSV export
8export_json: Enable JSON export 8export_json: Enable JSON export
9export_txt: Enable TXT export 9export_txt: Enable TXT export
10export_xml: Enable XML export 10export_xml: Enable XML export
11pocket_consumer_key: Consumer key for Pocket to import contents (https://getpocket.com/developer/docs/authentication) 11import_with_rabbitmq: Enable RabbitMQ to import data asynchronously
12import_with_redis: Enable Redis to import data asynchronously
12shaarli_url: Shaarli URL, if the service is enabled 13shaarli_url: Shaarli URL, if the service is enabled
13share_diaspora: Enable share to Diaspora 14share_diaspora: Enable share to Diaspora
14share_mail: Enable share by email 15share_mail: Enable share by email
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.es.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.es.yml
index 7aac9adf..bf3a79af 100644
--- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.es.yml
+++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.es.yml
@@ -8,7 +8,8 @@ export_csv: Activar exportación a CSV
8export_json: Activar exportación a JSON 8export_json: Activar exportación a JSON
9export_txt: Activar exportación a TXT 9export_txt: Activar exportación a TXT
10export_xml: Activar exportación a XML 10export_xml: Activar exportación a XML
11pocket_consumer_key: Consumer key for Pocket to import contents (https://getpocket.com/developer/docs/authentication) 11# import_with_rabbitmq: Enable RabbitMQ to import data asynchronously
12# import_with_redis: Enable Redis to import data asynchronously
12shaarli_url: Shaarli URL, si el servicio está activado 13shaarli_url: Shaarli URL, si el servicio está activado
13share_diaspora: Activar compartir con Diaspora 14share_diaspora: Activar compartir con Diaspora
14share_mail: Activar compartir con email 15share_mail: Activar compartir con email
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fa.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fa.yml
index 613cf86d..d86c4343 100644
--- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fa.yml
+++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fa.yml
@@ -8,7 +8,8 @@ export_csv: فعال‌سازی برون‌سپاری به CSV
8export_json: فعال‌سازی برون‌سپاری به JSON 8export_json: فعال‌سازی برون‌سپاری به JSON
9export_txt: فعال‌سازی برون‌سپاری به TXT 9export_txt: فعال‌سازی برون‌سپاری به TXT
10export_xml: فعال‌سازی برون‌سپاری به XML 10export_xml: فعال‌سازی برون‌سپاری به XML
11pocket_consumer_key: کلید کاربری Pocket برای درون‌ریزی مطالب (https://getpocket.com/developer/docs/authentication) 11# import_with_rabbitmq: Enable RabbitMQ to import data asynchronously
12# import_with_redis: Enable Redis to import data asynchronously
12shaarli_url: نشانی Shaarli، اگر فعال بود 13shaarli_url: نشانی Shaarli، اگر فعال بود
13share_diaspora: فعال‌سازی هم‌رسانی به Diaspora 14share_diaspora: فعال‌سازی هم‌رسانی به Diaspora
14share_mail: فعال‌سازی هم‌رسانی با ایمیل 15share_mail: فعال‌سازی هم‌رسانی با ایمیل
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fr.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fr.yml
index f21f2439..5e1ecf26 100644
--- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fr.yml
+++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.fr.yml
@@ -8,7 +8,8 @@ export_csv: Activer l'export CSV
8export_json: Activer l'export JSON 8export_json: Activer l'export JSON
9export_txt: Activer l'export TXT 9export_txt: Activer l'export TXT
10export_xml: Activer l'export XML 10export_xml: Activer l'export XML
11pocket_consumer_key: Clé d'authentification Pocket pour importer les données (https://getpocket.com/developer/docs/authentication) 11import_with_rabbitmq: Activer RabbitMQ pour gérer les imports de façon asynchrone
12import_with_redis: Activer Redis pour gérer les imports de façon asynchrone
12shaarli_url: URL de Shaarli, si le service Shaarli est activé 13shaarli_url: URL de Shaarli, si le service Shaarli est activé
13share_diaspora: Activer le partage vers Diaspora 14share_diaspora: Activer le partage vers Diaspora
14share_mail: Activer le partage par email 15share_mail: Activer le partage par email
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.it.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.it.yml
index 1202edd5..9d820e4b 100644
--- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.it.yml
+++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.it.yml
@@ -8,7 +8,8 @@ export_csv: Abilita esportazione CSV
8export_json: Abilita esportazione JSON 8export_json: Abilita esportazione JSON
9export_txt: Abilita esportazione TXT 9export_txt: Abilita esportazione TXT
10export_xml: Abilita esportazione XML 10export_xml: Abilita esportazione XML
11pocket_consumer_key: Consumer key per Pocket per importare i contenuti (https://getpocket.com/developer/docs/authentication) 11# import_with_rabbitmq: Enable RabbitMQ to import data asynchronously
12# import_with_redis: Enable Redis to import data asynchronously
12shaarli_url: Shaarli URL, se il servizio è abilitato 13shaarli_url: Shaarli URL, se il servizio è abilitato
13share_diaspora: Abilita la condivisione con Diaspora 14share_diaspora: Abilita la condivisione con Diaspora
14share_mail: Abilita la condivisione per email 15share_mail: Abilita la condivisione per email
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.oc.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.oc.yml
index dd91ee49..49dc7732 100644
--- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.oc.yml
+++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.oc.yml
@@ -8,7 +8,8 @@ export_csv: Activar l'expòrt CSV
8export_json: Activar l'expòrt JSON 8export_json: Activar l'expòrt JSON
9export_txt: Activar l'expòrt TXT 9export_txt: Activar l'expòrt TXT
10export_xml: Activar l'expòrt XML 10export_xml: Activar l'expòrt XML
11pocket_consumer_key: Clau d'autentificacion Pocket per importar las donadas (https://getpocket.com/developer/docs/authentication) 11# import_with_rabbitmq: Enable RabbitMQ to import data asynchronously
12# import_with_redis: Enable Redis to import data asynchronously
12shaarli_url: URL de Shaarli, se lo servici Shaarli es activat 13shaarli_url: URL de Shaarli, se lo servici Shaarli es activat
13share_diaspora: Activar lo partatge cap a Diaspora 14share_diaspora: Activar lo partatge cap a Diaspora
14share_mail: Activar lo partatge per corrièl 15share_mail: Activar lo partatge per corrièl
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pl.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pl.yml
index 93b36c8f..2365f2b3 100644
--- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pl.yml
+++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.pl.yml
@@ -8,7 +8,8 @@ export_csv: Włącz eksport do CSV
8export_json: Włącz eksport do JSON 8export_json: Włącz eksport do JSON
9export_txt: Włącz eksport do TXT 9export_txt: Włącz eksport do TXT
10export_xml: Włącz eksport do XML 10export_xml: Włącz eksport do XML
11pocket_consumer_key: Klucz klienta Pocket do importu zawartości (https://getpocket.com/developer/docs/authentication) 11# import_with_rabbitmq: Enable RabbitMQ to import data asynchronously
12# import_with_redis: Enable Redis to import data asynchronously
12shaarli_url: Adress URL Shaarli, jeżeli usługa jest włączona 13shaarli_url: Adress URL Shaarli, jeżeli usługa jest włączona
13share_diaspora: Włącz udostępnianie dla Diaspora 14share_diaspora: Włącz udostępnianie dla Diaspora
14share_mail: Włącz udostępnianie przez email 15share_mail: Włącz udostępnianie przez email
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.ro.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.ro.yml
index 326c9f90..20d664f7 100644
--- a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.ro.yml
+++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.ro.yml
@@ -8,7 +8,8 @@ export_csv: Permite exportare CSV
8export_json: Permite exportare JSON 8export_json: Permite exportare JSON
9export_txt: Permite exportare TXT 9export_txt: Permite exportare TXT
10export_xml: Permite exportare XML 10export_xml: Permite exportare XML
11pocket_consumer_key: Cheie consumator pentru importarea contentului din Pocket (https://getpocket.com/developer/docs/authentication) 11# import_with_rabbitmq: Enable RabbitMQ to import data asynchronously
12# import_with_redis: Enable Redis to import data asynchronously
12shaarli_url: Shaarli URL, dacă serviciul este permis 13shaarli_url: Shaarli URL, dacă serviciul este permis
13share_diaspora: Permite share către Diaspora 14share_diaspora: Permite share către Diaspora
14share_mail: Permite share prin email 15share_mail: Permite share prin email
diff --git a/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.tr.yml b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.tr.yml
new file mode 100644
index 00000000..4b4d3edb
--- /dev/null
+++ b/app/Resources/CraueConfigBundle/translations/CraueConfigBundle.tr.yml
@@ -0,0 +1,31 @@
1# download_pictures: Download pictures on your server
2# carrot: Enable share to Carrot
3# diaspora_url: Diaspora URL, if the service is enabled
4# export_epub: Enable ePub export
5# export_mobi: Enable .mobi export
6# export_pdf: Enable PDF export
7# export_csv: Enable CSV export
8# export_json: Enable JSON export
9# export_txt: Enable TXT export
10# export_xml: Enable XML export
11# import_with_rabbitmq: Enable RabbitMQ to import data asynchronously
12# import_with_redis: Enable Redis to import data asynchronously
13# shaarli_url: Shaarli URL, if the service is enabled
14# share_diaspora: Enable share to Diaspora
15# share_mail: Enable share by email
16# share_shaarli: Enable share to Shaarli
17# share_twitter: Enable share to Twitter
18# show_printlink: Display a link to print content
19# wallabag_support_url: Support URL for wallabag
20# wallabag_url: URL of *your* wallabag instance
21# entry: "article"
22# export: "export"
23# import: "import"
24# misc: "misc"
25# modify_settings: "apply"
26# piwik_host: Host of your website in Piwik
27# piwik_site_id: ID of your website in Piwik
28# piwik_enabled: Enable Piwik
29# demo_mode_enabled: "Enable demo mode ? (only used for the wallabag public demo)"
30# demo_mode_username: "Demo user"
31# share_public: Allow public url for entries
diff --git a/app/config/config.yml b/app/config/config.yml
index 31bd8a8c..4b869c4f 100644
--- a/app/config/config.yml
+++ b/app/config/config.yml
@@ -215,3 +215,67 @@ lexik_maintenance:
215 response: 215 response:
216 code: 503 216 code: 503
217 status: "wallabag Service Temporarily Unavailable" 217 status: "wallabag Service Temporarily Unavailable"
218
219old_sound_rabbit_mq:
220 connections:
221 default:
222 host: "%rabbitmq_host%"
223 port: "%rabbitmq_port%"
224 user: "%rabbitmq_user%"
225 password: "%rabbitmq_password%"
226 vhost: /
227 lazy: true
228 producers:
229 import_pocket:
230 connection: default
231 exchange_options:
232 name: 'wallabag.import.pocket'
233 type: topic
234 import_readability:
235 connection: default
236 exchange_options:
237 name: 'wallabag.import.readability'
238 type: topic
239 import_wallabag_v1:
240 connection: default
241 exchange_options:
242 name: 'wallabag.import.wallabag_v1'
243 type: topic
244 import_wallabag_v2:
245 connection: default
246 exchange_options:
247 name: 'wallabag.import.wallabag_v2'
248 type: topic
249 consumers:
250 import_pocket:
251 connection: default
252 exchange_options:
253 name: 'wallabag.import.pocket'
254 type: topic
255 queue_options:
256 name: 'wallabag.import.pocket'
257 callback: wallabag_import.consumer.amqp.pocket
258 import_readability:
259 connection: default
260 exchange_options:
261 name: 'wallabag.import.readability'
262 type: topic
263 queue_options:
264 name: 'wallabag.import.readability'
265 callback: wallabag_import.consumer.amqp.readability
266 import_wallabag_v1:
267 connection: default
268 exchange_options:
269 name: 'wallabag.import.wallabag_v1'
270 type: topic
271 queue_options:
272 name: 'wallabag.import.wallabag_v1'
273 callback: wallabag_import.consumer.amqp.wallabag_v1
274 import_wallabag_v2:
275 connection: default
276 exchange_options:
277 name: 'wallabag.import.wallabag_v2'
278 type: topic
279 queue_options:
280 name: 'wallabag.import.wallabag_v2'
281 callback: wallabag_import.consumer.amqp.wallabag_v2
diff --git a/app/config/parameters.yml.dist b/app/config/parameters.yml.dist
index d092e139..f2e5bec3 100644
--- a/app/config/parameters.yml.dist
+++ b/app/config/parameters.yml.dist
@@ -38,3 +38,15 @@ parameters:
38 fosuser_confirmation: true 38 fosuser_confirmation: true
39 39
40 from_email: no-reply@wallabag.org 40 from_email: no-reply@wallabag.org
41
42 rss_limit: 50
43
44 # RabbitMQ processing
45 rabbitmq_host: localhost
46 rabbitmq_port: 5672
47 rabbitmq_user: guest
48 rabbitmq_password: guest
49
50 # Redis processing
51 redis_host: localhost
52 redis_port: 6379
diff --git a/app/config/parameters_test.yml b/app/config/parameters_test.yml
index 696c95ef..2943b27a 100644
--- a/app/config/parameters_test.yml
+++ b/app/config/parameters_test.yml
@@ -5,4 +5,4 @@ parameters:
5 test_database_name: null 5 test_database_name: null
6 test_database_user: null 6 test_database_user: null
7 test_database_password: null 7 test_database_password: null
8 test_database_path: '%kernel.root_dir%/../data/db/wallabag_testYO.sqlite' 8 test_database_path: '%kernel.root_dir%/../data/db/wallabag_test.sqlite'