420a7b1472
add the ability to disable the web display of some apps
2023-03-27 16:05:42 -05:00
a214d8acfd
remove unused weather underground key
2023-03-27 14:26:51 -05:00
93c522037f
use r-string for the regex path
2023-03-27 14:20:07 -05:00
b7976c46d1
fix the loading of the karma UI
2023-03-07 15:04:35 -06:00
d962b275ff
remove the gitlab bot, it's its own project now
2023-03-02 08:05:42 -06:00
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
2023-03-02 00:51:22 -06:00
4289f95800
report on the version of dr.botzo in CTCP VERSION
2023-03-02 00:45:55 -06:00
572ecddceb
do some small cleanups
2023-03-02 00:45:29 -06:00
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
2023-03-02 00:20:25 -06:00
c2d26f404e
deduplicate Channel object from irc library
...
I think this is an extremely ancient copy and paste job I never fully
corrected
2023-03-02 00:19:27 -06:00
ecaabbce89
unpin the irc library
2023-03-02 00:16:32 -06:00
051e656a82
fix errant reference to IrcChannel object rather than just the name
2023-03-02 00:15:06 -06:00
0ea54a5ee2
require authentication to get dispatch objects via API
2023-02-28 18:37:05 -06:00
ffcdc3f8d8
rename dispatcher action type to action_type
2023-02-28 18:31:53 -06:00
cff1a183cf
fix dispatcher API URLs to allow key-by-name
2023-02-28 18:19:46 -06:00
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?
2023-02-20 10:30:13 -06:00
7baa70d8f6
customize the list view in the django admin
2023-02-20 08:59:54 -06:00
39290fb63c
allow : and , after @bot mentions
2023-02-19 22:55:14 -06:00
55d856b8fd
account for the discord bridge in the core bot addressed flag
2023-02-19 21:12:01 -06:00
88ea0dbbb4
test that <somebody> is only stripped when from the bridge user itself
2023-02-19 21:00:12 -06:00
cfeddfdc4e
markov state queries need the context to be unique
2023-02-19 19:36:16 -06:00
d516c1b08e
also clean up mentions that weren't cleaned because of the bridge nick
2023-02-19 18:39:36 -06:00
667a85aa46
add a basic learn/retrieve test since I broke it a while back
2023-02-19 18:27:05 -06:00
0227b74eee
when creating a markov target, tie it to ircbot models
2023-02-19 18:26:00 -06:00
76a052e091
genericize chain remover to use it for bridge and addressed chains
2023-02-19 18:26:00 -06:00
19cd23879f
management command to remove nicks from chains due to bridge
2023-02-19 18:26:00 -06:00
f59dc35b25
test the combination of bridge and addressing learning
2023-02-19 18:26:00 -06:00
debf086b8d
test the ability to not learn our nick when addressed
2023-02-19 18:26:00 -06:00
ec1767e38b
remove the speaker from messages coming over the bridge when learning
2023-02-19 18:26:00 -06:00
0bfe3f9549
variable tweak to match other plugins (nick -> who)
2023-02-19 18:26:00 -06:00
363ec49097
add test to confirm markov irc plugin behavior
2023-02-19 18:25:57 -06:00
8549c2ef8a
set pytest settings to aid testing
2023-02-19 17:55:42 -06:00
d24f74e53f
don't build trimmed_what until we know not to ignore chatter
2023-02-19 17:55:41 -06:00
f812857d75
add discord bridge field to the channel model
...
will be used in a future change to clean up markov chains
2023-02-19 17:55:41 -06:00
3d0be3c25a
linter fixes for markov library methods
2023-02-19 17:55:38 -06:00
8b3caabb57
linting fixes on the markov models
2023-02-16 16:17:49 -06:00
1cf0364268
move templates aroudn to satisfy packaging now that it's being tested
2023-02-16 16:14:06 -06:00
337e4db650
update urls.pyes to use path() and add some tests
2023-02-16 00:04:25 -06:00
95396802de
add safety dependency checking
2023-02-15 20:09:26 -06:00
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)
2023-02-15 19:51:46 -06:00
54bf00b167
remove references from deleted twitter module
2023-02-15 19:49:27 -06:00
133c1df638
add python 3.9, 3.10 to support via tox
2023-02-15 18:17:32 -06:00
7c44becaa0
drop unsupported python 3.6, 3.7
2023-02-15 18:00:21 -06:00
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
2022-07-14 23:00:05 -05:00
1f5dc50d89
remove dead auth_login login URL variable
2021-12-13 15:08:24 -06:00
bc7108cfb7
properly calculate relative offsets via parseDT
2021-12-01 07:51:58 -06:00
dfdd6d6dc5
remove registration stuff from templates
2021-10-27 07:50:57 -05:00
75a1b8d7f3
version bump (new Django!) and remove twitter lib
2021-10-27 07:50:13 -05:00
fd5c4dad1a
remove unused import
2021-10-26 23:10:45 -05:00
7264deee2a
remove the long unsupported and unused twitter module
2021-10-26 22:58:24 -05:00