Merge pull request 'Update hubot-kredits, default config' (#2) from chore/kredits_upgrade into master

Reviewed-on: #2
This commit is contained in:
Râu Cao 2022-11-02 18:02:15 +00:00
commit 9265566ef9
4 changed files with 6486 additions and 2437 deletions

View File

@ -1,15 +1,12 @@
[
"@kredits/hubot-kredits",
"hubot-auth",
"hubot-help",
"hubot-read-tweet",
"hubot-redis-brain",
"hubot-rules",
"hubot-shipit",
"hubot-plusplus",
"hubot-tell",
"hubot-seen",
"hubot-incoming-webhook",
"hubot-yubikey-invalidation",
"hubot-kredits",
"hubot-schedule"
]

8900
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -12,6 +12,7 @@
],
"description": "Heuristically programmed ALgorithmic computer",
"dependencies": {
"@kredits/hubot-kredits": "^4.0.1",
"cheerio": "0.22.0",
"coffee-script": "^1.9.2",
"hubot": "^3.3.2",
@ -19,9 +20,6 @@
"hubot-help": "^1.0.1",
"hubot-incoming-webhook": "^1.1.1",
"hubot-irc": "github:67P/hubot-irc#dev",
"hubot-kredits": "github:67P/hubot-kredits#7db7a83a342e1df378250f02381b783752cdd930",
"hubot-plusplus": "github:67P/hubot-plusplus#feature/configurable_points_term",
"hubot-read-tweet": "0.0.2",
"hubot-redis-brain": "1.0.0",
"hubot-rules": "^1.0.0",
"hubot-schedule": "^0.7.0",
@ -30,8 +28,7 @@
"hubot-shipit": "^0.2.0",
"hubot-tell": "^1.2.3",
"hubot-xmpp": "github:67P/hubot-xmpp#dev",
"hubot-yubikey-invalidation": "0.0.3",
"node-fetch": "^2.6.0",
"node-fetch": "^2.6.7",
"request": "^2.88.2"
}
}

11
run.sh
View File

@ -1,8 +1,8 @@
# npm link hubot-kredits
# npm link @kredits/hubot-kredits
PORT=8888 \
HUBOT_LOG_LEVEL="debug" \
HUBOT_IRC_SERVER="irc.freenode.net" \
HUBOT_IRC_SERVER="irc.libera.chat" \
HUBOT_IRC_ROOMS="#kosmos-dev,#kosmos-random" \
HUBOT_IRC_NICK="hal7000" \
HUBOT_IRC_UNFLOOD="300" \
@ -10,18 +10,15 @@ HUBOT_RSS_PRINTSUMMARY="false" \
HUBOT_RSS_PRINTERROR="false" \
HUBOT_RSS_IRCCOLORS="true" \
HUBOT_RSS_HEADER="Update:" \
HUBOT_AUTH_ADMIN="bkero,derbumi,galfert,gregkare,slvrbckt,raucao" \
HUBOT_PLUSPLUS_POINTS_TERM='karma,karma' \
HUBOT_AUTH_ADMIN="slvrbckt,raucao" \
LOG_HTTP_PORT=7000 \
LOG_STEALTH="true" \
WEBHOOK_TOKEN="kosmosplusplus" \
HUBOT_YUBIKEY_API_ID="change-me" \
KREDITS_WEBHOOK_TOKEN="123" \
KREDITS_ROOM="#kosmos-random" \
KREDITS_WALLET_PATH="wallet.json" \
KREDITS_WALLET_PASSWORD="foo" \
KREDITS_PROVIDER_URL="http://localhost:7545" \
KREDITS_DAO_ADDRESS="" \
KREDITS_PROVIDER_URL="https://rsk-testnet.kosmos.org" \
KREDITS_GITHUB_KEY="" \
KREDITS_GITHUB_SECRET="" \
KREDITS_GITHUB_REPO_BLACKLIST="" \