Commit graph

113 commits

Author SHA1 Message Date
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
356d58f9d7
fix(aurora): changed the jsonencoder 2024-05-04 18:09:06 -04:00
1313834ea5
fix(aurora): fixed a pydantic error 2024-05-04 18:07:29 -04:00
b752181781
fix(aurora): oops lol 2024-05-04 18:06:23 -04:00
39479eb216
fix(aurora): fixing up some model stuff 2024-05-04 18:05:20 -04:00
e46612dc08
fix(aurora): fixed a circular import 2024-05-04 17:49:01 -04:00
e7e8d60f3b
feat(aurora): added a new object for Changes 2024-05-04 17:48:08 -04:00
eea66607d9
feat(aurora): finished migrating case_factory to the new model 2024-05-04 17:31:16 -04:00
d13ad88f16
fix(aurora): fixed a whole bunch of pydantic errors 2024-05-04 17:09:22 -04:00
6147c8c6d5
feat(aurora): whole bunch of changes to the models and various other things 2024-05-04 16:54:12 -04:00
2dfc9d9824
fix(aurora): use AuroraBaseModels for the JSONEncoder class instead of just pydantic ones to prevent issues with other data types 2024-05-04 15:37:07 -04:00
ca7c0d8d7c
fix(aurora): use pydantic basemodels instead of the Moderation model 2024-05-04 15:33:49 -04:00