From d5675ce4989376f6be3f75c2604ca7898ff013fb Mon Sep 17 00:00:00 2001 From: Bai Date: Tue, 19 Mar 2024 18:06:59 +0800 Subject: [PATCH 1/2] perf: update poetry.lock --- poetry.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poetry.lock b/poetry.lock index 5f315e39b..ffa657bc2 100644 --- a/poetry.lock +++ b/poetry.lock @@ -7872,4 +7872,4 @@ reference = "tsinghua" [metadata] lock-version = "2.0" python-versions = "^3.11" -content-hash = "d78c0c0a176f649b392403861e0597485061cab351e7a0e627d799ab61af5895" +content-hash = "5cfb1f2bdb17138f3b67aba167853be4372b891f3792173ea66d61d50760dbd6" From fb0209556816d2ccfee0a2c1cf5bcd76efa50dd9 Mon Sep 17 00:00:00 2001 From: Bai Date: Tue, 19 Mar 2024 19:22:29 +0800 Subject: [PATCH 2/2] perf: Remove settigns.LITE --- apps/jumpserver/conf.py | 1 - apps/jumpserver/settings/custom.py | 2 -- apps/settings/serializers/public.py | 1 - 3 files changed, 4 deletions(-) diff --git a/apps/jumpserver/conf.py b/apps/jumpserver/conf.py index 031083ff0..a04b3547b 100644 --- a/apps/jumpserver/conf.py +++ b/apps/jumpserver/conf.py @@ -608,7 +608,6 @@ class Config(dict): 'FILE_UPLOAD_SIZE_LIMIT_MB': 200, 'TICKET_APPLY_ASSET_SCOPE': 'all', - 'LITE': False } old_config_map = { diff --git a/apps/jumpserver/settings/custom.py b/apps/jumpserver/settings/custom.py index 856d9aa1b..ed5cc61a9 100644 --- a/apps/jumpserver/settings/custom.py +++ b/apps/jumpserver/settings/custom.py @@ -229,5 +229,3 @@ VIRTUAL_APP_ENABLED = CONFIG.VIRTUAL_APP_ENABLED FILE_UPLOAD_SIZE_LIMIT_MB = CONFIG.FILE_UPLOAD_SIZE_LIMIT_MB TICKET_APPLY_ASSET_SCOPE = CONFIG.TICKET_APPLY_ASSET_SCOPE - -LITE = CONFIG.LITE diff --git a/apps/settings/serializers/public.py b/apps/settings/serializers/public.py index 054733667..278764c65 100644 --- a/apps/settings/serializers/public.py +++ b/apps/settings/serializers/public.py @@ -58,7 +58,6 @@ class PrivateSettingSerializer(PublicSettingSerializer): CHAT_AI_ENABLED = serializers.BooleanField() GPT_MODEL = serializers.CharField() FILE_UPLOAD_SIZE_LIMIT_MB = serializers.IntegerField() - LITE = serializers.BooleanField() class ServerInfoSerializer(serializers.Serializer):