8504a2556d
facts: trivial comment cleanups
2015-09-16 16:57:12 -05:00
a7a54c75b7
pysimplesoap dependency
2015-08-16 17:15:08 -05:00
b9b626d2ef
remove useless import
2015-08-14 16:55:02 -05:00
425bf64baa
facts: proof of concept grade SOAP WS
...
mostly just to prove to myself that i can use pysimplesoap and be kinda
pleased with the results
2015-08-14 16:54:31 -05:00
68cf0f8816
facts: don't require nickmask in admin form
2015-08-14 16:53:37 -05:00
f18569b636
enable sites framework, useful for some SOAP stuff
2015-08-14 16:52:57 -05:00
c8bedebe97
add mpd-notifications script
...
illustrative purposes, mostly
2015-07-11 08:17:19 -05:00
4abcef58c1
karma: ignore commands or chatter separately
2015-07-11 08:12:25 -05:00
bf0445149b
twitter: handle twitter API errors better
...
i think i need to make this client (re)connect on demand or something,
though, i'm getting a lot of timeouts
2015-07-11 08:10:35 -05:00
6bf2732d7f
dispatch: handle writing unicode to file properly
2015-07-11 08:09:53 -05:00
e2d4e29750
use LenientDecodingLineBuffer in bot guts
...
should make the bot more resilient to clients that send non-unicode text
2015-06-22 17:43:45 -05:00
0c7b880517
port_karma_to_django: properly import nickmask
2015-06-20 16:39:51 -05:00
7ee07ae81e
Merge branch 'master' of git.incorporeal.org:dr.botzo
2015-06-20 16:34:31 -05:00
ac3e71c32a
karma: option to ignore targets
2015-06-20 16:34:18 -05:00
877e18c890
port_facts_to_django: properly import nickmask
2015-06-20 16:24:24 -05:00
fd7feeccdc
procmail-to-dispatch: get rid of key stuff
...
key is now part of the URL, and the dispatcher action will choose
whether or not to include it, so we don't need key at all anymore
2015-06-20 11:31:04 -05:00
598a158300
dispatch: helps if i actually use the new text
2015-06-20 11:26:35 -05:00
f542a862b8
dispatch: have option to include key in output
2015-06-20 11:23:28 -05:00
98bb608291
dispatch: allow dispatcher key in API URLs as well
2015-06-20 11:22:17 -05:00
241de26dd5
facts: allow adding facts via IRC
2015-06-20 10:58:40 -05:00
934f83b734
facts: show the source of facts, if desired
2015-06-20 10:46:52 -05:00
fe3a5ede3d
BUGS: mention that maybe unloading isn't busted?
2015-06-20 10:44:17 -05:00
59d14bf856
get nickmask when porting facts to django
2015-06-20 10:26:10 -05:00
d507e8f7ac
facts: add the timestamp back too
2015-06-20 10:22:49 -05:00
69ca220b5e
facts: add fact source back into model
...
it was silly for me to have dropped this
2015-06-20 10:19:11 -05:00
772df777ba
ircbot: tie bot users to django auth user, part 3
...
get rid of is_admin(), instead check for django permissions. a couple
things were using is_admin(), so now there's an example of the
permission adding and usage, as those were ported
2015-06-20 10:08:51 -05:00
df17e68456
ircbot: tie bot users to django auth user, part 2
...
rename BotAdmin to BotUser
other stuff will check whether or not they're an "admin", which will
actually be standard django permissions
2015-06-20 09:50:52 -05:00
123acbbd8d
ircbot: tie bot users to django auth user, part 1
...
sets up the foreign key and changes how is_admin() works, though it will
be going away pretty soon, i just need to do this migration in parts so
as to not confuse django too much
2015-06-20 09:27:50 -05:00
243531c017
add prospector and config
2015-06-20 02:00:56 -05:00
f2d72e322d
update procmail script to use REST dispatch
2015-06-20 01:50:28 -05:00
78b0f4267a
remove MySQL-python dep
...
no longer necessary, hooray~
2015-06-20 01:50:09 -05:00
e194ae0319
dispatch: don't override get_object() in /message
2015-06-20 01:13:11 -05:00
5877c991b0
Merge branch 'master' of git.incorporeal.org:dr.botzo
2015-06-20 01:10:05 -05:00
4a092ec603
markov: have context in target's __unicode__()
2015-06-20 01:09:42 -05:00
e1a8a94eba
script to port old mysql pi logs to django models
2015-06-19 23:40:42 -05:00
4d374b6c45
script to port old mysql karma to django models
2015-06-19 23:37:19 -05:00
bc2301ce0d
script to port old mysql facts to django models
2015-06-19 23:30:10 -05:00
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
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
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
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
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
4854eb17ac
storycraft: fix the line count in progress
2015-06-19 21:10:26 -05:00
1c88aa1189
dispatch: unicode_literals in models
2015-06-19 21:07:45 -05:00
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
095221a7b2
dispatch: properly write bytes to file
2015-06-19 16:46:46 -05:00
9296123f25
dispatch: require explicit send_message permission
2015-06-19 16:45:10 -05:00
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
3532b073c4
dispatch: nest the dispatcher -> action serializer
2015-06-19 15:08:57 -05:00
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