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
2 years ago
Brian S. Stephan
44d8b7db00
lint cleanups
2 years ago
Brian S. Stephan
d518cb2b77
lint cleanups
2 years ago
Brian S. Stephan
cbbf6eb311
Merge branch 'backend-frameworkification' of bss/dr.botzo into master
...
Merge the (aborted) backend/Discord attempt. See PR #2
2 years ago
Brian S. Stephan
2f4156ce26
quote wttr.in requests
2 years ago
Brian S. Stephan
e64af1a0a1
report on karma keys
2 years ago
Brian S. Stephan
ca8798453c
fix Dice plugin init
2 years ago
Brian S. Stephan
dc5f243608
optionally provide name of new countdown items
2 years ago
Brian S. Stephan
ab0d738851
for migrated pi history, set their x,y to -1.0 to be more obvious
2 years ago
Brian S. Stephan
9d94155f66
implement basic API GETs for countdown items
2 years ago
Brian S. Stephan
a6f8fc5dc1
make more countdown item fields optional in admin
2 years ago
Brian S. Stephan
bcc5f767ba
little cleanup TODO in PiLog simulate()
2 years ago
Brian S. Stephan
a0a1aa10f4
wow, unit tests! pi is covered (except for the irc plugin)
...
I think I'm going to move the irc stuff into a separate project in the
future so I'm not worried about testing that one yet
2 years ago
Brian S. Stephan
d5e5343193
have pi simulate via API return a 201
2 years ago
Brian S. Stephan
da815a1fc3
provide DRF action to run a pi simulation
2 years ago
Brian S. Stephan
ef08cec0fb
fix field reference in the PiLog.hit property
2 years ago
Brian S. Stephan
691ee7696b
serve basic list/detail pi log simulation views
2 years ago
Brian S. Stephan
665f56a430
avoid divide by 0 in getting pi simulation value
2 years ago
Brian S. Stephan
4d94322c55
refactor PiLog to retain x,y values
2 years ago
Brian S. Stephan
10d73f570a
start using tox, despite 100000 errors
2 years ago
Brian S. Stephan
819bbe74c6
recompile requirements
...
basically everything changed here, so... fingers crossed
2 years ago
Brian S. Stephan
1833430c5d
put requirements in my now-usual spot
2 years ago
Brian S. Stephan
42a1efed79
Merge branch 'backend-frameworkification' of bss/dr.botzo into master
4 years ago
Brian S. Stephan
c670072c86
add versioneer stuff to the project
4 years ago
Brian S. Stephan
d5e1a2ed45
actually use an f-string when querying wttr.in
4 years ago
Brian S. Stephan
5f6e255ded
fix some line length violations in weather/ircplugin.py
4 years ago
Brian S. Stephan
c0c0306419
expose weather report as an rpc view
4 years ago
Brian S. Stephan
56d0e26c6d
reimplement !weather in the IRC bot
4 years ago
Brian S. Stephan
b42d0ac0e9
pin irc==15.0.6 in requirements
4 years ago
Brian S. Stephan
31758b80b6
weather: start rewriting weather plugin to use wttr.in
4 years ago
Brian S. Stephan
802072caed
add markov RPC method for learning a line
4 years ago
Brian S. Stephan
9e4bc595a4
add markov RPC method for generating a line from a context
4 years ago
Brian S. Stephan
d34fb18949
rename 'home' view as 'index', fixes DEBUG page behavior
4 years ago
Brian S. Stephan
abce0262f3
provide dice_str in exceptions, where applicable
4 years ago
Brian S. Stephan
b917f78ca5
replace dice sanity checks as asserts
4 years ago
Brian S. Stephan
c2aa3df13f
fix some '!= None' checks, rewrite as 'is not None'
4 years ago
Brian S. Stephan
6b8dd1a645
dos2unix dice/*
4 years ago
Brian S. Stephan
649a148209
don't assert on trials if they aren't provided
4 years ago
Brian S. Stephan
8fcc8365e3
add a dice rolling API view to the django app
4 years ago
Brian S. Stephan
f78d407d4c
move DiceRoller to its own module
...
while I'm doing that, standardize the usage of raising exceptions when parsing goes wrong
4 years ago
Brian S. Stephan
8528152483
remove dice cthulhutech roll. hasn't been used in forever
4 years ago
Brian S. Stephan
f2fb0a26a4
remove unnecessary unicode_literal future imports, we py3 now
4 years ago
Brian S. Stephan
0f88715ffd
remove unnecessary requirements-server.*
4 years ago
Brian S. Stephan
2f98a64cdd
version bumps and migration to django 2.2
4 years ago
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
4 years ago
Brian S. Stephan
2bae93778e
admin: show core admin models again in admin
5 years ago
Brian S. Stephan
c02d76d178
properly prospect all of the code
...
the move to flatten the directories one level of dr_botzo is probably
what caused this to be bad
5 years ago
Brian S. Stephan
7fb3738f5a
Add changelog
6 years ago
Brian S. Stephan
1e1750e983
karma: only show the top 5 karmaers, as intended
6 years ago
Brian S. Stephan
6572a54cd2
karma: just some whitespace code quality stuff
6 years ago