]> jfr.im git - erebus.git/log
erebus.git
4 years agofix bot sitting inactive when a write error occurs
zonidjan [Mon, 16 Sep 2019 02:19:42 +0000 (21:19 -0500)] 
fix bot sitting inactive when a write error occurs

push socket write errors to bot._goterror

4 years agofix subtext thinking random lines are for it
zonidjan [Fri, 6 Sep 2019 15:35:19 +0000 (10:35 -0500)] 
fix subtext thinking random lines are for it

like "spongebob squarepants"

4 years agomake url titles be sent back on one line
zonidjan [Thu, 5 Sep 2019 04:22:45 +0000 (23:22 -0500)] 
make url titles be sent back on one line

4 years agoconvert trivia's dep on userinfo to softdep
zonidjan [Thu, 5 Sep 2019 04:07:37 +0000 (23:07 -0500)] 
convert trivia's dep on userinfo to softdep

4 years agofix subtext regex
zonidjan [Mon, 2 Sep 2019 05:25:15 +0000 (00:25 -0500)] 
fix subtext regex

4 years agourls - remove URL before title
zonidjan [Fri, 23 Aug 2019 17:31:26 +0000 (12:31 -0500)] 
urls - remove URL before title

4 years agourls - collapse whitespace in title
zonidjan [Wed, 21 Aug 2019 13:12:44 +0000 (08:12 -0500)] 
urls - collapse whitespace in title

4 years agoadd reference to showcommands to help help
zonidjan [Tue, 20 Aug 2019 21:40:44 +0000 (16:40 -0500)] 
add reference to showcommands to help help

4 years agourls - show http errors
zonidjan [Tue, 20 Aug 2019 21:28:59 +0000 (16:28 -0500)] 
urls - show http errors

4 years agolook for NOTICE pre-registration with source also
zonidjan [Tue, 20 Aug 2019 21:06:38 +0000 (16:06 -0500)] 
look for NOTICE pre-registration with source also

4 years agotrivia - allow truncating showq response
zonidjan [Sun, 30 Jun 2019 07:07:28 +0000 (02:07 -0500)] 
trivia - allow truncating showq response

4 years agoCOPYING -> LICENSE
zonidjan [Sun, 30 Jun 2019 07:07:04 +0000 (02:07 -0500)] 
COPYING -> LICENSE

4 years agoallow to truncate messages
zonidjan [Fri, 31 May 2019 04:09:51 +0000 (23:09 -0500)] 
allow to truncate messages

4 years agotrack and report uptime in !resources
zonidjan [Fri, 24 May 2019 22:22:10 +0000 (17:22 -0500)] 
track and report uptime in !resources

4 years agoremove weather module - RIP wunderground API
zonidjan [Thu, 23 May 2019 15:44:19 +0000 (10:44 -0500)] 
remove weather module - RIP wunderground API

4 years agosubtext - add warning regarding regex DoS
zonidjan [Thu, 23 May 2019 15:43:26 +0000 (10:43 -0500)] 
subtext - add warning regarding regex DoS

4 years agotrivia - add args requirements for findq/findqre, fix help for findq
zonidjan [Thu, 23 May 2019 15:43:02 +0000 (10:43 -0500)] 
trivia - add args requirements for findq/findqre, fix help for findq

4 years agotrivia - alias !trivia to !start
zonidjan [Thu, 23 May 2019 15:42:32 +0000 (10:42 -0500)] 
trivia - alias !trivia to !start

4 years agotrivia - small bugfixes
zonidjan [Thu, 23 May 2019 15:42:06 +0000 (10:42 -0500)] 
trivia - small bugfixes

4 years agotrivia - use fastmsg more places, update messaging
zonidjan [Thu, 23 May 2019 15:41:38 +0000 (10:41 -0500)] 
trivia - use fastmsg more places, update messaging

4 years agoallow to kickall by auth directly
zonidjan [Thu, 23 May 2019 15:33:27 +0000 (10:33 -0500)] 
allow to kickall by auth directly

