hiddifypanel 8.0.0.dev30__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/panel/user/templates/singbox_config.json +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 +11 -8
- hiddifypanel/translations/zh/LC_MESSAGES/messages.mo +0 -0
- hiddifypanel/translations/zh/LC_MESSAGES/messages.po +2 -2
- {hiddifypanel-8.0.0.dev30.dist-info → hiddifypanel-8.0.0.dev32.dist-info}/METADATA +1 -1
- {hiddifypanel-8.0.0.dev30.dist-info → hiddifypanel-8.0.0.dev32.dist-info}/RECORD +20 -20
- {hiddifypanel-8.0.0.dev30.dist-info → hiddifypanel-8.0.0.dev32.dist-info}/LICENSE.md +0 -0
- {hiddifypanel-8.0.0.dev30.dist-info → hiddifypanel-8.0.0.dev32.dist-info}/WHEEL +0 -0
- {hiddifypanel-8.0.0.dev30.dist-info → hiddifypanel-8.0.0.dev32.dist-info}/entry_points.txt +0 -0
- {hiddifypanel-8.0.0.dev30.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
|
|
@@ -98,7 +98,7 @@
|
|
98
98
|
"type": "ssh",
|
99
99
|
"tag": "ssh-out",
|
100
100
|
//"client_version": "{{ssh_client_version}}",
|
101
|
-
"server": "{{
|
101
|
+
"server": "{{ssh_ip}}",
|
102
102
|
"server_port": {{hconfigs[ConfigEnum.ssh_server_port]}},
|
103
103
|
"user": "{{user.uuid}}",
|
104
104
|
"private_key": "{{user.ed25519_private_key|replace('\n', '\\n')}}", //{{user.ed25519_public_key|replace('\n', '\\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-
|
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-
|
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-
|
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"
|
@@ -3076,6 +3076,7 @@ msgstr "Transporte"
|
|
3076
3076
|
msgid "user.home.allconfig.security"
|
3077
3077
|
msgstr "Segurança"
|
3078
3078
|
|
3079
|
+
# | msgid "Auto"
|
3079
3080
|
#: hiddifypanel/panel/user/templates/home/all-configs.html:21
|
3080
3081
|
#, fuzzy
|
3081
3082
|
msgid "auto"
|
@@ -3152,6 +3153,7 @@ msgstr "Exceto VMenos"
|
|
3152
3153
|
msgid "user.home.allconfig.link-configs"
|
3153
3154
|
msgstr "Link de assinatura"
|
3154
3155
|
|
3156
|
+
# | msgid "SingBox: SSH"
|
3155
3157
|
#: hiddifypanel/panel/user/templates/home/all-configs.html:74
|
3156
3158
|
#, fuzzy
|
3157
3159
|
msgid "singbox: ssh"
|
@@ -4359,20 +4361,20 @@ msgstr ""
|
|
4359
4361
|
msgid "config.ssh_server_redis_url.label"
|
4360
4362
|
msgstr "Endereço do banco de dados do usuário SSH"
|
4361
4363
|
|
4362
|
-
# | msgid "Not
|
4364
|
+
# | msgid "Not Used"
|
4363
4365
|
#: hiddifypanel/templates/fake.html:1
|
4364
4366
|
#, fuzzy
|
4365
4367
|
msgid "config.ssh_server_redis_url.description"
|
4366
4368
|
msgstr "Não usado"
|
4367
4369
|
|
4368
|
-
# | msgid "SSH Proxy Port"
|
4370
|
+
# | msgid "↔️ SSH Proxy Port"
|
4369
4371
|
#: hiddifypanel/templates/fake.html:1
|
4370
4372
|
#, fuzzy
|
4371
4373
|
msgid "config.ssh_server_port.label"
|
4372
4374
|
msgstr "Porta Proxy SSH"
|
4373
4375
|
|
4374
4376
|
# | msgid ""
|
4375
|
-
# | "This is completely different from your original
|
4377
|
+
# | "This is completely different from your original SSH server. It is a "
|
4376
4378
|
# | "dedicated program."
|
4377
4379
|
#: hiddifypanel/templates/fake.html:1
|
4378
4380
|
#, fuzzy
|
@@ -4381,13 +4383,13 @@ msgstr ""
|
|
4381
4383
|
"Isso é completamente diferente do seu servidor ssh original. É um "
|
4382
4384
|
"programa dedicado."
|
4383
4385
|
|
4384
|
-
# | msgid "Enable SSH Proxy"
|
4386
|
+
# | msgid "✔️ Enable SSH Proxy"
|
4385
4387
|
#: hiddifypanel/templates/fake.html:1
|
4386
4388
|
#, fuzzy
|
4387
4389
|
msgid "config.ssh_server_enable.label"
|
4388
4390
|
msgstr "Ativar proxy SSH"
|
4389
4391
|
|
4390
|
-
# | msgid "SSH
|
4392
|
+
# | msgid "SSH Proxy is completely different than original SSH Server"
|
4391
4393
|
#: hiddifypanel/templates/fake.html:1
|
4392
4394
|
#, fuzzy
|
4393
4395
|
msgid "config.ssh_server_enable.description"
|
@@ -4434,7 +4436,8 @@ msgid "config.ssh.label"
|
|
4434
4436
|
msgstr "Proxy SSH"
|
4435
4437
|
|
4436
4438
|
# | msgid ""
|
4437
|
-
# | "An SSH proxy, also known as an SSH tunnel or SSH port forwarding, is a
|
4439
|
+
# | "ℹ️ An SSH proxy, also known as an SSH tunnel or SSH port forwarding, is a
|
4440
|
+
# "
|
4438
4441
|
# | "secure method of creating a secure communication channel between two "
|
4439
4442
|
# | "machines over an insecure network. We have a specific application which
|
4440
4443
|
# is "
|
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-
|
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
|
@@ -89,7 +89,7 @@ hiddifypanel/panel/user/templates/clash_config copy.yml,sha256=_BIDTWAe6St7f0Q3K
|
|
89
89
|
hiddifypanel/panel/user/templates/clash_config.yml,sha256=lI4gYtr51qpqXqob4Ws6HWJRuYT9KcctPyWRZAgQISc,5111
|
90
90
|
hiddifypanel/panel/user/templates/clash_proxies copy.yml,sha256=PpAL5ViC28PjDsEnzHEsIJ3jJ2QUAD4HWv2jYOGzqoo,12229
|
91
91
|
hiddifypanel/panel/user/templates/clash_proxies.yml,sha256=0idJKLrNdvlFQmhILVQQGQsL_ZcYBqv_HQiorn1q4mU,1543
|
92
|
-
hiddifypanel/panel/user/templates/singbox_config.json,sha256=
|
92
|
+
hiddifypanel/panel/user/templates/singbox_config.json,sha256=CWJY-jg9Eq8ySMFpAx_E8HsBsYju61-Xa0RdyOb4Tmw,5295
|
93
93
|
hiddifypanel/panel/user/templates/home/all-configs.html,sha256=L6slBd52OqrUK4B1eIRkofK2DRwhiZuC53MGPcF4zdI,6037
|
94
94
|
hiddifypanel/panel/user/templates/home/all-configs_old.html,sha256=To58Sl3G11Ty0FSXKNHWGapT1joIz0DmOrSkU8-TZuo,3326
|
95
95
|
hiddifypanel/panel/user/templates/home/android.html,sha256=DbAp4hT6ylj2xBZx6WACEWz7wKiNyCZU67Jd8AQUej8,4010
|
@@ -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
|