Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # 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 <pbrobinson@gmail.com>

Add a guide to setup zezere instance

Signed-off-by: rdotjain <rupanshijain45678@gmail.com>

Update .gitignore for conf file

Signed-off-by: rdotjain <rupanshijain45678@gmail.com>

Add endpoint to upload ov

Signed-off-by: rdotjain <rupanshijain45678@gmail.com>

Update endpoint to accept CBOR encoded vouchers

Signed-off-by: rdotjain <rupanshijain45678@gmail.com>

Improve error listing in UI using messages

Signed-off-by: rdotjain <rupanshijain45678@gmail.com>

tweak endpoint to accept multiple vouchers

Signed-off-by: rdotjain <rupanshijain45678@gmail.com>

bug fix: navbar active tab

Signed-off-by: rdotjain <rupanshijain45678@gmail.com>

Add error handling in API call

Signed-off-by: rdotjain <rupanshijain45678@gmail.com>

ui: change button style

Signed-off-by: rdotjain <rupanshijain45678@gmail.com>

update template for multiple ownership vouchers

Signed-off-by: rdotjain <rupanshijain45678@gmail.com>

add server base url in default conf

Signed-off-by: rdotjain <rupanshijain45678@gmail.com>
Signed-off-by: Rupanshi Jain <rupanshijain45678@gmail.com>
rdotjain and others added 2 commits August 26, 2022 15:57
Signed-off-by: Rupanshi Jain <rupanshijain45678@gmail.com>
@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

Signed-off-by: Rupanshi Jain <rupanshijain45678@gmail.com>
@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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants