Commit Graph

26 Commits

Author SHA1 Message Date
Brian S. Stephan 6136127c5f move IRC server settings to database
this is the first step in trying to get the bot to support multiple
servers with different channels, countdown triggers, and so on

this also ends up affecting some configuration around:
* dispatch
* markov
* admin privmsg form
2021-04-25 10:17:41 -05:00
Brian S. Stephan 802072caed add markov RPC method for learning a line 2019-09-19 00:21:18 -05:00
Brian S. Stephan 9e4bc595a4 add markov RPC method for generating a line from a context 2019-09-19 00:12:36 -05:00
Brian S. Stephan f2fb0a26a4 remove unnecessary unicode_literal future imports, we py3 now 2019-06-21 15:23:33 -05:00
Brian S. Stephan 2f98a64cdd version bumps and migration to django 2.2 2019-06-21 10:05:40 -05:00
Brian S. Stephan 0589939137 support multiple strings as counting as nick highlights
also, treat @nicks as being addressed, since we are doing discord
through bitlbee now
2019-01-10 08:48:15 -06:00
Brian S. Stephan dbc4e6fe6f rename event._recursing to event.recursing 2017-03-10 18:29:31 -06:00
Brian S. Stephan 8f8af4e6b4 package updates and resulting compat stuff
changes to urls.py in the django views, trivial __init__ change for the
irc library stuff

bss/dr.botzo#16
2017-02-06 22:58:51 -06:00
Brian S. Stephan cd23f062a9 collapsing all of dr_botzo one directory 2017-02-04 11:51:22 -06:00
Brian S. Stephan 2ffdf26ec2 reorganizing project directories, part 1 2015-05-08 20:37:22 -05:00
Brian S. Stephan 2917ea9626 Markov: indicate # sentences we want in a line
before we were just adding words until we hit the min/max, now let's
also count the number of sentences and have a cutoff there, if we don't
want the whole appending thing no matter what
2014-05-03 20:56:33 -05:00
Brian S. Stephan dbc3d16f65 Markov: only add sentence punctuation if necessary 2014-05-03 20:54:26 -05:00
Brian S. Stephan 676d109f57 Markov: even more unicode fixes 2014-05-03 20:50:15 -05:00
Brian S. Stephan 244720934c Markov: rename internal methods to make them clear 2014-05-03 20:47:48 -05:00
Brian S. Stephan f9ed58ad52 Markov: some indexes to MarkovState, might help 2014-04-05 23:09:50 -05:00
Brian S. Stephan bf6a43ec9e Markov: improve performance of state transitions 2014-04-05 22:54:39 -05:00
Brian S. Stephan c193b7f4be Markov: support ignoring prefixes in import/learn
this is so we can ignore/strip "botname: " ish lines
2014-04-05 18:00:45 -05:00
Brian S. Stephan 54efe617d0 Markov: only split two \ts on file import 2014-04-05 16:39:44 -05:00
Brian S. Stephan 97070d495f Markov: assuming file uploads are utf8 2014-04-05 16:18:48 -05:00
Brian S. Stephan 6a50db0e3d Markov: field changes: uniqueness, max_length 2014-04-05 15:55:06 -05:00
Brian S. Stephan 169f73cb36 Markov: view/form/etc for teaching lines 2014-04-05 14:53:30 -05:00
Brian S. Stephan 9c08a203c7 Markov: generate markov chains into sentences
some view stuff to get at it through django while we're here
2014-04-05 14:52:30 -05:00
Brian S. Stephan ad2044a178 Markov: unicode debugging lines 2014-04-05 14:24:30 -05:00
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