Commit graph

67 commits

Author SHA1 Message Date
8f7899f031
remove need for quotes in notification commands 2025-01-01 01:42:16 -05:00
83fd598f9d
add log to admin eval namespace 2025-01-01 01:24:49 -05:00
66747982db
switch from debug to info 2025-01-01 01:23:24 -05:00
cfb1b8449d
gracefully handle invalid regexes 2025-01-01 01:19:15 -05:00
4a27156cd0
prevent repeatedly opting out and in 2025-01-01 01:19:00 -05:00
cb227109f4
gracefully handle not being able to message users 2025-01-01 01:18:40 -05:00
bd5706c0ce
add basic import functionality 2025-01-01 00:51:41 -05:00
347aa76de5
use execute_fetchall instead of cursor 2025-01-01 00:50:43 -05:00
76521c9d82
refactor keyword adding using exceptions 2025-01-01 00:50:12 -05:00
3d90376535
paginate error handling messages 2025-01-01 00:49:51 -05:00
4fa6b25971
comment out export c 2024-12-31 18:19:42 -05:00
91594c15b7
change nomen command description 2024-12-31 18:19:28 -05:00
d7863f2a49
refactor purge to use foreign key cascade 2024-12-31 18:19:11 -05:00
f3b40986be
implement settings command 2024-12-31 18:18:42 -05:00
2bdf4f3e25
add todo for regex names 2024-12-31 18:15:52 -05:00
77d329ac45
fix before invoke hook to properly add user default settings 2024-12-31 18:15:33 -05:00
40e55ac316
allow members with manage guild to change guild prefix 2024-12-31 18:15:11 -05:00
8b538ba78d
implement ignoring, blocking, and pausing 2024-12-31 18:15:00 -05:00
c0d535c8df
remove redundant db migration log 2024-12-31 18:13:54 -05:00
42281010c5
fix admin eval command 2024-12-31 18:10:28 -05:00
d868427fc6
add short helpers for getting/changing user settings 2024-12-31 18:09:58 -05:00
1573d0b046
improve error logging 2024-12-31 18:09:46 -05:00
3de920f54b
add repr to db rows 2024-12-31 18:09:11 -05:00
e0001625ae
use sqlite3 row class for rows 2024-12-31 14:15:20 -05:00
e31d19bcca
convert db helpers to methods 2024-12-31 14:14:46 -05:00
3a4e537828
properly check ignore_active value in schema 2024-12-31 14:08:57 -05:00
5390181cfa
set synchronous and foreign_keys on startup 2024-12-31 14:08:33 -05:00
08c4187d70
add pycache to gitignore 2024-12-30 14:21:13 -05:00
49a7ac9fd7
implement pause toggle 2024-12-28 04:05:26 -05:00
e9eb68285e
implement ignore and add stub for unignore 2024-12-28 04:05:10 -05:00
88e967eb1a
always insert user into table to maintain db constraints 2024-12-28 03:57:47 -05:00
bd6466ff5f
add sqlite optimization hints and handle all ignores 2024-12-28 03:57:27 -05:00
07b4679238
add helper for toggling user settings 2024-12-28 03:56:53 -05:00
3fed160303
add user_pauses table to db 2024-12-28 03:56:38 -05:00
a184ba5239
note that user_ignores target is channel or user id 2024-12-28 03:56:29 -05:00
127e02f7e7
add ignore_active setting to db 2024-12-28 03:56:16 -05:00
8e6ac728ed
setup foreign key constraints 2024-12-28 03:56:01 -05:00
38e41dc1b5
fix fetch_unpacked row factory 2024-12-23 00:51:48 -05:00
11e0b05be1
add delete and del as aliases for remove 2024-12-23 00:51:37 -05:00
5adf365d3e
misc cleanup 2024-12-23 00:51:27 -05:00
1cb36d41ae
handle disabled check with fetch_exists 2024-12-23 00:51:06 -05:00
ecf96b427b
explicitly specify replace into fields 2024-12-23 00:50:50 -05:00
9885dce544
improve logging in notifications, add logging to utils 2024-12-23 00:50:14 -05:00
0df744c946
implement plaintext notifications 2024-12-23 00:49:14 -05:00
ec54e31b5c
add additional debug logs for adding keywords 2024-12-20 01:14:52 -05:00
57bf820501
properly unwrap query for disabled 2024-12-20 01:14:34 -05:00
f027f8c462
format and modify migrator to ignore internal sqlite tables 2024-12-20 01:14:04 -05:00
1d9c6e0155
catch RuntimeError from db migrations 2024-12-20 01:13:38 -05:00
cef9345765
move db setup into start function 2024-12-20 01:13:21 -05:00
f447ddfd79
set log handler on root logger 2024-12-20 01:13:02 -05:00