hiddifypanel 9.0.0.dev41__py3-none-any.whl → 9.0.0.dev42__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/panel/hiddify.py +2 -3
- 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/ru/LC_MESSAGES/messages.mo +0 -0
- hiddifypanel/translations/ru/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-9.0.0.dev41.dist-info → hiddifypanel-9.0.0.dev42.dist-info}/METADATA +1 -1
- {hiddifypanel-9.0.0.dev41.dist-info → hiddifypanel-9.0.0.dev42.dist-info}/RECORD +19 -19
- {hiddifypanel-9.0.0.dev41.dist-info → hiddifypanel-9.0.0.dev42.dist-info}/LICENSE.md +0 -0
- {hiddifypanel-9.0.0.dev41.dist-info → hiddifypanel-9.0.0.dev42.dist-info}/WHEEL +0 -0
- {hiddifypanel-9.0.0.dev41.dist-info → hiddifypanel-9.0.0.dev42.dist-info}/entry_points.txt +0 -0
- {hiddifypanel-9.0.0.dev41.dist-info → hiddifypanel-9.0.0.dev42.dist-info}/top_level.txt +0 -0
hiddifypanel/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
9.0.0.
|
1
|
+
9.0.0.dev42
|
hiddifypanel/VERSION.py
CHANGED
hiddifypanel/panel/hiddify.py
CHANGED
@@ -178,12 +178,12 @@ def is_admin_role(role: Role):
|
|
178
178
|
|
179
179
|
def is_admin_proxy_path() -> bool:
|
180
180
|
proxy_path = g.get('proxy_path') or get_proxy_path_from_url(request.url)
|
181
|
-
return proxy_path in [hconfig(ConfigEnum.proxy_path_admin)
|
181
|
+
return proxy_path in [hconfig(ConfigEnum.proxy_path_admin)] or (proxy_path in [hconfig(ConfigEnum.proxy_path)] and "/admin/" in request.path)
|
182
182
|
|
183
183
|
|
184
184
|
def is_client_proxy_path() -> bool:
|
185
185
|
proxy_path = g.get('proxy_path') or get_proxy_path_from_url(request.url)
|
186
|
-
return proxy_path in [hconfig(ConfigEnum.proxy_path_client)
|
186
|
+
return proxy_path in [hconfig(ConfigEnum.proxy_path_client)] or (proxy_path in [hconfig(ConfigEnum.proxy_path)] and "/admin/" not in request.path)
|
187
187
|
|
188
188
|
|
189
189
|
def proxy_path_validator(proxy_path):
|
@@ -896,7 +896,6 @@ def get_account_panel_link(account: BaseAccount, host: str, is_https: bool = Tru
|
|
896
896
|
return link
|
897
897
|
|
898
898
|
|
899
|
-
|
900
899
|
def is_valid_uuid(val: str, version: int | None = None):
|
901
900
|
try:
|
902
901
|
uuid.UUID(val, version=version)
|
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: 2024-01-09 17:
|
7
|
-
"PO-Revision-Date: 2024-01-09
|
6
|
+
"POT-Creation-Date: 2024-01-09 17:46+0100\n"
|
7
|
+
"PO-Revision-Date: 2024-01-09 10:04-0600\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: 2024-01-09 17:
|
7
|
-
"PO-Revision-Date: 2024-01-09
|
6
|
+
"POT-Creation-Date: 2024-01-09 17:46+0100\n"
|
7
|
+
"PO-Revision-Date: 2024-01-09 10:04-0600\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: 2024-01-09 17:
|
7
|
-
"PO-Revision-Date: 2024-01-09
|
6
|
+
"POT-Creation-Date: 2024-01-09 17:46+0100\n"
|
7
|
+
"PO-Revision-Date: 2024-01-09 10:04-0600\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: HiddifyPT\n"
|
5
5
|
"Report-Msgid-Bugs-To: \n"
|
6
|
-
"POT-Creation-Date: 2024-01-09 17:
|
7
|
-
"PO-Revision-Date: 2024-01-09
|
6
|
+
"POT-Creation-Date: 2024-01-09 17:46+0100\n"
|
7
|
+
"PO-Revision-Date: 2024-01-09 10:04-0600\n"
|
8
8
|
"Last-Translator: lymanrudni\n"
|
9
9
|
"Language: ru\n"
|
10
10
|
"Language-Team: Russian\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: 2024-01-09 17:
|
7
|
-
"PO-Revision-Date: 2024-01-09
|
6
|
+
"POT-Creation-Date: 2024-01-09 17:46+0100\n"
|
7
|
+
"PO-Revision-Date: 2024-01-09 10:04-0600\n"
|
8
8
|
"Last-Translator: hidden u\n"
|
9
9
|
"Language: zh\n"
|
10
10
|
"Language-Team: Chinese\n"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
hiddifypanel/Events.py,sha256=mkIsfz4YQqegdeFgH4quxvLIx7AundtjAW6HBSP9I-M,719
|
2
|
-
hiddifypanel/VERSION,sha256
|
3
|
-
hiddifypanel/VERSION.py,sha256=
|
2
|
+
hiddifypanel/VERSION,sha256=gP8foVioK7psF8bfwR7RhS_P605t2LK2JN04oH8tERg,12
|
3
|
+
hiddifypanel/VERSION.py,sha256=sumlf02t1xXqcWEJIo65MnKWWRHApn3Z_55lC5netXQ,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=CEizDKl_bTWPrKfjRW-YxOw23hBMKinCQpasPiTkonA,4789
|
@@ -40,7 +40,7 @@ hiddifypanel/panel/common.py,sha256=ANqwi12M9DgG6tZXczUBxrwRMZiK2x7QeC7piDFzmRk,
|
|
40
40
|
hiddifypanel/panel/custom_widgets.py,sha256=rAI5lka3rCftJVvdIFGOBh6DrcwrewfY41lXlDI-19s,2502
|
41
41
|
hiddifypanel/panel/database.py,sha256=EMsJ0S-FP7Ir24Qw7EtADmkW8ZHDXM_672TAm5Zrgpk,1143
|
42
42
|
hiddifypanel/panel/github_issue_generator.py,sha256=2zUNnvhJZcvWaaXEpCHzx6WWvBIluVKQhEDsHmL5x1A,3646
|
43
|
-
hiddifypanel/panel/hiddify.py,sha256=
|
43
|
+
hiddifypanel/panel/hiddify.py,sha256=rsirwo5Z6qe_aQHnzor8H0LVpf9TAq9yw59WbsKErS0,35000
|
44
44
|
hiddifypanel/panel/init_db.py,sha256=BpULmssoYDg3D1UmlUbx7xsS2ZG1BaIWJq4GDKzNr9A,24624
|
45
45
|
hiddifypanel/panel/run_commander.py,sha256=NGKMxYAmkwvbh27UFUmUD3rPvNU3JCr6YF4IoGU24FA,2932
|
46
46
|
hiddifypanel/panel/usage.py,sha256=eDIHWqElWLSpI2ZDbctlM9vKjunuHnBn1jypEoCvB9g,4164
|
@@ -758,19 +758,19 @@ hiddifypanel/templates/master.html,sha256=C01NzGP0Ciqx6PX2m7aV0dpIe7u4CbzXLT541y
|
|
758
758
|
hiddifypanel/templates/redirect.html,sha256=K9x_O4P96vEkqBhOXIhoGrWw1KIqd2bL0BjIqmnpZi0,412
|
759
759
|
hiddifypanel/templates/static.html,sha256=jp6q4wtx-k2A_cjqJoNiMS7Ee30arE45qI3ev4d5ky4,165
|
760
760
|
hiddifypanel/templates/hiddify-flask-admin/list.html,sha256=St0TD6-ZIJ24A6Akbh51JNkTEOpimFq2iiRydcUjQlA,13642
|
761
|
-
hiddifypanel/translations/en/LC_MESSAGES/messages.mo,sha256=
|
762
|
-
hiddifypanel/translations/en/LC_MESSAGES/messages.po,sha256=
|
763
|
-
hiddifypanel/translations/fa/LC_MESSAGES/messages.mo,sha256=
|
764
|
-
hiddifypanel/translations/fa/LC_MESSAGES/messages.po,sha256=
|
765
|
-
hiddifypanel/translations/pt/LC_MESSAGES/messages.mo,sha256=
|
766
|
-
hiddifypanel/translations/pt/LC_MESSAGES/messages.po,sha256=
|
767
|
-
hiddifypanel/translations/ru/LC_MESSAGES/messages.mo,sha256=
|
768
|
-
hiddifypanel/translations/ru/LC_MESSAGES/messages.po,sha256=
|
769
|
-
hiddifypanel/translations/zh/LC_MESSAGES/messages.mo,sha256=
|
770
|
-
hiddifypanel/translations/zh/LC_MESSAGES/messages.po,sha256=
|
771
|
-
hiddifypanel-9.0.0.
|
772
|
-
hiddifypanel-9.0.0.
|
773
|
-
hiddifypanel-9.0.0.
|
774
|
-
hiddifypanel-9.0.0.
|
775
|
-
hiddifypanel-9.0.0.
|
776
|
-
hiddifypanel-9.0.0.
|
761
|
+
hiddifypanel/translations/en/LC_MESSAGES/messages.mo,sha256=sOIhRThBLNqLgsBg28pnkq_sua8bJwMzrUS2At31FCE,61231
|
762
|
+
hiddifypanel/translations/en/LC_MESSAGES/messages.po,sha256=mqen9iOEPUd_pKL_5BPwIDfbAAc6ticePXGH2a5iccI,176612
|
763
|
+
hiddifypanel/translations/fa/LC_MESSAGES/messages.mo,sha256=kcp0y4xxCxLXmxwQcyP3LxOrB5dikPIx0hJZ1cj2qFY,81189
|
764
|
+
hiddifypanel/translations/fa/LC_MESSAGES/messages.po,sha256=AhD3oevyAAIa0b5ZLaNh-dy9g221Me5Ga4NG7b71-s8,201023
|
765
|
+
hiddifypanel/translations/pt/LC_MESSAGES/messages.mo,sha256=cKQK6jsz6mys3IMROEipCzUI2let7g9SjiCbd1MqLUU,62521
|
766
|
+
hiddifypanel/translations/pt/LC_MESSAGES/messages.po,sha256=1joXUwTlydpu7Yt5PYnb6fqWtjRxFV1nbtL1a0aKOGk,175367
|
767
|
+
hiddifypanel/translations/ru/LC_MESSAGES/messages.mo,sha256=ew3aPjWj7j1q6JVZ3AYVCXJYS_FrMQrTXk5y86waVDk,84530
|
768
|
+
hiddifypanel/translations/ru/LC_MESSAGES/messages.po,sha256=TRqxceBwGnsFenWRNpEIa1uxP2dTI18Op9jIE72ZOmo,195628
|
769
|
+
hiddifypanel/translations/zh/LC_MESSAGES/messages.mo,sha256=xv2CEnbBnlvUFb2emnsKKBWQFCgmQDkA2LwELkJtozQ,58670
|
770
|
+
hiddifypanel/translations/zh/LC_MESSAGES/messages.po,sha256=I9xU9w_tgkb3CfpXrjtJKh2FPmzRgxcxeTZttv9eIZY,173839
|
771
|
+
hiddifypanel-9.0.0.dev42.dist-info/LICENSE.md,sha256=oDrt-cUsyiDGnRPjEJh-3dH2ddAuK_bIVBD8ntkOtZw,19807
|
772
|
+
hiddifypanel-9.0.0.dev42.dist-info/METADATA,sha256=JoB8rL8QTWy6DNbykIGXBADtuC5LeZe-xfuW5jVbXgg,3564
|
773
|
+
hiddifypanel-9.0.0.dev42.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
774
|
+
hiddifypanel-9.0.0.dev42.dist-info/entry_points.txt,sha256=Xzpqlh3nwBtZhoV9AANJykano056VJvYzaujxPztJaM,60
|
775
|
+
hiddifypanel-9.0.0.dev42.dist-info/top_level.txt,sha256=rv-b3qFWUZQTBy0kyBfsr7L6tPpeO7AaQlLHXn-HI5M,13
|
776
|
+
hiddifypanel-9.0.0.dev42.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|