hiddifypanel 8.0.0.dev31__py3-none-any.whl → 8.0.0.dev32__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 +2 -2
- hiddifypanel/cache.py +4 -4
- hiddifypanel/models/config.py +4 -3
- hiddifypanel/panel/user/link_maker.py +1 -1
- hiddifypanel/translations/en/LC_MESSAGES/messages.mo +0 -0
- hiddifypanel/translations/en/LC_MESSAGES/messages.po +2 -2
- hiddifypanel/translations/fa/LC_MESSAGES/messages.mo +0 -0
- hiddifypanel/translations/fa/LC_MESSAGES/messages.po +2 -2
- hiddifypanel/translations/pt/LC_MESSAGES/messages.mo +0 -0
- hiddifypanel/translations/pt/LC_MESSAGES/messages.po +2 -2
- hiddifypanel/translations/zh/LC_MESSAGES/messages.mo +0 -0
- hiddifypanel/translations/zh/LC_MESSAGES/messages.po +2 -2
- {hiddifypanel-8.0.0.dev31.dist-info → hiddifypanel-8.0.0.dev32.dist-info}/METADATA +1 -1
- {hiddifypanel-8.0.0.dev31.dist-info → hiddifypanel-8.0.0.dev32.dist-info}/RECORD +19 -19
- {hiddifypanel-8.0.0.dev31.dist-info → hiddifypanel-8.0.0.dev32.dist-info}/LICENSE.md +0 -0
- {hiddifypanel-8.0.0.dev31.dist-info → hiddifypanel-8.0.0.dev32.dist-info}/WHEEL +0 -0
- {hiddifypanel-8.0.0.dev31.dist-info → hiddifypanel-8.0.0.dev32.dist-info}/entry_points.txt +0 -0
- {hiddifypanel-8.0.0.dev31.dist-info → hiddifypanel-8.0.0.dev32.dist-info}/top_level.txt +0 -0
hiddifypanel/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
8.0.0.
|
1
|
+
8.0.0.dev32
|
hiddifypanel/VERSION.py
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
__version__='8.0.0.
|
1
|
+
__version__='8.0.0.dev32'
|
2
2
|
from datetime import datetime
|
3
|
-
__release_date__= datetime.strptime('2023-08-
|
3
|
+
__release_date__= datetime.strptime('2023-08-19','%Y-%m-%d')
|
hiddifypanel/cache.py
CHANGED
@@ -4,8 +4,8 @@ import redis
|
|
4
4
|
redis_client = redis.from_url('unix:///opt/hiddify-config/other/redis/run.sock?db=0', decode_responses=True)
|
5
5
|
|
6
6
|
|
7
|
-
def exception_handler(**kwargs):
|
8
|
-
|
7
|
+
# def exception_handler(**kwargs):
|
8
|
+
# pass
|
9
9
|
|
10
|
-
|
11
|
-
cache = RedisCache(redis_client=redis_client
|
10
|
+
# cache = RedisCache(redis_client=redis_client, exception_handler=exception_handler)
|
11
|
+
cache = RedisCache(redis_client=redis_client)
|
hiddifypanel/models/config.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
from hiddifypanel.cache import cache
|
2
2
|
from sqlalchemy_serializer import SerializerMixin
|
3
3
|
from flask import Flask
|
4
4
|
from flask_sqlalchemy import SQLAlchemy
|
@@ -49,7 +49,7 @@ class StrConfig(db.Model, SerializerMixin):
|
|
49
49
|
}
|
50
50
|
|
51
51
|
|
52
|
-
|
52
|
+
@cache.cache()
|
53
53
|
def hconfig(key: ConfigEnum, child_id=0):
|
54
54
|
value = None
|
55
55
|
try:
|
@@ -76,7 +76,8 @@ def hconfig(key: ConfigEnum, child_id=0):
|
|
76
76
|
|
77
77
|
|
78
78
|
def set_hconfig(key: ConfigEnum, value, child_id=0, commit=True):
|
79
|
-
|
79
|
+
hconfig.invalidate(key, child_id)
|
80
|
+
get_hconfigs.invalidate(child_id)
|
80
81
|
if key.type() == bool:
|
81
82
|
dbconf = BoolConfig.query.filter(BoolConfig.key == key, BoolConfig.child_id == child_id).first()
|
82
83
|
if not dbconf:
|
@@ -133,7 +133,7 @@ def make_proxy(proxy: Proxy, domain_db: Domain, phttp=80, ptls=443):
|
|
133
133
|
|
134
134
|
del base['host']
|
135
135
|
if base.get('fingerprint', 'none') != 'none':
|
136
|
-
base['fingerprint'] =
|
136
|
+
base['fingerprint'] = hconfigs[ConfigEnum.utls]
|
137
137
|
# if not domain_db.cdn_ip:
|
138
138
|
# base['server']=hiddify.get_domain_ip(base['server'])
|
139
139
|
|
Binary file
|
@@ -3,8 +3,8 @@ msgid ""
|
|
3
3
|
msgstr ""
|
4
4
|
"Project-Id-Version: HiddifyPanel\n"
|
5
5
|
"Report-Msgid-Bugs-To: \n"
|
6
|
-
"POT-Creation-Date: 2023-08-
|
7
|
-
"PO-Revision-Date: 2023-08-16
|
6
|
+
"POT-Creation-Date: 2023-08-19 01:37+0200\n"
|
7
|
+
"PO-Revision-Date: 2023-08-16 09:34-0500\n"
|
8
8
|
"Last-Translator: hidden u\n"
|
9
9
|
"Language-Team: English (USA)\n"
|
10
10
|
"Language: en_US\n"
|
Binary file
|
@@ -3,8 +3,8 @@ msgid ""
|
|
3
3
|
msgstr ""
|
4
4
|
"Project-Id-Version: HiddifyPanel\n"
|
5
5
|
"Report-Msgid-Bugs-To: \n"
|
6
|
-
"POT-Creation-Date: 2023-08-
|
7
|
-
"PO-Revision-Date: 2023-08-16
|
6
|
+
"POT-Creation-Date: 2023-08-19 01:37+0200\n"
|
7
|
+
"PO-Revision-Date: 2023-08-16 09:34-0500\n"
|
8
8
|
"Last-Translator: hidden u\n"
|
9
9
|
"Language: fa\n"
|
10
10
|
"Language-Team: Persian\n"
|
Binary file
|
@@ -3,8 +3,8 @@ msgid ""
|
|
3
3
|
msgstr ""
|
4
4
|
"Project-Id-Version: HiddifyPT\n"
|
5
5
|
"Report-Msgid-Bugs-To: \n"
|
6
|
-
"POT-Creation-Date: 2023-08-
|
7
|
-
"PO-Revision-Date: 2023-08-16
|
6
|
+
"POT-Creation-Date: 2023-08-19 01:37+0200\n"
|
7
|
+
"PO-Revision-Date: 2023-08-16 09:34-0500\n"
|
8
8
|
"Last-Translator: lymanrudni\n"
|
9
9
|
"Language: pt\n"
|
10
10
|
"Language-Team: Portuguese\n"
|
Binary file
|
@@ -3,8 +3,8 @@ msgid ""
|
|
3
3
|
msgstr ""
|
4
4
|
"Project-Id-Version: HiddifyPanel\n"
|
5
5
|
"Report-Msgid-Bugs-To: \n"
|
6
|
-
"POT-Creation-Date: 2023-08-
|
7
|
-
"PO-Revision-Date: 2023-08-16
|
6
|
+
"POT-Creation-Date: 2023-08-19 01:37+0200\n"
|
7
|
+
"PO-Revision-Date: 2023-08-16 09:34-0500\n"
|
8
8
|
"Last-Translator: hidden u\n"
|
9
9
|
"Language: zh\n"
|
10
10
|
"Language-Team: Chinese\n"
|
@@ -1,10 +1,10 @@
|
|
1
1
|
hiddifypanel/Events.py,sha256=mkIsfz4YQqegdeFgH4quxvLIx7AundtjAW6HBSP9I-M,719
|
2
|
-
hiddifypanel/VERSION,sha256=
|
3
|
-
hiddifypanel/VERSION.py,sha256=
|
2
|
+
hiddifypanel/VERSION,sha256=ze77rHK2YfclBx1lCH4IKI9scLGGEUEX7mTkZLw4ly4,12
|
3
|
+
hiddifypanel/VERSION.py,sha256=RsFoY5IT_2DDsnCiK3owzj3tKEDgsvVtJ0j4UNfU1_g,117
|
4
4
|
hiddifypanel/__init__.py,sha256=b4nIILUBiDaAWF1Mnkew84MxzR5OeWogcVbR-gpnbrA,217
|
5
5
|
hiddifypanel/__main__.py,sha256=GaHLsnu3y4zNTh6x-9kuZLOYaShltkG96rRAHOuMLak,270
|
6
6
|
hiddifypanel/base.py,sha256=choHdG5ctEX-jftutIb9hh3Kdu5oV3HOJpQv9KQBt24,2640
|
7
|
-
hiddifypanel/cache.py,sha256=
|
7
|
+
hiddifypanel/cache.py,sha256=hxgN8_1DR29FsCxP7-VjqNj2VOBGkwBJ1ZeRFs8uThg,338
|
8
8
|
hiddifypanel/drivers/abstract_driver.py,sha256=5fwU4T6h4TkRA7ANFx3nPXyqPw69TI6MU8fVje-Mv0s,182
|
9
9
|
hiddifypanel/drivers/singbox_api.py,sha256=MVS0Qy9pq2kv5mJV-jaDOrVD66RRcBno-J5_Lmb0Hcs,1646
|
10
10
|
hiddifypanel/drivers/ssh_liberty_bridge_api.py,sha256=FM2h4z_7Kzdz2vRTOivSOws8i8cJbtBEi-XX1HVFy6I,1785
|
@@ -13,7 +13,7 @@ hiddifypanel/drivers/xray_api.py,sha256=jd9LDOwdNDdCTEgSbOKm3KT_uZ6OizAV9uahb5go
|
|
13
13
|
hiddifypanel/models/__init__.py,sha256=zj_Rjc808mt_Zr2XtHqeEW1nXviZCgK82BBxjbOvUaM,988
|
14
14
|
hiddifypanel/models/admin.py,sha256=7MqFmI76rK-jYdZeDccSoGLIFV418Zl9ZuPcK2Giusw,5638
|
15
15
|
hiddifypanel/models/child.py,sha256=HVKasfftcYJNgvNF-VGe3M5UX-Me6AwFWLnYM9WckOk,1137
|
16
|
-
hiddifypanel/models/config.py,sha256=
|
16
|
+
hiddifypanel/models/config.py,sha256=Tz4eDU4cUMNdb2tmrKsR63WofGGGeY6Bch7uDwa0TPo,4763
|
17
17
|
hiddifypanel/models/config_enum.py,sha256=2sVE_Dn8zjq0eIAHrb5pG8GkYvNrLDU1DdW3QG6AbuM,11209
|
18
18
|
hiddifypanel/models/domain.py,sha256=mHxKPedR5TC2RMz8Lmqo62EJlfda2kJhde638bM12ec,6406
|
19
19
|
hiddifypanel/models/parent_domain.py,sha256=yfcC_OM9xiyMHQBSRIeXpR8WLT2SNtE0CYhM5ouQJiw,2478
|
@@ -81,7 +81,7 @@ hiddifypanel/panel/commercial/templates/configc.html,sha256=WCQtEXf-Vf1s8mhTlECd
|
|
81
81
|
hiddifypanel/panel/commercial/templates/parent_dash.html,sha256=pMZRHQRxb2blYe0fv0vrbBaHfnBZB_TXln_QavoCiog,1917
|
82
82
|
hiddifypanel/panel/user/__init__.py,sha256=C1oDWpEwa_bNdrff9I33_m9h2F_ma0_Ruu6T1QfMlMI,1047
|
83
83
|
hiddifypanel/panel/user/link_maker.html,sha256=g420NAm_fUI8asYjyfCiXyUOIwEQfDPonZA9xh3p0-8,177
|
84
|
-
hiddifypanel/panel/user/link_maker.py,sha256=
|
84
|
+
hiddifypanel/panel/user/link_maker.py,sha256=IcR_HrywEfXfOt8bc_UG6I0Dr-ERHHmXzrSMIb9T0Vc,19600
|
85
85
|
hiddifypanel/panel/user/user.py,sha256=7xjoJkKHCfxBDRoA65Wit0zIBWQvXMZllHcV5o-Fl8s,11693
|
86
86
|
hiddifypanel/panel/user/templates/all_configs copy.txt,sha256=ivn6fiOLnn4R7WLoKiPFbW-oOu-v1hdSqOW-sSeYmXA,510
|
87
87
|
hiddifypanel/panel/user/templates/all_configs.txt,sha256=q_Is8KCiiQcowf9-xsPj34YFILgk3cyAGULBfrf7vdg,1126
|
@@ -680,17 +680,17 @@ hiddifypanel/templates/macros.html,sha256=lvw_I1hYTx5mq5e9j9kwbNp5n_WDdjFgwKzI3J
|
|
680
680
|
hiddifypanel/templates/master.html,sha256=VDhR902TCiMu6pnGrHDlsGYCR8PKKvBZcgiX00D4SP8,20817
|
681
681
|
hiddifypanel/templates/static.html,sha256=jp6q4wtx-k2A_cjqJoNiMS7Ee30arE45qI3ev4d5ky4,165
|
682
682
|
hiddifypanel/templates/hiddify-flask-admin/list.html,sha256=St0TD6-ZIJ24A6Akbh51JNkTEOpimFq2iiRydcUjQlA,13642
|
683
|
-
hiddifypanel/translations/en/LC_MESSAGES/messages.mo,sha256=
|
684
|
-
hiddifypanel/translations/en/LC_MESSAGES/messages.po,sha256=
|
685
|
-
hiddifypanel/translations/fa/LC_MESSAGES/messages.mo,sha256=
|
686
|
-
hiddifypanel/translations/fa/LC_MESSAGES/messages.po,sha256=
|
687
|
-
hiddifypanel/translations/pt/LC_MESSAGES/messages.mo,sha256=
|
688
|
-
hiddifypanel/translations/pt/LC_MESSAGES/messages.po,sha256=
|
689
|
-
hiddifypanel/translations/zh/LC_MESSAGES/messages.mo,sha256=
|
690
|
-
hiddifypanel/translations/zh/LC_MESSAGES/messages.po,sha256=
|
691
|
-
hiddifypanel-8.0.0.
|
692
|
-
hiddifypanel-8.0.0.
|
693
|
-
hiddifypanel-8.0.0.
|
694
|
-
hiddifypanel-8.0.0.
|
695
|
-
hiddifypanel-8.0.0.
|
696
|
-
hiddifypanel-8.0.0.
|
683
|
+
hiddifypanel/translations/en/LC_MESSAGES/messages.mo,sha256=coSO3MABbVtNmx_2SEQfLuSFogvkKfFi0FHnGpGZo0I,56516
|
684
|
+
hiddifypanel/translations/en/LC_MESSAGES/messages.po,sha256=dBHolK62ckY476ziqZSk9Qs4iGNFRAguibtWXyED1qQ,156319
|
685
|
+
hiddifypanel/translations/fa/LC_MESSAGES/messages.mo,sha256=MTx4lKGPxT7xTtRiGeaLfcCHPzgViCu7uEeqhDPb9FE,76128
|
686
|
+
hiddifypanel/translations/fa/LC_MESSAGES/messages.po,sha256=HKTEzpjWl327WecDUakzmWaapmfKmj5SuYuaXe18acI,178850
|
687
|
+
hiddifypanel/translations/pt/LC_MESSAGES/messages.mo,sha256=3mYjrVAafAR0gqadaVKv6-ZH7_JVqq1tL8TjQDfvo_A,58497
|
688
|
+
hiddifypanel/translations/pt/LC_MESSAGES/messages.po,sha256=4hiIs2xdLy229PY-iN7Te526PYgDBMXKE2Yt2lzhtFg,154481
|
689
|
+
hiddifypanel/translations/zh/LC_MESSAGES/messages.mo,sha256=gt7aQ41wNBZ7s9O1aVCtvIt6ER8sht972ccL-3z-W4Y,48399
|
690
|
+
hiddifypanel/translations/zh/LC_MESSAGES/messages.po,sha256=2SNY3LfaQm5GetQetUl9Hi-N0iSrLsM8dDfN_boBms8,149696
|
691
|
+
hiddifypanel-8.0.0.dev32.dist-info/LICENSE.md,sha256=oDrt-cUsyiDGnRPjEJh-3dH2ddAuK_bIVBD8ntkOtZw,19807
|
692
|
+
hiddifypanel-8.0.0.dev32.dist-info/METADATA,sha256=uB9CWXbsX5wja95QnIDBVxZummSq7uwvWkGQ7Noz92E,2860
|
693
|
+
hiddifypanel-8.0.0.dev32.dist-info/WHEEL,sha256=5sUXSg9e4bi7lTLOHcm6QEYwO5TIF1TNbTSVFVjcJcc,92
|
694
|
+
hiddifypanel-8.0.0.dev32.dist-info/entry_points.txt,sha256=Xzpqlh3nwBtZhoV9AANJykano056VJvYzaujxPztJaM,60
|
695
|
+
hiddifypanel-8.0.0.dev32.dist-info/top_level.txt,sha256=rv-b3qFWUZQTBy0kyBfsr7L6tPpeO7AaQlLHXn-HI5M,13
|
696
|
+
hiddifypanel-8.0.0.dev32.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|