diff options
-rw-r--r-- | app/AppKernel.php | 1 | ||||
-rw-r--r-- | app/config/config.yml | 10 | ||||
-rw-r--r-- | composer.json | 1 | ||||
-rw-r--r-- | docs/de/developer/maintenance.rst | 32 | ||||
-rw-r--r-- | docs/de/index.rst | 1 | ||||
-rw-r--r-- | docs/en/developer/maintenance.rst | 32 | ||||
-rw-r--r-- | docs/en/index.rst | 1 | ||||
-rw-r--r-- | docs/fr/developer/maintenance.rst | 33 | ||||
-rw-r--r-- | docs/fr/index.rst | 1 |
9 files changed, 0 insertions, 112 deletions
diff --git a/app/AppKernel.php b/app/AppKernel.php index 52f85558..342bd139 100644 --- a/app/AppKernel.php +++ b/app/AppKernel.php | |||
@@ -29,7 +29,6 @@ class AppKernel extends Kernel | |||
29 | new KPhoen\RulerZBundle\KPhoenRulerZBundle(), | 29 | new KPhoen\RulerZBundle\KPhoenRulerZBundle(), |
30 | new Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle(), | 30 | new Doctrine\Bundle\MigrationsBundle\DoctrineMigrationsBundle(), |
31 | new Craue\ConfigBundle\CraueConfigBundle(), | 31 | new Craue\ConfigBundle\CraueConfigBundle(), |
32 | new Lexik\Bundle\MaintenanceBundle\LexikMaintenanceBundle(), | ||
33 | new WhiteOctober\PagerfantaBundle\WhiteOctoberPagerfantaBundle(), | 32 | new WhiteOctober\PagerfantaBundle\WhiteOctoberPagerfantaBundle(), |
34 | 33 | ||
35 | // wallabag bundles | 34 | // wallabag bundles |
diff --git a/app/config/config.yml b/app/config/config.yml index ff0f5a0b..168634cf 100644 --- a/app/config/config.yml +++ b/app/config/config.yml | |||
@@ -236,16 +236,6 @@ kphoen_rulerz: | |||
236 | executors: | 236 | executors: |
237 | doctrine: true | 237 | doctrine: true |
238 | 238 | ||
239 | lexik_maintenance: | ||
240 | authorized: | ||
241 | ips: ['127.0.0.1'] | ||
242 | driver: | ||
243 | ttl: 3600 | ||
244 | class: 'Lexik\Bundle\MaintenanceBundle\Drivers\DatabaseDriver' | ||
245 | response: | ||
246 | code: 503 | ||
247 | status: "wallabag Service Temporarily Unavailable" | ||
248 | |||
249 | old_sound_rabbit_mq: | 239 | old_sound_rabbit_mq: |
250 | connections: | 240 | connections: |
251 | default: | 241 | default: |
diff --git a/composer.json b/composer.json index e7b30fa1..f4ba695b 100644 --- a/composer.json +++ b/composer.json | |||
@@ -77,7 +77,6 @@ | |||
77 | "paragonie/random_compat": "~1.0", | 77 | "paragonie/random_compat": "~1.0", |
78 | "craue/config-bundle": "~1.4", | 78 | "craue/config-bundle": "~1.4", |
79 | "mnapoli/piwik-twig-extension": "^1.0", | 79 | "mnapoli/piwik-twig-extension": "^1.0", |
80 | "lexik/maintenance-bundle": "~2.1", | ||
81 | "ocramius/proxy-manager": "1.*", | 80 | "ocramius/proxy-manager": "1.*", |
82 | "white-october/pagerfanta-bundle": "^1.0", | 81 | "white-october/pagerfanta-bundle": "^1.0", |
83 | "php-amqplib/rabbitmq-bundle": "^1.8", | 82 | "php-amqplib/rabbitmq-bundle": "^1.8", |
diff --git a/docs/de/developer/maintenance.rst b/docs/de/developer/maintenance.rst deleted file mode 100644 index 31343876..00000000 --- a/docs/de/developer/maintenance.rst +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | Wartungsmodus | ||
2 | ============= | ||
3 | |||
4 | Wenn du längere Aufgaben auf deiner wallabag Instanz ausführen willst, kannst du den Wartungsmodus aktivieren. | ||
5 | Keiner wird dann Zugang zu deiner Instanz haben. | ||
6 | |||
7 | Aktivieren des Wartungsmodus | ||
8 | ---------------------------- | ||
9 | |||
10 | Um den Wartungsmodus zu aktivieren, führe folgendes Kommando aus: | ||
11 | |||
12 | :: | ||
13 | |||
14 | bin/console lexik:maintenance:lock -e=prod --no-interaction | ||
15 | |||
16 | Du kannst deine IP Adresse in ``app/config/config.yml`` setzen, wenn du Zugriff zu wallabag haben willst, auch wenn der Wartungsmodus aktiv ist. Zum Beispiel: | ||
17 | |||
18 | :: | ||
19 | |||
20 | lexik_maintenance: | ||
21 | authorized: | ||
22 | ips: ['127.0.0.1'] | ||
23 | |||
24 | |||
25 | Deaktivieren des Wartungsmodus | ||
26 | ------------------------ | ||
27 | |||
28 | Um den Wartungsmodus zu deaktivieren, führe dieses Kommando aus: | ||
29 | |||
30 | :: | ||
31 | |||
32 | bin/console lexik:maintenance:unlock -e=prod | ||
diff --git a/docs/de/index.rst b/docs/de/index.rst index b422bf83..8f5b1361 100644 --- a/docs/de/index.rst +++ b/docs/de/index.rst | |||
@@ -57,6 +57,5 @@ Die Dokumentation ist in anderen Sprachen verfügbar : | |||
57 | developer/docker | 57 | developer/docker |
58 | developer/documentation | 58 | developer/documentation |
59 | developer/translate | 59 | developer/translate |
60 | developer/maintenance | ||
61 | developer/redis | 60 | developer/redis |
62 | developer/rabbitmq | 61 | developer/rabbitmq |
diff --git a/docs/en/developer/maintenance.rst b/docs/en/developer/maintenance.rst deleted file mode 100644 index 6d55ed60..00000000 --- a/docs/en/developer/maintenance.rst +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | Maintenance mode | ||
2 | ================ | ||
3 | |||
4 | If you have some long tasks to do on your wallabag instance, you can enable a maintenance mode. | ||
5 | Nobody will have access to your instance. | ||
6 | |||
7 | Enable maintenance mode | ||
8 | ----------------------- | ||
9 | |||
10 | To enable maintenance mode, execute this command: | ||
11 | |||
12 | :: | ||
13 | |||
14 | bin/console lexik:maintenance:lock --no-interaction -e=prod | ||
15 | |||
16 | You can set your IP address in ``app/config/config.yml`` if you want to access to wallabag even if maintenance mode is enabled. For example: | ||
17 | |||
18 | :: | ||
19 | |||
20 | lexik_maintenance: | ||
21 | authorized: | ||
22 | ips: ['127.0.0.1'] | ||
23 | |||
24 | |||
25 | Disable maintenance mode | ||
26 | ------------------------ | ||
27 | |||
28 | To disable maintenance mode, execute this command: | ||
29 | |||
30 | :: | ||
31 | |||
32 | bin/console lexik:maintenance:unlock -e=prod | ||
diff --git a/docs/en/index.rst b/docs/en/index.rst index 0ead261b..6fe33c76 100644 --- a/docs/en/index.rst +++ b/docs/en/index.rst | |||
@@ -58,6 +58,5 @@ The documentation is available in other languages: | |||
58 | developer/docker | 58 | developer/docker |
59 | developer/documentation | 59 | developer/documentation |
60 | developer/translate | 60 | developer/translate |
61 | developer/maintenance | ||
62 | developer/redis | 61 | developer/redis |
63 | developer/rabbitmq | 62 | developer/rabbitmq |
diff --git a/docs/fr/developer/maintenance.rst b/docs/fr/developer/maintenance.rst deleted file mode 100644 index 8007a85f..00000000 --- a/docs/fr/developer/maintenance.rst +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | Mode maintenance | ||
2 | ================ | ||
3 | |||
4 | Si vous devez effectuer de longues tâches sur votre instance de wallabag, vous pouvez activer le mode maintenance. | ||
5 | Plus personne ne pourra accéder à wallabag. | ||
6 | |||
7 | Activer le mode maintenance | ||
8 | --------------------------- | ||
9 | |||
10 | Pour activer le mode maintenance, exécutez cette commande : | ||
11 | |||
12 | :: | ||
13 | |||
14 | bin/console lexik:maintenance:lock --no-interaction -e=prod | ||
15 | |||
16 | Vous pouvez spécifier votre adresse IP dans ``app/config/config.yml`` si vous souhaitez accéder à wallabag même si | ||
17 | le mode maintenance est activé. Par exemple : | ||
18 | |||
19 | :: | ||
20 | |||
21 | lexik_maintenance: | ||
22 | authorized: | ||
23 | ips: ['127.0.0.1'] | ||
24 | |||
25 | |||
26 | Désactiver le mode maintenance | ||
27 | ------------------------------ | ||
28 | |||
29 | Pour désactiver le mode maintenance, exécutez cette commande : | ||
30 | |||
31 | :: | ||
32 | |||
33 | bin/console lexik:maintenance:unlock -e=prod | ||
diff --git a/docs/fr/index.rst b/docs/fr/index.rst index dbb85910..dae62f43 100644 --- a/docs/fr/index.rst +++ b/docs/fr/index.rst | |||
@@ -58,6 +58,5 @@ La documentation est disponible dans d'autres langues : | |||
58 | developer/docker | 58 | developer/docker |
59 | developer/documentation | 59 | developer/documentation |
60 | developer/translate | 60 | developer/translate |
61 | developer/maintenance | ||
62 | developer/redis | 61 | developer/redis |
63 | developer/rabbitmq | 62 | developer/rabbitmq |