Commit graph

308 commits

Author SHA1 Message Date
300d26dc7e
fix(aurora): fixed a bunch of json issues
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 30s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 49s
2024-05-04 22:50:30 -04:00
e8d210df2a
fix(aurora): removed a %s
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 45s
2024-05-04 22:19:29 -04:00
acf3b0c68f
fix(aurora): added logging for the Moderation.update() method
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 45s
2024-05-04 22:17:52 -04:00
04d10d2cf8
fix(aurora): strip and replace the json dumps before inserting them into the db
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s
2024-05-04 22:12:00 -04:00
0b697f9f50
fix(aurora): change how Moderation.update() works
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-05-04 22:07:51 -04:00
557ac45fcc
fix(aurora): fixed a circular import
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-05-04 22:05:14 -04:00
3f8cdf2012
fix(aurora): fixed an sqlite error
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s
2024-05-04 22:04:29 -04:00
b03ce04245
fix(aurora): fixed an unboundlocalerror in Change.from_dict()
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 25s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 39s
2024-05-04 22:02:31 -04:00
dc44e8c6de
feat(aurora): migrated /edit to the new model system
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 39s
2024-05-04 22:01:32 -04:00
fc15b434c7
feat(aurora): finished the factory migrations
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 23s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 32s
2024-05-04 21:24:37 -04:00
e89db3de5a
misc(aurora): added some markdown formatting
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 21s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 31s
2024-05-04 21:20:05 -04:00
a8414a7918
fix(aurora): fixed some subscripting errors in changes_factory
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 21s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 31s
2024-05-04 21:19:06 -04:00
6eeab9ed96
fix(aurora): fixed a keyerror
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 21s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 31s
2024-05-04 21:17:03 -04:00
94f6d6c3b5
fix(aurora): fixed the changes_factory
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 22s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 31s
2024-05-04 21:15:39 -04:00
ee331b7544
fix(aurora): fixed an incorrect conditional statement resulting in unintended behavior
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 21s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 32s
2024-05-04 21:07:37 -04:00
50c2db80d9
fix(aurora): convert datetimes to unix timestamps
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 21s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 31s
2024-05-04 21:06:29 -04:00
23eba46948
fix(aurora): fix a few classmethods returning None instead of their constructed classes
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 21s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 30s
2024-05-04 21:02:18 -04:00
0b31e70089
fix(aurora): fixed a conditional statement and a pydantic issue
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 24s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 33s
2024-05-04 20:59:23 -04:00
3f6aec0a82
fix(aurora): don't JSON serialize the Red class
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 22s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 31s
2024-05-04 20:55:11 -04:00
a22de1d2c2
fix(aurora): fixed another pydantic error
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 22s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 31s
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
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 20s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 30s
2024-05-04 18:27:12 -04:00
a7d8f452d1
fix(aurora): updated utilities.json.JSONEncoder to match the model change I just made
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 21s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 31s
2024-05-04 18:23:24 -04:00
6520f4f2b9
fix(aurora): don't inherit from AuroraBaseModel
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 22s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 31s
2024-05-04 18:22:42 -04:00
ea280c2d62
fix(aurora): fixed a syntax error
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 21s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 30s
2024-05-04 18:18:57 -04:00
d70f2bf5f1
fix(aurora): fixed guild ids appearing in changes
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 21s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 31s
2024-05-04 18:17:21 -04:00
356d58f9d7
fix(aurora): changed the jsonencoder
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 21s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 31s
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
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 21s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 31s
2024-05-04 18:07:29 -04:00
b752181781
fix(aurora): oops lol
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 20s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 30s
2024-05-04 18:06:23 -04:00
39479eb216
fix(aurora): fixing up some model stuff
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 21s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 30s
2024-05-04 18:05:20 -04:00
e46612dc08
fix(aurora): fixed a circular import
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 22s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 31s
2024-05-04 17:49:01 -04:00
e7e8d60f3b
feat(aurora): added a new object for Changes
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 21s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 31s
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
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-05-04 17:15:21 -04:00
a3a208b38e
fix(aurora): fixed an incorrect function call in Moderation.from_sql()
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 42s
2024-05-04 17:12:35 -04:00
26bf5920c6
fix(aurora): mark the bot as a classvar in the moderation model
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 42s
2024-05-04 17:10:26 -04:00
d13ad88f16
fix(aurora): fixed a whole bunch of pydantic errors
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 42s
2024-05-04 17:09:22 -04:00
6147c8c6d5
feat(aurora): whole bunch of changes to the models and various other things
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 39s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 58s
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
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 32s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 48s
2024-05-04 15:37:07 -04:00
ca7c0d8d7c
fix(aurora): use pydantic basemodels instead of the Moderation model
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 34s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 51s
2024-05-04 15:33:49 -04:00
98f3e5943b
fix(aurora): fixed incorrect kwarg name
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 34s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 48s
2024-05-04 15:29:01 -04:00
7dfd9c607a
misc(aurora): moved some stuff around
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 34s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 50s
2024-05-04 15:25:05 -04:00
df87612055
feat(aurora): added imported_timestamp to metadata on new imports
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 36s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 51s
2024-05-04 15:13:31 -04:00
58303b8e9c
feat(aurora): added a to_json method to the moderation model
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 33s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 49s
2024-05-04 15:08:08 -04:00
ca1722fee3
feat(aurora): migrated to a custom json encoder
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 35s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 51s
2024-05-04 15:05:50 -04:00
69805b276f
fix(aurora): fixed an issue with json decoding
Some checks failed
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 43s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 31s
2024-05-04 14:58:24 -04:00
25d7101cb5
fix(aurora): testing a potential bugfix
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 33s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 49s
2024-05-04 14:55:17 -04:00
92f9619cea
fix(aurora): added two conditional statements to fix an error
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 31s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 45s
2024-05-04 14:54:14 -04:00
1d825625f3
fix(aurora): fixed some broken conditional statements
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 44s
2024-05-04 14:53:04 -04:00
ea65816c32
fix(aurora): fixed an incorrect if statement
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 32s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 46s
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
Some checks failed
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 45s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 33s
2024-05-04 14:49:07 -04:00
e8ca0aeb1c
fix(aurora): convert float timestamps to integers
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 33s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 48s
2024-05-04 14:19:48 -04:00
2da76eb51a
feat(aurora): subclassed jsonencoder to allow for custom behavior
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 32s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 46s
2024-05-04 14:18:19 -04:00
e5cdd3893f
fix(aurora): cleaned up the Moderation model
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 31s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 46s
2024-05-04 14:08:53 -04:00
14a04cff59
fix(aurora): fixed an error
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 32s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 47s
2024-05-04 13:48:57 -04:00
f3d6244a17
fix(aurora): optimizing the from_sql method
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 32s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 46s
2024-05-04 13:47:07 -04:00
b6d1510698
fix(aurora): fixed a broken import
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 31s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 45s
2024-05-04 13:42:58 -04:00
c0969ea947
feat(aurora): added a Moderation model
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 33s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 49s
2024-05-04 13:41:11 -04:00
c618f9be72
fix(aurora): updated the aurora importer to have all of the currently implemented moderation types
All checks were successful
Actions / Build Documentation (MkDocs) (push) Successful in 33s
Actions / Lint Code (Ruff & Pylint) (push) Successful in 46s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 31s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 43s
2024-05-04 12:57:27 -04:00
76e9c1ec0d
fix(aurora): default timeouts to None instead of 0
All checks were successful
Actions / Build Documentation (MkDocs) (push) Successful in 35s
Actions / Lint Code (Ruff & Pylint) (push) Successful in 49s
2024-05-03 22:25:03 -04:00
bd48b43517
fix(aurora): reduced view timeouts to 60 seconds
All checks were successful
Actions / Build Documentation (MkDocs) (push) Successful in 33s
Actions / Lint Code (Ruff & Pylint) (push) Successful in 46s
2024-05-03 22:21:28 -04:00
d6f33857a3
feat(aurora): added timeouts to configuration views
Some checks failed
Actions / Lint Code (Ruff & Pylint) (push) Has been cancelled
Actions / Build Documentation (MkDocs) (push) Has been cancelled
2024-05-03 22:20:53 -04:00
6c859d72a8
fix(aurora): pylint fix
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 34s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 49s
2024-05-03 21:45:04 -04:00
1d1795c262
fix(aurora): added addrole/removerole support to case_factory
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 31s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 45s
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
cd514d0535
fix(aurora): fixed removerole adding roles instead of removing them 2024-05-03 20:56:07 -04:00
908fed37bc
fix(aurora): fixed a TypeError in the expiry handler task 2024-05-03 20:52:29 -04:00
7ef13016d9
fix(aurora): fixed an AttributeError in the expiry handler 2024-05-03 20:51:02 -04:00
877f5e00d3
fix(aurora): adding some more logging to the expiry task 2024-05-03 20:47:19 -04:00
bcef643349
fix(aurora): fixed an incorrectly named column in on_member_join 2024-05-03 20:44:04 -04:00
1a74ce9130
fix(aurora): fixed a broken logging statement 2024-05-03 20:38:07 -04:00
67142c6458
fix(aurora): added more verbose debug logging to the expiry task 2024-05-03 20:37:01 -04:00
dc8138bd89
fix(aurora): added warning logging to the expiry task 2024-05-03 20:32:02 -04:00
f9e807957f
fix(aurora): why was I trying to raise an exception???? 2024-05-03 20:28:26 -04:00
8e59b5a4bd
fix(aurora): added a missing ; to an sql statement 2024-05-03 20:25:42 -04:00
6966ea1613
fix(aurora): added a missing ) in an sql query 2024-05-03 20:24:16 -04:00
752a41855a
fix(aurora): actually fixed the string concatenation bug 2024-05-03 20:21:30 -04:00
0642d5eb42
fix(aurora): fixed a bug in addrole and removerole with string concatenation 2024-05-03 20:18:29 -04:00
ebf739b563
feat(aurora): added a listener to readd roles to a user on guild join 2024-05-03 20:10:26 -04:00
f6b827c64f
feat(aurora): added expiry handling for addrole and removerole 2024-05-03 20:09:48 -04:00
b8a4d247f8
fix(aurora): fixed a bug in /case with exports to codeblocks being improperly formatted 2024-05-03 20:09:23 -04:00
a7fcbc4dab
feat(aurora): implemented removerole command 2024-05-03 20:08:57 -04:00
acb737f0a6
fix(aurora): fixed a broken button in the guild config menu
All checks were successful
Actions / Build Documentation (MkDocs) (push) Successful in 39s
Actions / Lint Code (Ruff & Pylint) (push) Successful in 56s
2024-04-26 16:14:30 -04:00
4344d26096
feat(AntiPolls): added the cog
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 39s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 54s
2024-04-16 10:44:05 -04:00
df970717c2
feat(aurora): added sorting based on role position for the addrole and immune role configuration embeds
All checks were successful
Actions / Build Documentation (MkDocs) (push) Successful in 38s
Actions / Lint Code (Ruff & Pylint) (push) Successful in 53s
2024-04-08 11:57:28 -04:00
97b54b507b
fix(aurora): fixed an issue with adding multiple immune roles/addrole roles at once
All checks were successful
Actions / Build Documentation (MkDocs) (push) Successful in 39s
Actions / Lint Code (Ruff & Pylint) (push) Successful in 55s
2024-04-08 11:46:22 -04:00
0955282325
fix(aurora): do not run handle_expiry before Red is ready 2024-04-08 06:24:34 -04:00
833d6954cc
misc(repo): changed all logger names
Some checks failed
Actions / Build Documentation (MkDocs) (push) Successful in 42s
Actions / Lint Code (Ruff & Pylint) (push) Failing after 57s
2024-04-08 05:55:35 -04:00
9f7244cd65
feat(Aurora): added a respect_hierarchy configuration option and relevant configuration button to [p]aurora set guild, along with functionality that uses this configuration value
All checks were successful
Actions / Build Documentation (MkDocs) (push) Successful in 33s
Actions / Lint Code (Ruff & Pylint) (push) Successful in 43s
2024-04-05 10:43:58 -04:00
a4f2d21fa1
fix(aurora): fixed a minor issue in utilities.utils.get_bool_emoji 2024-04-05 10:42:13 -04:00
5adaca755d
feat(aurora): added documentation link to cog-level help embed 2024-03-29 07:17:39 -04:00
4c603eea46
misc(aurora): version bump
All checks were successful
Actions / Lint Code (Ruff & Pylint) (push) Successful in 26s
Actions / Build Documentation (MkDocs) (push) Successful in 19s
2024-03-08 15:39:37 -05:00
92e8ee2dc2
fix(aurora): removed humanize from factory.py
All checks were successful
Actions / Lint Code (Ruff & Pylint) (push) Successful in 21s
Actions / Build Documentation (MkDocs) (push) Successful in 18s
2024-03-08 15:01:24 -05:00
99dddf2fa7
fix(aurora): remove humanize
Some checks failed
Actions / Lint Code (Ruff & Pylint) (push) Failing after 23s
Actions / Build Documentation (MkDocs) (push) Successful in 17s
2024-03-08 14:56:50 -05:00
ba7a5f9208
fix(aurora): fixed an out of range value error if you ban someone for 30000000 years
All checks were successful
Actions / Lint Code (Ruff & Pylint) (push) Successful in 29s
Actions / Build Documentation (MkDocs) (push) Successful in 21s
2024-03-08 14:30:57 -05:00
ddb9f30d6f
fix(aurora): added returns to the errors in the timedelta and relativedelta commands 2024-03-08 14:27:50 -05:00
3b5932bac9
fix(aurora): fixed broken help formatting
All checks were successful
Actions / Lint Code (Ruff & Pylint) (push) Successful in 22s
Actions / Build Documentation (MkDocs) (push) Successful in 19s
2024-03-08 14:21:26 -05:00
f4efcb8ea5
feat(aurora): migrated to Red's builtin timedelta/relativedelta parsing
All checks were successful
Actions / Lint Code (Ruff & Pylint) (push) Successful in 26s
Actions / Build Documentation (MkDocs) (push) Successful in 20s
2024-03-08 14:19:48 -05:00