-
Notifications
You must be signed in to change notification settings - Fork 6
Create a read only way of seeing if a specific route is blocked #185
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
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
44bf7c3
feat(API): add is_blocked API views and serializer
soehlert 05d5f54
feat(url): add a path for is_blocked to be in WUI
soehlert cdf2d32
feat(is_blocked): create an is_blocked view in our WUI views
soehlert 457cede
feat(API): actually add the endpoint
soehlert 0f8184d
fix(import): IsBlockedViewSet won't work if you don't import it
soehlert dfd2247
feat(permissions): make this available to anyone without logging in
soehlert 7d7c860
test(is_blocked): make sure to test is_blocked endpoint with both hap…
soehlert 452ee00
refactor(WUI): remove is_blocked view from WUI views
soehlert b6690f2
refactor(WUI): remove URL path from WUI
soehlert 377aba8
refactor(API-View): make sure we only accept GET requests and also fo…
soehlert 5cc37a2
refactor(ruff): fix ruff errors
soehlert 710812f
docs(serializer): update docstring to be more useful
soehlert 6d8fb16
docs(typo): fix typo in docstring
soehlert d0a243b
fix(missing-parameter): return a ValidationError when the ip paramete…
soehlert ccb72b1
feat(response-fields): add route to the response fields so we can sho…
soehlert a6aaafd
refactor(is_blocked-responses): fix a few issues. 1) accept cidrs and…
soehlert 48264d5
test(update): use the proper parameter name and look for the correct …
soehlert 0025b16
style(ruff): fixing ruff errors
soehlert 0761a43
ci(secret_key): try to hardcode a secret key to avoid the recursion e…
soehlert bdaeaf6
style(ruff): apparently my ruff doesnt find the same as the stuff in CI
soehlert 4aa754b
ci(secret_key): remove hard coded key as that didnt fix it either
soehlert abc5c89
refactor(warning-message): remove extraneous warning message code
soehlert 011a99f
refactor(is-active): rename is_blocked to is_active to better match t…
soehlert 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
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.
Uh oh!
There was an error while loading. Please reload this page.