Commit graph

124 commits

Author SHA1 Message Date
df465e5ba6
fix(aurora): awaited another coroutine 2024-06-05 01:11:18 -04:00
76572e2281
fix(aurora): awaited a coroutine 2024-06-05 01:05:11 -04:00
3383e84221
fix(aurora): fixed some issues with aiosqlite 2024-06-05 00:39:56 -04:00
56a2f96a2d
feat(aurora): made database.connect() into an async context manager 2024-06-05 00:36:12 -04:00
5cbf4e7e47
feat(aurora): migrated to aiosqlite 2024-06-05 00:14:43 -04:00
027144f35d
fix(aurora): pylint fixes 2024-06-04 23:55:55 -04:00
8591649465
fix(aurora): fixed aurora.utilities.utils.timedelta_from_string not including days in its calculations 2024-06-04 23:43:53 -04:00
78630dc317
feat(aurora): added timedelta_from_string() function 2024-06-04 23:31:52 -04:00
166421b6ba
fix(aurora): removed a character causing a valueerror 2024-06-04 15:23:45 -04:00
0a207b66e4
fix(aurora): fixed an error with timedelta formatting 2024-06-04 15:22:50 -04:00
8ac735dafe
misc(aurora): change the JSONEncoder subclass to use match/case instead of if statements 2024-06-04 14:20:01 -04:00
04223c3c55
Merge branch 'main' into aurora-pydantic 2024-06-04 11:48:15 -04:00
1c6d2456ed
misc(aurora): changed aurora.utilities.utils.get_bool_emoji to use match/case instead of if/else 2024-06-04 00:04:46 -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
bbe8b281d1
misc(aurora): changed two typehints in aurora.utilities.utils and added other typehints 2024-06-03 23:46:22 -04:00
21e51dc320
misc(aurora): minor syntax change 2024-06-03 00:09:39 -04:00
db477c4744
fix(aurora): fixed an issue with json encoding 2024-06-03 00:07:52 -04:00
5b64ee9578
feat(aurora): add metadata to evidenceformat 2024-05-24 04:22:42 -04:00
bfb4d8768d
fix(aurora): add moderation metadata to the log factory 2024-05-24 04:18:17 -04:00
3dcc637920
fix(aurora): avoid keyerrors 2024-05-24 04:15:27 -04:00
9a4f19f4a1
fix(aurora): show metadata key/value pairs in /case 2024-05-24 04:12:28 -04:00
599ab8c51d
fix(aurora): fixed a non-async function being awaited 2024-05-24 03:56:32 -04:00
0411e3dab7
fix(aurora): fixed a typeerror in the check_moddable function 2024-05-24 03:49:55 -04:00
1405dae49e
fix(aurora): add roles to evidenceformat 2024-05-20 20:59: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
c69b3cd032
misc(aurora): import change 2024-05-06 17:33:28 -04:00
7dfe94869c
misc(aurora): codebase cleanup 2024-05-06 17:23:59 -04:00
ac8cefd779
fix(aurora): pylint fixes 2024-05-06 16:47:21 -04:00
d7ca5cab46
feat(aurora): cleaned up the codebase and fixed a whole bunch of bugs 2024-05-06 16:34:08 -04:00
37e471fbaa
fix(aurora): fixing a whole bunch of stuff 2024-05-06 14:15:05 -04:00
0553856aa9
fix(aurora): fixed utils.generate_dict() using literal_eval still even when it's unnecessary 2024-05-06 13:51:23 -04:00
85a935f9b3
fix(aurora): fixed the json issue from yesterday 2024-05-06 13:27:09 -04:00
4c8cd7bd16
Revert "fix(aurora): trying ast"
This reverts commit 278bd98349.
2024-05-04 23:02:57 -04:00
278bd98349
fix(aurora): trying ast 2024-05-04 23:01:39 -04:00
cad24d852c
fix(aurora): ok fine bro 😭 2024-05-04 22:58:29 -04:00
de90f6a8b7
fix(aurora): troubleshooting this annoying json issue 2024-05-04 22:57:34 -04:00
293f77c228
fix(aurora): changed the logging statement again 2024-05-04 22:55:50 -04:00
a6371fd367
fix(aurora): changed the logging statement slightly 2024-05-04 22:55:17 -04:00
8433c946fd
fix(aurora): added a debug logging statement 2024-05-04 22:52:54 -04:00
300d26dc7e
fix(aurora): fixed a bunch of json issues 2024-05-04 22:50:30 -04:00
fc15b434c7
feat(aurora): finished the factory migrations 2024-05-04 21:24:37 -04:00
e89db3de5a
misc(aurora): added some markdown formatting 2024-05-04 21:20:05 -04:00
a8414a7918
fix(aurora): fixed some subscripting errors in changes_factory 2024-05-04 21:19:06 -04:00
94f6d6c3b5
fix(aurora): fixed the changes_factory 2024-05-04 21:15:39 -04:00
50c2db80d9
fix(aurora): convert datetimes to unix timestamps 2024-05-04 21:06:29 -04:00
3f6aec0a82
fix(aurora): don't JSON serialize the Red class 2024-05-04 20:55:11 -04:00
6a7758e8f9
fix(aurora): reverted previous change, instead using pydantic's ConfigDicts to resolve the error I was encountering previously 2024-05-04 18:27:12 -04:00
a7d8f452d1
fix(aurora): updated utilities.json.JSONEncoder to match the model change I just made 2024-05-04 18:23:24 -04:00
d70f2bf5f1
fix(aurora): fixed guild ids appearing in changes 2024-05-04 18:17:21 -04:00