-
Notifications
You must be signed in to change notification settings - Fork 17
Feature/new events #152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Feature/new events #152
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
1811c97
🛂 Move webhook authorization to HMAC verification
0xRy4n 29f5d74
👔 Update webhook types and body
0xRy4n 04d85b7
✨ Add optional code parameter to simple response for easier checking …
0xRy4n ed7b624
✨ Introduce ban code in SimpleResponse. Refactor how response is built.
0xRy4n 182e429
➕ Add VERIFIED role setting to Roles configuration
0xRy4n 708e120
✨ Refactor verification helper functions. Breakout primary verificati…
0xRy4n 4600cc4
🔧 Temporarily disable re-verification process in MessageHandler. Adde…
0xRy4n 982b1ae
✨ Verification and identify commands refactor
0xRy4n 378599f
🧹 Clean up imports in verify.py
0xRy4n c0db0cf
✨ Implement BaseHandler class for webhook processing
0xRy4n 4fe58df
✨ Add AccountHandler for processing account-related webhook events
0xRy4n ad7c9c8
🗑️ Remove academy webhook handler implementation
0xRy4n 6bd6bbf
🩹 Misc fixes
0xRy4n 42c865a
Add ROLE_VERIFIED to .test.env (fake ID)
0xRy4n 209851c
✅ Add webhook tests
0xRy4n 39701b6
Logic and helpers for handling bans
0xRy4n e4c71d5
✨ Event: Account Deleted
0xRy4n 4ec29d1
🐛 Fix model validation
0xRy4n e5b0fbb
🏷️ Fix linting & type annotations
0xRy4n bf5b827
✨ Additional events, bux fix, lint
0xRy4n 86a5be4
🐛 Fix MP handler, add to handlers
0xRy4n aa24de1
✅ Tests & fixes
0xRy4n 86f0a38
🐛 Ensure ban continuity when DB is out of sync with discord state
0xRy4n 720f3f9
✨ Rework `get_user_details` to use v4 API. Major refactor of labs ide…
0xRy4n 3a6b8c4
✨ Add AcademyHandler for processing certificate awarded events and re…
0xRy4n 94d5b16
🐛 Enhance webhook error handling with detailed logging and generic 50…
0xRy4n f0655af
✨ Add new handlers to handler dict
0xRy4n 4376e7c
♻️ Make handler methods private
0xRy4n 4138d05
✅ Fix tests, bug fix MP rank up
0xRy4n File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this really needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was an attempt to try to tame mypy but it is not really necessary no.