hiddifypanel 10.80.0.dev15__py3-none-any.whl → 10.80.0.dev16__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- hiddifypanel/VERSION +1 -1
- hiddifypanel/VERSION.py +1 -1
- hiddifypanel/models/config.py +4 -1
- hiddifypanel/panel/admin/DomainAdmin.py +2 -1
- hiddifypanel/translations/en/LC_MESSAGES/messages.mo +0 -0
- hiddifypanel/translations/en/LC_MESSAGES/messages.po +602 -0
- hiddifypanel/translations/fa/LC_MESSAGES/messages.mo +0 -0
- hiddifypanel/translations/fa/LC_MESSAGES/messages.po +612 -0
- hiddifypanel/translations/pt/LC_MESSAGES/messages.mo +0 -0
- hiddifypanel/translations/pt/LC_MESSAGES/messages.po +603 -0
- hiddifypanel/translations/ru/LC_MESSAGES/messages.mo +0 -0
- hiddifypanel/translations/ru/LC_MESSAGES/messages.po +610 -0
- hiddifypanel/translations/zh/LC_MESSAGES/messages.mo +0 -0
- hiddifypanel/translations/zh/LC_MESSAGES/messages.po +570 -0
- hiddifypanel/translations.i18n/en.json +11 -8
- hiddifypanel/translations.i18n/fa.json +11 -8
- hiddifypanel/translations.i18n/pt.json +11 -8
- hiddifypanel/translations.i18n/ru.json +11 -8
- hiddifypanel/translations.i18n/zh.json +11 -8
- {hiddifypanel-10.80.0.dev15.dist-info → hiddifypanel-10.80.0.dev16.dist-info}/METADATA +1 -1
- {hiddifypanel-10.80.0.dev15.dist-info → hiddifypanel-10.80.0.dev16.dist-info}/RECORD +24 -24
- {hiddifypanel-10.80.0.dev15.dist-info → hiddifypanel-10.80.0.dev16.dist-info}/LICENSE.md +0 -0
- {hiddifypanel-10.80.0.dev15.dist-info → hiddifypanel-10.80.0.dev16.dist-info}/WHEEL +0 -0
- {hiddifypanel-10.80.0.dev15.dist-info → hiddifypanel-10.80.0.dev16.dist-info}/entry_points.txt +0 -0
hiddifypanel/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
10.80.0.
|
1
|
+
10.80.0.dev16
|
hiddifypanel/VERSION.py
CHANGED
@@ -2,5 +2,5 @@ import importlib.metadata
|
|
2
2
|
from datetime import datetime
|
3
3
|
|
4
4
|
__version__ = importlib.metadata.version(__package__ or __name__)
|
5
|
-
__release_time__= datetime.strptime('2024-12-
|
5
|
+
__release_time__= datetime.strptime('2024-12-09T01:13:52','%Y-%m-%dT%H:%M:%S')
|
6
6
|
is_released_version=True
|
hiddifypanel/models/config.py
CHANGED
@@ -153,7 +153,10 @@ def add_or_update_config(commit: bool = True, child_id: int | None = None, overr
|
|
153
153
|
if child_id is None:
|
154
154
|
child_id = Child.current().id
|
155
155
|
c = config['key']
|
156
|
-
|
156
|
+
try:
|
157
|
+
ckey = ConfigEnum(c)
|
158
|
+
except:
|
159
|
+
return
|
157
160
|
if c == ConfigEnum.unique_id and not override_unique_id:
|
158
161
|
return
|
159
162
|
|
@@ -281,7 +281,8 @@ class DomainAdmin(AdminLTEModelView):
|
|
281
281
|
# Skip validation for wildcard or empty domains
|
282
282
|
if model.domain.startswith('*') or not model.domain:
|
283
283
|
return True
|
284
|
-
|
284
|
+
if model.mode in [DomainType.fake, DomainType.reality, DomainType.relay]:
|
285
|
+
return True
|
285
286
|
# Resolve domain IPs with timeout
|
286
287
|
try:
|
287
288
|
dips = hutils.network.get_domain_ips(model.domain, timeout=10)
|
Binary file
|