Skip to content
Permalink
Browse files

7.1.12

  • Loading branch information
showpy committed Nov 28, 2019
1 parent e005dbf commit 027c56277025659e74c3ffca7328283a3d097f3e
Showing with 7,930 additions and 465 deletions.
  1. +5 −4 BTPanel/__init__.py
  2. +1 −1 BTPanel/static/ace/ace.js
  3. +1 −1 BTPanel/static/ace/editor.config.json
  4. +32 −8 BTPanel/static/ace/styles/icons.css
  5. +385 −53 BTPanel/static/css/site.css
  6. +563 −0 BTPanel/static/img/dep_ico/DOXCX.png
  7. BIN BTPanel/static/img/dep_ico/DSCMS.png
  8. BIN BTPanel/static/img/dep_ico/DSKms.png
  9. BIN BTPanel/static/img/dep_ico/DSO2O.png
  10. BIN BTPanel/static/img/dep_ico/DSShop.png
  11. BIN BTPanel/static/img/dep_ico/FastAdmin.png
  12. +562 −0 BTPanel/static/img/dep_ico/JTBC.png
  13. +563 −0 BTPanel/static/img/dep_ico/WDJA.png
  14. BIN BTPanel/static/img/dep_ico/YoungxjPwd.png
  15. +562 −0 BTPanel/static/img/dep_ico/ZFAKA.png
  16. +561 −0 BTPanel/static/img/dep_ico/bfz.png
  17. BIN BTPanel/static/img/dep_ico/hybbs.png
  18. BIN BTPanel/static/img/dep_ico/schoolcms.png
  19. +563 −0 BTPanel/static/img/dep_ico/skm.png
  20. BIN BTPanel/static/img/dep_ico/skycaiji.png
  21. +562 −0 BTPanel/static/img/dep_ico/test.png
  22. +562 −0 BTPanel/static/img/dep_ico/test2.png
  23. +562 −0 BTPanel/static/img/dep_ico/ttttt.png
  24. BIN BTPanel/static/img/dep_ico/whatsns.png
  25. +562 −0 BTPanel/static/img/dep_ico/wp.png
  26. BIN BTPanel/static/img/dep_ico/yqoa_2019_0720.png
  27. +561 −0 BTPanel/static/img/dep_ico/z-blog.png
  28. BIN BTPanel/static/img/dep_ico/zhicms.png
  29. BIN BTPanel/static/img/file_menu_icon.png
  30. BIN BTPanel/static/img/ico-history.png
  31. BIN BTPanel/static/img/soft_ico/ico-FastAdmin.png
  32. BIN BTPanel/static/img/soft_ico/ico-baidu_netdisk.png
  33. BIN BTPanel/static/img/soft_ico/ico-baidupan.png
  34. 0 BTPanel/static/img/soft_ico/ico-bdbos.png
  35. BIN BTPanel/static/img/soft_ico/ico-bt_cdn.png
  36. 0 BTPanel/static/img/soft_ico/ico-btwaf_neice.png
  37. BIN BTPanel/static/img/soft_ico/ico-coll_admin.png
  38. BIN BTPanel/static/img/soft_ico/ico-demo.png
  39. BIN BTPanel/static/img/soft_ico/ico-disk.png
  40. BIN BTPanel/static/img/soft_ico/ico-ehost.png
  41. BIN BTPanel/static/img/soft_ico/ico-fail2ban.png
  42. BIN BTPanel/static/img/soft_ico/ico-filepl.png
  43. BIN BTPanel/static/img/soft_ico/ico-free_waf.png
  44. BIN BTPanel/static/img/soft_ico/ico-git_deploy.png
  45. BIN BTPanel/static/img/soft_ico/ico-hm_shell_san.png
  46. BIN BTPanel/static/img/soft_ico/ico-host_login.png
  47. BIN BTPanel/static/img/soft_ico/ico-image_compress.png
  48. BIN BTPanel/static/img/soft_ico/ico-jdoss.png
  49. BIN BTPanel/static/img/soft_ico/ico-lvs.png
  50. BIN BTPanel/static/img/soft_ico/ico-mfftpdev.png
  51. 0 BTPanel/static/img/soft_ico/ico-mflogview.png
  52. BIN BTPanel/static/img/soft_ico/ico-mfsmbd.png
  53. BIN BTPanel/static/img/soft_ico/ico-mfwatermark.png
  54. BIN BTPanel/static/img/soft_ico/ico-mfwebdav.png
  55. BIN BTPanel/static/img/soft_ico/ico-nfsgo.png
  56. BIN BTPanel/static/img/soft_ico/ico-php_demo.png
  57. BIN BTPanel/static/img/soft_ico/ico-qnoss.png
  58. BIN BTPanel/static/img/soft_ico/ico-qrcode.png
  59. BIN BTPanel/static/img/soft_ico/ico-redisutil.png
  60. 0 BTPanel/static/img/soft_ico/ico-sitemap.png
  61. BIN BTPanel/static/img/soft_ico/ico-ssh_manager.png
  62. BIN BTPanel/static/img/soft_ico/ico-svn.png
  63. BIN BTPanel/static/img/soft_ico/ico-svn_deploy.png
  64. BIN BTPanel/static/img/soft_ico/ico-swn.png
  65. BIN BTPanel/static/img/soft_ico/ico-wuming.png
  66. BIN BTPanel/static/img/soft_ico/ico-xjTools.png
  67. BIN BTPanel/static/img/soft_ico/ico-七牛云存储对象多点挂载工具兼容阿里云、京东云.png
  68. BIN BTPanel/static/img/soft_ico/ico-京东云存储对象挂载工具.png
  69. BIN BTPanel/static/img/soft_ico/ico-百度云存储对象BOS挂载工具.png
  70. +9 −8 BTPanel/static/js/config.js
  71. +32 −68 BTPanel/static/js/files.js
  72. +689 −78 BTPanel/static/js/public.js
  73. +1 −1 BTPanel/static/js/site.js
  74. +47 −14 BTPanel/static/js/soft.js
  75. +1 −1 BTPanel/static/layer/layer.js
  76. +1 −1 BTPanel/templates/default/config.html
  77. +22 −41 BTPanel/templates/default/files.html
  78. +1 −1 BTPanel/templates/default/install.html
  79. +2 −2 BTPanel/templates/default/layout.html
  80. +1 −1 BTPanel/templates/default/site.html
  81. +1 −1 BTPanel/templates/default/soft.html
  82. +37 −133 class/ajax.py
  83. +1 −1 class/common.py
  84. +2 −1 class/config.py
  85. +4 −3 class/crontab.py
  86. +2 −2 class/database.py
  87. +172 −0 class/fastcgi_client.py
  88. +46 −15 class/files.py
  89. +84 −0 class/http_requests.py
  90. +8 −9 class/panelSite.py
  91. +80 −0 class/php_info.php
  92. +19 −0 class/public.py
  93. +2 −1 class/sewer/client.py
  94. +1 −0 class/system.py
  95. +11 −13 class/userlogin.py
  96. +1 −1 config/config.json
  97. +23 −0 task.py
  98. +23 −2 tools.py
