Preserve ARNavi full settings support through VPS 0.2.3
This commit is contained in:
@@ -65,6 +65,8 @@ def apply(hosts, identifier, revision):
|
||||
"0.1.46",
|
||||
"0.2.0",
|
||||
"0.2.1",
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
)
|
||||
or time.time() - host["last_sync_at"] > 30
|
||||
):
|
||||
|
||||
@@ -80,6 +80,8 @@ def enqueue(hosts, identifier, request_id, preset_id):
|
||||
"0.1.46",
|
||||
"0.2.0",
|
||||
"0.2.1",
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
}:
|
||||
raise EquipmentError("Подключите проверенную версию VPS Host с поддержкой очереди.")
|
||||
count = db.execute(
|
||||
|
||||
@@ -251,6 +251,8 @@ def start(
|
||||
"0.1.46",
|
||||
"0.2.0",
|
||||
"0.2.1",
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
)
|
||||
)
|
||||
automatic_access = None
|
||||
@@ -329,6 +331,8 @@ def start(
|
||||
"0.1.46",
|
||||
"0.2.0",
|
||||
"0.2.1",
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
}:
|
||||
raise EquipmentError("Для разрешения обеих SIM установите актуальный VPS Host.")
|
||||
if body["kind"] == "select-sim" and source.get("status", {}).get("version") not in {
|
||||
@@ -357,6 +361,8 @@ def start(
|
||||
"0.1.46",
|
||||
"0.2.0",
|
||||
"0.2.1",
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
}:
|
||||
raise EquipmentError("Для смены SIM установите актуальный VPS Host.")
|
||||
else:
|
||||
@@ -410,6 +416,8 @@ def start(
|
||||
"0.1.46",
|
||||
"0.2.0",
|
||||
"0.2.1",
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
),
|
||||
"request-position": (
|
||||
"0.1.8",
|
||||
@@ -453,6 +461,8 @@ def start(
|
||||
"0.1.46",
|
||||
"0.2.0",
|
||||
"0.2.1",
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
),
|
||||
"pulse-output": (
|
||||
"0.1.9",
|
||||
@@ -495,6 +505,8 @@ def start(
|
||||
"0.1.46",
|
||||
"0.2.0",
|
||||
"0.2.1",
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
),
|
||||
"set-output": (
|
||||
"0.1.10",
|
||||
@@ -536,6 +548,8 @@ def start(
|
||||
"0.1.46",
|
||||
"0.2.0",
|
||||
"0.2.1",
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
),
|
||||
}
|
||||
if source.get("status", {}).get("version") not in versions[command["kind"]]:
|
||||
@@ -587,6 +601,8 @@ def start(
|
||||
"0.1.46",
|
||||
"0.2.0",
|
||||
"0.2.1",
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
)
|
||||
for h in (source, target)
|
||||
):
|
||||
@@ -676,6 +692,8 @@ def start(
|
||||
"0.1.46",
|
||||
"0.2.0",
|
||||
"0.2.1",
|
||||
"0.2.2",
|
||||
"0.2.3",
|
||||
}
|
||||
if durable_delivery:
|
||||
lifetime = (
|
||||
|
||||
Reference in New Issue
Block a user