Commit graph

1123 commits

Author SHA1 Message Date
8591649465
fix(aurora): fixed aurora.utilities.utils.timedelta_from_string not including days in its calculations 2024-06-04 23:43:53 -04:00
78630dc317
feat(aurora): added timedelta_from_string() function 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 2024-06-04 16:55:29 -04:00
ff34310113
fix(aurora): fixed a valueerror 2024-06-04 16:52:19 -04:00
3d2dabae08
fix(aurora): fixed a typeerror 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) 2024-06-04 16:37:28 -04:00
b252343dc0
misc(aurora): allow Moderation.log() to skip returning the class object 2024-06-04 16:35:18 -04:00
720e100a20
fix(aurora): removed some logging statements 2024-06-04 15:52:23 -04:00
ff66006b8a
misc(aurora): add more logging 2024-06-04 15:43:15 -04:00
fdb96539c3
fix(aurora): removed a useless debug statement 2024-06-04 15:39:16 -04:00
7a664ce9c3
fix(aurora): make Change.reason optional 2024-06-04 15:37:58 -04:00
3168c42787
fix(aurora): fixed a pydantic ValidationError 2024-06-04 15:36:38 -04:00
5d53eec2f1
fix(aurora): fixed a valueerror in the Change.from_dict() method 2024-06-04 15:32:59 -04:00
166421b6ba
fix(aurora): removed a character causing a valueerror 2024-06-04 15:23:45 -04:00
0a207b66e4
fix(aurora): fixed an error with timedelta formatting 2024-06-04 15:22:50 -04:00
5151f65317
fix(aurora): added more to the debugging statement 2024-06-04 14:59:57 -04:00
0089625ef3
fix(aurora): add a debug statement 2024-06-04 14:56:51 -04:00
8ac735dafe
misc(aurora): change the JSONEncoder subclass to use match/case instead of if statements 2024-06-04 14:20:01 -04:00
21fa3d9eb0
feat(aurora): added an __int__ dunder method to the moderation model 2024-06-04 12:44:58 -04:00
38180f5ccd
fix(aurora): fixed an sql operation error 2024-06-04 12:29:24 -04:00
19e50c25e3
Merge branch 'aurora-pydantic' of https://www.coastalcommits.com/Seaswimmer/SeaCogs into aurora-pydantic 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 2024-06-04 16:16:26 +00:00
28f814db56
fix(seautils): pylint fix 2024-06-04 12:16:09 -04:00
7354769962
fix(emojiinfo): pylint fix 2024-06-04 12:16:01 -04:00
cb420d2fc4
fix(aurora): pylint/ruff fix 2024-06-04 11:52:34 -04:00
04223c3c55
Merge branch 'main' into aurora-pydantic 2024-06-04 11:48:15 -04:00
1c6d2456ed
misc(aurora): changed aurora.utilities.utils.get_bool_emoji to use match/case instead of if/else 2024-06-04 00:04:46 -04:00
9b0f977016
feat(aurora): moved get_next_case_number() into the Moderation class, along with removing from_sql and get_all_cases. also added some other classmethods to replace those.
also modified message_factory and its calls to add a new kwarg
2024-06-04 00:04:11 -04:00
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
2ac1dacd19
fix(backup): added another error type caught by backup import, in the case where you didn't reply to a message or upload a file 2024-06-03 01:10:00 -04:00
be253b668b
feat(aurora): converted /history to use the new Moderation sql queries 2024-06-03 01:07:00 -04:00
22f9ce52d1
fix(aurora): fixed a typeerror 2024-06-03 00:55:56 -04:00
499cfbe8a9
misc(aurora): use tuples instead of lists 2024-06-03 00:55:09 -04:00
99d95afe07
fix(aurora): fixed another TypeError 2024-06-03 00:51:51 -04:00
028e22ebec
fix(aurora): happy now? 2024-06-03 00:50:17 -04:00
4c28453173
fix(aurora): fixed a TypeError 2024-06-03 00:49:08 -04:00
d646754466
feat(aurora): added a bunch of functionality to the Moderation model 2024-06-03 00:47:56 -04:00
76f176d4cc
feat(aurora): change history to use Moderation.from_sql_all() 2024-06-03 00:22:32 -04:00
c35580c576
misc(aurora): change to aurora importer log arguments 2024-06-03 00:17:33 -04:00
7fc6235abe
fix(aurora): remove bot keys from the change import when importing from aurora 2024-06-03 00:15:17 -04:00
21e51dc320
misc(aurora): minor syntax change 2024-06-03 00:09:39 -04:00
db477c4744
fix(aurora): fixed an issue with json encoding 2024-06-03 00:07:52 -04:00
1990b97518
fix(aurora): ignore moderation cases where the moderation_id is 0 2024-06-02 23:59:17 -04:00
641f45d126
feat(aurora): add the from_sql_all classmethod to the Moderation model 2024-06-02 23:53:19 -04:00
66b933569b
misc(seautils): soup 2024-06-01 15:03:23 -04:00
c06db07f08
misc(seautils): bunch of miscellaneous changes 2024-06-01 15:02:08 -04:00
46f189a297
fix(seautils): pylint fix 2024-05-30 11:02:22 -04:00