summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-08-13 00:32:46 +0300
committerLauri Ojansivu <x@xet7.org>2019-08-13 00:32:46 +0300
commit20294d833a2bf0bd1720444f4ffe018b025dacca (patch)
treee2ddd292e09cd14de344562cd7f63937d599388c
parentad09cdb1d135e8a5831d7526a0aeb93d7c2a749e (diff)
downloadwekan-20294d833a2bf0bd1720444f4ffe018b025dacca.tar.gz
wekan-20294d833a2bf0bd1720444f4ffe018b025dacca.tar.bz2
wekan-20294d833a2bf0bd1720444f4ffe018b025dacca.zip
Add to Admin Panel / Version: Meteor version, MongoDB version, MongoDB storage engine,
MongoDB Oplog enabled. Thanks to RocketChat developers for MongoDB detection code and xet7 for other code.
-rw-r--r--client/components/settings/informationBody.jade12
-rw-r--r--i18n/ar.i18n.json4
-rw-r--r--i18n/bg.i18n.json4
-rw-r--r--i18n/br.i18n.json4
-rw-r--r--i18n/ca.i18n.json4
-rw-r--r--i18n/cs.i18n.json4
-rw-r--r--i18n/da.i18n.json4
-rw-r--r--i18n/de.i18n.json4
-rw-r--r--i18n/el.i18n.json4
-rw-r--r--i18n/en-GB.i18n.json4
-rw-r--r--i18n/en.i18n.json4
-rw-r--r--i18n/eo.i18n.json4
-rw-r--r--i18n/es-AR.i18n.json4
-rw-r--r--i18n/es.i18n.json4
-rw-r--r--i18n/eu.i18n.json4
-rw-r--r--i18n/fa.i18n.json4
-rw-r--r--i18n/fi.i18n.json4
-rw-r--r--i18n/fr.i18n.json4
-rw-r--r--i18n/gl.i18n.json4
-rw-r--r--i18n/he.i18n.json4
-rw-r--r--i18n/hi.i18n.json4
-rw-r--r--i18n/hu.i18n.json4
-rw-r--r--i18n/hy.i18n.json4
-rw-r--r--i18n/id.i18n.json4
-rw-r--r--i18n/ig.i18n.json4
-rw-r--r--i18n/it.i18n.json4
-rw-r--r--i18n/ja.i18n.json6
-rw-r--r--i18n/ka.i18n.json4
-rw-r--r--i18n/km.i18n.json4
-rw-r--r--i18n/ko.i18n.json4
-rw-r--r--i18n/lv.i18n.json4
-rw-r--r--i18n/mk.i18n.json4
-rw-r--r--i18n/mn.i18n.json4
-rw-r--r--i18n/nb.i18n.json4
-rw-r--r--i18n/nl.i18n.json4
-rw-r--r--i18n/oc.i18n.json4
-rw-r--r--i18n/pl.i18n.json4
-rw-r--r--i18n/pt-BR.i18n.json4
-rw-r--r--i18n/pt.i18n.json4
-rw-r--r--i18n/ro.i18n.json4
-rw-r--r--i18n/ru.i18n.json4
-rw-r--r--i18n/sr.i18n.json4
-rw-r--r--i18n/sv.i18n.json4
-rw-r--r--i18n/sw.i18n.json4
-rw-r--r--i18n/ta.i18n.json4
-rw-r--r--i18n/th.i18n.json4
-rw-r--r--i18n/tr.i18n.json4
-rw-r--r--i18n/uk.i18n.json4
-rw-r--r--i18n/vi.i18n.json4
-rw-r--r--i18n/zh-CN.i18n.json4
-rw-r--r--i18n/zh-HK.i18n.json4
-rw-r--r--i18n/zh-TW.i18n.json4
-rw-r--r--server/statistics.js48
53 files changed, 262 insertions, 4 deletions
diff --git a/client/components/settings/informationBody.jade b/client/components/settings/informationBody.jade
index feb7c0dc..2c615ffd 100644
--- a/client/components/settings/informationBody.jade
+++ b/client/components/settings/informationBody.jade
@@ -20,9 +20,21 @@ template(name='statistics')
th Wekan {{_ 'info'}}
td {{statistics.version}}
tr
+ th {{_ 'Meteor_version'}}
+ td {{statistics.meteor.meteorVersion}}
+ tr
th {{_ 'Node_version'}}
td {{statistics.process.nodeVersion}}
tr
+ th {{_ 'MongoDB_version'}}
+ td {{statistics.mongo.mongoVersion}}
+ tr
+ th {{_ 'MongoDB_storage_engine'}}
+ td {{statistics.mongo.mongoStorageEngine}}
+ tr
+ th {{_ 'MongoDB_Oplog_enabled'}}
+ td {{statistics.mongo.mongoOplogEnabled}}
+ tr
th {{_ 'OS_Type'}}
td {{statistics.os.type}}
tr
diff --git a/i18n/ar.i18n.json b/i18n/ar.i18n.json
index 925b08a0..bc4c046f 100644
--- a/i18n/ar.i18n.json
+++ b/i18n/ar.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "ويبهوك جديدة ",
"no-name": "(غير معروف)",
"Node_version": "إصدار النود",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "معمارية نظام التشغيل",
"OS_Cpus": "استهلاك وحدة المعالجة المركزية لنظام التشغيل",
"OS_Freemem": "الذاكرة الحرة لنظام التشغيل",
diff --git a/i18n/bg.i18n.json b/i18n/bg.i18n.json
index 59548bc0..22970e4d 100644
--- a/i18n/bg.i18n.json
+++ b/i18n/bg.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "New Outgoing Webhook",
"no-name": "(Unknown)",
"Node_version": "Версия на Node",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "Архитектура на ОС",
"OS_Cpus": "Брой CPU ядра",
"OS_Freemem": "Свободна памет",
diff --git a/i18n/br.i18n.json b/i18n/br.i18n.json
index 9335eec4..2db45c3f 100644
--- a/i18n/br.i18n.json
+++ b/i18n/br.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "New Outgoing Webhook",
"no-name": "(Unknown)",
"Node_version": "Node version",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OS Arch",
"OS_Cpus": "OS CPU Count",
"OS_Freemem": "OS Free Memory",
diff --git a/i18n/ca.i18n.json b/i18n/ca.i18n.json
index a7817249..379c54d0 100644
--- a/i18n/ca.i18n.json
+++ b/i18n/ca.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "Nou Webook sortint",
"no-name": "Importa tauler des de Wekan",
"Node_version": "Versió Node",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "Arquitectura SO",
"OS_Cpus": "Plataforma SO",
"OS_Freemem": "Memòria lliure",
diff --git a/i18n/cs.i18n.json b/i18n/cs.i18n.json
index 347c02cb..1e96bb7b 100644
--- a/i18n/cs.i18n.json
+++ b/i18n/cs.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "Nové odchozí Webhooky",
"no-name": "(Neznámé)",
"Node_version": "Node verze",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OS Architektura",
"OS_Cpus": "OS Počet CPU",
"OS_Freemem": "OS Volná paměť",
diff --git a/i18n/da.i18n.json b/i18n/da.i18n.json
index 45cecb81..24387a11 100644
--- a/i18n/da.i18n.json
+++ b/i18n/da.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "New Outgoing Webhook",
"no-name": "(Unknown)",
"Node_version": "Node version",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OS Arch",
"OS_Cpus": "OS CPU Count",
"OS_Freemem": "OS Free Memory",
diff --git a/i18n/de.i18n.json b/i18n/de.i18n.json
index 5e4037f2..f0b1f04f 100644
--- a/i18n/de.i18n.json
+++ b/i18n/de.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "Neuer ausgehender Webhook",
"no-name": "(Unbekannt)",
"Node_version": "Node-Version",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "Betriebssystem-Architektur",
"OS_Cpus": "Anzahl Prozessoren",
"OS_Freemem": "Freier Arbeitsspeicher",
diff --git a/i18n/el.i18n.json b/i18n/el.i18n.json
index 5c7a4ccc..c549efc0 100644
--- a/i18n/el.i18n.json
+++ b/i18n/el.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "New Outgoing Webhook",
"no-name": "(Άγνωστο)",
"Node_version": "Node version",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OS Arch",
"OS_Cpus": "OS CPU Count",
"OS_Freemem": "OS Free Memory",
diff --git a/i18n/en-GB.i18n.json b/i18n/en-GB.i18n.json
index c1634a29..2edf460e 100644
--- a/i18n/en-GB.i18n.json
+++ b/i18n/en-GB.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "New Outgoing Webhook",
"no-name": "(Unknown)",
"Node_version": "Node version",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OS Arch",
"OS_Cpus": "OS CPU Count",
"OS_Freemem": "OS Free Memory",
diff --git a/i18n/en.i18n.json b/i18n/en.i18n.json
index 4501fffb..a513004e 100644
--- a/i18n/en.i18n.json
+++ b/i18n/en.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "New Outgoing Webhook",
"no-name": "(Unknown)",
"Node_version": "Node version",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OS Arch",
"OS_Cpus": "OS CPU Count",
"OS_Freemem": "OS Free Memory",
diff --git a/i18n/eo.i18n.json b/i18n/eo.i18n.json
index 03421f38..9a5194a4 100644
--- a/i18n/eo.i18n.json
+++ b/i18n/eo.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "New Outgoing Webhook",
"no-name": "(Unknown)",
"Node_version": "Node version",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OS Arch",
"OS_Cpus": "OS CPU Count",
"OS_Freemem": "OS Free Memory",
diff --git a/i18n/es-AR.i18n.json b/i18n/es-AR.i18n.json
index 6845e05d..38c1c431 100644
--- a/i18n/es-AR.i18n.json
+++ b/i18n/es-AR.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "Nuevo Gancho Web",
"no-name": "(desconocido)",
"Node_version": "Versión de Node",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "Arch del SO",
"OS_Cpus": "Cantidad de CPU del SO",
"OS_Freemem": "Memoria Libre del SO",
diff --git a/i18n/es.i18n.json b/i18n/es.i18n.json
index 49d55355..fb3934fc 100644
--- a/i18n/es.i18n.json
+++ b/i18n/es.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "Nuevo webhook saliente",
"no-name": "(Desconocido)",
"Node_version": "Versión de Node",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "Arquitectura del sistema",
"OS_Cpus": "Número de CPUs del sistema",
"OS_Freemem": "Memoria libre del sistema",
diff --git a/i18n/eu.i18n.json b/i18n/eu.i18n.json
index 8dff2971..4a7b589d 100644
--- a/i18n/eu.i18n.json
+++ b/i18n/eu.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "Irteera-webhook berria",
"no-name": "(Ezezaguna)",
"Node_version": "Nodo bertsioa",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "SE Arkitektura",
"OS_Cpus": "SE PUZ kopurua",
"OS_Freemem": "SE Memoria librea",
diff --git a/i18n/fa.i18n.json b/i18n/fa.i18n.json
index b3967af2..d83e0e5e 100644
--- a/i18n/fa.i18n.json
+++ b/i18n/fa.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "New Outgoing Webhook",
"no-name": "(ناشناخته)",
"Node_version": "نسخه Node",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OS Arch",
"OS_Cpus": "OS CPU Count",
"OS_Freemem": "OS Free Memory",
diff --git a/i18n/fi.i18n.json b/i18n/fi.i18n.json
index 0b5f26f4..dc12d968 100644
--- a/i18n/fi.i18n.json
+++ b/i18n/fi.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "Uusi lähtevä Webkoukku",
"no-name": "(Tuntematon)",
"Node_version": "Node-versio",
+ "Meteor_version": "Meteor-versio",
+ "MongoDB_version": "MongoDB-versio",
+ "MongoDB_storage_engine": "MongoDB tallennusmoottori",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog käytössä",
"OS_Arch": "Käyttöjärjestelmän arkkitehtuuri",
"OS_Cpus": "Käyttöjärjestelmän CPU-määrä",
"OS_Freemem": "Käyttöjärjestelmän vapaa muisti",
diff --git a/i18n/fr.i18n.json b/i18n/fr.i18n.json
index 8f3a10d4..19e655a6 100644
--- a/i18n/fr.i18n.json
+++ b/i18n/fr.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "Nouveau webhook sortant",
"no-name": "(Inconnu)",
"Node_version": "Version de Node",
+ "Meteor_version": "Version de Meteor",
+ "MongoDB_version": "Version de MongoDB",
+ "MongoDB_storage_engine": "Moteur de stockage MongoDB",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog activé",
"OS_Arch": "OS Architecture",
"OS_Cpus": "OS Nombre CPU",
"OS_Freemem": "OS Mémoire libre",
diff --git a/i18n/gl.i18n.json b/i18n/gl.i18n.json
index e6aa9666..69087900 100644
--- a/i18n/gl.i18n.json
+++ b/i18n/gl.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "New Outgoing Webhook",
"no-name": "(Unknown)",
"Node_version": "Node version",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OS Arch",
"OS_Cpus": "OS CPU Count",
"OS_Freemem": "OS Free Memory",
diff --git a/i18n/he.i18n.json b/i18n/he.i18n.json
index 28c422f1..aca91853 100644
--- a/i18n/he.i18n.json
+++ b/i18n/he.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "קרסי רשת יוצאים חדשים",
"no-name": "(לא ידוע)",
"Node_version": "גרסת Node",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "ארכיטקטורת מערכת הפעלה",
"OS_Cpus": "מספר מעבדים",
"OS_Freemem": "זיכרון (RAM) פנוי",
diff --git a/i18n/hi.i18n.json b/i18n/hi.i18n.json
index 0668d2b2..0fb2f89d 100644
--- a/i18n/hi.i18n.json
+++ b/i18n/hi.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "New Outgoing Webhook",
"no-name": "(Unknown)",
"Node_version": "Node version",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OS Arch",
"OS_Cpus": "OS CPU Count",
"OS_Freemem": "OS Free Memory",
diff --git a/i18n/hu.i18n.json b/i18n/hu.i18n.json
index 3fef808d..63b9ab0b 100644
--- a/i18n/hu.i18n.json
+++ b/i18n/hu.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "Új kimenő webhurok",
"no-name": "(Ismeretlen)",
"Node_version": "Node verzió",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "Operációs rendszer architektúrája",
"OS_Cpus": "Operációs rendszer CPU száma",
"OS_Freemem": "Operációs rendszer szabad memóriája",
diff --git a/i18n/hy.i18n.json b/i18n/hy.i18n.json
index b5bda644..8eeeaca6 100644
--- a/i18n/hy.i18n.json
+++ b/i18n/hy.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "New Outgoing Webhook",
"no-name": "(Unknown)",
"Node_version": "Node version",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OS Arch",
"OS_Cpus": "OS CPU Count",
"OS_Freemem": "OS Free Memory",
diff --git a/i18n/id.i18n.json b/i18n/id.i18n.json
index ce41998e..32d4f889 100644
--- a/i18n/id.i18n.json
+++ b/i18n/id.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "New Outgoing Webhook",
"no-name": "(Unknown)",
"Node_version": "Node version",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OS Arch",
"OS_Cpus": "OS CPU Count",
"OS_Freemem": "OS Free Memory",
diff --git a/i18n/ig.i18n.json b/i18n/ig.i18n.json
index 17a499b3..fdc51522 100644
--- a/i18n/ig.i18n.json
+++ b/i18n/ig.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "New Outgoing Webhook",
"no-name": "(Unknown)",
"Node_version": "Node version",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OS Arch",
"OS_Cpus": "OS CPU Count",
"OS_Freemem": "OS Free Memory",
diff --git a/i18n/it.i18n.json b/i18n/it.i18n.json
index cabe312b..db493890 100644
--- a/i18n/it.i18n.json
+++ b/i18n/it.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "Nuovo webhook in uscita",
"no-name": "(Sconosciuto)",
"Node_version": "Versione di Node",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "Architettura del sistema operativo",
"OS_Cpus": "Conteggio della CPU del sistema operativo",
"OS_Freemem": "Memoria libera del sistema operativo",
diff --git a/i18n/ja.i18n.json b/i18n/ja.i18n.json
index 5be4a9fe..4b210268 100644
--- a/i18n/ja.i18n.json
+++ b/i18n/ja.i18n.json
@@ -77,7 +77,7 @@
"add-board": "ボードを追加",
"add-card": "カードを追加",
"add-swimlane": "スイムレーンを追加",
- "add-subtask": "Add Subtask",
+ "add-subtask": "サブタスクを追加",
"add-checklist": "チェックリストを追加",
"add-checklist-item": "チェックリストに項目を追加",
"add-cover": "カバーの追加",
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "発信Webフックの作成",
"no-name": "(Unknown)",
"Node_version": "Nodeバージョン",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OSアーキテクチャ",
"OS_Cpus": "OS CPU数",
"OS_Freemem": "OSフリーメモリ",
diff --git a/i18n/ka.i18n.json b/i18n/ka.i18n.json
index a91a5503..eb22ba97 100644
--- a/i18n/ka.i18n.json
+++ b/i18n/ka.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "New Outgoing Webhook",
"no-name": "(უცნობი)",
"Node_version": "Node ვერსია",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OS Arch",
"OS_Cpus": "OS CPU Count",
"OS_Freemem": "OS თავისუფალი მეხსიერება",
diff --git a/i18n/km.i18n.json b/i18n/km.i18n.json
index fd26eb78..13824180 100644
--- a/i18n/km.i18n.json
+++ b/i18n/km.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "New Outgoing Webhook",
"no-name": "(Unknown)",
"Node_version": "Node version",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OS Arch",
"OS_Cpus": "OS CPU Count",
"OS_Freemem": "OS Free Memory",
diff --git a/i18n/ko.i18n.json b/i18n/ko.i18n.json
index ca21dfd5..ea9f8469 100644
--- a/i18n/ko.i18n.json
+++ b/i18n/ko.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "New Outgoing Webhook",
"no-name": "(Unknown)",
"Node_version": "Node version",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OS Arch",
"OS_Cpus": "OS CPU Count",
"OS_Freemem": "OS Free Memory",
diff --git a/i18n/lv.i18n.json b/i18n/lv.i18n.json
index 8a4d0665..f8660c7b 100644
--- a/i18n/lv.i18n.json
+++ b/i18n/lv.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "New Outgoing Webhook",
"no-name": "(Unknown)",
"Node_version": "Node version",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OS Arch",
"OS_Cpus": "OS CPU Count",
"OS_Freemem": "OS Free Memory",
diff --git a/i18n/mk.i18n.json b/i18n/mk.i18n.json
index 6bd89ee1..328f8f62 100644
--- a/i18n/mk.i18n.json
+++ b/i18n/mk.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "New Outgoing Webhook",
"no-name": "(Unknown)",
"Node_version": "Версия на Node",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "Архитектура на ОС",
"OS_Cpus": "Брой CPU ядра",
"OS_Freemem": "Свободна памет",
diff --git a/i18n/mn.i18n.json b/i18n/mn.i18n.json
index 9c23f664..5e47fcd4 100644
--- a/i18n/mn.i18n.json
+++ b/i18n/mn.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "New Outgoing Webhook",
"no-name": "(Unknown)",
"Node_version": "Node version",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OS Arch",
"OS_Cpus": "OS CPU Count",
"OS_Freemem": "OS Free Memory",
diff --git a/i18n/nb.i18n.json b/i18n/nb.i18n.json
index ad2b781b..0c7fa211 100644
--- a/i18n/nb.i18n.json
+++ b/i18n/nb.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "New Outgoing Webhook",
"no-name": "(Unknown)",
"Node_version": "Node version",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OS Arch",
"OS_Cpus": "OS CPU Count",
"OS_Freemem": "OS Free Memory",
diff --git a/i18n/nl.i18n.json b/i18n/nl.i18n.json
index 9fe48a8f..7d846021 100644
--- a/i18n/nl.i18n.json
+++ b/i18n/nl.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "Nieuwe webhook",
"no-name": "(Onbekend)",
"Node_version": "Node versie",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OS Arch",
"OS_Cpus": "OS CPU Count",
"OS_Freemem": "OS Vrij Geheugen",
diff --git a/i18n/oc.i18n.json b/i18n/oc.i18n.json
index 8f14c8b4..1aadb396 100644
--- a/i18n/oc.i18n.json
+++ b/i18n/oc.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "New Outgoing Webhook",
"no-name": "(Desconegut)",
"Node_version": "Node version",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OS Arch",
"OS_Cpus": "OS CPU Count",
"OS_Freemem": "OS Free Memory",
diff --git a/i18n/pl.i18n.json b/i18n/pl.i18n.json
index db001a98..957ea469 100644
--- a/i18n/pl.i18n.json
+++ b/i18n/pl.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "Nowy wychodzący webhook",
"no-name": "(nieznany)",
"Node_version": "Wersja Node",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "Architektura systemu",
"OS_Cpus": "Ilość rdzeni systemu",
"OS_Freemem": "Wolna pamięć RAM",
diff --git a/i18n/pt-BR.i18n.json b/i18n/pt-BR.i18n.json
index bb746035..2a8620cb 100644
--- a/i18n/pt-BR.i18n.json
+++ b/i18n/pt-BR.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "Novo Webhook de saída",
"no-name": "(Desconhecido)",
"Node_version": "Versão do Node",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "Arquitetura do SO",
"OS_Cpus": "Quantidade de CPUS do SO",
"OS_Freemem": "Memória Disponível do SO",
diff --git a/i18n/pt.i18n.json b/i18n/pt.i18n.json
index 7f784dc3..f4b27310 100644
--- a/i18n/pt.i18n.json
+++ b/i18n/pt.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "Novo Webhook de saída",
"no-name": "(Desconhecido)",
"Node_version": "Versão do Node",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "Arquitectura do SO",
"OS_Cpus": "Quantidade de CPUs do SO",
"OS_Freemem": "Memória Disponível do SO",
diff --git a/i18n/ro.i18n.json b/i18n/ro.i18n.json
index 5d237199..492c9c78 100644
--- a/i18n/ro.i18n.json
+++ b/i18n/ro.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "New Outgoing Webhook",
"no-name": "(Unknown)",
"Node_version": "Node version",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OS Arch",
"OS_Cpus": "OS CPU Count",
"OS_Freemem": "OS Free Memory",
diff --git a/i18n/ru.i18n.json b/i18n/ru.i18n.json
index 279b9b65..ef33f5fa 100644
--- a/i18n/ru.i18n.json
+++ b/i18n/ru.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "Новый исходящий Веб-хук",
"no-name": "(Неизвестный)",
"Node_version": "Версия NodeJS",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "Архитектура",
"OS_Cpus": "Количество процессоров",
"OS_Freemem": "Свободная память",
diff --git a/i18n/sr.i18n.json b/i18n/sr.i18n.json
index c3263f31..1d8bcb72 100644
--- a/i18n/sr.i18n.json
+++ b/i18n/sr.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "New Outgoing Webhook",
"no-name": "(Unknown)",
"Node_version": "Node version",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OS Arch",
"OS_Cpus": "OS CPU Count",
"OS_Freemem": "OS Free Memory",
diff --git a/i18n/sv.i18n.json b/i18n/sv.i18n.json
index 4797a49e..e3294edd 100644
--- a/i18n/sv.i18n.json
+++ b/i18n/sv.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "Ny utgående webhook",
"no-name": "(Okänd)",
"Node_version": "Nodversion",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OS Arch",
"OS_Cpus": "OS CPU-räkning",
"OS_Freemem": "OS ledigt minne",
diff --git a/i18n/sw.i18n.json b/i18n/sw.i18n.json
index 573b3045..20db5d9d 100644
--- a/i18n/sw.i18n.json
+++ b/i18n/sw.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "New Outgoing Webhook",
"no-name": "(Unknown)",
"Node_version": "Node version",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OS Arch",
"OS_Cpus": "OS CPU Count",
"OS_Freemem": "OS Free Memory",
diff --git a/i18n/ta.i18n.json b/i18n/ta.i18n.json
index a248c669..0f329824 100644
--- a/i18n/ta.i18n.json
+++ b/i18n/ta.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "New Outgoing Webhook",
"no-name": "(Unknown)",
"Node_version": "Node version",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OS Arch",
"OS_Cpus": "OS CPU Count",
"OS_Freemem": "OS Free Memory",
diff --git a/i18n/th.i18n.json b/i18n/th.i18n.json
index a7aa7526..758f6b0f 100644
--- a/i18n/th.i18n.json
+++ b/i18n/th.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "New Outgoing Webhook",
"no-name": "(Unknown)",
"Node_version": "Node version",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OS Arch",
"OS_Cpus": "OS CPU Count",
"OS_Freemem": "OS Free Memory",
diff --git a/i18n/tr.i18n.json b/i18n/tr.i18n.json
index d51eecd1..3fec88f0 100644
--- a/i18n/tr.i18n.json
+++ b/i18n/tr.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "Yeni Dışarı Giden Web Bağlantısı",
"no-name": "(Bilinmeyen)",
"Node_version": "Node sürümü",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "İşletim Sistemi Mimarisi",
"OS_Cpus": "İşletim Sistemi İşlemci Sayısı",
"OS_Freemem": "İşletim Sistemi Kullanılmayan Bellek",
diff --git a/i18n/uk.i18n.json b/i18n/uk.i18n.json
index eaa3f6b5..0b22e639 100644
--- a/i18n/uk.i18n.json
+++ b/i18n/uk.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "New Outgoing Webhook",
"no-name": "(Unknown)",
"Node_version": "Node version",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OS Arch",
"OS_Cpus": "OS CPU Count",
"OS_Freemem": "OS Free Memory",
diff --git a/i18n/vi.i18n.json b/i18n/vi.i18n.json
index b9775dec..ca075a81 100644
--- a/i18n/vi.i18n.json
+++ b/i18n/vi.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "New Outgoing Webhook",
"no-name": "(Unknown)",
"Node_version": "Node version",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OS Arch",
"OS_Cpus": "OS CPU Count",
"OS_Freemem": "OS Free Memory",
diff --git a/i18n/zh-CN.i18n.json b/i18n/zh-CN.i18n.json
index f98eeeb9..8f66ea13 100644
--- a/i18n/zh-CN.i18n.json
+++ b/i18n/zh-CN.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "新建外部Web挂钩",
"no-name": "(未知)",
"Node_version": "Node.js版本",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "系统架构",
"OS_Cpus": "系统 CPU数量",
"OS_Freemem": "系统可用内存",
diff --git a/i18n/zh-HK.i18n.json b/i18n/zh-HK.i18n.json
index 6f967634..e2179ae5 100644
--- a/i18n/zh-HK.i18n.json
+++ b/i18n/zh-HK.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "New Outgoing Webhook",
"no-name": "(Unknown)",
"Node_version": "Node version",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "OS Arch",
"OS_Cpus": "OS CPU Count",
"OS_Freemem": "OS Free Memory",
diff --git a/i18n/zh-TW.i18n.json b/i18n/zh-TW.i18n.json
index d3ba3713..dcf8e52d 100644
--- a/i18n/zh-TW.i18n.json
+++ b/i18n/zh-TW.i18n.json
@@ -512,6 +512,10 @@
"new-outgoing-webhook": "New Outgoing Webhook",
"no-name": "(未知)",
"Node_version": "Node 版本",
+ "Meteor_version": "Meteor version",
+ "MongoDB_version": "MongoDB version",
+ "MongoDB_storage_engine": "MongoDB storage engine",
+ "MongoDB_Oplog_enabled": "MongoDB Oplog enabled",
"OS_Arch": "系統架構",
"OS_Cpus": "系統\b CPU 數",
"OS_Freemem": "undefined",
diff --git a/server/statistics.js b/server/statistics.js
index 1fbaecc9..288a5089 100644
--- a/server/statistics.js
+++ b/server/statistics.js
@@ -1,9 +1,13 @@
+import { MongoInternals } from 'meteor/mongo';
+
Meteor.methods({
getStatistics() {
const os = require('os');
const pjson = require('/package.json');
const statistics = {};
- statistics.version = pjson.version;
+ let wekanVersion = pjson.version;
+ wekanVersion = wekanVersion.replace('v', '');
+ statistics.version = wekanVersion;
statistics.os = {
type: os.type(),
platform: os.platform(),
@@ -15,12 +19,50 @@ Meteor.methods({
freemem: os.freemem(),
cpus: os.cpus(),
};
+ let nodeVersion = process.version;
+ nodeVersion = nodeVersion.replace('v', '');
statistics.process = {
- nodeVersion: process.version,
+ nodeVersion: nodeVersion,
pid: process.pid,
uptime: process.uptime(),
};
-
+ // Remove beginning of Meteor release text METEOR@
+ let meteorVersion = Meteor.release;
+ meteorVersion = meteorVersion.replace('METEOR@', '');
+ statistics.meteor = {
+ meteorVersion: meteorVersion,
+ };
+ // Thanks to RocketChat for MongoDB version detection !
+ // https://github.com/RocketChat/Rocket.Chat/blob/develop/app/utils/server/functions/getMongoInfo.js
+ let mongoVersion;
+ let mongoStorageEngine;
+ let mongoOplogEnabled;
+ try {
+ const { mongo } = MongoInternals.defaultRemoteCollectionDriver();
+ oplogEnabled = Boolean(
+ mongo._oplogHandle && mongo._oplogHandle.onOplogEntry,
+ );
+ const { version, storageEngine } = Promise.await(
+ mongo.db.command({ serverStatus: 1 }),
+ );
+ mongoVersion = version;
+ mongoStorageEngine = storageEngine.name;
+ mongoOplogEnabled = oplogEnabled;
+ } catch (e) {
+ try {
+ const { version } = Promise.await(mongo.db.command({ buildinfo: 1 }));
+ mongoVersion = version;
+ mongoStorageEngine = 'unknown';
+ } catch (e) {
+ mongoVersion = 'unknown';
+ mongoStorageEngine = 'unknown';
+ }
+ }
+ statistics.mongo = {
+ mongoVersion: mongoVersion,
+ mongoStorageEngine: mongoStorageEngine,
+ mongoOplogEnabled: mongoOplogEnabled,
+ };
return statistics;
},
});