@@ -47,7 +47,7 @@
app.secret_key = uuid.UUID(int=uuid.getnode()).hex[-12:]
local_ip = None
my_terms = {}

sdb = None
try:
from flask_sqlalchemy import SQLAlchemy
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:////dev/shm/session.db'
@@ -483,7 +483,7 @@ def files(pdata = None):
import files
filesObject = files.files()
defs = ('CheckExistsFiles','GetExecLog','GetSearch','ExecShell','GetExecShellMsg','UploadFile','GetDir','CreateFile','CreateDir','DeleteDir','DeleteFile',
'CopyFile','CopyDir','MvFile','GetFileBody','SaveFileBody','Zip','UnZip','SearchFiles','upload','read_history',
'CopyFile','CopyDir','MvFile','GetFileBody','SaveFileBody','Zip','UnZip','SearchFiles','upload','read_history','re_history','auto_save_temp','get_auto_save_body',
'GetFileAccess','SetFileAccess','GetDirSize','SetBatchData','BatchPaste','install_rar','get_path_size',
'DownloadFile','GetTaskSpeed','CloseLogs','InstallSoft','UninstallSoft','SaveTmpFile','GetTmpFile','del_files_store','add_files_store','get_files_store','del_files_store_types','add_files_store_types',
'RemoveTask','ActionTask','Re_Recycle_bin','Get_Recycle_bin','Del_Recycle_bin','Close_Recycle_bin','Recycle_bin')
@@ -555,7 +555,7 @@ def ajax(pdata = None):
if comReturn: return comReturn
import ajax
ajaxObject = ajax.ajax()
defs = ('change_phpmyadmin_ssl_port','set_phpmyadmin_ssl','get_phpmyadmin_ssl','check_user_auth','to_not_beta','get_beta_logs','apple_beta','GetApacheStatus','GetCloudHtml','get_load_average','GetOpeLogs','GetFpmLogs','GetFpmSlowLogs','SetMemcachedCache','GetMemcachedStatus','GetRedisStatus','GetWarning','SetWarning','CheckLogin','GetSpeed','GetAd','phpSort','ToPunycode','GetBetaStatus','SetBeta','setPHPMyAdmin','delClose','KillProcess','GetPHPInfo','GetQiniuFileList','UninstallLib','InstallLib','SetQiniuAS','GetQiniuAS','GetLibList','GetProcessList','GetNetWorkList','GetNginxStatus','GetPHPStatus','GetTaskCount','GetSoftList','GetNetWorkIo','GetDiskIo','GetCpuIo','CheckInstalled','UpdatePanel','GetInstalled','GetPHPConfig','SetPHPConfig')
defs = ('php_info','change_phpmyadmin_ssl_port','set_phpmyadmin_ssl','get_phpmyadmin_ssl','check_user_auth','to_not_beta','get_beta_logs','apple_beta','GetApacheStatus','GetCloudHtml','get_load_average','GetOpeLogs','GetFpmLogs','GetFpmSlowLogs','SetMemcachedCache','GetMemcachedStatus','GetRedisStatus','GetWarning','SetWarning','CheckLogin','GetSpeed','GetAd','phpSort','ToPunycode','GetBetaStatus','SetBeta','setPHPMyAdmin','delClose','KillProcess','GetPHPInfo','GetQiniuFileList','UninstallLib','InstallLib','SetQiniuAS','GetQiniuAS','GetLibList','GetProcessList','GetNetWorkList','GetNginxStatus','GetPHPStatus','GetTaskCount','GetSoftList','GetNetWorkIo','GetDiskIo','GetCpuIo','CheckInstalled','UpdatePanel','GetInstalled','GetPHPConfig','SetPHPConfig')
return publicObject(ajaxObject,defs,None,pdata);

