Commit graph

30 commits

Author SHA1 Message Date
21fa3d9eb0
feat(aurora): added an __int__ dunder method to the moderation model 2024-06-04 12:44:58 -04:00
38180f5ccd
fix(aurora): fixed an sql operation error 2024-06-04 12:29:24 -04:00
a10af37f14
feat(aurora): add support for OFFSET in Moderation.get_latest() 2024-06-04 12:23:12 -04:00
9b0f977016
feat(aurora): moved get_next_case_number() into the Moderation class, along with removing from_sql and get_all_cases. also added some other classmethods to replace those.
also modified message_factory and its calls to add a new kwarg
2024-06-04 00:04:11 -04:00
460d5a31fc
feat(aurora): allow the Moderation.execute() classmethod to accept a cursor, to prevent opening a new database connection on every call 2024-06-03 23:48:21 -04:00
bbe8b281d1
misc(aurora): changed two typehints in aurora.utilities.utils and added other typehints 2024-06-03 23:46:22 -04:00
22f9ce52d1
fix(aurora): fixed a typeerror 2024-06-03 00:55:56 -04:00
499cfbe8a9
misc(aurora): use tuples instead of lists 2024-06-03 00:55:09 -04:00
99d95afe07
fix(aurora): fixed another TypeError 2024-06-03 00:51:51 -04:00
028e22ebec
fix(aurora): happy now? 2024-06-03 00:50:17 -04:00
4c28453173
fix(aurora): fixed a TypeError 2024-06-03 00:49:08 -04:00
d646754466
feat(aurora): added a bunch of functionality to the Moderation model 2024-06-03 00:47:56 -04:00
db477c4744
fix(aurora): fixed an issue with json encoding 2024-06-03 00:07:52 -04:00
1990b97518
fix(aurora): ignore moderation cases where the moderation_id is 0 2024-06-02 23:59:17 -04:00
641f45d126
feat(aurora): add the from_sql_all classmethod to the Moderation model 2024-06-02 23:53:19 -04:00
7a9c9846de
fix(aurora): fixed a broken from_id method 2024-05-24 04:09:27 -04:00
0cc7d6079d
fix(aurora): removed useless debug statement 2024-05-24 04:06:05 -04:00
ed923f1d9b
fix(aurora): finally actually maybe fixed the pydantic validation error 2024-05-24 04:04:21 -04:00
39cb5feb50
misc(aurora): adding temporary debug logging 2024-05-24 04:02:15 -04:00
c90796f6b3
fix(aurora): hopefully actually fixed the pydantic validation error 2024-05-24 04:01:15 -04:00
0b1d1d29e6
fix(aurora): hopefully fixed a pydantic validation error 2024-05-24 03:57:54 -04:00
797fd561c9
fix(aurora): fixed another typeerror 2024-05-24 03:53:38 -04:00
51d3245703
fix(aurora): fixed a typeerror in Moderation.log() 2024-05-24 03:51:43 -04:00
67b33a2eb8
feat(aurora): added a slowmode command 2024-05-24 03:46:20 -04:00
dc51aa7bdc
fix(aurora): import fixes 2024-05-09 21:27:26 -04:00
904fd1c914
fix(aurora): fixed more import errors 2024-05-06 21:46:01 -04:00
d91a4f49f9
fix(aurora): fixed import errors 2024-05-06 21:39:43 -04:00
ab878739c4
misc(aurora): pep 604 compliance 2024-05-06 21:04:08 -04:00
2b79e3b6a8
fix(aurora): added an __init__.py to a directory that was missing one 2024-05-06 17:29:57 -04:00
7dfe94869c
misc(aurora): codebase cleanup 2024-05-06 17:23:59 -04:00