56 Commits

Author SHA1 Message Date
basti 6076b5e60f Update README 2021-04-09 10:22:53 +02:00
galfert ed2a3c91a8 Merge pull request #16 from 67P/bugfix/node_12_compatibility
Update our hubot-xmpp fork from upstream
2021-04-01 17:43:28 +02:00
Greg Karékinian 76c1ac0655 Update our hubot-xmpp fork from upstream
It fixes an issue that prevented it from running under Node 12:
https://github.com/xmppjs/hubot-xmpp/issues/127

Co-authored-by: Garret Alfert <alfert@wevelop.de>
2021-04-01 17:34:24 +02:00
Greg Karékinian 03dedbbae1 Bump the hubot-kredits commit hash
Includes https://github.com/67P/hubot-kredits/pull/67
2021-03-30 14:08:54 +02:00
galfert 0feed8abe0 Merge pull request #15 from 67P/feature/contributions_for_reviews
Deploy hubot-kredits from GitHub
2021-03-30 11:52:12 +02:00
Greg Karékinian 1a444465a8 Deploy hubot-kredits from GitHub
Creating contributions from PR reviews has been merged, but not
published to npm yet: https://github.com/67P/hubot-kredits/pull/66
2021-03-30 11:47:19 +02:00
basti 62b63a5866 Merge pull request #14 from 67P/chore/update_dependencies
Update dependencies, remove hubot-rss-reader
2020-10-29 16:16:56 +01:00
basti bed00622b1 Update dependencies, remove hubot-rss-reader
Updates hubot-kredits for the MediaWiki changes, among others.