4 years agoallow to address bot by nick
zonidjan [Thu, 23 May 2019 15:32:41 +0000 (10:32 -0500)] 
allow to address bot by nick

5 years agoadd misc module - one function: reduce, to reduce a decimal or fraction
zonidjan [Sun, 19 Aug 2018 17:21:17 +0000 (12:21 -0500)] 
add misc module - one function: reduce, to reduce a decimal or fraction

5 years agouserinfo - use return-to-reply shortcut
zonidjan [Sat, 18 Aug 2018 23:30:58 +0000 (18:30 -0500)] 
userinfo - use return-to-reply shortcut

5 years agouserinfo - remove _ from keys/has/get/set/delete
zonidjan [Fri, 17 Aug 2018 23:06:17 +0000 (18:06 -0500)] 
userinfo - remove _ from keys/has/get/set/delete

5 years agouserinfo - avoid filling memory with nonexistent users
zonidjan [Fri, 17 Aug 2018 23:01:38 +0000 (18:01 -0500)] 
userinfo - avoid filling memory with nonexistent users

5 years agocontrol - use new bot.reply return shortcut
zonidjan [Sun, 12 Aug 2018 09:35:23 +0000 (04:35 -0500)] 
control - use new bot.reply return shortcut

5 years agoadd `bot.reply` function and hook return shortcut
zonidjan [Sun, 12 Aug 2018 09:31:05 +0000 (04:31 -0500)] 
add `bot.reply` function and hook return shortcut

bot.reply(chan, user, reply_msg) will now send a reply.
This is meant to be used directly with the chan and user objects passed to a hook.
This is bot.msg(user, reply_msg) when chan is None (i.e. when used via PM or when wantchan=False);
or bot.msg(chan, "user: reply_msg") when chan is not None (i.e. when used in channel or via PM with wantchan=True and channel provided)

Returning a string (Py2: str or unicode) from a hook will now result in a bot.reply.

5 years agouse tuple for formatting
zonidjan [Mon, 30 Jul 2018 17:25:36 +0000 (12:25 -0500)] 
use tuple for formatting

5 years agoupdate encoding
zonidjan [Mon, 30 Jul 2018 17:24:13 +0000 (12:24 -0500)] 
update encoding

5 years agostafflist - add online nicks
zonidjan [Mon, 30 Jul 2018 05:07:52 +0000 (00:07 -0500)] 
stafflist - add online nicks

5 years agoadd CQ alias for qclear
zonidjan [Mon, 30 Jul 2018 03:35:13 +0000 (22:35 -0500)] 
add CQ alias for qclear

5 years agofurther work and securing on GENHELP
zonidjan [Mon, 30 Jul 2018 03:25:22 +0000 (22:25 -0500)] 
further work and securing on GENHELP

5 years agomsg - rename cmsg to say
zonidjan [Thu, 19 Jul 2018 02:47:10 +0000 (21:47 -0500)] 
msg - rename cmsg to say

5 years agoweather - dont fail when wunderground screws up time
zonidjan [Wed, 18 Jul 2018 00:29:21 +0000 (19:29 -0500)] 
weather - dont fail when wunderground screws up time

5 years agofix crash on message consisting of solely the trigger
zonidjan [Wed, 18 Jul 2018 00:14:31 +0000 (19:14 -0500)] 
fix crash on message consisting of solely the trigger

6 years agotrivia - allow to set topic via services
zonidjan [Mon, 14 May 2018 08:31:54 +0000 (03:31 -0500)] 
trivia - allow to set topic via services

6 years agorename run.sh to run
zonidjan [Thu, 19 Apr 2018 01:27:57 +0000 (20:27 -0500)] 
rename run.sh to run

6 years agoremove config.setup()
zonidjan [Thu, 19 Apr 2018 01:27:37 +0000 (20:27 -0500)] 
remove config.setup()

6 years agoconfig - fix getboolean
zonidjan [Thu, 19 Apr 2018 01:27:16 +0000 (20:27 -0500)] 
config - fix getboolean

