-
Notifications
You must be signed in to change notification settings - Fork 5
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
base: main
Are you sure you want to change the base?
Conversation
|
Minimum allowed coverage is Generated by 🐒 cobertura-action against 011a99f |
this is meant to be a public endpoint and matches the permissions on the home page to be read only unauthenticated
WUI already has a search function which points to an entry detail that handles this
…rmat the output to be simpler
|
I didn't change anything with behave tests and it seems to be failing instead of ignoring failures on 3.13 like the config says. Not sure if you feel the need to make me figure that out before merging this. |
crankynetman
left a comment
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.
Added a few comments inline. This works great for the exact use-case, but there are some edge cases that might be a bit confusing that I called out inline. I think we should fix the 500 due to submitting a subnet though just with a simple validation in the ViewSet itself if nothing else.
…r is missing it was always returning true before which is bad UX at the least
…w which IP is active when searching a larger subnet
… search inside of them 2) add an informational warning if we had to no rmalize the IP as a UX thing 3) make sure to include the actual IP with the response especially important if we return a lit
…rror trying to create on in github actions
crankynetman
left a comment
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.
Looks great, I think we just have one more kink to figure out around cidrs. And the answer might be as simple as document it and add it later, but it does seem like an ugly rake to step on later.
also continue renaming is_blocked to is_active
crankynetman
left a comment
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.
Awesome work, nicely done!
Things we still need to do