]> git.p6c8.net - jirafeau_project.git/commitdiff
Show a warning in admin interface if Sodium is not available
authorPatrick Canterino <patrick@patrick-canterino.de>
Fri, 29 Mar 2024 12:12:31 +0000 (13:12 +0100)
committerPatrick Canterino <patrick@patrick-canterino.de>
Fri, 29 Mar 2024 12:12:31 +0000 (13:12 +0100)
50 files changed:
admin.php
lib/locales/ar.json
lib/locales/be.json
lib/locales/bn_IN.json
lib/locales/bo.json
lib/locales/ca.json
lib/locales/ckb.json
lib/locales/cs.json
lib/locales/da.json
lib/locales/de.json
lib/locales/el.json
lib/locales/en.json
lib/locales/es.json
lib/locales/et.json
lib/locales/fi.json
lib/locales/fr.json
lib/locales/he.json
lib/locales/hi.json
lib/locales/hr.json
lib/locales/hu.json
lib/locales/id.json
lib/locales/it.json
lib/locales/ja.json
lib/locales/ko.json
lib/locales/la.json
lib/locales/mfe.json
lib/locales/ms.json
lib/locales/nb_NO.json
lib/locales/nl.json
lib/locales/pl.json
lib/locales/ps.json
lib/locales/pt.json
lib/locales/pt_BR.json
lib/locales/ro.json
lib/locales/ru.json
lib/locales/sh.json
lib/locales/si.json
lib/locales/sk.json
lib/locales/sl.json
lib/locales/sq.json
lib/locales/sr.json
lib/locales/sv.json
lib/locales/ta.json
lib/locales/template.json
lib/locales/th.json
lib/locales/tr.json
lib/locales/uk.json
lib/locales/vi.json
lib/locales/zh.json
lib/locales/zh_TW.json

