mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-06 21:51:58 +00:00
Compare commits
21 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
728f6b08dc | ||
|
4582aa0a09 | ||
|
c7c379479f | ||
|
ce4479c23e | ||
|
eedc2f1b41 | ||
|
7ba24293d1 | ||
|
f10114c9ed | ||
|
cf31cbfb07 | ||
|
0edad24d5d | ||
|
1f1c1a9157 | ||
|
6c9d271ae1 | ||
|
6ff852e225 | ||
|
baa75dc735 | ||
|
8a9f0436b8 | ||
|
a9620a3cbe | ||
|
769e7dc8a0 | ||
|
2a70449411 | ||
|
8df720f19e | ||
|
dabbb45f6e | ||
|
ce24c1c3fd | ||
|
3c54c82ce9 |
@ -18,8 +18,8 @@ __all__ = [
|
|||||||
|
|
||||||
class AccountBackupPlanViewSet(OrgBulkModelViewSet):
|
class AccountBackupPlanViewSet(OrgBulkModelViewSet):
|
||||||
model = AccountBackupAutomation
|
model = AccountBackupAutomation
|
||||||
filter_fields = ('name',)
|
filterset_fields = ('name',)
|
||||||
search_fields = filter_fields
|
search_fields = filterset_fields
|
||||||
ordering = ('name',)
|
ordering = ('name',)
|
||||||
serializer_class = serializers.AccountBackupSerializer
|
serializer_class = serializers.AccountBackupSerializer
|
||||||
|
|
||||||
|
@ -20,8 +20,8 @@ __all__ = [
|
|||||||
class AutomationAssetsListApi(generics.ListAPIView):
|
class AutomationAssetsListApi(generics.ListAPIView):
|
||||||
model = BaseAutomation
|
model = BaseAutomation
|
||||||
serializer_class = serializers.AutomationAssetsSerializer
|
serializer_class = serializers.AutomationAssetsSerializer
|
||||||
filter_fields = ("name", "address")
|
filterset_fields = ("name", "address")
|
||||||
search_fields = filter_fields
|
search_fields = filterset_fields
|
||||||
|
|
||||||
def get_object(self):
|
def get_object(self):
|
||||||
pk = self.kwargs.get('pk')
|
pk = self.kwargs.get('pk')
|
||||||
|
@ -24,8 +24,8 @@ __all__ = [
|
|||||||
|
|
||||||
class ChangeSecretAutomationViewSet(OrgBulkModelViewSet):
|
class ChangeSecretAutomationViewSet(OrgBulkModelViewSet):
|
||||||
model = ChangeSecretAutomation
|
model = ChangeSecretAutomation
|
||||||
filter_fields = ('name', 'secret_type', 'secret_strategy')
|
filterset_fields = ('name', 'secret_type', 'secret_strategy')
|
||||||
search_fields = filter_fields
|
search_fields = filterset_fields
|
||||||
serializer_class = serializers.ChangeSecretAutomationSerializer
|
serializer_class = serializers.ChangeSecretAutomationSerializer
|
||||||
|
|
||||||
|
|
||||||
|
@ -20,8 +20,8 @@ __all__ = [
|
|||||||
|
|
||||||
class GatherAccountsAutomationViewSet(OrgBulkModelViewSet):
|
class GatherAccountsAutomationViewSet(OrgBulkModelViewSet):
|
||||||
model = GatherAccountsAutomation
|
model = GatherAccountsAutomation
|
||||||
filter_fields = ('name',)
|
filterset_fields = ('name',)
|
||||||
search_fields = filter_fields
|
search_fields = filterset_fields
|
||||||
serializer_class = serializers.GatherAccountAutomationSerializer
|
serializer_class = serializers.GatherAccountAutomationSerializer
|
||||||
|
|
||||||
|
|
||||||
|
@ -20,8 +20,8 @@ __all__ = [
|
|||||||
|
|
||||||
class PushAccountAutomationViewSet(OrgBulkModelViewSet):
|
class PushAccountAutomationViewSet(OrgBulkModelViewSet):
|
||||||
model = PushAccountAutomation
|
model = PushAccountAutomation
|
||||||
filter_fields = ('name', 'secret_type', 'secret_strategy')
|
filterset_fields = ('name', 'secret_type', 'secret_strategy')
|
||||||
search_fields = filter_fields
|
search_fields = filterset_fields
|
||||||
serializer_class = serializers.PushAccountAutomationSerializer
|
serializer_class = serializers.PushAccountAutomationSerializer
|
||||||
|
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ __all__ = ['BASE_DIR', 'PROJECT_DIR', 'VERSION', 'CONFIG']
|
|||||||
|
|
||||||
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||||
PROJECT_DIR = os.path.dirname(BASE_DIR)
|
PROJECT_DIR = os.path.dirname(BASE_DIR)
|
||||||
VERSION = '2.0.0'
|
VERSION = 'v3.10.5'
|
||||||
CONFIG = ConfigManager.load_user_config()
|
CONFIG = ConfigManager.load_user_config()
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "jumpserver"
|
name = "jumpserver"
|
||||||
version = "v3.9"
|
version = "v3.10.5"
|
||||||
description = "广受欢迎的开源堡垒机"
|
description = "广受欢迎的开源堡垒机"
|
||||||
authors = ["ibuler <ibuler@qq.com>"]
|
authors = ["ibuler <ibuler@qq.com>"]
|
||||||
license = "GPLv3"
|
license = "GPLv3"
|
||||||
|
Loading…
Reference in New Issue
Block a user