Commit graph

138 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
38b0580228
fix(aurora): updated message_factory for addrole support 2024-05-03 21:01:11 -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
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
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
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
178a92559c
feat(repo): added help formatters for version numbers to cogs that have them and migrated to using red's inbuilt loggers instead of logging.getLogger
Some checks failed
Actions / Lint Code (Ruff & Pylint) (push) Failing after 31s
Actions / Build Documentation (MkDocs) (push) Successful in 26s
2024-03-07 03:38:34 -05:00
497f6a0a1a
fix(repo): changed all loggers to red.seacogs.<cog_name> instead of red.sea.<cog_name>
Some checks failed
Actions / Lint Code (Ruff & Pylint) (push) Failing after 49s
Actions / Build Documentation (MkDocs) (push) Successful in 43s
2024-03-07 01:32:27 -05:00
95a947b019
fix(aurora): fixed a dangerous-default-value pylint warning in database.mysql_log()
All checks were successful
Actions / Lint Code (Ruff & Pylint) (push) Successful in 17s
Actions / Build Documentation (MkDocs) (push) Successful in 12s
2024-02-28 11:01:33 -05:00
84543fbd73
fix(aurora): more pylint fixes
Some checks failed
Actions / Lint Code (Ruff & Pylint) (push) Failing after 18s
Actions / Build Documentation (MkDocs) (push) Successful in 13s
2024-02-28 10:58:57 -05:00
bd3a08fe97
fix(aurora): pylint fixes 2024-02-28 10:56:13 -05:00
858a1bae8a
fix(repo): ruff fixes / removing pylint exceptions
All checks were successful
Actions / Lint Code (Ruff) (push) Successful in 6s
Actions / Build Documentation (MkDocs) (push) Successful in 25s
2024-02-14 11:04:26 -05:00
9c293750cb
fix(aurora): ruff fixes
All checks were successful
Actions / Lint Code (Ruff) (push) Successful in 5s
Actions / Build Documentation (MkDocs) (push) Successful in 24s
2024-02-14 10:39:26 -05:00
eafd02bb53
feat(workflow): switch to ruff for code linting
Some checks failed
Actions / Lint Code (Ruff) (push) Failing after 5s
Actions / Build Documentation (MkDocs) (push) Successful in 14s
2024-02-14 10:35:57 -05:00
1aa12e88ac
fix(aurora): fixed unknown user in history command
All checks were successful
Actions / Lint Code (Pylint) (push) Successful in 16s
Actions / Build Documentation (MkDocs) (push) Successful in 11s
2024-02-13 18:28:06 -05:00
69482c9f45
fix(aurora): fixed a NoneType error in utils.fetch_user_dict()
All checks were successful
Actions / Lint Code (Pylint) (push) Successful in 17s
Actions / Build Documentation (MkDocs) (push) Successful in 13s
2024-02-13 18:25:32 -05:00
35ad7a77a7
fix(aurora): require ids to be ints in some utlis functions
All checks were successful
Actions / Lint Code (Pylint) (push) Successful in 51s
Actions / Build Documentation (MkDocs) (push) Successful in 14s
2024-02-13 23:19:41 +00:00
f7d2f1a564
misc(aurora): less restrictive type requirements for some utils functions 2024-02-13 23:18:44 +00:00
db7c06b044
misc(aurora): adding typechecks to return values in utils 2024-02-13 23:02:13 +00:00
7d2b71667a
fix(aurora): fixing user dm messages in addrole
Some checks failed
Actions / Lint Code (Pylint) (push) Failing after 17s
Actions / Build Documentation (MkDocs) (push) Successful in 12s
2024-02-02 12:05:05 -05:00
fa3b353704
misc(repository): black reformat
Some checks failed
Actions / Lint Code (Pylint) (push) Failing after 18s
Actions / Build Documentation (MkDocs) (push) Successful in 13s
2024-02-02 11:22:08 -05:00
519e3056ab
feat(aurora): added addrole command 2024-02-02 11:21:56 -05:00
950d4abf6a
fix(aurora): pylint fixes
All checks were successful
Actions / Lint Code (Pylint) (pull_request) Successful in 16s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 12s
2024-01-16 14:26:54 +00:00
46a290aad3
feat(aurora): merged all of the changes made in the configuration rewrite into the codebase of the cog itself
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 17s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 13s
2024-01-16 14:23:45 +00:00
89a3e958b2
fix(aurora): rename configuration value
Some checks failed
Actions / Lint Code (Pylint) (pull_request) Failing after 15s
Actions / Build Documentation (MkDocs) (pull_request) Successful in 11s
2024-01-16 13:00:00 +00:00
656823611c
fix(aurora): updated config to have addrole_roles instead of blacklist_roles 2024-01-15 14:13:15 +00:00
90e80d1018
fix(aurora): fixed an error in utils.get_next_case_number
All checks were successful
Build Documentation and Lint Code / build and lint (push) Successful in 24s
2024-01-08 09:38:12 +00:00
719f02bde7
fix(aurora): fixed color in factory.case_factory
All checks were successful
Build Documentation and Lint Code / build and lint (push) Successful in 23s
2024-01-08 09:20:51 +00:00
aefb68e913
misc(aurora): reworked embed_factory
All checks were successful
Build Documentation and Lint Code / build and lint (push) Successful in 22s
2024-01-08 09:18:54 +00:00
e4d7c5757a
fix(aurora): formatting
All checks were successful
Build Documentation and Lint Code / build and lint (push) Successful in 23s
2024-01-08 08:40:00 +00:00
66600757da
fix(aurora): fixing some formatting/color issues
All checks were successful
Build Documentation and Lint Code / build and lint (push) Successful in 27s
2024-01-08 08:35:49 +00:00
8129fee36a
misc(aurora): use redbot chat_formatting for errors and warnings
Some checks failed
Pylint / Pylint (3.11) (push) Failing after 41s
2024-01-05 09:21:05 +00:00
539052eb00
misc(aurora): removed ``` from all of the files that had it, replaced with redbot.core.utils.chat_formatting.box()
Some checks failed
Pylint / Pylint (3.11) (push) Failing after 54s
2024-01-05 06:00:45 +00:00
47f74d2259
misc(aurora): adding a config option that doesn't do anything yet
All checks were successful
Pylint / Pylint (3.11) (push) Successful in 42s
2024-01-03 14:18:22 -05:00
497c287019
fix(aurora): fixed random handle_expiry error
All checks were successful
Pylint / Pylint (3.11) (push) Successful in 44s
2024-01-01 12:37:08 -05:00
a9af61076e
fix(aurora): fixed some more errors
Some checks failed
Pylint / Pylint (3.11) (push) Failing after 44s
2024-01-01 12:22:14 -05:00
a96f461a63
fix(aurora): fixed using interaction instead of passing a member/user object
All checks were successful
Pylint / Pylint (3.11) (push) Successful in 41s
2023-12-30 17:39:22 -05:00
eaf08f2e08 feat(aurora): added [p]auroraset showmoderator command and relevant matching features
All checks were successful
Pylint / Pylint (3.11) (push) Successful in 41s
2023-12-30 17:26:36 -05:00
7d2fd89261
misc(aurora): typehinting 2023-12-30 04:13:00 -05:00
e1cc6ca1a8
fix(aurora): fixed JSON serializing error in /edit command
Some checks failed
Pylint / Pylint (3.11) (push) Failing after 40s
2023-12-30 04:10:25 -05:00
b5a971831a
fix(aurora): fixed error if you attempt to moderate someone and your guild has the default icon
Some checks failed
Pylint / Pylint (3.11) (push) Failing after 2m58s
2023-12-29 00:50:03 -05:00
3ac0459532
fix(aurora): fixed configs being drawn from Moderation instead of Aurora
All checks were successful
Pylint / Pylint (3.11) (push) Successful in 42s
2023-12-28 05:52:49 -05:00
acc017d61c
fix(aurora): fixed index creation
All checks were successful
Pylint / Pylint (3.11) (push) Successful in 43s
2023-12-28 05:29:47 -05:00
558b056b9c
fix(aurora): fixed index creation in create_guild_table function
All checks were successful
Pylint / Pylint (3.11) (push) Successful in 43s
2023-12-28 05:25:45 -05:00
910601a269 Revert "misc(aurora): some whitelabel changes"
All checks were successful
Pylint / Pylint (3.11) (push) Successful in 44s
This reverts commit b1edf79409.
2023-12-28 05:13:13 -05:00
84fed6f17e Revert "fix(aurora): fixed index creation"
This reverts commit beb4e3909b.
2023-12-28 05:12:58 -05:00
beb4e3909b
fix(aurora): fixed index creation
All checks were successful
Pylint / Pylint (3.11) (push) Successful in 42s
2023-12-28 05:11:32 -05:00
b1edf79409
misc(aurora): some whitelabel changes
All checks were successful
Pylint / Pylint (3.11) (push) Successful in 43s
2023-12-28 05:09:12 -05:00
9cbe87bd66
fix(moderation): logger fix
All checks were successful
Pylint / Pylint (3.11) (push) Successful in 43s
2023-12-28 05:02:46 -05:00
5a53e3327b
fix(aurora): fixed durations, again
Some checks failed
Pylint / Pylint (3.11) (push) Failing after 43s
2023-12-28 05:01:08 -05:00
e62bd62e29
fix(aurora): actually fixed duration error
Some checks failed
Pylint / Pylint (3.11) (push) Failing after 43s
2023-12-28 04:56:58 -05:00
673e8b41d1
misc(aurora): changed logger name from moderation to aurora
Some checks failed
Pylint / Pylint (3.11) (push) Failing after 43s
2023-12-28 04:55:21 -05:00
3087afa1d2
fix(aurora): sqlite3 uses OperationalErrors, not ProgrammingErrors
Some checks failed
Pylint / Pylint (3.11) (push) Failing after 42s
2023-12-28 04:47:16 -05:00
4226d0b6fe
fix(aurora): pylint fix + sqlite connection fix
Some checks failed
Pylint / Pylint (3.11) (push) Failing after 45s
2023-12-28 04:45:50 -05:00
a402f23001
fix(aurora): fixing sqlite queries and pylint errors
Some checks failed
Pylint / Pylint (3.11) (push) Failing after 43s
2023-12-28 04:39:57 -05:00
ca50deedd5
feat(aurora): renamed moderation cog to aurora, converted to sqlite3
Some checks failed
Pylint / Pylint (3.11) (push) Failing after 1m12s
2023-12-28 04:23:55 -05:00