index ed9baad25a6ad7c44078143d573c386a0b87da2b..0f8967f90736d5193841e4ba664a99dbad699b43 100644 (file)
--- a/admin.php
+++ b/admin.php
@@ -120,6 +120,10 @@ if (php_sapi_name() == "cli") {
         require(JIRAFEAU_ROOT . 'lib/template/header.php'); ?><h2><?php echo t('ADMIN_INTERFACE'); ?></h2><?php
         ?><h2>(version <?php echo JIRAFEAU_VERSION ?>)</h2><?php
 
+        if ($cfg['enable_crypt'] && !(extension_loaded('sodium'))) {
+            echo '<div class="error"><p>'.t('SODIUM_UNAVAILABLE').'</p></div>';
+        }
+
         ?><div id = "admin">
           <fieldset><legend><?php echo t('ACTIONS'); ?></legend>
           <table>
index 771da14ac96593d8b3b5e97242e27b6ad1b95309..a048c2b79d7a73bee3588239970580c598dd8066 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index 4c7218ae626cfe3526565e44aa1c2bcf4116ea7b..7f38ca97e9794a69fc68ba2acd97c0eb3c81a52d 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index da6831affd3b5423742fb3989b2ba53945ba221d..796ceaa96fee4bf9e306dc36902e7bd9cd32a5a1 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index 58a68454f3163160e227c3e0bbb12a980091aa2b..0a949679695979b42317d523f33246aa0af21e8d 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index fdcaa45d083ae29e9a2718a045ea0d557ece392b..9fa849998811ca5f62acc0694382b89f606dfe0f 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "Una quincena",
index 6bca483e0677e1cc6abc79fff29f2b64496a3e03..6277346fc5ae642fc71d3d72ec2230fccd3be7be 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index 2803a33a1bdea7882d39707e87b2c8d9f2d0ddb4..8aee6260e31a42476f468f40cceddd6c6b973613 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index 9fa71451471371772117283bd9e8ad4c600361e1..a08c46f369fe7c518af1ec9a74e345f35020dbf6 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index 3b6d96f65bbc5ac0d27cbb7c108cc13648b6d025..5df69d7f85638607e16b6b39477856761531dfc7 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "Verschlüsselung ist in der Konfiguration aktiviert, aber das PHP-Modul \"Sodium\" ist nicht verfügbar! Verschlüsselung ist nicht verfügbar!",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "Zwei Wochen",
index 1e8248a0ee503acadbfe06d0c5a725129a3517ef..a0da96f5b773bf88ebe1ab8e543e4ebbbff1f0ea 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index 44a192b0b6622b680c7b3d554b1734b265640d6a..092980aa9b79e8f7c47a2816921e83b7c8194659 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "Encryption is enabled in configuration, but the Sodium PHP module is not loaded! Encryption is not available!",
     "INSTALL_FILE_NOT_FOUND_TITLE": "Installation file not found",
     "INSTALL_FILE_NOT_FOUND_DESC": "Installation is not complete and install.php file does not seem to exist",
     "REPORTING_AN_ISSUE": "Reporting an issue",
index 6ea061949c75c1447426ba4135848ce9ea4a5f00..50530410f4a766a10a63e76cf1fa6b7e30103b8c 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "Una quincena",
index 6bca483e0677e1cc6abc79fff29f2b64496a3e03..6277346fc5ae642fc71d3d72ec2230fccd3be7be 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index 5bd161313aa9c61e329b2d2e2b0b4fe12f4381f1..db7eecf0e3d064d166abb7bbf071f1e144d20aba 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index 5c5d76611e59bb2339fdf6b735cebb1ae6f34cce..a9162abd1bb580091477d7db431e674e9c858f7b 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "Fichier d'installation non-trouvé",
     "INSTALL_FILE_NOT_FOUND_DESC": "L'installation est incomplète et le ficher install.php est introuvable",
     "2_W": "Deux semaines",
index 21a4464fdc277535b0246a0df454ceba9a9f44ea..3e40020b7119f2d7c8fcd2cc60a630a67e1090f6 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index 1c8538f99a57a0af2eda9d99db46ee0381f2b04c..5c19acc64f93edeeacfe53177537ff6a19d4208f 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index 3a9ccb1c8f8cfcad8089a49aaf775c3b55aaece0..788ce9e12a1d8269a6acf3bfbe272ab39b13ddaf 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index 129c3e5b90622ef43a6cb578cce96b2029de74ee..4d3b8e0e29e3c39d72b5ad0b8d2dff47eb3f65e3 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index 95511635d9ad4f4a411db605b60c5c7455bd6c30..74fc27631d1e2523e80fb7d76497f4f25438d100 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index 94a3abb01cfbf4125b2bea663f9636200587974c..c4e53b5258824d759de6728f42fc0c6101c1b041 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "Due settimane",
index 4d32118a7920fdbdef65131a779a3a77f6a888d9..ee6a2e818439c6b20c1132d866e06613974fca78 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index 1c8538f99a57a0af2eda9d99db46ee0381f2b04c..5c19acc64f93edeeacfe53177537ff6a19d4208f 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index 846f564179d224b96742a15c2df980b9f279369c..45aeaaa5358c925ea4c6eb3b13ad0f81655bf38d 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index 6bca483e0677e1cc6abc79fff29f2b64496a3e03..6277346fc5ae642fc71d3d72ec2230fccd3be7be 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index 066ecd8a91ab3099107475c525ba1e6a33e0aa60..c01c93d6c00ca863d9236f436c0d152c432b06f1 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index cacbca10a3419a1ac53396cabc868efb46f12a49..ce80c40d803a152dd23655bf6416d5d9492e5f90 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "To uker",
index 36243f9cee602334ede8a7bb6ddba007c9945e1f..1855d0bc5426798884263667522d819537af4ce5 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "Twee weken",
index eea531bb1d2eca33d333c873d70ba416981757a4..07a814a94747932944756b75a24ef8f9ef279fc1 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index 6bca483e0677e1cc6abc79fff29f2b64496a3e03..6277346fc5ae642fc71d3d72ec2230fccd3be7be 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index 782b63e866c645d7dfadd5a48752d8149cc7d8d1..9ec79a96c46feca94021e07e4e7b7ed960a3528c 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "Uma quinzena",
index 08d4104b8b6119508fa48da65f6345a23db24275..c902a9c4f32e735c1847e1cdb827eb151b1df158 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "Uma quinzena",
index f3d9841490fedb54b8854cb447f6eba0f9542e4c..dbe2046b563782ccf1a1d94858dca77d1d625df4 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index aba71f519859241a5e87ff9529e748561501e248..6452559d0b285db3dbf064728745050a90fb5078 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index 6bca483e0677e1cc6abc79fff29f2b64496a3e03..6277346fc5ae642fc71d3d72ec2230fccd3be7be 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index 786a8bfb9a7162933277f5930b4c4598cd023b38..54401df01ae1d6f5e72c2e941d4ecd0dc6365afb 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "REPORTING_AN_ISSUE": "",
     "SIZE_DATA": "",
     "INCOMPATIBLE_OPTIONS_W": "",
index bbf21ead2f7acb26d3d6d3c12d418ad1b79f1b8a..e40d2b95789c193cc35925778f87ded09e646696 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index aca3a2d5771bd6d270cca99295be3ea6f7cb2c90..7f06388f31c5cff4d6a3dc1a3ad92d92c303338a 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index 6bca483e0677e1cc6abc79fff29f2b64496a3e03..6277346fc5ae642fc71d3d72ec2230fccd3be7be 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index 2149291318d89cd2202c172a90ebb1aabef96584..53f23a27067579846d08a506cd1505ad2add0614 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index 134763f5bdea23718c975496fbc09ee59f4565d1..01452063d0d999da0693c3e7b53639c5ecfbfc61 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "Två veckor",
index 16ee6fcbb287050c9609fa2b7794890690352aef..d6e0c1dc7321a66c995fc921dae8f94a8736d3b0 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index 5a55190c5824fd8e9fb69dda617f3d886ca875e7..cfaefffe85b89c7b3751f84f800a59d0084a79c8 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index 6bca483e0677e1cc6abc79fff29f2b64496a3e03..6277346fc5ae642fc71d3d72ec2230fccd3be7be 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index 6cfe69e33f357c54d439fe34230fde5c7f218a54..239a4329a7aa2ba0ca043b2c2b2ece481d0deeee 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "İki hafta",
index a93343416bb56ef6fc77222d6c67d0d7d4332598..6b9e17e573579a5a519b20efd1b7889842d4bc97 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index cf36cc7ab99a1e974b8978e1a5ea6a9dff98a0e4..bcfad0a769376f95d89873afd2238907a9627fa2 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index c3e89b42c91b66fc646255d07a733be6edc57a4f..cf65cc5a2691bf164e903ff18107334e269c4dde 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",
index b243155d24e19542b7788b17a58c7f07be6305e3..a571dcb09f3501ef89ccd9505bbe3ee0d35066da 100644 (file)
@@ -1,4 +1,5 @@
 {
+    "SODIUM_UNAVAILABLE": "",
     "INSTALL_FILE_NOT_FOUND_TITLE": "",
     "INSTALL_FILE_NOT_FOUND_DESC": "",
     "2_W": "",

patrick-canterino.de