hiddifypanel 10.80.12.dev1__py3-none-any.whl → 10.85.0b1__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 (74) hide show
  1. hiddifypanel/VERSION +1 -1
  2. hiddifypanel/VERSION.py +3 -3
  3. hiddifypanel/apps/asgi_app.py +1 -1
  4. hiddifypanel/apps/celery_app.py +2 -2
  5. hiddifypanel/apps/celery_app_flask.py +3 -0
  6. hiddifypanel/apps/wsgi_app.py +1 -1
  7. hiddifypanel/base.py +5 -5
  8. hiddifypanel/celery.py +68 -1
  9. hiddifypanel/database.py +62 -5
  10. hiddifypanel/drivers/singbox_api.py +2 -1
  11. hiddifypanel/drivers/user_driver.py +4 -1
  12. hiddifypanel/hutils/__init__.py +46 -14
  13. hiddifypanel/hutils/crypto.py +2 -1
  14. hiddifypanel/hutils/encode.py +1 -2
  15. hiddifypanel/hutils/flask.py +1 -1
  16. hiddifypanel/hutils/network/auto_ip_selector.py +15 -12
  17. hiddifypanel/hutils/network/cf_api.py +7 -2
  18. hiddifypanel/hutils/proxy/xrayjson.py +1 -0
  19. hiddifypanel/hutils/system.py +9 -8
  20. hiddifypanel/hutils/utils.py +2 -1
  21. hiddifypanel/models/admin.py +7 -5
  22. hiddifypanel/models/base_account.py +3 -3
  23. hiddifypanel/models/child.py +4 -4
  24. hiddifypanel/models/config.py +5 -5
  25. hiddifypanel/models/config_enum.py +3 -1
  26. hiddifypanel/models/domain.py +5 -5
  27. hiddifypanel/models/proxy.py +4 -2
  28. hiddifypanel/models/report.py +3 -3
  29. hiddifypanel/models/usage.py +2 -2
  30. hiddifypanel/models/user.py +3 -3
  31. hiddifypanel/panel/admin/templates/index.html +6 -6
  32. hiddifypanel/panel/cli.py +1 -1
  33. hiddifypanel/panel/commercial/restapi/v1/tgbot.py +2 -3
  34. hiddifypanel/panel/commercial/restapi/v2/user/apps_api.py +76 -6
  35. hiddifypanel/panel/common.py +5 -1
  36. hiddifypanel/panel/common_bp/login.py +3 -2
  37. hiddifypanel/panel/hiddify.py +9 -9
  38. hiddifypanel/panel/hlogger.py +3 -1
  39. hiddifypanel/panel/init_db.py +71 -87
  40. hiddifypanel/panel/run_commander.py +3 -4
  41. hiddifypanel/panel/usage.py +10 -9
  42. hiddifypanel/panel/user/templates/base_singbox_config.json.j2 +19 -34
  43. hiddifypanel/panel/user/templates/base_xray_config.json.j2 +4 -2
  44. hiddifypanel/panel/user/templates/clash_config.yml +33 -3
  45. hiddifypanel/static/apps-icon/clash_verge_rev.ico +0 -0
  46. hiddifypanel/static/apps-icon/cmfa.ico +0 -0
  47. hiddifypanel/templates/master.html +1 -1
  48. hiddifypanel/translations/en/LC_MESSAGES/messages.mo +0 -0
  49. hiddifypanel/translations/en/LC_MESSAGES/messages.po +13 -1
  50. hiddifypanel/translations/fa/LC_MESSAGES/messages.mo +0 -0
  51. hiddifypanel/translations/fa/LC_MESSAGES/messages.po +13 -1
  52. hiddifypanel/translations/my/LC_MESSAGES/messages.mo +0 -0
  53. hiddifypanel/translations/my/LC_MESSAGES/messages.po +0 -2
  54. hiddifypanel/translations/pt/LC_MESSAGES/messages.mo +0 -0
  55. hiddifypanel/translations/pt/LC_MESSAGES/messages.po +13 -1
  56. hiddifypanel/translations/ru/LC_MESSAGES/messages.mo +0 -0
  57. hiddifypanel/translations/ru/LC_MESSAGES/messages.po +13 -1
  58. hiddifypanel/translations/zh/LC_MESSAGES/messages.mo +0 -0
  59. hiddifypanel/translations/zh/LC_MESSAGES/messages.po +13 -1
  60. hiddifypanel/translations.i18n/en.json +9 -1
  61. hiddifypanel/translations.i18n/fa.json +9 -1
  62. hiddifypanel/translations.i18n/fr.json +1 -0
  63. hiddifypanel/translations.i18n/my.json +4 -0
  64. hiddifypanel/translations.i18n/pt.json +9 -1
  65. hiddifypanel/translations.i18n/ru.json +9 -1
  66. hiddifypanel/translations.i18n/zh.json +9 -1
  67. hiddifypanel-10.85.0b1.dist-info/METADATA +331 -0
  68. {hiddifypanel-10.80.12.dev1.dist-info → hiddifypanel-10.85.0b1.dist-info}/RECORD +120 -116
  69. {hiddifypanel-10.80.12.dev1.dist-info → hiddifypanel-10.85.0b1.dist-info}/WHEEL +2 -1
  70. hiddifypanel-10.85.0b1.dist-info/entry_points.txt +2 -0
  71. hiddifypanel-10.85.0b1.dist-info/top_level.txt +1 -0
  72. hiddifypanel-10.80.12.dev1.dist-info/METADATA +0 -137
  73. hiddifypanel-10.80.12.dev1.dist-info/entry_points.txt +0 -3
  74. {hiddifypanel-10.80.12.dev1.dist-info → hiddifypanel-10.85.0b1.dist-info/licenses}/LICENSE.md +0 -0