@app.route('/system',methods=method_all)
@@ -849,7 +849,8 @@ def install():
return redirect('/login')
ret_login = os.path.join('/',admin_path)
if admin_path == '/' or admin_path == '/bt': ret_login = '/login'

session['admin_path'] = False
session['login'] = False
if request.method == method_get[0]:
if not os.path.exists('install.pl'): return redirect(ret_login)
data = {}

Large diffs are not rendered by default.

@@ -1 +1 @@
{"fontSize":"12px","theme":"monokai"}
{"fontSize":"13px","theme":"monokai"}
@@ -22,6 +22,12 @@
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: octicons;
src: url("../icons/octicons.woff2");
font-weight: normal;
font-style: normal;
}
.binary-icon:before {
font-family: "Octicons Regular";
font-size: 16px;
@@ -110,12 +116,6 @@
top: 1px;
content: "\f0b0";
}
.markdown-icon:before {
font-family: "Octicons Regular";
font-size: 16px;
top: 1px;
content: "\f0c9";
}
.package-icon:before {
font-family: "Octicons Regular";
font-size: 16px;
@@ -698,7 +698,8 @@
top: 3px;
content: "\e618";
}
.perl-icon:before {
.perl-icon:before{
color: #ff9800;
font-family: Devicons;
font-size: 16px;
top: 3px;
@@ -4914,5 +4915,28 @@
.sh-icon:before{
color: #aa759f;
content: '\f0c8';
font-family: file-icons;
font-family: file-icons;
font-size: 14px;
}
.text-icon:before{
color: #cccccc;
content: '\f011';
font-family: octicons;
}

.compress-icon:before{
color: #46788d;
content: '\f013';
font-family: octicons;
}

.images-icon:before{
color: #d28445;
content: '\f012';
font-family: octicons;
}
.markdown-icon:before {
color: #6a9fb5;
font-family: octicons;
content: "\f0c9";
}

0 comments on commit 027c562

Please sign in to comment.
You can’t perform that action at this time.