Brian S. Stephan
ee6ae7080e
remove the bridge-speaker from the message when relevant
...
this allows downstream event handlers to react to e.g.:
<discord_user> !weather 12345
as if they were normal leading IRC commands
2 weeks ago
Brian S. Stephan
333424025b
support markov targets with identical names on different servers
...
markov targets are queried and autogenerated based on chatter, but had a
legacy name which is no longer in use for this, preferring the foreign
keys to channel and consequently server. the name is really just
informative these days, but was still being used to find targets, and
thus was breaking when two servers had the same channel name in them.
this fixes that
5 months ago
Brian S. Stephan
98abab560e
flake8 cleanups
6 months ago
Brian S. Stephan
86e55cb812
ignore migrations in the flake8 checking
6 months ago
Brian S. Stephan
420a7b1472
add the ability to disable the web display of some apps
6 months ago
Brian S. Stephan
a214d8acfd
remove unused weather underground key
6 months ago
Brian S. Stephan
93c522037f
use r-string for the regex path
6 months ago
Brian S. Stephan
b7976c46d1
fix the loading of the karma UI
7 months ago
Brian S. Stephan
d962b275ff
remove the gitlab bot, it's its own project now
7 months ago
Brian S. Stephan
f898f35ce6
replace execute_delayed with reactor.scheduler.execute_after
...
the former was deprecated forever ago, and apparently removed. this may
fix the disconnect detection logic
7 months ago
Brian S. Stephan
4289f95800
report on the version of dr.botzo in CTCP VERSION
7 months ago
Brian S. Stephan
572ecddceb
do some small cleanups
7 months ago
Brian S. Stephan
3aadde4b71
remove XMLRPC inheritence that overrode a method no longer in existence
...
this is probably from python 2 days; we inherited from
SimpleXMLRPCRequestHandler to change the logging, but the method
overrode no longer exists so this did nothing
7 months ago
Brian S. Stephan
c2d26f404e
deduplicate Channel object from irc library
...
I think this is an extremely ancient copy and paste job I never fully
corrected
7 months ago
Brian S. Stephan
ecaabbce89
unpin the irc library
7 months ago
Brian S. Stephan
051e656a82
fix errant reference to IrcChannel object rather than just the name
7 months ago
Brian S. Stephan
0ea54a5ee2
require authentication to get dispatch objects via API
7 months ago
Brian S. Stephan
ffcdc3f8d8
rename dispatcher action type to action_type
7 months ago
Brian S. Stephan
cff1a183cf
fix dispatcher API URLs to allow key-by-name
7 months ago
Brian S. Stephan
68f7c80b7e
put the security middleware as the first middleware
...
I don't think I've ever gotten a solid idea that this is *necessary*,
but I've seen other docs refer to/assume this, so sure?
7 months ago
Brian S. Stephan
7baa70d8f6
customize the list view in the django admin
7 months ago
Brian S. Stephan
39290fb63c
allow : and , after @bot mentions
7 months ago
Brian S. Stephan
55d856b8fd
account for the discord bridge in the core bot addressed flag
7 months ago
Brian S. Stephan
88ea0dbbb4
test that <somebody> is only stripped when from the bridge user itself
7 months ago
Brian S. Stephan
cfeddfdc4e
markov state queries need the context to be unique
7 months ago
Brian S. Stephan
d516c1b08e
also clean up mentions that weren't cleaned because of the bridge nick
7 months ago
Brian S. Stephan
667a85aa46
add a basic learn/retrieve test since I broke it a while back
7 months ago
Brian S. Stephan
0227b74eee
when creating a markov target, tie it to ircbot models
7 months ago
Brian S. Stephan
76a052e091
genericize chain remover to use it for bridge and addressed chains
7 months ago
Brian S. Stephan
19cd23879f
management command to remove nicks from chains due to bridge
7 months ago
Brian S. Stephan
f59dc35b25
test the combination of bridge and addressing learning
7 months ago
Brian S. Stephan
debf086b8d
test the ability to not learn our nick when addressed
7 months ago
Brian S. Stephan
ec1767e38b
remove the speaker from messages coming over the bridge when learning
7 months ago
Brian S. Stephan
0bfe3f9549
variable tweak to match other plugins (nick -> who)
7 months ago
Brian S. Stephan
363ec49097
add test to confirm markov irc plugin behavior
7 months ago
Brian S. Stephan
8549c2ef8a
set pytest settings to aid testing
7 months ago
Brian S. Stephan
d24f74e53f
don't build trimmed_what until we know not to ignore chatter
7 months ago
Brian S. Stephan
f812857d75
add discord bridge field to the channel model
...
will be used in a future change to clean up markov chains
7 months ago
Brian S. Stephan
3d0be3c25a
linter fixes for markov library methods
7 months ago
Brian S. Stephan
8b3caabb57
linting fixes on the markov models
7 months ago
Brian S. Stephan
1cf0364268
move templates aroudn to satisfy packaging now that it's being tested
7 months ago
Brian S. Stephan
337e4db650
update urls.pyes to use path() and add some tests
7 months ago
Brian S. Stephan
95396802de
add safety dependency checking
7 months ago
Brian S. Stephan
4bcf06d5e7
version bumps, with some hopefully temporary pins
...
* django pinned to <4 since there are compatibility things to fix first
* tox pinned to <4 because of issues where it's incompatbile with safety
(safety itself coming in a moment)
7 months ago
Brian S. Stephan
54bf00b167
remove references from deleted twitter module
7 months ago
Brian S. Stephan
133c1df638
add python 3.9, 3.10 to support via tox
7 months ago
Brian S. Stephan
7c44becaa0
drop unsupported python 3.6, 3.7
7 months ago
Brian S. Stephan
76bcdd5fef
config flag for having !dice/!random prefix the nick
...
with the discord-irc bridge in play, the bot was sending all !roll
results to the bridge user, which wasn't all that useful
1 year ago
Brian S. Stephan
1f5dc50d89
remove dead auth_login login URL variable
2 years ago
Brian S. Stephan
bc7108cfb7
properly calculate relative offsets via parseDT
2 years ago