Commit Graph

1154 Commits

Author SHA1 Message Date
Brian S. Stephan 243531c017 add prospector and config 2015-06-20 02:00:56 -05:00
Brian S. Stephan f2d72e322d update procmail script to use REST dispatch 2015-06-20 01:50:28 -05:00
Brian S. Stephan 78b0f4267a remove MySQL-python dep
no longer necessary, hooray~
2015-06-20 01:50:09 -05:00
Brian S. Stephan e194ae0319 dispatch: don't override get_object() in /message 2015-06-20 01:13:11 -05:00
Brian S. Stephan 5877c991b0 Merge branch 'master' of git.incorporeal.org:dr.botzo 2015-06-20 01:10:05 -05:00
Brian S. Stephan 4a092ec603 markov: have context in target's __unicode__() 2015-06-20 01:09:42 -05:00
Brian S. Stephan e1a8a94eba script to port old mysql pi logs to django models 2015-06-19 23:40:42 -05:00
Brian S. Stephan 4d374b6c45 script to port old mysql karma to django models 2015-06-19 23:37:19 -05:00
Brian S. Stephan bc2301ce0d script to port old mysql facts to django models 2015-06-19 23:30:10 -05:00
Brian S. Stephan 2dc2b6a8a2 remove old IRC bot entirely
the porting is complete, everything i care about has been moved to the
django-based codebase, and this old junk can finally go

IT IS A NEW ERA, one of maintainability and flexible changes. after
years of procrastinating, i have finally done this. the future is now
2015-06-19 21:50:35 -05:00
Brian S. Stephan 8c77780923 removing a bunch of BUGS, cleaning up TODO
the rewrite has fixed a number of BUGS and invalidated some TODOs, so
both have gotten a cleanup
2015-06-19 21:41:23 -05:00
Brian S. Stephan 397ae2243c ircbot: recurse if we had an alias hit
the idea is that there may be two aliases in the string, or the alias
may have created another alias
2015-06-19 21:40:35 -05:00
Brian S. Stephan e11d7280de countdown: display negative numbers better
this kinda removes an old BUGS line that isn't actually correct for this
change, but it was old and fixed a while ago anyway (mostly)
2015-06-19 21:40:21 -05:00
Brian S. Stephan adb88c3e95 Storycraft: ported to ircbot v2. deleted
this means the entire modules directory is essentially replaced. we're
in thissssssssssss
2015-06-19 21:11:18 -05:00
Brian S. Stephan 4854eb17ac storycraft: fix the line count in progress 2015-06-19 21:10:26 -05:00
Brian S. Stephan 1c88aa1189 dispatch: unicode_literals in models 2015-06-19 21:07:45 -05:00
Brian S. Stephan 1193ce5b6a storycraft: port to ircbot v2
this silly storytelling game has been lightly tested, but it appears to
not blow up miserably, so i'm going to commit it until i can spend more
time testing it/caring about it
2015-06-19 21:06:58 -05:00
Brian S. Stephan 095221a7b2 dispatch: properly write bytes to file 2015-06-19 16:46:46 -05:00
Brian S. Stephan 9296123f25 dispatch: require explicit send_message permission 2015-06-19 16:45:10 -05:00
Brian S. Stephan bece1745b3 dispatch: include 'message': "" in /message GET
mostly as a hint to illustrate how to use the thing
2015-06-19 15:10:21 -05:00
Brian S. Stephan 3532b073c4 dispatch: nest the dispatcher -> action serializer 2015-06-19 15:08:57 -05:00
Brian S. Stephan 4f717cb1c2 dispatch: break Dispatcher actions into 2nd model
decouple the dispatcher (a key, basically) with the actions to take upon
receiving such a message. allows us to have multiple actions for one key
without weird hacks
2015-06-19 11:29:00 -05:00
Brian S. Stephan dac7999c0f dispatch: use generics better (?) in /message
use GenericAPIView rather than APIView in order to get some common idiom
stuff done for us. we continue to support GET and POST in
DispatchMessage, now it's just a bit cleaner. i think.