6 years agomore py3 compat
zonidjan [Wed, 11 Apr 2018 02:16:29 +0000 (21:16 -0500)] 
more py3 compat

6 years agoMerge branch 'master' of github.com:zonidjan/erebus
zonidjan [Tue, 10 Apr 2018 00:52:55 +0000 (19:52 -0500)] 
Merge branch 'master' of github.com:zonidjan/erebus

6 years agofurther py3 compatibility work
zonidjan [Tue, 10 Apr 2018 00:52:34 +0000 (19:52 -0500)] 
further py3 compatibility work

6 years agoUpdate README.md
John [Sat, 7 Apr 2018 07:20:03 +0000 (02:20 -0500)] 
Update README.md

6 years agoUpdate README.md
John [Sat, 7 Apr 2018 07:17:35 +0000 (02:17 -0500)] 
Update README.md

6 years agorun.sh - allow passing multiple flags to python
zonidjan [Sat, 7 Apr 2018 07:12:31 +0000 (02:12 -0500)] 
run.sh - allow passing multiple flags to python

6 years agoadd compatibility with Python3. add README.
zonidjan [Sat, 7 Apr 2018 04:24:21 +0000 (23:24 -0500)] 
add compatibility with Python3. add README.

Python3 is now an additonal target for the bot, and compatibility issues are bugs.

6 years agocontrol - added !INJECT
zonidjan [Sat, 10 Mar 2018 01:25:06 +0000 (19:25 -0600)] 
control - added !INJECT

6 years agocontrol - dont message all channels when quitting
zonidjan [Mon, 12 Feb 2018 09:37:52 +0000 (03:37 -0600)] 
control - dont message all channels when quitting

6 years agoweather - workaround for python rfc822.parsedate silliness
zonidjan [Fri, 19 Jan 2018 19:04:04 +0000 (13:04 -0600)] 
weather - workaround for python rfc822.parsedate silliness

6 years agohelp - fix help_nolag
zonidjan [Wed, 3 Jan 2018 03:37:42 +0000 (21:37 -0600)] 
help - fix help_nolag

6 years agostafflist module created
zonidjan [Fri, 29 Dec 2017 01:04:32 +0000 (19:04 -0600)] 
stafflist module created

6 years agoweather - fix bug from typo
zonidjan [Fri, 29 Dec 2017 01:04:08 +0000 (19:04 -0600)] 
weather - fix bug from typo

6 years agoweather - fixes for wunderground's insane api
zonidjan [Wed, 27 Dec 2017 18:59:25 +0000 (12:59 -0600)] 
weather - fixes for wunderground's insane api

6 years agourls - bugfixes
zonidjan [Wed, 27 Dec 2017 18:59:01 +0000 (12:59 -0600)] 
urls - bugfixes

6 years agoweather - add !WU command to get weather in another users location
zonidjan [Fri, 1 Dec 2017 19:34:42 +0000 (13:34 -0600)] 
weather - add !WU command to get weather in another users location

6 years agorevert apiversion to 0
zonidjan [Mon, 27 Nov 2017 02:31:46 +0000 (20:31 -0600)] 
revert apiversion to 0

6 years agofix error
zonidjan [Mon, 27 Nov 2017 02:26:30 +0000 (20:26 -0600)] 
fix error

6 years agosubtext - minor code corrections
zonidjan [Thu, 23 Nov 2017 07:18:12 +0000 (01:18 -0600)] 
subtext - minor code corrections

6 years agomodule for 's/regex/replacement/'style corrections
zonidjan [Thu, 23 Nov 2017 07:15:05 +0000 (01:15 -0600)] 
module for 's/regex/replacement/'style corrections

<DimeCadmium> fffffffffff
<DimeCadmium> s/f/b/
<Erebus> <DimeCadmium> bffffffffff
<DimeCadmium> s/f/b/g
<Erebus> <DimeCadmium> bbbbbbbbbbb
<DimeCadmium> s/f/b/g;
<Erebus> <DimeCadmium> bbbbbbbbbbb
<DimeCadmium> s/f/b/;
<Erebus> <DimeCadmium> bffffffffff
<DimeCadmium> s/a/z/
(note Erebus says nothing because the replacement failed)

<DimeCadmium> abcdef
<DimeCadmium> s/c/z/
<Erebus> <DimeCadmium> abzdef
<DimeCadmium> s/(..).(...)/\1!\2/
<Erebus> <DimeCadmium> ab!def
<DimeCadmium> s!(..).(...)!\1/\2!
<Erebus> <DimeCadmium> ab/def

<DimIRC> ffffffffff
<DimeCadmium> s/f/b/
<Erebus> DimeCadmium: <DimIRC> bfffffffff

6 years ago* - change old code to use newer cfg.getboolean instead of bool(int())
zonidjan [Fri, 10 Nov 2017 23:46:15 +0000 (17:46 -0600)] 
* - change old code to use newer cfg.getboolean instead of bool(int())

6 years agocore - add debug check for printing input/output
zonidjan [Fri, 10 Nov 2017 23:42:07 +0000 (17:42 -0600)] 
core - add debug check for printing input/output

6 years agoweather - show location when observation_location is blank; add debug output
zonidjan [Fri, 10 Nov 2017 23:35:40 +0000 (17:35 -0600)] 
weather - show location when observation_location is blank; add debug output

6 years agouserinfo - refactor
zonidjan [Wed, 8 Nov 2017 23:28:37 +0000 (17:28 -0600)] 
userinfo - refactor

6 years agouserinfo - add function/command to delete
zonidjan [Wed, 8 Nov 2017 00:39:27 +0000 (18:39 -0600)] 
userinfo - add function/command to delete

6 years agoweather - include trigger when user's location is unknown
zonidjan [Wed, 8 Nov 2017 00:27:47 +0000 (18:27 -0600)] 
weather - include trigger when user's location is unknown

6 years agoweather - cleanup
zonidjan [Tue, 7 Nov 2017 01:44:14 +0000 (19:44 -0600)] 
weather - cleanup

6 years agoweather - handle wundergrounds terrible API response formatting
zonidjan [Tue, 7 Nov 2017 00:36:09 +0000 (18:36 -0600)] 
weather - handle wundergrounds terrible API response formatting

6 years agocheck line length before sending message - fixes #17
zonidjan [Fri, 27 Oct 2017 05:45:55 +0000 (00:45 -0500)] 
check line length before sending message - fixes #17

6 years agofix SQL auto-retry
zonidjan [Fri, 20 Oct 2017 00:05:02 +0000 (19:05 -0500)] 
fix SQL auto-retry

6 years agohelp bugfix
zonidjan [Wed, 11 Oct 2017 23:14:46 +0000 (18:14 -0500)] 
help bugfix

6 years agoadd config option nofakelag
zonidjan [Wed, 11 Oct 2017 23:11:07 +0000 (18:11 -0500)] 
add config option nofakelag

6 years agobugfixes
zonidjan [Wed, 11 Oct 2017 18:21:14 +0000 (13:21 -0500)] 
bugfixes

6 years agobugfixes
zonidjan [Wed, 11 Oct 2017 02:16:29 +0000 (21:16 -0500)] 
bugfixes

6 years agobugfixes
zonidjan [Wed, 11 Oct 2017 02:09:37 +0000 (21:09 -0500)] 
bugfixes

6 years agomode parsing bugfix
zonidjan [Wed, 11 Oct 2017 01:59:41 +0000 (20:59 -0500)] 
mode parsing bugfix

6 years agoweather - add alias !W
zonidjan [Wed, 11 Oct 2017 01:35:06 +0000 (20:35 -0500)] 
weather - add alias !W

6 years agoweather module
zonidjan [Wed, 11 Oct 2017 01:34:27 +0000 (20:34 -0500)] 
weather module

