Skip to content

Conversation

@grigorescu
Copy link
Contributor

No description provided.

samoehlert and others added 30 commits November 8, 2024 11:25
… actions

start pointing at develop as our default branch to match reality
SAST is already running via the settings on this repo
also turn off our testing branch push runs
works in conjunction with the if on the last step to run always, excpet only publish the docs on the main branch
…on in our local settings instead of inheriting them
…emp-fix

ci(docs): only build docs on main
grigorescu and others added 29 commits November 23, 2024 18:11
Fixes pytest warning: `No directory at:
/home/runner/work/SCRAM/SCRAM/staticfiles/`

---------

Co-authored-by: Chris Cummings <chriscummings@es.net>
A couple extra things:

* Add a Behave test with Python 3.13, similar to the pytest one
* Make the Python version an argument to the Dockerfiles
This lets you run prod with a local postgres instance. We prolly need to
document the vault stuff, but I think that's better suited for #88 to
handle.

I *think* this MR is ready to rock, it's deployed and working on
`scram-pentest.ocean.cu-es.net` presently.
Closes #99 
Closes #98 

I had to branch off of this to make some other changes as well
unfortunately just to get a working copy of the stack. Our expiration
was not TZ aware which broke any add (from WUI or admin). Also had to
fix the translatorConsumer because websockets were broken and spewing
errors constantly.
Reduce the number of DB queries needed by 26x.
Let's move GoBGP to a recent version to reduce future suffering.
Now when we generate our gRPC library, we also
generate type stubs and provide a way to copy-back the auto-generated files if you
want so that we can have better IDE integration (i.e. run `make copy-libs`
and it will pop them into the translator directory)
Co-authored-by: Chris Cummings <chriscummings@es.net>
Co-authored-by: Sam Oehlert <soehlert@es.net>
…the home page (#128)

Closes #113 

This was an annoying UX bug where you would be on a url ending in `/add`
meaning you couldn't refresh or anything since it's a POST only
endpoint. This way things are still added, but now you are redirected to
the actual home page.
…here are (#127)

Closes #30

This adds a pill badge to the navbar with a quick view at active blocks.
Also, it filters the homepage to only show active blocks and update the
pill badge above the actiontype list on the homepage to only show the
count of active blocks. The navbar is specific to blocks, but that seems
fair since 1) that's the main use case right now 2) that's the only
default actiontype anyways. We can always make it nicer/configurable in
the future if needed.
@samoehlert samoehlert merged commit 7d5f57c into main Feb 19, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants