Skip to content
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

Added Feature: Configuration Management #128

Draft
wants to merge 5 commits into
base: fdo
Choose a base branch
from

Conversation

rdotjain
Copy link
Collaborator

Resolves #126.
Created a database model to store AUTH_TOKEN and OV_BASE_URL.
Added basic UI implementation for the same.

image

@puiterwijk
Copy link
Member

Could you squash the commits, add a descriptive commit message, and rebase on top of main?
Thanks!

zezere/models.py Outdated
@@ -208,3 +208,14 @@ class UnownedDeviceSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = Device
fields = ["mac_address"]


class Config(models.Model):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe call this an FDOConfig?

@nullr0ute
Copy link
Member

Could you squash the commits, add a descriptive commit message, and rebase on top of main? Thanks!

Needs to be based off the FDO branch

nullr0ute and others added 2 commits August 26, 2022 15:51
The tests already use django 3+ so we should align this everywhere.

Signed-off-by: Peter Robinson <[email protected]>

Add a guide to setup zezere instance

Signed-off-by: rdotjain <[email protected]>

Update .gitignore for conf file

Signed-off-by: rdotjain <[email protected]>

Add endpoint to upload ov

Signed-off-by: rdotjain <[email protected]>

Update endpoint to accept CBOR encoded vouchers

Signed-off-by: rdotjain <[email protected]>

Improve error listing in UI using messages

Signed-off-by: rdotjain <[email protected]>

tweak endpoint to accept multiple vouchers

Signed-off-by: rdotjain <[email protected]>

bug fix: navbar active tab

Signed-off-by: rdotjain <[email protected]>

Add error handling in API call

Signed-off-by: rdotjain <[email protected]>

ui: change button style

Signed-off-by: rdotjain <[email protected]>

update template for multiple ownership vouchers

Signed-off-by: rdotjain <[email protected]>

add server base url in default conf

Signed-off-by: rdotjain <[email protected]>
Signed-off-by: Rupanshi Jain <[email protected]>
@lgtm-com
Copy link

lgtm-com bot commented Aug 26, 2022

This pull request introduces 1 alert when merging 8925456 into c014ce0 - view on LGTM.com

new alerts:

  • 1 for Full server-side request forgery

@lgtm-com
Copy link

lgtm-com bot commented Aug 26, 2022

This pull request introduces 1 alert when merging b72a752 into c014ce0 - view on LGTM.com

new alerts:

  • 1 for Full server-side request forgery

@rdotjain rdotjain marked this pull request as draft August 29, 2022 06:14
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.

3 participants