6 years agotrivia - bugfixes
zonidjan [Sat, 7 Oct 2017 20:20:25 +0000 (15:20 -0500)] 
trivia - bugfixes

6 years agotrivia - modify special questions
zonidjan [Sat, 7 Oct 2017 18:45:53 +0000 (13:45 -0500)] 
trivia - modify special questions

6 years agomodule cleanup
zonidjan [Thu, 5 Oct 2017 02:16:48 +0000 (21:16 -0500)] 
module cleanup

6 years agocontrol - add aliases
zonidjan [Thu, 5 Oct 2017 02:00:54 +0000 (21:00 -0500)] 
control - add aliases

6 years agomsg - easter egg
zonidjan [Wed, 4 Oct 2017 23:43:31 +0000 (18:43 -0500)] 
msg - easter egg

6 years agohelp - remove end of help message
zonidjan [Wed, 4 Oct 2017 23:28:34 +0000 (18:28 -0500)] 
help - remove end of help message

6 years agohelp - remove debug prints
zonidjan [Wed, 4 Oct 2017 23:27:47 +0000 (18:27 -0500)] 
help - remove debug prints

6 years agomsg - remove debug prints
zonidjan [Wed, 4 Oct 2017 23:27:40 +0000 (18:27 -0500)] 
msg - remove debug prints

6 years agofix watchdogtimer so it will run more than once
zonidjan [Wed, 4 Oct 2017 23:24:06 +0000 (18:24 -0500)] 
fix watchdogtimer so it will run more than once

6 years agotrivia - add category helper commands and add category to topicformat
zonidjan [Wed, 4 Oct 2017 23:18:32 +0000 (18:18 -0500)] 
trivia - add category helper commands and add category to topicformat

6 years agoadd wantchan - fixes #13 - will consume channel if available, but not require it
zonidjan [Wed, 4 Oct 2017 23:18:01 +0000 (18:18 -0500)] 
add wantchan - fixes #13 - will consume channel if available, but not require it

6 years agocontrol - update help text
zonidjan [Wed, 4 Oct 2017 23:16:37 +0000 (18:16 -0500)] 
control - update help text

6 years agocontrol - allow whois by auth
zonidjan [Wed, 4 Oct 2017 23:16:16 +0000 (18:16 -0500)] 
control - allow whois by auth

6 years agofix sql norecurse
zonidjan [Wed, 4 Oct 2017 23:15:12 +0000 (18:15 -0500)] 
fix sql norecurse

6 years agobot - rework _got353 (NAMES reply) to be extendable
zonidjan [Sun, 1 Oct 2017 21:34:38 +0000 (16:34 -0500)] 
bot - rework _got353 (NAMES reply) to be extendable

6 years agochange to use str.startswith
zonidjan [Sun, 1 Oct 2017 21:29:57 +0000 (16:29 -0500)] 
change to use str.startswith

6 years agoadd watchdog timer. fixes #12
zonidjan [Mon, 25 Sep 2017 04:51:49 +0000 (23:51 -0500)] 
add watchdog timer. fixes #12

6 years agotrivia correct isinstance tests to subclass
zonidjan [Mon, 25 Sep 2017 04:51:19 +0000 (23:51 -0500)] 
trivia correct isinstance tests to subclass

6 years agohelp - clarify genhelp command
zonidjan [Thu, 21 Sep 2017 18:18:14 +0000 (13:18 -0500)] 
help - clarify genhelp command

6 years agohelp - add genhelp params - fixes #16
zonidjan [Sun, 17 Sep 2017 03:15:54 +0000 (22:15 -0500)] 
help - add genhelp params - fixes #16

6 years agohelp: refactor logic around _genhelp
zonidjan [Sun, 17 Sep 2017 02:49:48 +0000 (21:49 -0500)] 
help: refactor logic around _genhelp

6 years agoupdate to use new config features
zonidjan [Sun, 17 Sep 2017 02:49:06 +0000 (21:49 -0500)] 
update to use new config features