Commit graph

76 commits

Author SHA1 Message Date
c507bafa87
properly handle single lines being too long 2025-01-01 17:56:48 -05:00
522a2ee204
paginate long non-embed notifications 2025-01-01 17:53:26 -05:00
7f70c2afc8
prevent triggering foreign key constraints in import 2025-01-01 12:22:11 -05:00
0093c92a7e
format and paginate return values in admin eval 2025-01-01 12:22:00 -05:00
fac4fec25f
stop triggering cascade delete when changing settings 2025-01-01 12:21:43 -05:00
065ff678a8
add README 2025-01-01 02:25:46 -05:00
8fb911b1ae
add GPL license 2025-01-01 02:15:55 -05:00
34f6acbabd
add warning to keyword regex 2025-01-01 02:04:46 -05:00
1186f1b23e
remove repr in ignore/unignore 2025-01-01 01:46:40 -05:00
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