Commit Graph

766 Commits

Author SHA1 Message Date
Brian S. Stephan acfcd574b5 Markov: add a permission for importing from a log 2014-04-05 11:20:59 -05:00
Brian S. Stephan 399d419824 Markov: heed k1/k2/v length limit when importing 2014-04-05 11:09:03 -05:00
Brian S. Stephan 77e52acc75 Markov: first cut of markov in django
this is just a basic port of the tables into django models right now.
there's some serious slowness in the state creation that i need to fix
before this does anything, but i want to get this in a real database on
a real linode before i go too much further, so here it is
2014-04-05 10:52:29 -05:00
Brian S. Stephan 197f9908e6 .gitignore *.log 2014-04-05 10:50:33 -05:00
Brian S. Stephan c1fadb7b74 Races: add some logging stuff for later use 2014-04-05 10:50:01 -05:00
Brian S. Stephan f9c7388bae just return a blank page for the index
i'll keep the index.html around for when we eventually use it, though
2014-04-05 10:49:23 -05:00
Brian S. Stephan c8a72cf8a5 Merge branch 'master' of git.incorporeal.org:dr.botzo 2014-03-20 19:22:28 -05:00
Brian S. Stephan 54b6da689d Races: really basic races site with a detail page
getting this out there so that i maybe feel motivated to make it not
suck in the future
2014-03-20 19:21:56 -05:00
Brian S. Stephan db1f77e102 blank index page. code stolen from polycephaly 2014-03-20 19:21:11 -05:00
Brian S. Stephan 92b7e3b333 templates and static dirs for when they happen 2014-03-20 19:19:43 -05:00
Brian S. Stephan 65419d1cdb Races: fix FK migration to use a char default val 2014-03-20 18:41:30 -05:00
Brian S. Stephan 643147cec7 Races: add FK to Race in RaceUpdate 2014-03-20 18:36:52 -05:00
Brian S. Stephan f6fb16225f .gitignore *.json 2014-03-20 18:34:37 -05:00
Brian S. Stephan 1157fab28f Races: log the proper thing on a start 2014-03-20 18:32:48 -05:00
Brian S. Stephan 5fff9411a5 Races: add module to do a crude racebot thing
join/start/update/finish/leave. good enough start i think
2014-03-16 15:46:15 -05:00
Brian S. Stephan 3316f4a868 Seen: don't overwrite the speaking nick
in case we ever need it for anything
2014-03-16 15:14:34 -05:00
Brian S. Stephan bda4b78564 DrBotIRC: have regex handler take list of events
forgot to commit the unhook part
2014-03-16 15:09:46 -05:00
Brian S. Stephan 0c7e4023ac Seen: convert to new-style module 2014-03-16 15:04:24 -05:00
Brian S. Stephan 319fb5b7e9 DrBotIRC: have regex handler take list of events
this is for convenience since doing pubmsg+privmsg will be pretty common
2014-03-16 15:02:04 -05:00
Brian S. Stephan 2553e6bed1 load django_extensions 2014-03-16 14:02:02 -05:00
Brian S. Stephan 930523e818 Seen: strftime the output seen time 2014-03-16 12:47:47 -05:00
Brian S. Stephan cd2c44ab20 script to port old seen data to django models 2014-03-16 12:21:38 -05:00
Brian S. Stephan d53e2d108c Merge branch 'master' of ayu.incorporeal.org:dr.botzo 2014-03-16 12:16:50 -05:00
Brian S. Stephan ce761e56b3 Seen: don't use ModificationDateTimeField
this is so we can set it properly in an import script
2014-03-16 12:16:21 -05:00
Brian S. Stephan 65c8c0a15f clean up the requirements a bit 2014-03-16 11:44:49 -05:00
Brian S. Stephan 84ee09d4a3 migrate Seen to django models and whatnot
this also adds south and django_extensions stuff, because that is the
natural thing to do. this is a pretty good start, i think
2014-03-16 11:35:01 -05:00
Brian S. Stephan 4633c936fb have dr.botzo use django settings
a couple are set as a proof of concept, too lazy to move everything
right now
2014-03-16 09:59:52 -05:00
Brian S. Stephan 6d85a580f3 normal django localsettings.py import thing 2014-03-16 09:34:39 -05:00
Brian S. Stephan 23173c6fac .gitignore a bunch of django stuff 2014-03-16 09:34:20 -05:00
Brian S. Stephan e21bebc24c django skeleton 2014-03-16 09:22:11 -05:00
Brian S. Stephan e7b132348f actually i need to call this ircbot
so i don't collide with the django dr_botzo
2014-03-16 09:18:17 -05:00
Brian S. Stephan 43a73f368f move irc bot into its own directory
getting ready to make this thing a django app, which will hopefully
actually be effective as an idea
2014-03-16 09:16:20 -05:00
Brian S. Stephan ef8b1c7c26 remove old twitter library 2013-09-05 19:11:18 -05:00
Brian S. Stephan 6bf36f40a6 Twitter: twitter fixes to actually tweet stuff 2013-09-05 19:10:21 -05:00
Brian S. Stephan 4bc6c31326 add twython to requirements.txt 2013-07-28 23:06:16 -05:00
Brian S. Stephan e5663e6e5d Twitter: first attempt at twython library
keeping the old library around for a bit, but it can probably go
eventually
2013-07-28 22:15:43 -05:00
Brian S. Stephan 0d465ee670 Markov: disable working backwards, it is slow 2013-07-28 17:01:59 -05:00
Brian S. Stephan f9eab7932b TopicDump: module to write set topics to disk
for a little project i'm working on
2013-06-08 21:31:18 -05:00
Brian S. Stephan 96d58f81c4 Dispatch: support file targets
if for some reason (spoilers: i have a reason) you would want to have
dispatched stuff go to a file, that can now be done. prepend the
(fully-qualified) filename with FILE: in the database and off you go
2013-06-08 21:15:04 -05:00
Brian S. Stephan fb477a57b9 Markov: handle empty reply chains more gracefully 2013-05-03 16:03:07 -05:00
Brian S. Stephan 25e41150af Markov: handle non-channel events properly
this includes having privmsgs correctly be attributed to the speaker,
rather than the bot
2013-05-03 16:02:07 -05:00
Brian S. Stephan 88e470183b Dispatch: support multiple targets for a key 2013-05-03 16:01:45 -05:00
Brian S. Stephan f09a41bce0 Dispatch: better (aka correct) db_init section 2013-05-03 15:59:49 -05:00
Brian S. Stephan b375a5a049 a better attempt at making unicode DB connections 2013-05-03 15:38:46 -05:00
Brian S. Stephan ccbea5ecdb Twitter: re-enable timeline polling and display
this was commented out for no reason, it can be disabled simply by
unsetting output_channel
2013-05-03 10:58:24 -05:00
Brian S. Stephan 7322ebde8f Markov: make some attempt to avoid name: chains
there are a lot of these, so it's a hard problem to solve entirely, but
this will avoided some cases at least
2013-02-15 10:24:45 -06:00
Brian S. Stephan 6a12763c81 Dice: only match !dice/!ctech at start of line 2013-02-11 14:06:15 -06:00
Brian S. Stephan 9b7cbadce6 rename Module.new_sendmsg() -> Module.sendmsg()
remove the deprecated method as well, of course
2013-02-09 15:11:38 -06:00
Brian S. Stephan c7d78ba6fc removing Radio, it was never good, barely worked
might revisit this in the future and just use an mpd module
2013-02-09 15:07:46 -06:00
Brian S. Stephan 1415f740fb remove usages of Module.sendmsg()
we're switching to an idiom where the bot is only on one connection, so
we don't need to care about connection tracking. new_sendmsg accordingly
doesn't take a connection argument. now i can remove the old sendmsg

caught in the wake, a bunch of connections being passed here and there
can be removed, changing some module method signatures and such. there
might be more to remove still
2013-02-09 15:05:44 -06:00