Commit Graph

79 Commits

Author SHA1 Message Date
basti f6fe3bab0f Connect to IRC bouncer instead of directly
Changes botka on libera to connect to a bouncer, which also uses SASL,
in order to fix the connection issues and keep a stable connection with
minimal maintenance.
2022-01-06 08:12:42 -06:00
basti ca33dbe624 Improve botka IRC config
Use TLS, specify port.
2021-10-23 11:28:29 +02:00
basti ee0a587dad Upgrade botka, deploy for Libera.Chat to nodejs-2
Note: Temporarily disables wormhole, because it's still on Freenode,
where its credentials have been deleted by the new "management".
2021-09-13 18:21:46 +02:00
basti 29e1d64ae0 Remove superfluous license headers from recipe files 2021-04-09 11:44:36 +02:00
basti 9939e4d993 Deploy hubots from Gitea repos
The repos have been moved over from GitHub.
2021-04-09 11:35:49 +02:00
Greg Karékinian f937e5dc68 Set the environment variables in the hubot-kredits dir
This is meant to be executed as a script manually, not as part of Hubot.

Example usage:

    cd /opt/hal8000_xmpp/node_modules/hubot-kredits
    ./scripts/review-kredits.js --start 2021-02-01 --end 2021-02-28T23:59:59Z --dry

Closes #315
2021-03-30 13:54:21 +02:00
Greg Karékinian 9415b71965 Deploy hubot with new hubot-kredits
It includes a script for creating Kredits for reviews

Refs #135
2021-03-30 12:11:03 +02:00
basti 1eb73711a2 Remove application_javascript usage from wormhole recipe 2021-01-06 19:12:36 +01:00
basti fe63f01f7b Move wormhole from barnard to nodejs-2
Fixed two small bugs in the recipe:

* hubot user wasn't created when necessary
* systemd template always included redis service dependency
2021-01-05 18:03:15 +01:00
basti db51f1f332 Add new Zoom meeting ID to whitelist 2020-12-17 14:09:41 +01:00
basti 58c5fad2a7 Add new nickname config for wormhole 2020-11-27 13:22:09 +01:00
basti f874d7f979 Remove hubot-rss-reader from hubots
Not available in latest hal8000 source anymore
2020-10-29 16:19:24 +01:00
basti f92b43e0f4 Configure Zoom meeting whitelist
So we only log contributions for actual Kosmos calls
2020-05-25 16:57:09 +02:00
basti cc4c8fb903 Add hubot-kredits Zoom config 2020-04-16 17:52:28 +02:00
galfert 90aebe54de Revert "Remove tweet reading from IRC Hubot"
This reverts commit d5fc7ad105.
2019-11-15 14:37:19 +01:00
galfert 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
basti 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
basti 070a1d1889 Configure Kredits signup for hal8000_xmpp 2019-09-01 17:15:56 +02:00
basti 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
basti 3fbea864c1 Remove hubot-kredits from IRC hal8000 2019-05-10 07:08:29 +02:00
basti 7afc2f5774 Remove old hubot admins from botka 2019-05-10 07:02:08 +02:00
basti b29a007533 Use different Redis database for new bot 2019-05-10 07:01:43 +02:00
basti f3f0d0deb2 Add nginx site for hal8000_xmpp 2019-05-09 23:44:28 +02:00
basti e8f325b41b Refactor botka recipe 2019-05-09 23:44:28 +02:00
basti 5f8b274cf9 Use MIT license 2019-05-09 23:44:28 +02:00
basti fe1821739c Remove obsolete port opening
We have an nginx reverse proxy for botka instead.
2019-05-09 23:44:28 +02:00
basti 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
basti 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
basti 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
basti 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
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 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
basti 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
basti b2d92723d7 Add hubot-redis-brain to botka
Without it, the web push notifications script cannot work.
2018-06-14 13:31:04 +02:00
basti 122dcfeea7 Add fixme note 2018-06-14 11:47:07 +02:00
basti 50de448d53 Add nginx reverse proxy for botka on freenode 2018-06-13 18:52:01 +02:00
basti 0e974182de Configure botka for web push notifications 2018-05-07 19:34:56 +02:00
basti a6d83f5720 Allow incoming traffic for IPFS 2018-05-05 17:25:10 +02:00
basti 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
basti fa0326f2be Log #lnd on Freenode 2018-01-14 14:07:04 +00:00