anyway if we were doing this stuff more we could/should probably create
mixins for them, but at the moment this is pretty sane i think
2015-06-19 10:51:11 -05:00
Brian S. Stephan 482870621b Dispatch: ported to django REST framework. deleted 2015-06-18 23:59:25 -05:00
Brian S. Stephan 0641e1c062 dispatch: port to django REST framework
this moves the dispatcher functionality that used to be in the old
ircbot directly to django REST framework, which is more robust and
allows for cooler stuff down the road. this still retains the ability to
have the bot privmsg, that still happens over the XML-RPC interface,
this is just a more convenient frontend to that
2015-06-18 23:57:43 -05:00
Brian S. Stephan fccb5f3fb3 Acro: ported to ircbot v2. deleted 2015-06-18 18:48:51 -05:00
Brian S. Stephan 8fe5dbc0d3 acro: port acro to ircbot v2 2015-06-18 18:48:38 -05:00
Brian S. Stephan ae0f56cd58 seen: this shouldn't do anything w/privmsg 2015-06-18 10:34:02 -05:00
Brian S. Stephan b3da273b2d Countdown: ported to ircbot v2. deleted 2015-06-18 09:20:22 -05:00
Brian S. Stephan 6560327984 countdown: app for noting points in time 2015-06-18 09:19:53 -05:00
Brian S. Stephan a9ef68c3a2 TODO: more twitter notes for later 2015-06-18 09:19:24 -05:00
Brian S. Stephan e18e629547 Twitter: ported to ircbot v2. deleted 2015-06-16 20:28:36 -05:00
Brian S. Stephan d33977da35 twitter: TODO to bring polling back 2015-06-16 20:28:13 -05:00
Brian S. Stephan 76e9046549 port twitter module to ircbot v2
handles the on-demand commands but no timeline polling
2015-06-16 20:27:44 -05:00
Brian S. Stephan 618a042935 IrcAdmin: ported to ircbot v2. deleted 2015-06-16 19:04:52 -05:00
Brian S. Stephan bef66e3427 ircbot: specify commands after connecting
happens before the sleep and the autojoins
2015-06-16 19:02:00 -05:00
Brian S. Stephan f0072fb633 ircbot: configure a sleep before autojoin channels 2015-06-16 19:01:41 -05:00
Brian S. Stephan aca4ed3eac Races: ported to ircbot v2. deleted 2015-06-13 13:41:54 -05:00
Brian S. Stephan 1af5f67daf port races irc module to new bot 2015-06-13 13:41:37 -05:00
Brian S. Stephan 7876ad2290 Markov: ported to ircbot, noted last TODO. deleted 2015-06-13 13:19:18 -05:00
Brian S. Stephan a345f4567e make the markov admin view URLs a bit better 2015-06-13 13:08:14 -05:00
Brian S. Stephan d9f905c691 privmsg interface to ircbot in django admin
fill out the form, send a privmsg
2015-06-13 13:07:52 -05:00
Brian S. Stephan 56b495e8fb add an XML-RPC interface to the irc bot
this allows plugins to register methods that can be called over XML-RPC

the old bot used this interface behind apache for a web service, but i
think in this version it will only be for django -> ircbot, and django
will have a rest API for other things
2015-06-13 13:06:10 -05:00
Brian S. Stephan 65a03ced03 use adminplus to add admin views
move the markov learning views into the admin
2015-06-13 12:20:10 -05:00
Brian S. Stephan 6eb589d2d6 Dice: ported to ircbot v2. deleted 2015-05-27 21:02:18 -05:00
Brian S. Stephan 871c8e1db8 dice: irc plugin for !roll commands
basically a straight port from the old code. handles normal dice rolling
and cthulhutech style
2015-05-27 21:01:28 -05:00
Brian S. Stephan c486cabd4e TextTransform: ported to bot v2. deleted 2015-05-27 20:07:22 -05:00
Brian S. Stephan 91f0b8c651 transform: port TextTransform to bot v2
this just has some simple (and occasionally handy?) text transformations
as an irc plugin, like upper/lower case, base64, and similar
2015-05-27 20:05:38 -05:00
Brian S. Stephan fefbcf695e karma: use unicode_literals 2015-05-27 20:05:04 -05:00
Brian S. Stephan 291c88755d BUGS: "document" a bug i saw just before 2015-05-27 20:04:49 -05:00