Commit graph

341 commits

Author SHA1 Message Date
834d116b20
fix(aurora): fixed a syntax error 2024-05-06 15:32:01 -04:00
d375716fbf
feat(aurora): added a resolve function to the Moderation model 2024-05-06 15:29:48 -04:00
dcda128f11
fix(aurora): edit command will now edit reasons as intended 2024-05-06 15:15:54 -04:00
16af26f93e
fix(aurora): fixed a logging statement 2024-05-06 15:11:11 -04:00
5be5a39c54
fix(aurora): check type of dictionary in debug log 2024-05-06 15:06:10 -04:00
e14845ef85
fix(aurora): make sure the user_id in changes is always an integer 2024-05-06 15:03:41 -04:00
8d1a57165d
fix(aurora): added debug logging 2024-05-06 15:00:54 -04:00
a4e11fd828
fix(aurora): fixing some model stuff 2024-05-06 14:55:36 -04:00
9c7e0b0b89
fix(aurora): fixed a missing parameter 2024-05-06 14:48:16 -04:00
1e865643a0
fix(aurora): fixed duration being a timedelta in case_safe 2024-05-06 14:45:04 -04:00
b7b6dc2f2e
fix(aurora): don't convert end_timestamp to an integer 2024-05-06 14:44:06 -04:00
84235d6504
fix(aurora): call from_dict properly 2024-05-06 14:41:16 -04:00
70c00a59d6
fix(aurora): fixed the broken logging statement 2024-05-06 14:40:14 -04:00
0386cb346e
fix(aurora): finally fixed the debug logging statement (maybe) 2024-05-06 14:35:02 -04:00
335d1a2a4c
fix(aurora): actually actually ACTUALLY fixed the broken logging statement 2024-05-06 14:29:57 -04:00
1b322dfe50
fix(aurora): actually actually fixed the broken logging statement 2024-05-06 14:29:09 -04:00
5b6b04dfe0
fix(aurora): actually fixed a broken logging statement 2024-05-06 14:25:42 -04:00
158e7560f8
fix(aurora): fixed a broken logging statement 2024-05-06 14:22:40 -04:00
52fcdcc96a
fix(aurora): fixed a logging issue 2024-05-06 14:21:57 -04:00
65bb9af7a6
fix(aurora): fixed an issue with dictionary values not being converted to a tuple 2024-05-06 14:20:49 -04:00
e591b2c4a5
fix(aurora): convert floats to ints 2024-05-06 14:18:54 -04:00
a86348fae3
fix(aurora): fixed a programming error 2024-05-06 14:16:51 -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
6745f0a486
fix(aurora): fixed an issue with importing changes 2024-05-06 13:44:48 -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
e8d210df2a
fix(aurora): removed a %s 2024-05-04 22:19:29 -04:00
acf3b0c68f
fix(aurora): added logging for the Moderation.update() method 2024-05-04 22:17:52 -04:00
04d10d2cf8
fix(aurora): strip and replace the json dumps before inserting them into the db 2024-05-04 22:12:00 -04:00
0b697f9f50
fix(aurora): change how Moderation.update() works 2024-05-04 22:07:51 -04:00
557ac45fcc
fix(aurora): fixed a circular import 2024-05-04 22:05:14 -04:00
3f8cdf2012
fix(aurora): fixed an sqlite error 2024-05-04 22:04:29 -04:00
b03ce04245
fix(aurora): fixed an unboundlocalerror in Change.from_dict() 2024-05-04 22:02:31 -04:00
dc44e8c6de
feat(aurora): migrated /edit to the new model system 2024-05-04 22:01:32 -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
6eeab9ed96
fix(aurora): fixed a keyerror 2024-05-04 21:17:03 -04:00
94f6d6c3b5
fix(aurora): fixed the changes_factory 2024-05-04 21:15:39 -04:00
ee331b7544
fix(aurora): fixed an incorrect conditional statement resulting in unintended behavior 2024-05-04 21:07:37 -04:00
50c2db80d9
fix(aurora): convert datetimes to unix timestamps 2024-05-04 21:06:29 -04:00
23eba46948
fix(aurora): fix a few classmethods returning None instead of their constructed classes 2024-05-04 21:02:18 -04:00
0b31e70089
fix(aurora): fixed a conditional statement and a pydantic issue 2024-05-04 20:59:23 -04:00
3f6aec0a82
fix(aurora): don't JSON serialize the Red class 2024-05-04 20:55:11 -04:00
a22de1d2c2
fix(aurora): fixed another pydantic error 2024-05-04 18:28:03 -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
6520f4f2b9
fix(aurora): don't inherit from AuroraBaseModel 2024-05-04 18:22:42 -04:00
ea280c2d62
fix(aurora): fixed a syntax error 2024-05-04 18:18:57 -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
74a0983419
fix(aurora): fixed a missing kwarg in a model initialization function 2024-05-04 18:08:27 -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
2c336ff70c
fix(aurora): fixed a faulty expiration check 2024-05-04 17:15:21 -04:00
a3a208b38e
fix(aurora): fixed an incorrect function call in Moderation.from_sql() 2024-05-04 17:12:35 -04:00
26bf5920c6
fix(aurora): mark the bot as a classvar in the moderation model 2024-05-04 17:10:26 -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
98f3e5943b
fix(aurora): fixed incorrect kwarg name 2024-05-04 15:29:01 -04:00
7dfd9c607a
misc(aurora): moved some stuff around 2024-05-04 15:25:05 -04:00
df87612055
feat(aurora): added imported_timestamp to metadata on new imports 2024-05-04 15:13:31 -04:00
58303b8e9c
feat(aurora): added a to_json method to the moderation model 2024-05-04 15:08:08 -04:00
ca1722fee3
feat(aurora): migrated to a custom json encoder 2024-05-04 15:05:50 -04:00
69805b276f
fix(aurora): fixed an issue with json decoding 2024-05-04 14:58:24 -04:00
25d7101cb5
fix(aurora): testing a potential bugfix 2024-05-04 14:55:17 -04:00
92f9619cea
fix(aurora): added two conditional statements to fix an error 2024-05-04 14:54:14 -04:00
1d825625f3
fix(aurora): fixed some broken conditional statements 2024-05-04 14:53:04 -04:00
ea65816c32
fix(aurora): fixed an incorrect if statement 2024-05-04 14:51:22 -04:00
afed1d6a37
feat(aurora): changed a lot of stuff. THIS IS A BREAKING CHANGE! VERY BREAKING! TAKE DATABASE BACKUPS BEFORE UPDATING TO THIS 2024-05-04 14:49:07 -04:00
e8ca0aeb1c
fix(aurora): convert float timestamps to integers 2024-05-04 14:19:48 -04:00
2da76eb51a
feat(aurora): subclassed jsonencoder to allow for custom behavior 2024-05-04 14:18:19 -04:00
e5cdd3893f
fix(aurora): cleaned up the Moderation model 2024-05-04 14:08:53 -04:00
14a04cff59
fix(aurora): fixed an error 2024-05-04 13:48:57 -04:00
f3d6244a17
fix(aurora): optimizing the from_sql method 2024-05-04 13:47:07 -04:00
b6d1510698
fix(aurora): fixed a broken import 2024-05-04 13:42:58 -04:00
c0969ea947
feat(aurora): added a Moderation model 2024-05-04 13:41:11 -04:00
c618f9be72
fix(aurora): updated the aurora importer to have all of the currently implemented moderation types 2024-05-04 12:57:27 -04:00
76e9c1ec0d
fix(aurora): default timeouts to None instead of 0 2024-05-03 22:25:03 -04:00
bd48b43517
fix(aurora): reduced view timeouts to 60 seconds 2024-05-03 22:21:28 -04:00
d6f33857a3
feat(aurora): added timeouts to configuration views 2024-05-03 22:20:53 -04:00
6c859d72a8
fix(aurora): pylint fix 2024-05-03 21:45:04 -04:00
1d1795c262
fix(aurora): added addrole/removerole support to case_factory 2024-05-03 21:42:02 -04:00
af108519f9
feat(aurora): imma be real chief i have no idea what i did this commit 2024-05-03 21:35:29 -04:00
a641b11daa
fix(aurora): fixed the incorrect moderation type being passed to message_factory in /removerole 2024-05-03 21:02:16 -04:00
38b0580228
fix(aurora): updated message_factory for addrole support 2024-05-03 21:01:11 -04:00