Unfortunately, I wasn't able to get hubot-rss-reader to npm-install
anymore.
2020-10-29 16:13:41 +01:00
basti ff38fbaf0f Merge pull request #13 from 67P/chore/update-hubot-kredits
Update hubot-kredits package
2020-07-18 16:22:53 +02:00
bumi fa9083c169 Update hubot-kredits package
This hopefully solves the transaction nonce issues and all contributions
can be created again.
2020-07-18 13:11:36 +02:00
basti 31574f25eb Merge pull request #10 from 67P/docs/readme
Update deployment/chef info in README
2020-05-25 16:42:57 +02:00
basti 28df2547a2 Update deployment/chef info in README 2020-05-25 16:41:54 +02:00
basti cd0a9cad44 Merge pull request #9 from 67P/chore/update_deps
Update dependencies
2020-05-25 16:39:09 +02:00
basti 89c73d06c0 npm audit fix 2020-05-25 16:38:47 +02:00
basti 1aed0a38c5 Update dependencies
Especially hubot-kredits, for new Zoom features.
2020-05-25 16:37:25 +02:00
basti 311df067db 2.3.1 2020-04-16 22:18:17 +02:00
basti 603b58a308 Update hubot-kredits 2020-04-16 22:18:06 +02:00
basti e3162ef44f 2.3.0 2020-04-16 17:48:11 +02:00
basti 5bfdd743d5 Update hubot-kredits
Has Zoom integration now
2020-04-16 17:47:25 +02:00
basti 1d50beefeb Merge pull request #7 from 67P/dependabot/npm_and_yarn/kind-of-6.0.3
Bump kind-of from 6.0.2 to 6.0.3
2020-03-31 20:39:33 -05:00
dependabot[bot] a34b315e66 Bump kind-of from 6.0.2 to 6.0.3
Bumps [kind-of](https://github.com/jonschlinkert/kind-of) from 6.0.2 to 6.0.3.
- [Release notes](https://github.com/jonschlinkert/kind-of/releases)
- [Changelog](https://github.com/jonschlinkert/kind-of/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jonschlinkert/kind-of/compare/6.0.2...6.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-04-01 01:37:04 +00:00
basti 9724639b4f Remove release-drafter config 2019-09-01 17:10:16 +02:00
basti 0cae1892eb 2.2.1 2019-09-01 17:09:24 +02:00
basti 1e90b2027f Update hubot-kredits
Fixes a critical bug in the GitHub signup
2019-09-01 17:09:04 +02:00
basti 04bee3d705 Update deps 2019-09-01 15:40:45 +02:00
basti 4f21a398e5 2.2.0 2019-09-01 15:37:35 +02:00
basti 958c13d480 Add release-drafter config 2019-09-01 15:36:32 +02:00
basti 21a0e688c0 Merge pull request #4 from 67P/feature/kredits_github_signup
Update deps for Kredits GitHub signup
2019-09-01 15:35:00 +02:00
basti 1f30a68ac3 Add GitHub signup vars to run script 2019-09-01 15:33:06 +02:00
basti 37e88ab107 Update hubot-kredits, deps 2019-09-01 15:30:18 +02:00
basti cd756e7aa7 Use hubot-xmpp fork
Fixes a bug which prevents it from working with chat.kosmos.org
2019-05-10 00:01:05 +02:00
basti 3113e8a679 Add XMPP adapter 2019-05-09 18:15:14 +02:00
basti 275d39a316 Update hubot-kredits 2019-05-08 16:48:23 +02:00
basti 62e2d3c438 Update hubot-kredits 2019-04-30 10:45:23 +01:00
basti a8cf6644c7 Update hubot-kredits 2019-04-24 14:27:28 +01:00
basti ea56b52c29 Update hubot-kredits 2019-04-17 11:15:14 +01:00
basti 4e609d7abd Update hubot-kredits
Fixes a GitHub integration bug
2019-04-17 09:39:53 +01:00
basti bce3c8f76d Add hubot-schedule 2019-04-17 09:17:43 +01:00
basti 9be9ab5f77 2.1.0 2019-04-16 16:28:55 +01:00
basti a0a1434649 Update universe 2019-04-16 16:28:46 +01:00
basti d46a05acae Update ngrok script
We created a new reserved domain in the EU region.
2019-04-08 10:55:46 +02:00
basti 9cf5e1cba3 Update hubot-kredits 2018-09-09 15:42:45 +08:00
basti 30e226196e Update hubot-kredits 2018-06-14 15:07:13 +02:00
basti e4b0d3a71a Update hubot-kredits 2018-05-07 14:05:45 +02:00
basti edf430a183 Update hubot-kredits 2018-05-06 21:20:05 +02:00
basti 98a0e0046c Update hubot-rss-reader 2018-05-06 17:51:43 +02:00
basti 764d6e6e3e Use our own hubot-irc fork
This contains a fix for the messageRoom function, among other things.
2018-05-05 14:42:22 +02:00
basti 4df623fc16 Update hubot-incoming-webhook 2018-05-05 14:33:01 +02:00
basti 86862de0d2 Update hubot-kredits to latest release 2018-05-03 13:35:54 +02:00
basti bf50b73e61 Update hubot to 3.0 2018-04-22 13:56:42 +02:00
basti b1cb2d8338 Update dev run script 2018-04-22 13:56:19 +02:00
basti 32c3ce7afe Don't run npm install on every hubot start
But link hubot-kredits in development
2018-04-18 20:49:56 +02:00
Greg Karékinian e93671a740 Update hubot-kredits to 1.7.0 2018-04-17 14:24:31 +02:00
basti 945a5900de Use custom hubot-plusplus with points-term config 2018-01-12 17:54:07 +00:00
basti e4d228ee86 Update hubot-rss-reader
The latest version allows to suppress error printing
2018-01-12 17:04:43 +00:00
basti b149088dee Set debug log level in dev run script
And switch to #kosmos-random as default room for kredits messages.
2017-06-21 11:34:30 -07:00
6 changed files with 4722 additions and 33 deletions
+5 -5
View File
@@ -1,4 +1,4 @@
# hal8000 ## hal8000
hal8000 is a chat bot built on the [Hubot](https://hubot.github.com/) hal8000 is a chat bot built on the [Hubot](https://hubot.github.com/)
framework. It's currently running in some channels on Freenode. framework. It's currently running in some channels on Freenode.
@@ -20,11 +20,11 @@ you can open an HTTP tunnel with:
required ENV vars. Change it according to your needs, or use custom ENV vars required ENV vars. Change it according to your needs, or use custom ENV vars
with the commands. with the commands.
## Deployment ### Deployment
hal8000 is deployed by running Chef Solo against `dev.kosmos.org` with the hal8000 is deployed by running Chef Zero against `barnard.kosmos.org` with the
cookbooks from our (private) [GitLab repo](https://gitlab.com/kosmos/chef). cookbooks from our [Gitea repo](https://gitea.kosmos.org/kosmos/chef).
## House Rules ### House Rules
[Contributor Code of Conduct](http://contributor-covenant.org/version/1/2/0/) (TL;DR: Be excellent to each other.) [Contributor Code of Conduct](http://contributor-covenant.org/version/1/2/0/) (TL;DR: Be excellent to each other.)
-1
View File
@@ -2,7 +2,6 @@
set -e set -e
npm install
export PATH="node_modules/.bin:node_modules/hubot/node_modules/.bin:$PATH" export PATH="node_modules/.bin:node_modules/hubot/node_modules/.bin:$PATH"
exec node_modules/.bin/hubot --name "hal9000" "$@" exec node_modules/.bin/hubot --name "hal9000" "$@"
+2 -2
View File
@@ -8,8 +8,8 @@
"hubot-plusplus", "hubot-plusplus",
"hubot-tell", "hubot-tell",
"hubot-seen", "hubot-seen",
"hubot-rss-reader",
"hubot-incoming-webhook", "hubot-incoming-webhook",
"hubot-yubikey-invalidation", "hubot-yubikey-invalidation",
"hubot-kredits" "hubot-kredits",
"hubot-schedule"
] ]
+4688
View File
File diff suppressed because it is too large Load Diff
+16 -19
View File
@@ -1,10 +1,10 @@
{ {
"name": "hal8000", "name": "hal8000",
"version": "2.0.0", "version": "2.3.1",
"private": true, "private": true,
"scripts": { "scripts": {
"start": "./run.sh", "start": "./run.sh",
"ngrok": "ngrok http -region=ap -hostname=hubot-dev.kosmos.org localhost:8888" "ngrok": "ngrok http -region=eu -hostname=hubot-dev.kosmos.org localhost:8888"
}, },
"authors": [ "authors": [
"Sebastian Kippe <sebastian@kip.pe>", "Sebastian Kippe <sebastian@kip.pe>",
@@ -12,29 +12,26 @@
], ],
"description": "Heuristically programmed ALgorithmic computer", "description": "Heuristically programmed ALgorithmic computer",
"dependencies": { "dependencies": {
"cheerio": "0.19.0", "cheerio": "0.22.0",
"coffee-script": "^1.9.2", "coffee-script": "^1.9.2",
"hubot": "^2.12.0", "hubot": "^3.3.2",
"hubot-auth": "^1.2.0", "hubot-auth": "^1.2.0",
"hubot-help": "^0.1.1", "hubot-help": "^1.0.1",
"hubot-incoming-webhook": "^1.0.1", "hubot-incoming-webhook": "^1.1.1",
"hubot-irc": "^0.2.9", "hubot-irc": "github:67P/hubot-irc#dev",
"hubot-kredits": "^1.6.0", "hubot-kredits": "github:67P/hubot-kredits#7db7a83a342e1df378250f02381b783752cdd930",
"hubot-plusplus": "^1.1.5", "hubot-plusplus": "github:67P/hubot-plusplus#feature/configurable_points_term",
"hubot-read-tweet": "0.0.2", "hubot-read-tweet": "0.0.2",
"hubot-redis-brain": "0.0.2", "hubot-redis-brain": "1.0.0",
"hubot-rss-reader": "git://github.com/67P/hubot-rss-reader.git", "hubot-rules": "^1.0.0",
"hubot-rules": "^0.1.0", "hubot-schedule": "^0.7.0",
"hubot-scripts": "^2.5.16", "hubot-scripts": "^2.5.16",
"hubot-seen": "https://github.com/67P/hubot-seen.git#fix_debug", "hubot-seen": "github:67P/hubot-seen#fix_debug",
"hubot-shipit": "^0.2.0", "hubot-shipit": "^0.2.0",
"hubot-tell": "^1.2.3", "hubot-tell": "^1.2.3",
"hubot-xmpp": "github:67P/hubot-xmpp#dev",
"hubot-yubikey-invalidation": "0.0.3", "hubot-yubikey-invalidation": "0.0.3",
"node-fetch": "^1.6.3", "node-fetch": "^2.6.0",
"request": "2.30.0" "request": "^2.88.2"
},
"engines": {
"node": "6.x.x",
"npm": "2.1.x"
} }
} }
+11 -6
View File
@@ -1,24 +1,29 @@
# cp ~/src/remotestorage/modules/src/chat-messages.js ~/src/kosmos/hubot-remotestorage-logger/lib/chat-messages.es6 # npm link hubot-kredits
# rm -rf node_modules/hubot-openassets
# npm install
PORT=8888 \ PORT=8888 \
HUBOT_LOG_LEVEL="debug" \
HUBOT_IRC_SERVER="irc.freenode.net" \ HUBOT_IRC_SERVER="irc.freenode.net" \
HUBOT_IRC_ROOMS="#kosmos-dev,#kosmos-random" \ HUBOT_IRC_ROOMS="#kosmos-dev,#kosmos-random" \
HUBOT_IRC_NICK="hal7000" \ HUBOT_IRC_NICK="hal7000" \
HUBOT_IRC_UNFLOOD="300" \ HUBOT_IRC_UNFLOOD="300" \
HUBOT_RSS_PRINTSUMMARY="false" \ HUBOT_RSS_PRINTSUMMARY="false" \
HUBOT_RSS_PRINTERROR="false" \
HUBOT_RSS_IRCCOLORS="true" \ HUBOT_RSS_IRCCOLORS="true" \
HUBOT_RSS_HEADER="Update:" \ HUBOT_RSS_HEADER="Update:" \
HUBOT_AUTH_ADMIN="bkero,derbumi,galfert,gregkare,slvrbckt,raucao" \ HUBOT_AUTH_ADMIN="bkero,derbumi,galfert,gregkare,slvrbckt,raucao" \
HUBOT_PLUSPLUS_POINTS_TERM='karma,karma' \
LOG_HTTP_PORT=7000 \ LOG_HTTP_PORT=7000 \
LOG_STEALTH="true" \ LOG_STEALTH="true" \
WEBHOOK_TOKEN="kosmosplusplus" \ WEBHOOK_TOKEN="kosmosplusplus" \
HUBOT_YUBIKEY_API_ID="change-me" \ HUBOT_YUBIKEY_API_ID="change-me" \
KREDITS_WEBHOOK_TOKEN="123" \ KREDITS_WEBHOOK_TOKEN="123" \
KREDITS_ROOM="#kosmos-dev" \ KREDITS_ROOM="#kosmos-random" \
KREDITS_WALLET_PATH="wallet.json" \ KREDITS_WALLET_PATH="wallet.json" \
KREDITS_WALLET_PASSWORD="foo" \ KREDITS_WALLET_PASSWORD="foo" \
KREDITS_CONTRACT_ADDRESS="0x7dfab325c6ec203597c419b4b3172c6b219b9315" \ KREDITS_PROVIDER_URL="http://localhost:7545" \
KREDITS_PROVIDER_URL="https://parity.kosmos.org:8545" \ KREDITS_DAO_ADDRESS="" \
KREDITS_GITHUB_KEY="" \
KREDITS_GITHUB_SECRET="" \
KREDITS_GITHUB_REPO_BLACKLIST="" \
KREDITS_MEDIAWIKI_URL="https://wiki.kosmos.org/" \
bin/hubot --name hal7000 bin/hubot --name hal7000