@@ -239,7 +239,7 @@
239
239
 
240
240
  <script src="{{ static_url_for( filename='js/moment.min.js' ) }}"></script>
241
241
  <script src="{{ static_url_for( filename='js/bootbox.all.min.js' ) }}"></script>
242
- <script src="{{ static_url_for( filename=" plugins/select2/select2.min.js" ) }}"></script>
242
+ <script src="{{ static_url_for( filename='plugins/select2/select2.min.js' ) }}"></script>
243
243
 
244
244
 
245
245
 
@@ -1005,6 +1005,18 @@ msgstr "All"
1005
1005
  msgid "android"
1006
1006
  msgstr "Android"
1007
1007
 
1008
+ msgid "app.clash_verge_rev.description"
1009
+ msgstr "app.clash_verge_rev.description"
1010
+
1011
+ msgid "app.clash_verge_rev.title"
1012
+ msgstr "app.clash_verge_rev.title"
1013
+
1014
+ msgid "app.cmfa.description"
1015
+ msgstr "app.cmfa.description"
1016
+
1017
+ msgid "app.cmfa.title"
1018
+ msgstr "app.cmfa.title"
1019
+
1008
1020
  msgid "app.foxray.description"
1009
1021
  msgstr "FoXray Description"
1010
1022
 
@@ -2491,7 +2503,7 @@ msgid "lang.fa"
2491
2503
  msgstr "🇮🇷 Persian - فارسی"
2492
2504
 
2493
2505
  msgid "lang.my"
2494
- msgstr "lang.my"
2506
+ msgstr "🇲🇲 Burmese - မြန်မာဘာသာ"
2495
2507
 
2496
2508
  msgid "lang.pt"
2497
2509
  msgstr "🇵🇹 Portuguese - Português "
@@ -991,6 +991,18 @@ msgstr "همه"
991
991
  msgid "android"
992
992
  msgstr "اندروید"
993
993
 
994
+ msgid "app.clash_verge_rev.description"
995
+ msgstr ""
996
+
997
+ msgid "app.clash_verge_rev.title"
998
+ msgstr ""
999
+
1000
+ msgid "app.cmfa.description"
1001
+ msgstr ""
1002
+
1003
+ msgid "app.cmfa.title"
1004
+ msgstr ""
1005
+
994
1006
  msgid "app.foxray.description"
995
1007
  msgstr "توضیحات FoXray"
996
1008
 
@@ -2477,7 +2489,7 @@ msgid "lang.fa"
2477
2489
  msgstr "🇮🇷 فارسی"
2478
2490
 
2479
2491
  msgid "lang.my"
2480
- msgstr ""
2492
+ msgstr "🇲🇲 زبان برمه‌ای - မြန်မာဘာသာ"
2481
2493
 
2482
2494
  msgid "lang.pt"
2483
2495
  msgstr "🇵🇹 پرتغالی - Português "
@@ -2,8 +2,6 @@
2
2
  msgid ""
3
3
  msgstr ""
4
4
  "Project-Id-Version: hiddifypanel\n"
