hiddifypanel 10.70.4__py3-none-any.whl → 10.70.6__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.
Files changed (28) hide show
  1. hiddifypanel/VERSION +1 -1
  2. hiddifypanel/VERSION.py +2 -2
  3. hiddifypanel/hutils/proxy/xrayjson.py +1 -0
  4. hiddifypanel/panel/cli.py +2 -2
  5. hiddifypanel/panel/commercial/restapi/v1/tgbot.py +1 -1
  6. hiddifypanel/translations/en/LC_MESSAGES/messages.mo +0 -0
  7. hiddifypanel/translations/en/LC_MESSAGES/messages.po +44 -44
  8. hiddifypanel/translations/fa/LC_MESSAGES/messages.mo +0 -0
  9. hiddifypanel/translations/fa/LC_MESSAGES/messages.po +94 -91
  10. hiddifypanel/translations/pt/LC_MESSAGES/messages.mo +0 -0
  11. hiddifypanel/translations/pt/LC_MESSAGES/messages.po +238 -178
  12. hiddifypanel/translations/ru/LC_MESSAGES/messages.mo +0 -0
  13. hiddifypanel/translations/ru/LC_MESSAGES/messages.po +148 -126
  14. hiddifypanel/translations/zh/LC_MESSAGES/messages.mo +0 -0
  15. hiddifypanel/translations/zh/LC_MESSAGES/messages.po +220 -184
  16. hiddifypanel/translations.i18n/en.json +44 -44
  17. hiddifypanel/translations.i18n/fa.json +92 -92
  18. hiddifypanel/translations.i18n/fr.json +1248 -0
  19. hiddifypanel/translations.i18n/pt.json +197 -197
  20. hiddifypanel/translations.i18n/ru.json +133 -133
  21. hiddifypanel/translations.i18n/zh.json +193 -193
  22. hiddifypanel-10.70.6.dist-info/METADATA +144 -0
  23. {hiddifypanel-10.70.4.dist-info → hiddifypanel-10.70.6.dist-info}/RECORD +27 -26
  24. {hiddifypanel-10.70.4.dist-info → hiddifypanel-10.70.6.dist-info}/WHEEL +1 -1
  25. hiddifypanel-10.70.4.dist-info/METADATA +0 -144
  26. {hiddifypanel-10.70.4.dist-info → hiddifypanel-10.70.6.dist-info}/LICENSE.md +0 -0
  27. {hiddifypanel-10.70.4.dist-info → hiddifypanel-10.70.6.dist-info}/entry_points.txt +0 -0
  28. {hiddifypanel-10.70.4.dist-info → hiddifypanel-10.70.6.dist-info}/top_level.txt +0 -0
hiddifypanel/VERSION CHANGED
@@ -1 +1 @@
1
- 10.70.4
1
+ 10.70.6
hiddifypanel/VERSION.py CHANGED
@@ -1,3 +1,3 @@
1
- __version__='10.70.4'
1
+ __version__='10.70.6'
2
2
  from datetime import datetime
3
- __release_date__= datetime.strptime('2024-08-03','%Y-%m-%d')
3
+ __release_date__= datetime.strptime('2024-08-17','%Y-%m-%d')
@@ -423,4 +423,5 @@ def add_multiplex(base: dict, proxy: dict):
423
423
 
424
424
  def null_config(tag: str) -> dict:
425
425
  base_config = json.loads(render_template('base_xray_config.json.j2', remarks=tag))
426
+ base_config['outbounds'][0]["protocol"] = "blackhole"
426
427
  return base_config
hiddifypanel/panel/cli.py CHANGED
@@ -38,7 +38,7 @@ def backup():
38
38
 
39
39
  if hconfig(ConfigEnum.telegram_bot_token):
40
40
  from hiddifypanel.panel.commercial.telegrambot import bot, register_bot
41
- if not bot.token:
41
+ if not bot.username:
42
42
  register_bot(True)
43
43
 
44
44
  with open(dst, 'rb') as document:
@@ -207,7 +207,7 @@ def init_app(app):
207
207
  return
208
208
 
