Plugin metrics (#7626)

* feat: add enable/disable checkbox for plugin usage

* feat: submit plugin data to packages.nodebb.org

only submit in production mode
submit once every 24 hours
dont submit for plugins that have "private": true in plugin.json
enabled on new installs
disabled on existing installs

* fix: hash not working after first send

fix statusCode

* fix: remove url

* feat: show compatibilty

* feat: add install question for submit plugin usage
This commit is contained in:
Barış Soner Uşaklı
2019-06-07 14:10:44 -04:00
committed by GitHub
parent 3f4f8aface
commit 5fa5e999f8
13 changed files with 128 additions and 5 deletions

View File

@@ -122,5 +122,6 @@
"eventLoopInterval": 500,
"onlineCutoff": 30,
"timeagoCutoff": 30,
"categoryWatchState": "watching"
"categoryWatchState": "watching",
"submitPluginUsage": 1
}