WIP: Refactor Aurora (3.0.0) #29

Draft
cswimr wants to merge 347 commits from aurora-pydantic into main

347 commits

Author SHA1 Message Date
73d3449894
fix(aurora): fixed two pydantic validation errors
Some checks failed
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 1m3s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 1m11s
Signed-off-by: cswimr <seaswimmerthefsh@gmail.com>
2024-09-25 22:57:57 -04:00
24005800fa
fix(aurora): actually fixed the thing i just tried to fix
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 32s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 1m2s
Signed-off-by: cswimr <seaswimmerthefsh@gmail.com>
2024-09-25 22:55:33 -04:00
d92a0d27da
fix(aurora): fix /case breaking if a case is resolved but the resolving user doesn't exist anymore
Some checks failed
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 3s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 55s
Signed-off-by: cswimr <seaswimmerthefsh@gmail.com>
2024-09-25 22:51:45 -04:00
97406e7bac
feat(aurora): updated phx-class-registry to ^5.0.0 and fixed some typos
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 30s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 54s
2024-09-20 14:49:28 -04:00
405729f37d
force downgrade of phx-class-registry
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 35s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 1m6s
Signed-off-by: seaswimmer <seaswimmerthefsh@gmail.com>
2024-09-20 10:38:49 -04:00
1c941462df
feat(aurora): log how many errors occured in the handle_expiry task
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 39s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 48s
2024-09-08 12:47:01 -04:00
b91946abeb
fix(aurora): catch exceptions thrown inside of the expiry handler instead of just stopping the task
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 49s
2024-09-08 12:40:38 -04:00
d4fe97f247
fix(aurora): fixed retrieving a User object instead of a Member object
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 30s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 49s
2024-09-08 12:33:16 -04:00
9e21879a49
fix(aurora): fixed note's handler using cls.string where it should have been using cls.verb
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 50s
2024-08-24 19:21:49 -04:00
d600a10729
fix(aurora): don't try and use the attribute of a Member object when the object is a User object
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 51s
2024-08-24 19:13:01 -04:00
5934506c8a
fix(aurora): make silent an optional argument in Aurora.moderate()
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 31s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 55s
2024-08-23 14:54:06 -04:00
5459392d7e
fix(aurora): update the autologger method to use the new type registry
All checks were successful
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 54s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
2024-08-23 14:43:43 -04:00
6560f98aef
feat(aurora): add [p]aurora info command
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 50s
2024-08-22 18:47:17 -04:00
fa8036291c
fix(aurora): bump version and change author key
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 49s
2024-08-22 17:54:36 -04:00
fadb3e1a9d
fix(aurora): make the moderation_id key in the moderation tables not nullable (NOT NULL)
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 49s
2024-08-22 17:52:50 -04:00
bc3ea67e1e
fix(aurora): pylint fixes
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 30s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 53s
2024-08-22 16:04:37 -04:00
43e82c9eb5
feat(aurora): minify export json to reduce file sizes
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 52s
2024-08-22 15:59:23 -04:00
320db1b692
fix(aurora): make sure that bans with durations are imported as tempbans
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 51s
2024-08-22 15:44:22 -04:00
fa27d12de5
feat(aurora): make all models compatible with repr
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 51s
2024-08-22 15:33:36 -04:00
794ce56040
misc(aurora): changed a docstring
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 51s
2024-08-22 12:33:30 -04:00
064784c9d7
fix(aurora): fixed the Note moderation type handler using cls.string instead of cls.verb
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 30s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 54s
2024-08-22 12:26:42 -04:00
101d364241
misc(aurora): remove a useless logging call
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 52s
2024-08-21 17:21:54 -04:00
cd3d3c7733
fix(aurora): make sure the bot key does not exist in the Change.from_dict() data dictionary
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 30s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 54s
2024-08-21 15:16:40 -04:00
4d2004ed93
fix(aurora): fix changes not being imported 2024-08-21 15:16:10 -04:00
a3ad38f338
misc(aurora): improved Change.from_dict() 2024-08-21 15:15:50 -04:00
64758686bb
misc(aurora): simplified AuroraGuildModel a bit
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 31s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 52s
2024-08-21 14:49:47 -04:00
fce4001152
fix(aurora): hopefully fixed changes not being imported 2024-08-21 14:48:56 -04:00
90be42769c
Merge branch 'main' into aurora-pydantic
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 52s
2024-08-21 14:37:16 -04:00
8479dcdd48
fix(aurora): fixed a bug in the Aurora importer that prevented new imports from being imported
Some checks failed
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 4s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
2024-08-21 14:15:25 -04:00
797793b970
feat(aurora): add _obj to the partial models
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-08-19 17:57:26 -04:00
5d22e67864
fix(aurora): don't mutate a list while iterating through it
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-08-19 17:53:15 -04:00
7c86d862cf
fix(aurora): fixed a TypeError
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-08-19 17:52:18 -04:00
edbc950741
fix(aurora): remove empty lines in changes_factory and fix timestamp formatting
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-08-19 17:50:52 -04:00
709042f057
fix(aurora): fixed an AttributeError in changes_factory
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s
2024-08-19 17:46:05 -04:00
1c3b9377b5
fix(aurora): catch a ValueError in changes_factory
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-08-19 17:45:02 -04:00
891b36ccaa
fix(aurora): fixed another syntax error in changes_factory
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-08-19 17:42:25 -04:00
9be187e4aa
fix(aurora): fixed a SyntaxError in changes_factory
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s
2024-08-19 17:41:41 -04:00
ec082b58ad
fix(aurora): make changes_factory support changes properly
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s
2024-08-19 17:40:52 -04:00
b0509d748c
fix(aurora): fixed a 403 forbidden error in some moderation type handlers when moderating someone with the administrator permission
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 42s
2024-08-19 17:23:53 -04:00
29f393fa89
fix(aurora): fix an attributeerror when editing a case type that doesn't use durations
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-08-19 17:21:33 -04:00
0c2cde1a78
fix(aurora): changed how moderation changes are added. only log the information that is actually changed, and not everything
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-08-19 17:19:01 -04:00
dc407c1125
fix(aurora): fixed the jsonencoder converting timedeltas to strings using str()
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-08-19 14:49:04 -04:00
3d3036f9b6
fix(aurora): convert timedeltas to strings before creating changes from them
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 42s
2024-08-19 14:46:08 -04:00
3e484e1ae5
fix(aurora): fixed /edit command not setting the moderation's duration properly
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 42s
2024-08-19 14:37:47 -04:00
5cd0ef61cb
fix(aurora): fixed an error in the /edit command
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-08-19 14:33:11 -04:00
46c1cf53bf
fix(aurora): fixed most of the moderation handlers having improper error handling for incorrect durations
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 31s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 44s
2024-08-19 14:24:25 -04:00
7b3608e264
fix(aurora): fixed a keyerror in the message_factory function and cleaned up some other problems
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 37s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 56s
2024-08-19 03:55:08 -04:00
ac7d950aaa
fix(aurora): added temporary debug logging
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-08-14 16:05:20 -04:00
8cbe9d94cf
fix(aurora): pass interaction instead of interaction.client to the duration_edit_handler
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 39s
2024-08-14 15:59:09 -04:00
ec508a92e3
fix(aurora): fixed a typeerror in /edit
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 40s
2024-08-14 15:57:53 -04:00
4a4f24bb8f
fix(aurora): don't continue banning someone if they're already banned
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 39s
2024-08-14 15:46:27 -04:00
9ae7607015
fix(aurora): fixed the Moderation.update() method again
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 41s
2024-08-14 15:26:55 -04:00
b0c9656758
fix(aurora): awaited a coroutine
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 42s
2024-08-14 15:23:40 -04:00
7854af8ec0
fix(aurora): fixed the /edit command failing again
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 42s
2024-08-14 15:23:05 -04:00
de4c789fea
fix(aurora): don't use deepcopy
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 41s
2024-08-14 15:21:07 -04:00
51f165c480
fix(aurora): fixed /edit command not properly storing the data from the old moderation
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 30s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 43s
2024-08-14 15:14:22 -04:00
5fc6d0eb6a
fix(aurora): fixed Moderation.update() not converting the duration timedelta to the correct kind of string
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 41s
2024-08-14 15:08:37 -04:00
48d2f8b416
fix(aurora): fixed debug logging
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 30s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 43s
2024-08-14 14:37:32 -04:00
c5472d25c1
Merge branch 'main' into aurora-pydantic
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 32s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 49s
2024-08-14 01:06:13 -04:00
001fccfe34
fix(aurora): pylint fixes
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 32s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 51s
2024-08-14 00:06:48 -04:00
fb92cdc08c
fix(aurora): fixed a bug in removerole
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 30s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 47s
2024-08-14 00:04:25 -04:00
123cd188dc
fix(aurora): fixed addrole and removerole *again*
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 31s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 48s
2024-08-14 00:02:48 -04:00
871cabfb71
fix(aurora): fixed addrole and removerole again
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 30s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 48s
2024-08-14 00:01:13 -04:00
6aaef7d3b2
fix(aurora): fixed removerole and addrole being broken if used without a duration set
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 33s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 49s
2024-08-13 23:59:36 -04:00
86c0cadd82
fix(aurora): don't pass key
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-08-13 16:39:36 -04:00
6c7cdd4e5e
fix(aurora): fixed all type
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s
2024-08-13 16:38:20 -04:00
1275b8e99a
fix(aurora): revert a stupid change
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 39s
2024-08-13 16:36:15 -04:00
71840cc148
misc(aurora): added a temporary logging call
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-08-13 16:31:00 -04:00
f5aa9f2b20
fix(aurora): fixed a programmingError when using all
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s
2024-08-13 16:26:14 -04:00
1a20ae30de
feat(aurora): add autocomplete entry for all
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s
2024-08-13 16:23:35 -04:00
3d8050d3b9
fix(aurora): fixed a minor bug with autocomplete
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 39s
2024-08-13 16:08:16 -04:00
a5e3a11479
fix(aurora): set a default argument for the resolve command's string parameter
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s
2024-08-13 15:11:39 -04:00
48259df18f
misc(aurora): move moderate() into the Aurora cog class
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-08-13 15:09:49 -04:00
233e6ac908
feat(aurora): added expired argument to the /history command
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-08-13 14:25:03 -04:00
448ac6792e
fix(aurora): fixed some expiry_handler() methods fetching the user object but not putting it into a variable
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 39s
2024-08-13 14:18:25 -04:00
009b406ff6
fix(aurora): fixed some broken expiry handlers
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 32s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 48s
2024-08-13 01:30:47 -04:00
a6124dd9ca
fix(aurora): fixed a TypeError whenever an expiry_handler function is called
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 33s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 48s
2024-08-13 01:26:50 -04:00
ad063062fb
feat(aurora): add autocomplete to /history's types argument
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 31s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 45s
2024-08-13 01:22:18 -04:00
830237938a
fix(aurora): pylint fix
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 47s
2024-08-13 00:41:25 -04:00
e559db9f10
feat(aurora): moved the converter commands to their own convert command group
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s
2024-08-12 20:46:40 -04:00
9e2bcf9b00
feat(aurora): added datetime command 2024-08-12 20:44:12 -04:00
4ec065e438
fix(aurora): fixed a NotFound error being thrown to the console 2024-08-12 20:40:10 -04:00
7c8aaba309
misc(aurora): version bump
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 40s
2024-08-12 20:33:47 -04:00
c82aa6a0f5
fix(aurora): catch an attribute error 2024-08-12 20:33:37 -04:00
10cfeeefcd
fix(aurora): awaited a coroutine 2024-08-12 20:32:14 -04:00
818ff810ea
misc(aurora): removed an old kwarg from the moderate function docstring
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 40s
2024-08-12 19:52:35 -04:00
85dbb6cc88
fix(aurora): export all moderation types
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 42s
2024-08-12 19:45:14 -04:00
8bb9223054
misc(aurora): updated my own name
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 40s
2024-08-12 18:57:48 -04:00
1bc6412b07
misc(aurora): version bump to 3.0.0-indev1
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 42s
2024-08-12 18:56:57 -04:00
cbd82f8572
fix(aurora): minor changes to the aurora importer and also fixed a bug in the Moderation.get_latest method
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 42s
2024-08-12 18:50:07 -04:00
8822d1714e
misc(aurora): make show_in_history default to True
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 41s
2024-08-12 18:18:34 -04:00
d546fb3371
misc(aurora): minor formatting fix
All checks were successful
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 41s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
2024-08-12 18:15:15 -04:00
4d408ff616
feat(aurora): implemented the per-type configuration options so they actually do something
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 40s
2024-08-12 18:13:04 -04:00
08278c2de4
fix(aurora): fixed some formatting
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 41s
2024-08-12 17:49:51 -04:00
bf36e99224
fix(aurora): fixed a registry error
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 41s
2024-08-12 17:48:01 -04:00
7c69a89442
feat(aurora): added reset button to the types menu
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 30s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 45s
2024-08-12 17:44:48 -04:00
290ac5947f
fix(aurora): actually fixed the previous TypeError 2024-08-12 17:44:39 -04:00
c134a3ed18
fix(aurora): maybe fixed a TypeError?
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 41s
2024-08-12 17:42:46 -04:00
9726b1423c
fix(aurora): fixed a ModuleNotFoundError being caused by a typo
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 42s
2024-08-12 17:40:17 -04:00
9c345ed96b
feat(aurora): add per-type configuration options and a menu to configure them
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 42s
none of the options do anything yet, this is just creating the configuration keys and the menu to modify them
2024-08-12 17:39:13 -04:00
8aaa918b6e
Merge branch 'main' into aurora-pydantic
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 33s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 50s
2024-08-12 03:19:05 -04:00
de06490050
fix(aurora): typo
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 41s
2024-08-10 13:51:17 -04:00
2e3640b738
fix(aurora): make on more accurate
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 41s
2024-08-10 13:50:47 -04:00
cb424ed722
fix(aurora): fixed another OperationalError
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 39s
2024-08-10 13:44:18 -04:00
f3246366ff
fix(aurora): fixed Moderation.get_latest() breaking when using only before and after, and no other kwargs
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 39s
2024-08-10 13:42:15 -04:00
14750787b2
fix(aurora): cast timestamps to integers
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 39s
2024-08-10 13:34:15 -04:00
14dc256919
fix(aurora); log when Modereation.execute() fails with an operationalerror
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 41s
2024-08-10 13:32:37 -04:00
49cf7c9005
feat(aurora): switch from dateparser to dateutil and add on parameter to history command
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 42s
2024-08-10 13:27:49 -04:00
1a3af342df
feat(aurora): allow for querying moderation history by date (before/after)
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 42s
2024-08-10 13:17:16 -04:00
7f0bd8c1a8
fix(aurora): fixed the Moderation.update() method being broken
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 43s
2024-07-12 16:33:00 -04:00
6edda87baa
fix(aurora): add a resolve_handler to AddRole (oops!)
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 44s
2024-07-12 16:30:34 -04:00
b379584251
fix(aurora): fixed a TypeError in the note and warn handlers
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 41s
2024-07-12 16:05:05 -04:00
f1e763673b
fix(aurora): legitimately the final pylint fixes for now
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 42s
2024-07-12 16:02:19 -04:00
c4c5b323a3
fix(aurora): ACTUALLY final pylint fixes
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 45s
2024-07-12 15:58:15 -04:00
ea12d362df
fix(aurora): final pylint fixes
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 44s
2024-07-12 15:55:16 -04:00
8d03022453
fix(aurora): more pylint fixes
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 48s
2024-07-12 15:52:27 -04:00
63e6f4b552
fix(aurora): pylint fixes
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 49s
2024-07-12 15:49:54 -04:00
47c8116ee0
misc(aurora): removed useless whitespace from the top of a file
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 43s
2024-07-12 15:42:58 -04:00
ad0d981888
fix(aurora): hopefully fixed a pydantic schema error
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 42s
2024-07-12 15:28:39 -04:00
e2b0fc999a
feat(aurora): finishing up moderation handlers
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 46s
2024-07-12 15:22:24 -04:00
9d0f2e3887
misc(aurora): send evidenceformat to dms if send_evidenceformat is called outside of an Interaction context, as epheremal messages would be disabled in this case 2024-07-06 18:58:04 -04:00
461fbf83ee
fix(aurora): use phx-class-registry instead of class-registry 2024-07-06 14:23:56 -04:00
9faf1b027c
misc(aurora): typehints
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s
2024-07-06 13:39:01 -04:00
ec32e19b8b
fix(aurora): pass a Type instead of a string
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 42s
2024-07-06 13:24:44 -04:00
9f747a77ca
fix(aurora): fixed a history call to Moderation.type that was causing a TypeError
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-07-06 13:16:53 -04:00
6d0d79c6c7
fix(aurora): properly skip over case 0
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 37s
2024-07-06 13:15:06 -04:00
13874dd4f0
fix(aurora): add a debug logging statement
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 25s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 38s
2024-07-06 13:12:47 -04:00
aae4370868
misc(aurora): fixed an incorrect string
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 25s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-07-06 13:10:47 -04:00
37bae2eeb3
fix(aurora): add a softban type
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s
2024-07-06 13:10:09 -04:00
8f0425456c
feat(aurora): boilerplate for all currently added moderation types
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s
2024-07-06 13:03:59 -04:00
a05e957dde
fix(aurora): fixed a json encoder issue that was causing an attributeerror
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-07-06 12:29:43 -04:00
0c628cf2a2
fix(aurora): fixed a TypeError
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 39s
2024-07-06 12:27:59 -04:00
bf945ec9f1
fix(aurora): fixed some stuff up
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 42s
2024-07-06 12:23:06 -04:00
54ac77ceb9
fix(aurora): fix `__str__() method of the Type` class
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 39s
2024-07-06 12:16:15 -04:00
b85932c338
feat(aurora): use resolve handlers 2024-07-06 12:15:39 -04:00
08512d0dad
feat(aurora): use the type_registry in the Moderation object
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-07-06 12:03:49 -04:00
134e787c42
fix(aurora): fixed the Moderation.get_target method trying to get a channel object from a user id
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 42s
2024-07-06 11:58:46 -04:00
127dd564f5
fix(aurora): use the verb for message embed titles
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 24s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 39s
2024-07-06 11:55:05 -04:00
88cc7b4a3f
fix(aurora): fixed another attributeerror
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 37s
2024-07-06 11:53:39 -04:00
dd89bfaf34
fix(aurora): checking against the wrong bool value for silent
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 39s
2024-07-06 11:52:19 -04:00
ee49d5b10c
misc(aurora): make target_type lowercase 2024-07-06 11:50:59 -04:00
fac00feeef
fix(aurora): fixed another AttributeError
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-07-06 11:47:56 -04:00
f2a88cbf94
fix(aurora): fixed an AttributeError
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s
2024-07-06 11:46:13 -04:00
aeec616be5
fix(aurora): assume that ctx is a commands.Context object before trying to use it in moderate
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 25s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 38s
2024-07-06 11:32:33 -04:00
9f068bba6f
feat(aurora): starting on the updated moderation type system
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s
2024-07-06 11:30:37 -04:00
fcecfe8e88
fix(aurora): fixed an issue in the galacticbot importer
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 40s
2024-07-05 19:14:03 -04:00
2aadf5134d
fix(aurora): use f-strings
Some checks failed
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 39s
Actions / Build Documentation (MkDocs) (pull_request) Failing after 26s
2024-07-05 19:03:44 -04:00
3b102debac
fix(aurora): fixed a PermissionError 2024-06-30 05:04:21 -04:00
c28b089edb
fix(aurora): fixed an issue with the /case command preventing the cog from loading 2024-06-30 05:02:32 -04:00
987fc0dbf8
feat(aurora): add scoped export functionality to aurora's /history command 2024-06-30 04:56:42 -04:00
87942213a5
fix(aurora): typehints 2024-06-11 03:17:38 -04:00
60d4afc6f3
fix(aurora): fixed AuroraBaseModel.to_json() not using AuroraBaseModel.dump() 2024-06-11 03:11:45 -04:00
0bcbcd6c0c
feat(aurora): bunch of changes 2024-06-08 20:12:22 -04:00
f6a42b97d9
misc(aurora): various model changes 2024-06-05 23:13:23 -04:00
5cb61ecd65
fix(aurora): awaited a coroutine 2024-06-05 01:39:34 -04:00
9622e037c9
fix(aurora): fixed another sql syntax error 2024-06-05 01:38:27 -04:00
e9a64e5a39
fix(aurora): fixed an sql syntax error 2024-06-05 01:37:41 -04:00
afac274978
fix(aurora): removed a useless try/except block 2024-06-05 01:36:45 -04:00
e988917319
feat(aurora): added a return_obj parameter to Moderation.execute() 2024-06-05 01:31:40 -04:00
42f7f9f69b
feat(aurora): migrated Aurora.handle_expiry() to use Moderation.execute() instead of opening its own connections 2024-06-05 01:29:47 -04:00
d07e5ed804
misc(aurora): changing around some logging levels 2024-06-05 01:12:49 -04:00
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
d629f1a5a2
fix(aurora): awaited two coroutines 2024-06-05 01:02:09 -04:00
ca4510d3a5
fix(aurora): why was I CLOSING THE CONNECTION THERE 😭 2024-06-05 01:01:17 -04:00
3247e6fb82
fix(aurora): lmao i'm dumb 2024-06-05 00:59:33 -04:00
67e3abf5ce
fix(aurora): use interaction.channel.send instead 2024-06-05 00:54:05 -04:00
d1b5346396
fix(aurora): fixed failed_cases in the aurora importer 2024-06-05 00:51:13 -04:00
fe5823b637
fix(aurora): awaited a coroutine 2024-06-05 00:41:41 -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
eebddd6e89
fix(aurora): override aiosqlite's logging level to warning 2024-06-05 00:25:19 -04:00
5cbf4e7e47
feat(aurora): migrated to aiosqlite 2024-06-05 00:14:43 -04:00
027144f35d
fix(aurora): pylint fixes
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 30s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 49s
2024-06-04 23:55:55 -04:00
0d64e3f652
misc(aurora): convert Change.from_dict() to use utils.timedelta_from_string()
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 48s
2024-06-04 23:52:35 -04:00
8591649465
fix(aurora): fixed aurora.utilities.utils.timedelta_from_string not including days in its calculations
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 46s
2024-06-04 23:43:53 -04:00
78630dc317
feat(aurora): added timedelta_from_string() function
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 31s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 50s
2024-06-04 23:31:52 -04:00
74d122a2e7
fix(aurora): catch importer errors instead of letting the entire import process die 2024-06-04 23:31:36 -04:00
ce48c1e889
fix(aurora): fixed a valueerror
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 30s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 47s
2024-06-04 16:55:29 -04:00
ff34310113
fix(aurora): fixed a valueerror
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 31s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 47s
2024-06-04 16:52:19 -04:00
3d2dabae08
fix(aurora): fixed a typeerror
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 47s
2024-06-04 16:50:33 -04:00
3fdc54b7cb
fix(aurora): get_next_case_number now only retrieves the first entry in the sql database (using LIMIT 1)
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 43s
2024-06-04 16:37:28 -04:00
b252343dc0
misc(aurora): allow Moderation.log() to skip returning the class object
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 44s
2024-06-04 16:35:18 -04:00
720e100a20
fix(aurora): removed some logging statements
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 47s
2024-06-04 15:52:23 -04:00
ff66006b8a
misc(aurora): add more logging
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 50s
2024-06-04 15:43:15 -04:00
fdb96539c3
fix(aurora): removed a useless debug statement
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 44s
2024-06-04 15:39:16 -04:00
7a664ce9c3
fix(aurora): make Change.reason optional
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 44s
2024-06-04 15:37:58 -04:00
3168c42787
fix(aurora): fixed a pydantic ValidationError
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 44s
2024-06-04 15:36:38 -04:00
5d53eec2f1
fix(aurora): fixed a valueerror in the Change.from_dict() method
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 43s
2024-06-04 15:32:59 -04:00
166421b6ba
fix(aurora): removed a character causing a valueerror
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 43s
2024-06-04 15:23:45 -04:00
0a207b66e4
fix(aurora): fixed an error with timedelta formatting
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 43s
2024-06-04 15:22:50 -04:00
5151f65317
fix(aurora): added more to the debugging statement
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 43s
2024-06-04 14:59:57 -04:00
0089625ef3
fix(aurora): add a debug statement
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 43s
2024-06-04 14:56:51 -04:00
8ac735dafe
misc(aurora): change the JSONEncoder subclass to use match/case instead of if statements
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 40s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 1m4s
2024-06-04 14:20:01 -04:00
21fa3d9eb0
feat(aurora): added an __int__ dunder method to the moderation model
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 30s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 46s
2024-06-04 12:44:58 -04:00
38180f5ccd
fix(aurora): fixed an sql operation error
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 30s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 46s
2024-06-04 12:29:24 -04:00
19e50c25e3
Merge branch 'aurora-pydantic' of https://www.coastalcommits.com/Seaswimmer/SeaCogs into aurora-pydantic
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 30s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 49s
2024-06-04 12:23:13 -04:00
a10af37f14
feat(aurora): add support for OFFSET in Moderation.get_latest() 2024-06-04 12:23:12 -04:00
a5b344a323
Merge branch 'main' into aurora-pydantic
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 46s
2024-06-04 16:16:26 +00:00
cb420d2fc4
fix(aurora): pylint/ruff fix
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 37s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 54s
2024-06-04 11:52:34 -04:00
04223c3c55
Merge branch 'main' into aurora-pydantic
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 46s
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
All checks were successful
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 43s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
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
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
be253b668b
feat(aurora): converted /history to use the new Moderation sql queries
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 45s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 1m9s
2024-06-03 01:07:00 -04:00
22f9ce52d1
fix(aurora): fixed a typeerror
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 42s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 1m11s
2024-06-03 00:55:56 -04:00
499cfbe8a9
misc(aurora): use tuples instead of lists
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 44s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 1m14s
2024-06-03 00:55:09 -04:00
99d95afe07
fix(aurora): fixed another TypeError
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 45s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 1m10s
2024-06-03 00:51:51 -04:00
028e22ebec
fix(aurora): happy now?
Some checks failed
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 1m9s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 43s
2024-06-03 00:50:17 -04:00
4c28453173
fix(aurora): fixed a TypeError
Some checks failed
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 1m9s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 42s
2024-06-03 00:49:08 -04:00
d646754466
feat(aurora): added a bunch of functionality to the Moderation model
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 44s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 1m11s
2024-06-03 00:47:56 -04:00
76f176d4cc
feat(aurora): change history to use Moderation.from_sql_all()
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 45s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 1m10s
2024-06-03 00:22:32 -04:00
c35580c576
misc(aurora): change to aurora importer log arguments
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 47s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 1m15s
2024-06-03 00:17:33 -04:00
7fc6235abe
fix(aurora): remove bot keys from the change import when importing from aurora
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 46s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 1m12s
2024-06-03 00:15:17 -04:00
21e51dc320
misc(aurora): minor syntax change
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 46s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 1m15s
2024-06-03 00:09:39 -04:00
db477c4744
fix(aurora): fixed an issue with json encoding
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 47s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 1m10s
2024-06-03 00:07:52 -04:00
1990b97518
fix(aurora): ignore moderation cases where the moderation_id is 0
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 49s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 1m13s
2024-06-02 23:59:17 -04:00
641f45d126
feat(aurora): add the from_sql_all classmethod to the Moderation model
All checks were successful
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 1m9s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 47s
2024-06-02 23:53:19 -04:00
73c9104882
fix(aurora): cast to string before checking length to avoid typeerrors when reason is None
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 40s
2024-05-24 04:26:58 -04:00
5b64ee9578
feat(aurora): add metadata to evidenceformat
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 40s
2024-05-24 04:22:42 -04:00
bfb4d8768d
fix(aurora): add moderation metadata to the log factory
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 38s
2024-05-24 04:18:17 -04:00
7f71ca3d6d
fix(aurora): change interval metadata
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 41s
2024-05-24 04:16:48 -04:00
3dcc637920
fix(aurora): avoid keyerrors
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 39s
2024-05-24 04:15:27 -04:00
9a4f19f4a1
fix(aurora): show metadata key/value pairs in /case
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 41s
2024-05-24 04:12:28 -04:00
7a9c9846de
fix(aurora): fixed a broken from_id method
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 40s
2024-05-24 04:09:27 -04:00
0cc7d6079d
fix(aurora): removed useless debug statement
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 40s
2024-05-24 04:06:05 -04:00
ed923f1d9b
fix(aurora): finally actually maybe fixed the pydantic validation error
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 25s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 38s
2024-05-24 04:04:21 -04:00
39cb5feb50
misc(aurora): adding temporary debug logging
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 32s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 44s
2024-05-24 04:02:15 -04:00
c90796f6b3
fix(aurora): hopefully actually fixed the pydantic validation error
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 38s
2024-05-24 04:01:15 -04:00
0b1d1d29e6
fix(aurora): hopefully fixed a pydantic validation error
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 39s
2024-05-24 03:57:54 -04:00
599ab8c51d
fix(aurora): fixed a non-async function being awaited
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 39s
2024-05-24 03:56:32 -04:00
797fd561c9
fix(aurora): fixed another typeerror
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 39s
2024-05-24 03:53:38 -04:00
51d3245703
fix(aurora): fixed a typeerror in Moderation.log()
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 38s
2024-05-24 03:51:43 -04:00
0411e3dab7
fix(aurora): fixed a typeerror in the check_moddable function
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 39s
2024-05-24 03:49:55 -04:00
67b33a2eb8
feat(aurora): added a slowmode command
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 39s
2024-05-24 03:46:20 -04:00
dc51aa7bdc
fix(aurora): import fixes
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 31s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 45s
2024-05-09 21:27:26 -04:00
904fd1c914
fix(aurora): fixed more import errors
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 40s
2024-05-06 21:46:01 -04:00
92d221ff70
fix(aurora): forgot a file!
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 41s
2024-05-06 21:43:08 -04:00
d91a4f49f9
fix(aurora): fixed import errors
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 42s
2024-05-06 21:39:43 -04:00
ab878739c4
misc(aurora): pep 604 compliance
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 43s
2024-05-06 21:04:08 -04:00
946e14ee3c
fix(aurora): something idk
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 42s
2024-05-06 20:45:22 -04:00
bcc4aa384f
fix(aurora): hopefully fixed the module not found issue?
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 41s
2024-05-06 17:41:14 -04:00
260dd3ef4c
fix(aurora): fixing a ModuleNotFound error
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 40s
2024-05-06 17:35:43 -04:00
c69b3cd032
misc(aurora): import change
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 42s
2024-05-06 17:33:28 -04:00
2b79e3b6a8
fix(aurora): added an __init__.py to a directory that was missing one
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 40s
2024-05-06 17:29:57 -04:00
7dfe94869c
misc(aurora): codebase cleanup
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 41s
2024-05-06 17:23:59 -04:00
ac8cefd779
fix(aurora): pylint fixes
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 43s
2024-05-06 16:47:21 -04:00
09471a4027
misc(aurora): change the logging severity of Change.from_dict()'s logs to trace
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-05-06 16:39:13 -04:00
15ccd5530a
fix(aurora): fixed a few unboundlocalerrors
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-05-06 16:37:52 -04:00
bb5ab8e61b
fix(aurora): make Moderration.from_result() return a Moderation object instead of a dictionary
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 42s
2024-05-06 16:36:27 -04:00
c2e017339e
fix(aurora): fixed a broken classmethod
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 44s
2024-05-06 16:35:06 -04:00
d7ca5cab46
feat(aurora): cleaned up the codebase and fixed a whole bunch of bugs
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 42s
2024-05-06 16:34:08 -04:00
53b67e1c95
fix(aurora): convert results into a dictionary before making a Moderation instance out of them
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 43s
2024-05-06 16:07:35 -04:00
d7a8fbe367
fix(aurora): ignore moderations with the id 0 in the history command
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s
2024-05-06 16:02:00 -04:00
f8968e8e9e
feat(aurora): updated /history command
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 42s
2024-05-06 15:59:43 -04:00
834d116b20
fix(aurora): fixed a syntax error
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-05-06 15:32:01 -04:00
d375716fbf
feat(aurora): added a resolve function to the Moderation model
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 30s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s
2024-05-06 15:29:48 -04:00
dcda128f11
fix(aurora): edit command will now edit reasons as intended
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-05-06 15:15:54 -04:00
16af26f93e
fix(aurora): fixed a logging statement
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 43s
2024-05-06 15:11:11 -04:00
5be5a39c54
fix(aurora): check type of dictionary in debug log
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-05-06 15:06:10 -04:00
e14845ef85
fix(aurora): make sure the user_id in changes is always an integer
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 42s
2024-05-06 15:03:41 -04:00
8d1a57165d
fix(aurora): added debug logging
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-05-06 15:00:54 -04:00
a4e11fd828
fix(aurora): fixing some model stuff
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-05-06 14:55:36 -04:00
9c7e0b0b89
fix(aurora): fixed a missing parameter
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s
2024-05-06 14:48:16 -04:00
1e865643a0
fix(aurora): fixed duration being a timedelta in case_safe
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 39s
2024-05-06 14:45:04 -04:00
b7b6dc2f2e
fix(aurora): don't convert end_timestamp to an integer
Some checks failed
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 26s
2024-05-06 14:44:06 -04:00
84235d6504
fix(aurora): call from_dict properly
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 39s
2024-05-06 14:41:16 -04:00
70c00a59d6
fix(aurora): fixed the broken logging statement
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-05-06 14:40:14 -04:00
0386cb346e
fix(aurora): finally fixed the debug logging statement (maybe)
Some checks failed
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 39s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 26s
2024-05-06 14:35:02 -04:00
335d1a2a4c
fix(aurora): actually actually ACTUALLY fixed the broken logging statement
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-05-06 14:29:57 -04:00
1b322dfe50
fix(aurora): actually actually fixed the broken logging statement
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s
2024-05-06 14:29:09 -04:00
5b6b04dfe0
fix(aurora): actually fixed a broken logging statement
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s
2024-05-06 14:25:42 -04:00
158e7560f8
fix(aurora): fixed a broken logging statement
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 42s
2024-05-06 14:22:40 -04:00
52fcdcc96a
fix(aurora): fixed a logging issue
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 38s
2024-05-06 14:21:57 -04:00
65bb9af7a6
fix(aurora): fixed an issue with dictionary values not being converted to a tuple
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s
2024-05-06 14:20:49 -04:00
e591b2c4a5
fix(aurora): convert floats to ints
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 39s
2024-05-06 14:18:54 -04:00
a86348fae3
fix(aurora): fixed a programming error
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 36s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 50s
2024-05-06 14:16:51 -04:00
37e471fbaa
fix(aurora): fixing a whole bunch of stuff
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 26s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 39s
2024-05-06 14:15:05 -04:00
0553856aa9
fix(aurora): fixed utils.generate_dict() using literal_eval still even when it's unnecessary
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 27s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 41s
2024-05-06 13:51:23 -04:00
6745f0a486
fix(aurora): fixed an issue with importing changes
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 43s
2024-05-06 13:44:48 -04:00
85a935f9b3
fix(aurora): fixed the json issue from yesterday
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s
2024-05-06 13:27:09 -04:00
4c8cd7bd16
Revert "fix(aurora): trying ast"
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s
This reverts commit 278bd98349.
2024-05-04 23:02:57 -04:00
278bd98349
fix(aurora): trying ast
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 40s
2024-05-04 23:01:39 -04:00
cad24d852c
fix(aurora): ok fine bro 😭
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 48s
2024-05-04 22:58:29 -04:00
de90f6a8b7
fix(aurora): troubleshooting this annoying json issue
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:57:34 -04:00
293f77c228
fix(aurora): changed the logging statement again
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 54s
2024-05-04 22:55:50 -04:00
a6371fd367
fix(aurora): changed the logging statement slightly
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 30s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 48s
2024-05-04 22:55:17 -04:00
8433c946fd
fix(aurora): added a debug logging statement
Some checks failed
Actions / Build Documentation (MkDocs) (pull_request) Successful in 29s
Actions / Lint Code (Ruff & Pylint) (pull_request) Failing after 47s
2024-05-04 22:52:54 -04:00
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