209
209
  from hiddifypanel.panel.commercial.telegrambot import bot, register_bot
210
- if not bot.token:
210
+ if not bot.username:
211
211
  register_bot(True)
212
212
  info = bot.get_me().to_dict()
213
213
  hook_data = bot.get_webhook_info()
@@ -14,7 +14,7 @@ class ExceptionHandler(telebot.ExceptionHandler):
14
14
  logger.error(exception)
15
15
 
16
16
 
17
- bot = telebot.TeleBot("", parse_mode="HTML", threaded=False, exception_handler=ExceptionHandler())
17
+ bot = telebot.TeleBot("1:2", parse_mode="HTML", threaded=False, exception_handler=ExceptionHandler())
18
18
  bot.username = ''
19
19
 
20
20
 
@@ -1033,10 +1033,10 @@ msgid "app.hiddify-clash-desktop.title"
1033
1033
  msgstr "Hiddify Clash"
1034
1034
 
1035
1035
  msgid "app.hiddify.next.description"
1036
- msgstr "Hiddify Next Description"
1036
+ msgstr "Description HiddifyApp"
1037
1037
 
1038
1038
  msgid "app.hiddify.next.title"
1039
- msgstr "Hiddify Next"
1039
+ msgstr "HiddifyApp"
1040
1040
 
1041
1041
  msgid "app.hiddifyn.description"
1042
1042
  msgstr "HiddifyN Description"
@@ -1437,7 +1437,7 @@ msgid "config.hysteria_obfs_enable.description"
1437
1437
  msgstr " Enables Hysteria Obfuscation (Salamander)"
1438
1438
 
1439
1439
  msgid "config.hysteria_obfs_enable.label"
1440
- msgstr "🎛 Hysteria OBFS Enable"
1440
+ msgstr "🎛 Hysteria OBFS"
1441
1441
 
1442
1442
  msgid "config.hysteria_port.description"
1443
1443
  msgstr "Hysteria UDP Port for example 5678"
@@ -1570,7 +1570,7 @@ msgid "config.mux_min_streams.label"
1570
1570
  msgstr "↘️ MUX Min Streams"
1571
1571
 
1572
1572
  msgid "config.mux_padding_enable.description"
1573
- msgstr "Enables MUX Padding"
1573
+ msgstr "MUX Padding description"
1574
1574
 
1575
1575
  msgid "config.mux_padding_enable.label"
1576
1576
  msgstr "⟹ MUX Padding"
@@ -1670,10 +1670,10 @@ msgid "config.path_tcp.label"
1670
1670
  msgstr "ℹ️ TCP Configuration Path"
1671
1671
 
1672
1672
  msgid "config.path_trojan.description"
1673
- msgstr "For Trojan Links"
1673
+ msgstr "For TROJAN-Links"
1674
1674
 
1675
1675
  msgid "config.path_trojan.label"
1676
- msgstr "ℹ️ Trojan Path"
1676
+ msgstr "ℹ️ TROJAN Path"
1677
1677
 
1678
1678
  msgid "config.path_v2ray.description"
1679
1679
  msgstr "Set V2Ray Configs Path"
@@ -1832,7 +1832,7 @@ msgid "config.shadowtls.description"
1832
1832
  msgstr ""
1833
1833
  "A Proxy to expose real tls handshake to the firewall.\n"
1834
1834
  "\n"
1835
- "It works like Trojan but It does not require signing certificate. the firewall will see real tls handshake with valid certificate that you choose."
1835
+ "It works like TROJAN but It does not require signing certificate. the firewall will see real tls handshake with valid certificate that you choose."
1836
1836
 
1837
1837
  msgid "config.shadowtls.label"
1838
1838
  msgstr "ShadowTLS"
@@ -2007,7 +2007,7 @@ msgid "config.sub_singbox_ssh_enable.label"
2007
2007
  msgstr "config.sub_singbox_ssh_enable.label"
2008
2008
 
2009
2009
  msgid "config.tcp_enable.description"
2010
- msgstr "Enable TCP Protocol"
2010
+ msgstr "Enables TCP Protocol"
2011
2011
 
2012
2012
  msgid "config.tcp_enable.label"
2013
2013
  msgstr "🟠 TCP"
@@ -2066,7 +2066,7 @@ msgid "config.tls.description"
2066
2066
  msgstr "TLS Configurations could be set in this section"
2067
2067
 
2068
2068
  msgid "config.tls.label"
2069
- msgstr "TLS Configuration"
2069
+ msgstr "TLS Settings"
2070
2070
 
2071
2071
  msgid "config.tls_fragment_enable.description"
2072
2072
  msgstr ""
@@ -2140,7 +2140,7 @@ msgid "config.torrent_block.label"
2140
2140
  msgstr "Torrent Block Configuration"
2141
2141
 
2142
2142
  msgid "config.trojan_enable.description"
2143
- msgstr "Enable Trojan Protocol"
2143
+ msgstr "Enables Trojan Protocol"
2144
2144
 
2145
2145
  msgid "config.trojan_enable.label"
2146
2146
  msgstr "🟤 Trojan"
@@ -2152,13 +2152,13 @@ msgstr ""
2152
2152
  "TUIC's goal is to minimize the handshake latency as much as possible"
2153
2153
 
2154
2154
  msgid "config.tuic.label"
2155
- msgstr "TUIC"
2155
+ msgstr "⚫️ TUIC"
2156
2156
 
2157
2157
  msgid "config.tuic_enable.description"
2158
2158
  msgstr "It is a UDP based protocol similar to QUIC"
2159
2159
 
2160
2160
  msgid "config.tuic_enable.label"
2161
- msgstr "⚫️ TUIC"
2161
+ msgstr "Enables TUIC"
2162
2162
 
2163
2163
  msgid "config.tuic_port.description"
2164
2164
  msgstr "Use comma to separate ports like ( 63000,60000 )"
@@ -2167,10 +2167,10 @@ msgid "config.tuic_port.label"
2167
2167
  msgstr "TUIC Ports"
2168
2168
 
2169
2169
  msgid "config.unique_id.description"
2170
- msgstr "-"
2170
+ msgstr "config.unique_id.description"
2171
2171
 
2172
2172
  msgid "config.unique_id.label"
2173
- msgstr "-"
2173
+ msgstr "config.unique_id.label"
2174
2174
 
2175
2175
  msgid "config.utls.description"
2176
2176
  msgstr ""
@@ -2223,11 +2223,11 @@ msgstr "WARP➕"
2223
2223
 
2224
2224
  msgid "config.warp_enable.description"
2225
2225
  msgstr ""
2226
- "Warp helps you bypass Google, Spotify and Netflix restrictions by hiding "
2226
+ "WARP helps you bypass Google, Spotify and Netflix restrictions by hiding "
2227
2227
  "server IP "
2228
2228
 
2229
2229
  msgid "config.warp_enable.label"
2230
- msgstr "WARP+"
2230
+ msgstr "Enables WARP+"
2231
2231
 
2232
2232
  msgid "config.warp_mode.description"
2233
2233
  msgstr ""
@@ -2236,7 +2236,7 @@ msgstr ""
2236
2236
  "☑️ Only Domestic and Blocked Sites: Only Domestic Sites and websites like Google, Spotify, Netflix, OpenAi, IPinfo.io use Warp IPs in outbound"
2237
2237
 
2238
2238
  msgid "config.warp_mode.label"
2239
- msgstr "✴️ Warp+ Mode"
2239
+ msgstr "✴️ WARP+ Mode"
2240
2240
 
2241
2241
  msgid "config.warp_plus_code.description"
2242
2242
  msgstr ""
@@ -2250,10 +2250,10 @@ msgstr "🔑 Warp Plus Key"
2250
2250
 
2251
2251
  msgid "config.warp_sites.description"
2252
2252
  msgstr ""
2253
- "Add additional sites to pass through Warp (only when warp mode is not None)"
2253
+ "Add additional sites to pass through WARP (only when warp mode is not None)"
2254
2254
 
2255
2255
  msgid "config.warp_sites.label"
2256
- msgstr "🆚 Additional Warp Sites"
2256
+ msgstr "🆚 Additional WARP Sites"
2257
2257
 
2258
2258
  msgid "config.wireguard.description"
2259
2259
  msgstr ""
@@ -2263,7 +2263,7 @@ msgstr ""
2263
2263
  "systems"
2264
2264
 
2265
2265
  msgid "config.wireguard.label"
2266
- msgstr "WireGuard"
2266
+ msgstr "🐉 WireGuard"
2267
2267
 
2268
2268
  msgid "config.wireguard_enable.description"
2269
2269
  msgstr ""
@@ -2272,19 +2272,19 @@ msgstr ""
2272
2272
  "Next</a>)</p>"
2273
2273
 
2274
2274
  msgid "config.wireguard_enable.label"
2275
- msgstr "🐉 WireGuard"
2275
+ msgstr "Enables WireGuard"
2276
2276
 
2277
2277
  msgid "config.wireguard_ipv4.description"
2278
- msgstr "-"
2278
+ msgstr "Enables IPv4 in WireGuard"
2279
2279
 
2280
2280
  msgid "config.wireguard_ipv4.label"
2281
- msgstr "-"
2281
+ msgstr " IPv4 in WireGuard"
2282
2282
 
2283
2283
  msgid "config.wireguard_ipv6.description"
2284
- msgstr "-"
2284
+ msgstr "Enables IPv6 in WireGuard"
2285
2285
 
2286
2286
  msgid "config.wireguard_ipv6.label"
2287
- msgstr "-"
2287
+ msgstr "IPv6 in WireGuard"
2288
2288
 
2289
2289
  msgid "config.wireguard_noise_trick.description"
2290
2290
  msgstr ""
@@ -2295,22 +2295,22 @@ msgid "config.wireguard_noise_trick.label"
2295
2295
  msgstr "💥 WireGuard Noise Trick"
2296
2296
 
2297
2297
  msgid "config.wireguard_port.description"
2298
- msgstr "WireGuard Port"
2298
+ msgstr "Defines Port for WireGuard "
2299
2299
 
2300
2300
  msgid "config.wireguard_port.label"
2301
2301
  msgstr "↔️ WireGuard Port"
2302
2302
 
2303
2303
  msgid "config.wireguard_private_key.description"
2304
- msgstr "-"
2304
+ msgstr "A private key is specified to WireGuard"
2305
2305
 
2306
2306
  msgid "config.wireguard_private_key.label"
2307
- msgstr "-"
2307
+ msgstr "WireGuard Private Key"
2308
2308
 
2309
2309
  msgid "config.wireguard_public_key.description"
2310
- msgstr "-"
2310
+ msgstr "A public key is specified to WireGuard"
2311
2311
 
2312
2312
  msgid "config.wireguard_public_key.label"
2313
- msgstr "-"
2313
+ msgstr "WireGuard Public Key"
2314
2314
 
2315
2315
  msgid "config.ws_enable.description"
2316
2316
  msgstr "Websocket creates a tunnel over HTTP that is useful to be used in CDN"
@@ -2319,7 +2319,7 @@ msgid "config.ws_enable.label"
2319
2319
  msgstr "🔰 Websocket"
2320
2320
 
2321
2321
  msgid "config.xtls_enable.description"
2322
- msgstr "Enable XTLS Protocol"
2322
+ msgstr "Enables XTLS Protocol"
2323
2323
 
2324
2324
  msgid "config.xtls_enable.label"
2325
2325
  msgstr "🟢 XTLS"
@@ -2406,7 +2406,7 @@ msgid "grpc-proxy.description"
2406
2406
  msgstr "ℹ️ gRPC is a H2 based Protocol. Maybe it is faster for you!"
2407
2407
 
2408
2408
  msgid "in parent panel"
2409
- msgstr "In Parent Panel"
2409
+ msgstr "In Central Panel"
2410
2410
 
2411
2411
  msgid "install from google play"
2412
2412
  msgstr "<i class='fa-brands fa-google-play'></i> Google Play"
@@ -2418,13 +2418,13 @@ msgid "items"
2418
2418
  msgstr "items"
2419
2419
 
2420
2420
  msgid "lang.en"
2421
- msgstr "🇺🇸 English - انگلیسی"
2421
+ msgstr "🇺🇸 English"
2422
2422
 
2423
2423
  msgid "lang.fa"
2424
2424
  msgstr "🇮🇷 Persian - فارسی"
2425
2425
 
2426
2426
  msgid "lang.pt"
2427
- msgstr "🇵🇹 Portuguese"
2427
+ msgstr "🇵🇹 Portuguese - Português "
2428
2428
 
2429
2429
  msgid "lang.ru"
2430
2430
  msgstr "🇷🇺 Russian - Русский"
@@ -2445,16 +2445,16 @@ msgid "log"
2445
2445
  msgstr "📄 Log"
2446
2446
 
2447
2447
  msgid "login.secret.description"
2448
- msgstr "Secret code is given by the service provider."
2448
+ msgstr "For getting access to this page, please enter your secret code (UUID)"
2449
2449
 
2450
2450
  msgid "login.secret.label"
2451
- msgstr "Secret Code"
2451
+ msgstr "Secret Code (UUID)"
2452
2452
 
2453
2453
  msgid "macOS"
2454
2454
  msgstr "macOS"
2455
2455
 
2456
2456
  msgid "master.page-title"
2457
- msgstr "Hiddify Manager"
2457
+ msgstr "HiddifyManager"
2458
2458
 
2459
2459
  msgid "monthly"
2460
2460
  msgstr "🗓️ Monthly"
@@ -2473,19 +2473,19 @@ msgid "node.diff-version"
2473
2473
  msgstr "node.diff-version"
2474
2474
 
2475
2475
  msgid "node.mode.dscr"
2476
- msgstr "node.mode.dscr"
2476
+ msgstr "This field defines mode for Node"
2477
2477
 
2478
2478
  msgid "node.mode.label"
2479
2479
  msgstr "Node Mode"
2480
2480
 
2481
2481
  msgid "node.name.dscr"
2482
- msgstr "node.name.dscr"
2482
+ msgstr "This field defines name for Node"
2483
2483
 
2484
2484
  msgid "node.name.label"
2485
2485
  msgstr "Node Name"
2486
2486
 
2487
2487
  msgid "node.uuid.dscr"
2488
- msgstr "node.uuid.dscr"
2488
+ msgstr "This field defines UUID for Node"
2489
2489
 
2490
2490
  msgid "node.uuid.label"
2491
2491
  msgstr "Node UUID"
@@ -2568,7 +2568,7 @@ msgid "test"
2568
2568
  msgstr "Test"
2569
2569
 
2570
2570
  msgid "update"
2571
- msgstr "update"
2571
+ msgstr "Update"
2572
2572
 
2573
2573
  msgid "user.UUID"
2574
2574
  msgstr "UUID"
@@ -2590,7 +2590,7 @@ msgid "user.home.allconfig.clash-configs"
2590
2590
  msgstr "Clash Configs"
2591
2591
 
2592
2592
  msgid "user.home.allconfig.hiddify-managers"
2593
- msgstr "All Config Hiddify Managers"
2593
+ msgstr "All Config of HiddifyManager Admins"
2594
2594
 
2595
2595
  msgid "user.home.allconfig.link-configs"
2596
2596
  msgstr "Subscription Link"
@@ -2776,7 +2776,7 @@ msgid "user.home.select_tool"
2776
2776
  msgstr "Please select the item."
2777
2777
 
2778
2778
  msgid "user.home.share-title"
2779
- msgstr "Share to Social Media"
2779
+ msgstr "Share on Social Media"
2780
2780
 
2781
2781
  msgid "user.home.speedtest.download"
2782
2782
  msgstr "Download"
@@ -2806,7 +2806,7 @@ msgstr ""
2806
2806
  "<br />"
2807
2807
 
2808
2808
  msgid "user.home.title"
2809
- msgstr "Hiddify"
2809
+ msgstr "HiddifyManager"
2810
2810
 
2811
2811
  msgid "user.home.tool.all-configs"
2812
2812
  msgstr "All Configs"