From a4f89fb4624f19570f82e9bb1b77f9e204186585 Mon Sep 17 00:00:00 2001 From: Davide Arcuri Date: Wed, 7 Aug 2024 15:06:33 +0200 Subject: [PATCH] fix: command variables are now in defaults.py --- CHANGELOG.md | 5 +++++ orochi/website/management/commands/import_local.py | 9 ++------- orochi/website/management/commands/plugins_sync.py | 9 ++------- 3 files changed, 9 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e6a9c26..2aa38715 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ * signal for dump/result changes are very verbose [[#1074](https://github.com/LDO-CERT/orochi/issues/1074)] * replace drf & co. with django-ninja [[#1073](https://github.com/LDO-CERT/orochi/issues/1073)] * Add experimental support for ARM64 + * Add Two-Factor Authentication [[#1099](https://github.com/LDO-CERT/orochi/issues/1099)] + * Admin: Assign multiple dumps to user [[#1082](https://github.com/LDO-CERT/orochi/issues/1082)] + * Multi-arch build and images [[#1098](https://github.com/LDO-CERT/orochi/issues/1098)] + * Custom logo in the login page [[#1083](https://github.com/LDO-CERT/orochi/issues/1083)] + * Manage BodyFile file in timeliner plugin
diff --git a/orochi/website/management/commands/import_local.py b/orochi/website/management/commands/import_local.py index 85dbfdf4..581e3f92 100644 --- a/orochi/website/management/commands/import_local.py +++ b/orochi/website/management/commands/import_local.py @@ -6,13 +6,8 @@ from django.core.management.base import BaseCommand from django.db import transaction -from orochi.website.models import ( - RESULT_STATUS_NOT_STARTED, - RESULT_STATUS_RUNNING, - Dump, - Result, - UserPlugin, -) +from orochi.website.defaults import RESULT_STATUS_NOT_STARTED, RESULT_STATUS_RUNNING +from orochi.website.models import Dump, Result, UserPlugin from orochi.website.views import index_f_and_f diff --git a/orochi/website/management/commands/plugins_sync.py b/orochi/website/management/commands/plugins_sync.py index de683c10..34ae3297 100644 --- a/orochi/website/management/commands/plugins_sync.py +++ b/orochi/website/management/commands/plugins_sync.py @@ -4,13 +4,8 @@ from volatility3 import framework from volatility3.framework import contexts -from orochi.website.models import ( - RESULT_STATUS_NOT_STARTED, - Dump, - Plugin, - Result, - UserPlugin, -) +from orochi.website.defaults import RESULT_STATUS_NOT_STARTED +from orochi.website.models import Dump, Plugin, Result, UserPlugin class Command(BaseCommand):