5
- "POT-Creation-Date: \n"
6
- "PO-Revision-Date: \n"
7
5
  "Last-Translator: \n"
8
6
  "Language-Team: Team NinjaStrikers\n"
9
7
  "Language: my\n"
@@ -969,6 +969,18 @@ msgstr "Todos"
969
969
  msgid "android"
970
970
  msgstr "Android"
971
971
 
972
+ msgid "app.clash_verge_rev.description"
973
+ msgstr ""
974
+
975
+ msgid "app.clash_verge_rev.title"
976
+ msgstr ""
977
+
978
+ msgid "app.cmfa.description"
979
+ msgstr ""
980
+
981
+ msgid "app.cmfa.title"
982
+ msgstr ""
983
+
972
984
  msgid "app.foxray.description"
973
985
  msgstr "Descrição do FoXray"
974
986
 
@@ -2456,7 +2468,7 @@ msgid "lang.fa"
2456
2468
  msgstr "🇮🇷 Persian - فارسی"
2457
2469
 
2458
2470
  msgid "lang.my"
2459
- msgstr ""
2471
+ msgstr "🇲🇲 Birmanesa - မြန်မာဘာသာ"
2460
2472
 
2461
2473
  msgid "lang.pt"
2462
2474
  msgstr "🇵🇹 Português"
@@ -1010,6 +1010,18 @@ msgstr "Все"
1010
1010
  msgid "android"
1011
1011
  msgstr "Android"
1012
1012
 
1013
+ msgid "app.clash_verge_rev.description"
1014
+ msgstr ""
1015
+
1016
+ msgid "app.clash_verge_rev.title"
1017
+ msgstr ""
1018
+
1019
+ msgid "app.cmfa.description"
1020
+ msgstr ""
1021
+
1022
+ msgid "app.cmfa.title"
1023
+ msgstr ""
1024
+
1013
1025
  msgid "app.foxray.description"
1014
1026
  msgstr "Описание фоксрея"
1015
1027
 
@@ -2512,7 +2524,7 @@ msgid "lang.fa"
2512
2524
  msgstr "🇮🇷 Персидский - فارسی"
2513
2525
 
2514
2526
  msgid "lang.my"
2515
- msgstr ""
2527
+ msgstr "🇲🇲 Бирманский язык - မြန်မာဘာသာ"
2516
2528
 
2517
2529
  msgid "lang.pt"
2518
2530
  msgstr "🇵🇹 Португальский - Portugal "
@@ -971,6 +971,18 @@ msgstr "全部"
971
971
  msgid "android"
972
972
  msgstr "安卓"
973
973
 
974
+ msgid "app.clash_verge_rev.description"
975
+ msgstr ""
976
+
977
+ msgid "app.clash_verge_rev.title"
978
+ msgstr ""
979
+
980
+ msgid "app.cmfa.description"
981
+ msgstr ""
982
+
983
+ msgid "app.cmfa.title"
984
+ msgstr ""
985
+
974
986
  msgid "app.foxray.description"
975
987
  msgstr "福克斯射线描述"
976
988
 
@@ -2322,7 +2334,7 @@ msgid "lang.fa"
2322
2334
  msgstr "🇮🇷 波斯语 - فارسی"
2323
2335
 
2324
2336
  msgid "lang.my"
2325
- msgstr ""
2337
+ msgstr "🇲🇲 缅甸语 - မြန်မာဘာသာ"
2326
2338
 
2327
2339
  msgid "lang.pt"
2328
2340
  msgstr "🇵🇹 葡萄牙語 - Português "
@@ -278,6 +278,14 @@
278
278
  "all": "All",
279
279
  "android": "Android",
280
280
  "app": {
281
+ "clash_verge_rev": {
282
+ "description": "app.clash_verge_rev.description",
283
+ "title": "app.clash_verge_rev.title"
284
+ },
285
+ "cmfa": {
286
+ "description": "app.cmfa.description",
287
+ "title": "app.cmfa.title"
288
+ },
281
289
  "foxray": {
282
290
  "description": "FoXray Description",
283
291
  "title": "FoXray"
@@ -1107,7 +1115,7 @@
1107
1115
  "lang": {
1108
1116
  "en": "🇺🇸 English",
1109
1117
  "fa": "🇮🇷 Persian - فارسی",
1110
- "my": "lang.my",
1118
+ "my": "🇲🇲 Burmese - မြန်မာဘာသာ",
1111
1119
  "pt": "🇵🇹 Portuguese - Português ",
1112
1120
  "ru": "🇷🇺 Russian - Русский",
1113
1121
  "zh": "🇨🇳 Chinese - 简体中文"
@@ -278,6 +278,14 @@
278
278
  "all": "همه",
279
279
  "android": "اندروید",
280
280
  "app": {
281
+ "clash_verge_rev": {
282
+ "description": "",
283
+ "title": ""
284
+ },
285
+ "cmfa": {
286
+ "description": "",
287
+ "title": ""
288
+ },
281
289
  "foxray": {
282
290
  "description": "توضیحات FoXray",
283
291
  "title": "FoXray"
@@ -1099,7 +1107,7 @@
1099
1107
  "lang": {
1100
1108
  "en": " 🇺🇸 انگلیسی - English ",
1101
1109
  "fa": "🇮🇷 فارسی",
1102
- "my": "",
1110
+ "my": "🇲🇲 زبان برمه‌ای - မြန်မာဘာသာ",
1103
1111
  "pt": "🇵🇹 پرتغالی - Português ",
1104
1112
  "ru": "🇷🇺 Russian - Русский",
1105
1113
  "zh": "🇨🇳 Chinese - 简体中文"
@@ -1061,6 +1061,7 @@
1061
1061
  "lang": {
1062
1062
  "en": "🇺🇸 Anglais - English",
1063
1063
  "fa": "🇮🇷 Persan - فارسی",
1064
+ "my": "🇲🇲 Birman - မြန်မာဘာသာ",
1064
1065
  "pt": "🇵🇹 Portugais - Português ",
1065
1066
  "ru": "🇷🇺 Russe - Русский",
1066
1067
  "zh": "🇨🇳 Chinois - 简体中文"
@@ -57,6 +57,7 @@
57
57
  "Domain (%(domain)s)-> IP=%(domain_ip)s is not matched with your ip=%(server_ip)s which is required in direct mode": "ဒိုမိန်း (%(domain)s)-> IP = %(domain_ip)s သည် သင်၏ IP = %(server_ip)s နှင့် မတူညီပါ။ တိုက်ရိုက်မုဒ်တွင် ဤသည်မှာ လိုအပ်သည်။",
58
58
  "Domain IP=%(domain_ip)s is not matched with your ip=%(server_ip)s which is required in direct mode": "ဤတိုက်ရိုက်မုဒ်တွင် လိုအပ်သော ဒိုမိန်း IP=%(domain_ip)s သည် သင်၏ ip=%(server_ip)s နှင့် မတူညီပါ",
59
59
  "Domain can not be resolved! there is a problem in your domain": "ဒိုမိန်း ကို ဖြေရှင်း၍မရပါ။ သင့်ဒိုမိန်းတွင် ပြဿနာရှိနေပါသည်။ ကျေးဇူးပြု၍ သင်၏ ဒိုမိန်း ဖွဲ့စည်းမှုပုံစံများကို စစ်ဆေးပါ။",
60
+ "Domain cannot be resolved! Please check DNS settings": "ဒိုမိန်းအား မဖြေရှင်းနိုင်ပါ။ DNS အပြင်အဆင်အား စစ်ဆေးပါ။",
60
61
  "Domain is not REALITY friendly!": "Domain သည် REALITY တွင် အဆင်ပြေမည်မဟုတ်ပါ။",
61
62
  "Domain?": "ဒိုမိန်း?",
62
63
  "Donation": {
@@ -151,6 +152,7 @@
151
152
  "QRCode": "<i class='fa-solid fa-qrcode'></i> ကျူအာ ကုဒ်",
152
153
  "RAM": "RAM",
153
154
  "REALITY Fallback domain is not compaitble with server names!": "REALITY Fallback Domain သည် ဆာဗာအမည်များနှင့် မကိုက်ညီပါ။",
155
+ "REALITY Fallback domain is not compatible with server names!": "REALITY Fallback Domain သည် ဆာဗာအမည်များနှင့် မကိုက်ညီပါ။",
154
156
  "Release": "✅ ဖြန့်ချိ",
155
157
  "Remaining about %(relative)s, exactly %(days)s days": "လက်ကျန် %(relative)s, အတိအကျအားဖြင့် %(days)s ရက်",
156
158
  "Remote nodes are not supported yet!": "အဝေးထိန်း ဆုံမှတ်များကို မပံ့ပိုးရသေးပါ။",
@@ -186,6 +188,7 @@
186
188
  "Simplifies the process of employing the link elsewhere.": "အခြားနေရာများတွင် လင့်ခ်ကို အသုံးချခြင်းလုပ်ငန်းစဉ်ကို ရိုးရှင်းစေသည်။",
187
189
  "SingBox": "📦 SingBox",
188
190
  "Sort by %(name)s": "%(name)s ဖြင့် စီစဉ်ရန်",
191
+ "Specifying CDN IP is only valid for CDN mode": "CDN အိုင်ပီအား သတ်မှတ်ခြင်းသည် CDN မုဒ်အတွက်သာ ရေရာသည်",
189
192
  "Start Date": "စတင်ရက်",
190
193
  "Started %(days)s days ago": "%(days)s ရက်အကြာက စတင်ခဲ့သည်",
191
194
  "Started from %(relative)s": "%(relative)s မှ စတင်ခဲ့သည်",
@@ -1061,6 +1064,7 @@
1061
1064
  "lang": {
1062
1065
  "en": "🇺🇸 အင်္ဂလိပ်",
1063
1066
  "fa": "🇮🇷 ပါရှန်း - فارسی",
1067
+ "my": "🇲🇲 မြန်မာ - မြန်မာဘာသာ",
1064
1068
  "pt": "🇵🇹 ပေါ်တူဂီ - Português ",
1065
1069
  "ru": "🇷🇺 ရုရှား - Русский",
1066
1070
  "zh": "🇨🇳 တရုတ် - 简体中文"
@@ -278,6 +278,14 @@
278
278
  "all": "Todos",
279
279
  "android": "Android",
280
280
  "app": {
281
+ "clash_verge_rev": {
282
+ "description": "",
283
+ "title": ""
284
+ },
285
+ "cmfa": {
286
+ "description": "",
287
+ "title": ""
288
+ },
281
289
  "foxray": {
282
290
  "description": "Descrição do FoXray",
283
291
  "title": "Raio X"
@@ -1099,7 +1107,7 @@
1099
1107
  "lang": {
1100
1108
  "en": "🇺🇸 Inglês - English",
1101
1109
  "fa": "🇮🇷 Persian - فارسی",
1102
- "my": "",
1110
+ "my": "🇲🇲 Birmanesa - မြန်မာဘာသာ",
1103
1111
  "pt": "🇵🇹 Português",
1104
1112
  "ru": "🇷🇺 Russian - Русский",
1105
1113
  "zh": "🇨🇳 Chinese - 简体中文"
@@ -278,6 +278,14 @@
278
278
  "all": "Все",
279
279
  "android": "Android",
280
280
  "app": {
281
+ "clash_verge_rev": {
282
+ "description": "",
283
+ "title": ""
284
+ },
285
+ "cmfa": {
286
+ "description": "",
287
+ "title": ""
288
+ },
281
289
  "foxray": {
282
290
  "description": "Описание фоксрея",
283
291
  "title": "Фоксрей"
@@ -1099,7 +1107,7 @@
1099
1107
  "lang": {
1100
1108
  "en": "🇺🇸 Английский - English ",
1101
1109
  "fa": "🇮🇷 Персидский - فارسی",
1102
- "my": "",
1110
+ "my": "🇲🇲 Бирманский язык - မြန်မာဘာသာ",
1103
1111
  "pt": "🇵🇹 Португальский - Portugal ",
1104
1112
  "ru": "🇷🇺 Русский",
1105
1113
  "zh": "🇨🇳 Chinese - 简体中文"
@@ -278,6 +278,14 @@
278
278
  "all": "全部",
279
279
  "android": "安卓",
280
280
  "app": {
281
+ "clash_verge_rev": {
282
+ "description": "",
283
+ "title": ""
284
+ },
285
+ "cmfa": {
286
+ "description": "",
287
+ "title": ""
288
+ },
281
289
  "foxray": {
282
290
  "description": "福克斯射线描述",
283
291
  "title": "福克斯X射线"
@@ -1099,7 +1107,7 @@
1099
1107
  "lang": {
1100
1108
  "en": "🇺🇸 英语 - English ",
1101
1109
  "fa": "🇮🇷 波斯语 - فارسی",
1102
- "my": "",
1110
+ "my": "🇲🇲 缅甸语 - မြန်မာဘာသာ",
1103
1111
  "pt": "🇵🇹 葡萄牙語 - Português ",
1104
1112
  "ru": "🇷🇺 俄语 - Русский",
1105
1113
  "zh": "🇨🇳 Chinese - 简体中文"