diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-06-13 15:55:53 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-06-13 15:55:53 +0200 |
commit | 46c99b575ab45c79e195bc9e9ed75759e814aad1 (patch) | |
tree | f3cf02c9b2b8fd4f73bf22c7c2f9ae4d147d55cb /modules | |
parent | 8f1d6cb579ec203ce86f8af30bea729dbb0a9f7f (diff) | |
download | Nix-46c99b575ab45c79e195bc9e9ed75759e814aad1.tar.gz Nix-46c99b575ab45c79e195bc9e9ed75759e814aad1.tar.zst Nix-46c99b575ab45c79e195bc9e9ed75759e814aad1.zip |
Upgrade Wallabag
Diffstat (limited to 'modules')
-rw-r--r-- | modules/private/websites/immae/history/_data/categories.yml | 3 | ||||
-rw-r--r-- | modules/private/websites/immae/history/_posts/2020-06-06-new-moteur-de-commentaires.md (renamed from modules/private/websites/immae/history/_posts/2020-06-06-Moteur-de-commentaires.md) | 0 | ||||
-rw-r--r-- | modules/private/websites/immae/history/_posts/2020-06-07-new-historique.md (renamed from modules/private/websites/immae/history/_posts/2020-06-07-historique.md) | 0 | ||||
-rw-r--r-- | modules/private/websites/immae/history/_posts/2020-06-13-maj-wallabag.md | 10 | ||||
-rw-r--r-- | modules/private/websites/immae/production.nix | 2 | ||||
-rw-r--r-- | modules/private/websites/tools/tools/default.nix | 8 |
6 files changed, 20 insertions, 3 deletions
diff --git a/modules/private/websites/immae/history/_data/categories.yml b/modules/private/websites/immae/history/_data/categories.yml index 56ea22f..5c8637f 100644 --- a/modules/private/websites/immae/history/_data/categories.yml +++ b/modules/private/websites/immae/history/_data/categories.yml | |||
@@ -2,6 +2,9 @@ | |||
2 | - name: Nouveautés | 2 | - name: Nouveautés |
3 | color: green | 3 | color: green |
4 | 4 | ||
5 | - name: Mises à jour | ||
6 | color: green | ||
7 | |||
5 | - name: Pannes | 8 | - name: Pannes |
6 | color: red | 9 | color: red |
7 | 10 | ||
diff --git a/modules/private/websites/immae/history/_posts/2020-06-06-Moteur-de-commentaires.md b/modules/private/websites/immae/history/_posts/2020-06-06-new-moteur-de-commentaires.md index 7371d1a..7371d1a 100644 --- a/modules/private/websites/immae/history/_posts/2020-06-06-Moteur-de-commentaires.md +++ b/modules/private/websites/immae/history/_posts/2020-06-06-new-moteur-de-commentaires.md | |||
diff --git a/modules/private/websites/immae/history/_posts/2020-06-07-historique.md b/modules/private/websites/immae/history/_posts/2020-06-07-new-historique.md index ff3eb6a..ff3eb6a 100644 --- a/modules/private/websites/immae/history/_posts/2020-06-07-historique.md +++ b/modules/private/websites/immae/history/_posts/2020-06-07-new-historique.md | |||
diff --git a/modules/private/websites/immae/history/_posts/2020-06-13-maj-wallabag.md b/modules/private/websites/immae/history/_posts/2020-06-13-maj-wallabag.md new file mode 100644 index 0000000..da95010 --- /dev/null +++ b/modules/private/websites/immae/history/_posts/2020-06-13-maj-wallabag.md | |||
@@ -0,0 +1,10 @@ | |||
1 | --- | ||
2 | title: "Mise à jour de Wallabag à 2.3.8" | ||
3 | category: Mises à jour | ||
4 | tags: [Wallabag] | ||
5 | date: 2020-06-13 | ||
6 | --- | ||
7 | Wallabag n’était plus en mesure d’ajouter de nouveaux articles depuis | ||
8 | une mise à jour (de php probablement : cf [cette issue sur | ||
9 | github](https://github.com/wallabag/wallabag/issues/3926)). La dernière | ||
10 | version de Wallabag corrige ce problème. | ||
diff --git a/modules/private/websites/immae/production.nix b/modules/private/websites/immae/production.nix index ae4abe0..046246d 100644 --- a/modules/private/websites/immae/production.nix +++ b/modules/private/websites/immae/production.nix | |||
@@ -22,10 +22,10 @@ in { | |||
22 | extraConfig = [ | 22 | extraConfig = [ |
23 | '' | 23 | '' |
24 | Use Stats www.immae.eu | 24 | Use Stats www.immae.eu |
25 | Header always set Strict-Transport-Security "max-age=31536000" | ||
25 | 26 | ||
26 | <LocationMatch /.well-known/(webfinger|host-meta)> | 27 | <LocationMatch /.well-known/(webfinger|host-meta)> |
27 | Header always set Referrer-Policy "strict-origin-when-cross-origin" | 28 | Header always set Referrer-Policy "strict-origin-when-cross-origin" |
28 | Header always set Strict-Transport-Security "max-age=31536000" | ||
29 | RequestHeader set X-Forwarded-Proto "https" | 29 | RequestHeader set X-Forwarded-Proto "https" |
30 | 30 | ||
31 | RewriteRule ^(.*)$ https://mastodon.immae.eu%{REQUEST_URI} [QSA,L] | 31 | RewriteRule ^(.*)$ https://mastodon.immae.eu%{REQUEST_URI} [QSA,L] |
diff --git a/modules/private/websites/tools/tools/default.nix b/modules/private/websites/tools/tools/default.nix index bffcf84..cdfc7eb 100644 --- a/modules/private/websites/tools/tools/default.nix +++ b/modules/private/websites/tools/tools/default.nix | |||
@@ -15,7 +15,11 @@ let | |||
15 | env = config.myEnv.tools.kanboard; | 15 | env = config.myEnv.tools.kanboard; |
16 | }; | 16 | }; |
17 | wallabag = pkgs.callPackage ./wallabag.nix { | 17 | wallabag = pkgs.callPackage ./wallabag.nix { |
18 | wallabag = pkgs.webapps.wallabag.override { composerEnv = pkgs.composerEnv.override { php = pkgs.php72; }; }; | 18 | wallabag = pkgs.webapps.wallabag.override { |
19 | composerEnv = pkgs.composerEnv.override { | ||
20 | php = pkgs.php73.withExtensions(e: pkgs.php73.enabledExtensions ++ [e.tidy]); | ||
21 | }; | ||
22 | }; | ||
19 | env = config.myEnv.tools.wallabag; | 23 | env = config.myEnv.tools.wallabag; |
20 | }; | 24 | }; |
21 | yourls = pkgs.callPackage ./yourls.nix { | 25 | yourls = pkgs.callPackage ./yourls.nix { |
@@ -330,7 +334,7 @@ in { | |||
330 | user = "wwwrun"; | 334 | user = "wwwrun"; |
331 | group = "wwwrun"; | 335 | group = "wwwrun"; |
332 | settings = wallabag.phpFpm.pool; | 336 | settings = wallabag.phpFpm.pool; |
333 | phpPackage = pkgs.php72; | 337 | phpPackage = pkgs.php73.withExtensions(e: pkgs.php73.enabledExtensions ++ [e.tidy]); |
334 | }; | 338 | }; |
335 | yourls = { | 339 | yourls = { |
336 | user = "wwwrun"; | 340 | user = "wwwrun"; |