hiddifypanel 11.0.8__py3-none-any.whl → 11.0.10__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/hutils/proxy/xray.py +5 -4
- hiddifypanel/hutils/proxy/xrayjson.py +13 -14
- hiddifypanel/panel/init_db.py +1 -1
- hiddifypanel/translations/en/LC_MESSAGES/messages.mo +0 -0
- hiddifypanel/translations/fa/LC_MESSAGES/messages.mo +0 -0
- hiddifypanel/translations/my/LC_MESSAGES/messages.mo +0 -0
- hiddifypanel/translations/pt/LC_MESSAGES/messages.mo +0 -0
- hiddifypanel/translations/ru/LC_MESSAGES/messages.mo +0 -0
- hiddifypanel/translations/zh/LC_MESSAGES/messages.mo +0 -0
- {hiddifypanel-11.0.8.dist-info → hiddifypanel-11.0.10.dist-info}/METADATA +1 -1
- {hiddifypanel-11.0.8.dist-info → hiddifypanel-11.0.10.dist-info}/RECORD +17 -17
- {hiddifypanel-11.0.8.dist-info → hiddifypanel-11.0.10.dist-info}/WHEEL +0 -0
- {hiddifypanel-11.0.8.dist-info → hiddifypanel-11.0.10.dist-info}/entry_points.txt +0 -0
- {hiddifypanel-11.0.8.dist-info → hiddifypanel-11.0.10.dist-info}/licenses/LICENSE.md +0 -0
- {hiddifypanel-11.0.8.dist-info → hiddifypanel-11.0.10.dist-info}/top_level.txt +0 -0
hiddifypanel/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
11.0.
|
1
|
+
11.0.10
|
hiddifypanel/VERSION.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# import importlib.metadata
|
2
2
|
from datetime import datetime
|
3
3
|
|
4
|
-
__version__ = '11.0.
|
5
|
-
__release_time__= datetime.strptime('2025-07-
|
4
|
+
__version__ = '11.0.10'
|
5
|
+
__release_time__= datetime.strptime('2025-07-12T20:42:21','%Y-%m-%dT%H:%M:%S')
|
6
6
|
is_released_version=True
|
@@ -151,11 +151,12 @@ def to_link(proxy: dict) -> str | dict:
|
|
151
151
|
q['core']='xray'
|
152
152
|
_add_xhttp_extra(q,proxy)
|
153
153
|
if proxy['l3'] != 'quic':
|
154
|
-
if proxy.get('
|
155
|
-
q['headerType']='http'
|
156
|
-
else:
|
154
|
+
if proxy.get('params',{}).get('headers',{}).get("type",'')=='none' or proxy['l3'] != ProxyL3.http:
|
157
155
|
q['headerType']='none'
|
158
|
-
|
156
|
+
else:
|
157
|
+
# if proxy.get('l3') != ProxyL3.reality and (proxy.get('transport') in {ProxyTransport.tcp, ProxyTransport.httpupgrade, ProxyTransport.xhttp}) and proxy['proto'] in [ProxyProto.vless, ProxyProto.trojan]:
|
158
|
+
q['headerType']='http'
|
159
|
+
|
159
160
|
if proxy['mode'] == 'Fake' or proxy['allow_insecure']:
|
160
161
|
q['allowInsecure']='true'
|
161
162
|
q['insecure']='true'
|
@@ -291,7 +291,12 @@ def add_stream_settings(base: dict, proxy: dict):
|
|
291
291
|
|
292
292
|
|
293
293
|
def add_tcp_stream(ss: dict, proxy: dict):
|
294
|
-
|
294
|
+
|
295
|
+
if proxy.get('params',{}).get('headers',{}).get("type",'')=='none' or proxy['l3'] != ProxyL3.http:
|
296
|
+
ss['tcpSettings'] = {
|
297
|
+
'header':{'type':'none'}
|
298
|
+
}
|
299
|
+
else:
|
295
300
|
ss['tcpSettings'] = {
|
296
301
|
'header': {
|
297
302
|
'type': 'http',
|
@@ -299,24 +304,18 @@ def add_tcp_stream(ss: dict, proxy: dict):
|
|
299
304
|
'path': [proxy['path']],
|
300
305
|
'method': 'GET',
|
301
306
|
"headers": {
|
302
|
-
"Host": proxy.get('host'),
|
303
|
-
"User-Agent":
|
304
|
-
"Accept-Encoding": "gzip, deflate",
|
305
|
-
"Connection": "keep-alive",
|
306
|
-
"Pragma":
|
307
|
+
"Host": [proxy.get('host')],
|
308
|
+
"User-Agent": [proxy.get('params',{}).get('headers',{}).get('User-Agent')],
|
309
|
+
"Accept-Encoding": ["gzip, deflate"],
|
310
|
+
"Connection": ["keep-alive"],
|
311
|
+
"Pragma": proxy.get('params',{}).get('headers',{}).get('Pragma')
|
307
312
|
},
|
308
313
|
|
309
314
|
}
|
310
315
|
}
|
311
316
|
}
|
312
|
-
|
313
|
-
|
314
|
-
ss['tcpSettings'] = {
|
315
|
-
'header': {
|
316
|
-
'type': 'none'
|
317
|
-
}
|
318
|
-
# 'acceptProxyProtocol': False
|
319
|
-
}
|
317
|
+
# ss['tcpSettings']['header']['request']['headers']
|
318
|
+
|
320
319
|
|
321
320
|
|
322
321
|
def add_http_stream(ss: dict, proxy: dict):
|
hiddifypanel/panel/init_db.py
CHANGED
@@ -652,7 +652,7 @@ def make_proxy_rows(cfgs):
|
|
652
652
|
# if not is_exist:
|
653
653
|
params_list=[('',{})]
|
654
654
|
|
655
|
-
if transport=="xhttp" and l3
|
655
|
+
if transport=="xhttp" and l3 not in [ProxyL3.reality,ProxyL3.http]:
|
656
656
|
params_list=[]
|
657
657
|
# for up in ['http/1.1"','h2','h3']:
|
658
658
|
if l3=="http":
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
hiddifypanel/Events.py,sha256=AlnRdjVul0jP-NCT4-zoaQgowoOo-JhdQB4ytetAFKA,723
|
2
|
-
hiddifypanel/VERSION,sha256=
|
3
|
-
hiddifypanel/VERSION.py,sha256=
|
2
|
+
hiddifypanel/VERSION,sha256=kXn47sa2xi4YrbFqiV8ByjevdK70ObvE45N_HRmYS9k,8
|
3
|
+
hiddifypanel/VERSION.py,sha256=PirMDSNYcS2b4NZrgcnqKQDlp2eSg8hucpugcNC6p8g,187
|
4
4
|
hiddifypanel/__init__.py,sha256=kigwDO8d9jXyPZLvJAWd6zo-GX3pG_xWf-q2aStz80Y,377
|
5
5
|
hiddifypanel/__main__.py,sha256=IVchnXpK6bm8T3N--mN17HBQNLMeLAjyP7iwzULexB4,218
|
6
6
|
hiddifypanel/auth.py,sha256=LJmH4ROqZv5ej_4m1b0xvbEw2meJTzDR1mFCDm523kE,8041
|
@@ -47,8 +47,8 @@ hiddifypanel/hutils/proxy/clash.py,sha256=JiT3wj48b9ezCGxZoEp5FrhvwfmNKslcF5GMoH
|
|
47
47
|
hiddifypanel/hutils/proxy/shared.py,sha256=Cb_LfcO34XWIoREPXdQoaJUR0JpXfSTle7npe7amW-g,24253
|
48
48
|
hiddifypanel/hutils/proxy/singbox.py,sha256=Fmmzoake-gpnRB5yfTyQvd1dB-10WKwhJt4vhiKzJZQ,11722
|
49
49
|
hiddifypanel/hutils/proxy/wireguard.py,sha256=gij01BYXII-RxAh3Yky0o3yce20HJKeHtu1KNwb0Uzk,934
|
50
|
-
hiddifypanel/hutils/proxy/xray.py,sha256=
|
51
|
-
hiddifypanel/hutils/proxy/xrayjson.py,sha256=
|
50
|
+
hiddifypanel/hutils/proxy/xray.py,sha256=IypJKIGxZnjrJ1SsXa-412uWdJtmCcEavZMCyIPHH7U,11793
|
51
|
+
hiddifypanel/hutils/proxy/xrayjson.py,sha256=0N2NCeKUpcejHNn_fx0uXtmHGPQuPETDBny_8Le4Ob0,16602
|
52
52
|
hiddifypanel/models/__init__.py,sha256=PngFjQL9WvQP4EioNHRz1tTeyIgLoNvZ7WpmAhwKHnU,677
|
53
53
|
hiddifypanel/models/admin.py,sha256=bbvpbquyPTmRjqwVT4zVC3bIF39zZYv8snlOR5XIF90,7517
|
54
54
|
hiddifypanel/models/base_account.py,sha256=jVO4haLwTsiE7u4fWoDhhRZ_NjbO7hVJhry8k-Vnrzk,3507
|
@@ -72,7 +72,7 @@ hiddifypanel/panel/common.py,sha256=pMxdgt37ubIZroFBuvHfN5qXNp8kytVTIzVxzZA_X_I,
|
|
72
72
|
hiddifypanel/panel/custom_widgets.py,sha256=ojnLz-kAa1juZVW1JoCy8FAjvWNORKNpFIb8OnY0lLw,3767
|
73
73
|
hiddifypanel/panel/hiddify.py,sha256=nwLTMYa_LyNuS26BPOO8jfyrslHX2MbQxN0o4lxCTd4,15687
|
74
74
|
hiddifypanel/panel/hlogger.py,sha256=1AQQCs1lg0Y1AYIASRjxWAdFE92HENeg3z1rFycOoY0,1215
|
75
|
-
hiddifypanel/panel/init_db.py,sha256=
|
75
|
+
hiddifypanel/panel/init_db.py,sha256=nhb5hGryptfbbGD9vs9NhIk32GFGE73IbgSNDa78Q3E,39520
|
76
76
|
hiddifypanel/panel/run_commander.py,sha256=cXCFVvZ6iTzab3EOZ-Eq3aOeIqfgzgt2ppNaxm_3OJI,3205
|
77
77
|
hiddifypanel/panel/usage.py,sha256=kQAz9nfHt3Mcfa8kLHdrpD408DZEFDT7T1xFV6MlDQE,11991
|
78
78
|
hiddifypanel/panel/admin/Actions.py,sha256=o_ENbphriVrbRJkx9nvrkpaliuMIfp34sscMkZJ3P5s,8578
|
@@ -842,17 +842,17 @@ hiddifypanel/templates/redirect.html,sha256=K9x_O4P96vEkqBhOXIhoGrWw1KIqd2bL0BjI
|
|
842
842
|
hiddifypanel/templates/static.html,sha256=jp6q4wtx-k2A_cjqJoNiMS7Ee30arE45qI3ev4d5ky4,165
|
843
843
|
hiddifypanel/templates/hiddify-flask-admin/actions.html,sha256=2NeITe2e-lPKCk_o511tCIqVtrPu8LYHE1wTCtrFUrI,1331
|
844
844
|
hiddifypanel/templates/hiddify-flask-admin/list.html,sha256=MBGrTqZpzNLe4sZy0RozvXNr8seFUQc2C6v88BJtNWc,11095
|
845
|
-
hiddifypanel/translations/en/LC_MESSAGES/messages.mo,sha256=
|
845
|
+
hiddifypanel/translations/en/LC_MESSAGES/messages.mo,sha256=vfF3NMVa33nBqx98-g3KishR4ISzPZd0Xxa03JlSx30,81344
|
846
846
|
hiddifypanel/translations/en/LC_MESSAGES/messages.po,sha256=PTRd-S86e6n6FcFfEk9wNY9oXzfxpTKumZF34ADRD8s,84707
|
847
|
-
hiddifypanel/translations/fa/LC_MESSAGES/messages.mo,sha256=
|
847
|
+
hiddifypanel/translations/fa/LC_MESSAGES/messages.mo,sha256=ijHPCdXZ_gNxFgz5BaA6FyB09JNHjhTqeQvKcWn1Ez0,104622
|
848
848
|
hiddifypanel/translations/fa/LC_MESSAGES/messages.po,sha256=F_rviX213BfquPFuYlDJOq0pv2zrPx__Fr0Nfa4YlXo,109395
|
849
|
-
hiddifypanel/translations/my/LC_MESSAGES/messages.mo,sha256=
|
849
|
+
hiddifypanel/translations/my/LC_MESSAGES/messages.mo,sha256=zGPMOpVpyYDfeVtTl_KyLasdKVu_PhFI-pkO-laplZw,139090
|
850
850
|
hiddifypanel/translations/my/LC_MESSAGES/messages.po,sha256=PvYBwQWXaUpAoqy90oow-sH-ZyPE7Fm_l-3FrXT_vEA,141985
|
851
|
-
hiddifypanel/translations/pt/LC_MESSAGES/messages.mo,sha256=
|
851
|
+
hiddifypanel/translations/pt/LC_MESSAGES/messages.mo,sha256=6-jFD2mH7bLgl2Ym1SxGJkOCLTkHBnIIdJlxt_71inY,80947
|
852
852
|
hiddifypanel/translations/pt/LC_MESSAGES/messages.po,sha256=6fKR4KFY9pIDBCZG74JTLN9bLyWQgji8P0euB0LTF6c,85983
|
853
|
-
hiddifypanel/translations/ru/LC_MESSAGES/messages.mo,sha256=
|
853
|
+
hiddifypanel/translations/ru/LC_MESSAGES/messages.mo,sha256=2ej12ldWvNLLYRux3HtOn6erF0kwyP4xMuXSA3o7Blo,108744
|
854
854
|
hiddifypanel/translations/ru/LC_MESSAGES/messages.po,sha256=kV4lVivA29LNlceyZ3M3X0Cmlnb2T0uMkPK5IpkXoQc,113986
|
855
|
-
hiddifypanel/translations/zh/LC_MESSAGES/messages.mo,sha256=
|
855
|
+
hiddifypanel/translations/zh/LC_MESSAGES/messages.mo,sha256=pLDW48cm1IUt9QOzP2e0SjKZksG4O9QRcjzLr0jwnP8,75446
|
856
856
|
hiddifypanel/translations/zh/LC_MESSAGES/messages.po,sha256=z8X5CHRb85J8K6bskg0ATQZ1c-lCa1bLDDjXAXwP9HU,80093
|
857
857
|
hiddifypanel/translations.i18n/en.json,sha256=40MeWDGnf6hhoLkWK4FzOGIgRk2jg99TJL6OnAkIfk8,73568
|
858
858
|
hiddifypanel/translations.i18n/fa.json,sha256=Dh9euswESYGJ2h-SsQDQXNERTYfGxU_RJ4UYka4of2w,98266
|
@@ -861,9 +861,9 @@ hiddifypanel/translations.i18n/my.json,sha256=FWUSUOcHAmVBaq7KL2aX5W8ywsElsy_Dj_
|
|
861
861
|
hiddifypanel/translations.i18n/pt.json,sha256=0YL9JCTM9aXpuMLCckVA5GPHWBaBDVQNqZu8aaJ0P3I,75040
|
862
862
|
hiddifypanel/translations.i18n/ru.json,sha256=vef8TTxa6nXkwxEuSfOZUm3sdusf4GkBQQcR0MxJCv0,102827
|
863
863
|
hiddifypanel/translations.i18n/zh.json,sha256=WsbaIOrLIyI6BKPkT8LYWCOaA6PIEMV6qD01wIZuKSk,69573
|
864
|
-
hiddifypanel-11.0.
|
865
|
-
hiddifypanel-11.0.
|
866
|
-
hiddifypanel-11.0.
|
867
|
-
hiddifypanel-11.0.
|
868
|
-
hiddifypanel-11.0.
|
869
|
-
hiddifypanel-11.0.
|
864
|
+
hiddifypanel-11.0.10.dist-info/licenses/LICENSE.md,sha256=oDrt-cUsyiDGnRPjEJh-3dH2ddAuK_bIVBD8ntkOtZw,19807
|
865
|
+
hiddifypanel-11.0.10.dist-info/METADATA,sha256=5OPyjoxmpA7Q6pBWJFSIr4OfW-BuTGHUFI6HbZ7Y2Ts,25625
|
866
|
+
hiddifypanel-11.0.10.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
867
|
+
hiddifypanel-11.0.10.dist-info/entry_points.txt,sha256=Xzpqlh3nwBtZhoV9AANJykano056VJvYzaujxPztJaM,60
|
868
|
+
hiddifypanel-11.0.10.dist-info/top_level.txt,sha256=rv-b3qFWUZQTBy0kyBfsr7L6tPpeO7AaQlLHXn-HI5M,13
|
869
|
+
hiddifypanel-11.0.10.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|