76 Commits

Author SHA1 Message Date
bd3ef8b635 Remove tweet reading from XMPP Hubot
Because of the wormhole feature between XMPP and IRC, any links to
tweets will be read by the hal8000 bots on both platforms.

This change removes the Tweet reading extension from the XMPP version of
the bot.
2019-11-15 14:43:56 +01:00
90aebe54de Revert "Remove tweet reading from IRC Hubot"
This reverts commit d5fc7ad105f45ea2b8eb2033564e4474abfc77a9.
2019-11-15 14:37:19 +01:00
d5fc7ad105 Remove tweet reading from IRC Hubot
Because of the wormhole feature between XMPP and IRC, any links to
tweets will be read by the hal8000 bots on both platforms.

This change removes the Tweet reading extension from the IRC version of
the bot.
2019-11-14 19:00:04 +01:00
76c8120058
Set up XMPP/IRC integration for Sockethub rooms 2019-10-13 21:32:12 +02:00
Greg Karékinian
f49dd5e6d4 Switch the MUC host for kosmos.org to kosmos.chat 2019-09-19 15:58:53 +02:00
070a1d1889
Configure Kredits signup for hal8000_xmpp 2019-09-01 17:15:56 +02:00
c50c68b50c
Configure hubot/wormhole deployment
Adding another node.js hubot app. Wormhole is our new IRC/XMPP bridge.
2019-07-30 09:09:19 +02:00
f4990a8066
Switch from IPFS cluster to kredits-ipfs-pinner
This removes the cluster configuration and adds deployment of Kredits
IPFS Pinner. It also switches hubot-kredits to use the normal API
endpoint again (instead of the cluster port).

Furthermore, it upgrades go-ipfs to the latest version.
2019-07-03 15:34:42 +02:00
3fbea864c1
Remove hubot-kredits from IRC hal8000 2019-05-10 07:08:29 +02:00
7afc2f5774 Remove old hubot admins from botka 2019-05-10 07:02:08 +02:00
b29a007533 Use different Redis database for new bot 2019-05-10 07:01:43 +02:00
4a480931a5 Fix bug in nginx config
Server name isn't recognized when adding a header
directive before like this.
2019-05-10 07:00:53 +02:00
9661980235 Change bot domain 2019-05-10 07:00:35 +02:00
f3f0d0deb2
Add nginx site for hal8000_xmpp 2019-05-09 23:44:28 +02:00
e8f325b41b
Refactor botka recipe 2019-05-09 23:44:28 +02:00
5f8b274cf9
Use MIT license 2019-05-09 23:44:28 +02:00
fe1821739c
Remove obsolete port opening
We have an nginx reverse proxy for botka instead.
2019-05-09 23:44:28 +02:00
584aab76a7
Add hal8000_xmpp recipe
Also, configure express ports in attributes, so they are both easy to
see at once, as well as override per node/env.
2019-05-09 23:44:18 +02:00
Greg Karékinian
696d7cd561 Set up kosmos-hubot to use ipfs-cluster
That way a new document will be added and pinned on all members of the
cluster

Fixes #46
2019-04-26 16:54:02 +02:00
d162233e8d
Add Gitea config for hal8000 2019-04-24 17:50:45 +01:00
Greg Karékinian
47d2ebe409 Add missing firewall rule for botka on freenode 2019-04-23 11:15:06 +02:00
Greg Karékinian
bafa24351a Remove firewall rule that is already defined 2019-04-23 11:14:33 +02:00
72a7b2ed8d
Add hubot-schedule
Already running on the server, with a message schedule for the Kosmos
weekly calls.
2019-04-17 10:06:15 +01:00
gregkare
1d8686e07f Merge branch 'chore/hubot_help_config' of kosmos/chef into master 2019-04-17 07:43:26 +00:00
3e054645ac
Hubot Help config for DM replies
Instead of pasting the entire help content publicly, it can now respond
in private (except it seems that only works on IRC, not XMPP).
2019-04-16 17:24:01 +01:00
13de5b8bd5
Update kredits config
We're on Rinkeby now.
2019-04-16 17:22:24 +01:00
Greg Karékinian
21f0e4143e Move the hubot user creation to its own recipe 2019-04-08 17:58:02 +02:00
Greg Karékinian
e137188a4e Add the build_essential resource to both recipes 2019-04-08 17:58:02 +02:00
Greg Karékinian
e2c1a43a62 Fix cookbook dependency 2019-04-08 17:58:02 +02:00
Greg Karékinian
17f1b2a20a Create a nginx_certbot_site resource to remove duplication
It creates a folder, the nginx vhost for certbot and HTTP redirects, and
also runs certbot and recreates the nginx vhost that includes the TLS
cert
2019-03-15 19:03:28 +01:00
Greg Karékinian
36e046ea73 Run certbot using the binary provided by the Ubuntu PPA 2019-03-14 10:52:44 +01:00
Greg Karékinian
886958270f Set REDIS_URL for botka
It was using the same Redis key to write its brain as hal8000 (`hubot:storage`),
causing scores to not be persisted to Redis. Right now botka is only
saving the online users to the database. It looks like this was only
enabled recently, as the last saved score was from Feb 8

Fixes #14
2019-02-25 18:29:18 +01:00
Greg Karékinian
3ce78a9ef4 Merge branch 'master' into feature/25-ipfs_cluster 2018-10-26 17:54:05 +02:00
Greg Karékinian
5e973b6875 Use the kosmos-ipfs recipe in the hal8000 recipe
This changes the port to not conflict with hubot and sets the gateway to
be writable
2018-10-26 17:49:06 +02:00
c0358f5c9b Split hubot into separate recipes, add ipfs to hal8000 2018-10-26 17:40:33 +02:00
Greg Karékinian
f31322ab81 Move the firewall rule for ipfs p2p to the right recipe 2018-08-16 15:59:06 +02:00
b2d92723d7 Add hubot-redis-brain to botka
Without it, the web push notifications script cannot work.
2018-06-14 13:31:04 +02:00
122dcfeea7 Add fixme note 2018-06-14 11:47:07 +02:00
50de448d53 Add nginx reverse proxy for botka on freenode 2018-06-13 18:52:01 +02:00
0e974182de Configure botka for web push notifications 2018-05-07 19:34:56 +02:00
a6d83f5720 Allow incoming traffic for IPFS 2018-05-05 17:25:10 +02:00
2aebcb2fa5 Use Infura Ethereum node for hubot-kredits 2018-05-05 17:24:48 +02:00
bed4725109 Update hubot-kredits config 2018-04-22 13:34:36 +02:00
Greg Karékinian
44625ee017 Don't connect to IPFS through localhost in hal8000
Use the new IPFS node on the new server
2018-04-17 18:52:35 +02:00
fa0326f2be Log #lnd on Freenode 2018-01-14 14:07:04 +00:00
f517431a4e Add botka and hal8000 to #kosmos-random 2018-01-13 14:04:03 +00:00
a751055170 Configure points term for hubot-plusplus 2018-01-12 17:55:25 +00:00
1fc503f907 Add new config for hubot-rss-reader 2018-01-12 17:06:17 +00:00
25c4a038d3 Use local IPFS API in hal8000 2017-06-09 13:01:26 +02:00
a715756e7f Add IPFS config for hubot-kredits 2017-06-08 23:59:14 +02:00