1.修复上传漏洞和SQL注入漏洞-移除安装模块所有的代码
This commit is contained in:
@@ -7,7 +7,6 @@ import { adminBaseRoutePath } from '/@/router/static/adminBase'
|
||||
*/
|
||||
export default {
|
||||
'/': ['./frontend/${lang}/index.ts'],
|
||||
[adminBaseRoutePath + '/moduleStore']: ['./backend/${lang}/module.ts'],
|
||||
[adminBaseRoutePath + '/user/rule']: ['./backend/${lang}/auth/rule.ts'],
|
||||
[adminBaseRoutePath + '/user/scoreLog']: ['./backend/${lang}/user/moneyLog.ts'],
|
||||
[adminBaseRoutePath + '/crud/crud']: ['./backend/${lang}/crud/log.ts', './backend/${lang}/crud/state.ts'],
|
||||
|
||||
@@ -1,163 +0,0 @@
|
||||
export default {
|
||||
'stateTitle init': 'Module installer initialization...',
|
||||
'stateTitle download': 'Downloading module...',
|
||||
'stateTitle install': 'Installing module...',
|
||||
'stateTitle getInstallableVersion': 'Get installable version...',
|
||||
'env require': 'Composer',
|
||||
'env require-dev': 'Composer-dev',
|
||||
'env dependencies': 'NPM',
|
||||
'env devDependencies': 'NPM-dev',
|
||||
'env nuxtDependencies': 'Nuxt NPM',
|
||||
'env nuxtDevDependencies': 'Nuxt NPM Dev',
|
||||
// buy
|
||||
'Module installation warning':
|
||||
'Free download and update within one year after purchase. Virtual products do not support 7-day refund without reason',
|
||||
'Order title': 'Order title',
|
||||
'Order No': 'Order No.:',
|
||||
'Purchase user': 'Purchase user',
|
||||
'Order price': 'Order price',
|
||||
'Purchased, can be installed directly': 'Purchased, can be installed directly',
|
||||
'Understand and agree': 'Understand and agree',
|
||||
'Module purchase and use agreement': 'Module purchase and use agreement',
|
||||
'Point payment': 'Point payment',
|
||||
'Balance payment': 'Balance payment',
|
||||
'Wechat payment': 'Wechat payment',
|
||||
'Alipay payment': 'Alipay payment',
|
||||
'Install now': 'Install now',
|
||||
payment: 'payment',
|
||||
'Confirm order info': 'Confirm order info',
|
||||
// commonDone
|
||||
'Congratulations, module installation is complete': 'Congratulations, module installation is complete.',
|
||||
'Module is disabled': 'Module is disabled.',
|
||||
'Congratulations, the code of the module is ready': 'Congratulations, the code of the module is ready.',
|
||||
'Unknown state': 'Unknown state.',
|
||||
'Do not refresh the page!': 'Do not refresh the page!',
|
||||
'New adjustment of dependency detected': 'New adjustment of dependency detected',
|
||||
'This module adds new dependencies': 'This module adds new dependencies',
|
||||
'The built-in terminal of the system is automatically installing these dependencies, please wait~':
|
||||
'The built-in terminal of the system is automatically installing these dependencies, please wait~',
|
||||
'View progress': 'View progress',
|
||||
'Dependency installation completed~': 'Dependency installation completed~',
|
||||
'This module does not add new dependencies': 'This module does not add new dependencies.',
|
||||
'There is no adjustment for system dependency': 'There is no adjustment for system dependency.',
|
||||
please: 'please',
|
||||
'After installation 1': 'After installation',
|
||||
'Manually clean up the system and browser cache': 'Manually clean up the system and browser cache.',
|
||||
'After installation 2': 'After installation',
|
||||
'Automatically execute reissue command?': 'Automatically execute reissue command?',
|
||||
'End of installation': 'End of installation',
|
||||
'Dependency installation fail 1': 'The dependency installation failed. Please click the retry button in the ',
|
||||
'Dependency installation fail 2': 'terminal',
|
||||
'Dependency installation fail 3': 'You can also view the ',
|
||||
'Dependency installation fail 4': 'unfinished matters manually',
|
||||
'Dependency installation fail 5': 'Until you are',
|
||||
'Dependency installation fail 6': 'sure that the dependency is ready',
|
||||
'Dependency installation fail 7': ', the module will not work!',
|
||||
'Is the command that failed on the WEB terminal executed manually or in other ways successfully?':
|
||||
'Is the command that failed on the WEB terminal executed manually or in other ways successfully?',
|
||||
yes: 'yes',
|
||||
no: 'no',
|
||||
// confirmFileConflict
|
||||
'Update warning':
|
||||
'The following module files have been detected to be updated. When disabled, they will be automatically overwritten. Please pay attention to backup.',
|
||||
'File conflict': 'File conflict',
|
||||
'Conflict file': 'Conflict file',
|
||||
'Dependency conflict': 'Dependency conflict',
|
||||
'Confirm to disable the module': 'Confirm to disable the module',
|
||||
'The module declares the added dependencies': 'The module declares the added dependencies',
|
||||
Dependencies: 'Dependencies',
|
||||
retain: 'Retain',
|
||||
// goodsInfo
|
||||
'detailed information': 'detailed information',
|
||||
Price: 'Price',
|
||||
'Last updated': 'Last updated',
|
||||
'Published on': 'Published on:',
|
||||
'amount of downloads': 'amount of downloads',
|
||||
'Module classification': 'Module classification',
|
||||
'Module documentation': 'Module documentation',
|
||||
'Developer Homepage': 'Developer Homepage',
|
||||
'Click to access': 'Click to access',
|
||||
'Module status': 'Module status',
|
||||
'View demo': 'View demo',
|
||||
'Code scanning Preview': 'Code scanning Preview',
|
||||
'Buy now': 'Buy now',
|
||||
'continue installation': 'continue installation',
|
||||
installed: 'installed',
|
||||
'to update': 'to update',
|
||||
uninstall: 'uninstall',
|
||||
'Contact developer': 'Contact developer',
|
||||
'Other works of developers': 'Other works of developers',
|
||||
'There are no more works': 'There are no more works',
|
||||
'You need to disable this module before updating Do you want to disable it now?':
|
||||
'You need to disable this module before updating. Do you want to disable it now?',
|
||||
'Disable and update': 'Disable and update',
|
||||
'No module purchase order was found': 'No module purchase order was found. Do you want to purchase the current module now?',
|
||||
// installConflict
|
||||
'new file': 'new file',
|
||||
'Existing files': 'Existing files',
|
||||
'Treatment scheme': 'Treatment scheme',
|
||||
'Backup and overwrite existing files': 'Backup and overwrite existing files',
|
||||
'Discard new file': 'Discard new file',
|
||||
environment: 'environment',
|
||||
'New dependency': 'New dependency',
|
||||
'Existing dependencies': 'Existing dependencies',
|
||||
'Overwrite existing dependencies': 'Overwrite existing dependencies',
|
||||
'Do not use new dependencies': 'Do not use new dependencies',
|
||||
// tableHeader
|
||||
'Upload zip package for installation': 'Upload zip package for installation',
|
||||
'Upload installation': 'Upload installation',
|
||||
'Uploaded / installed modules': 'Uploaded / installed modules',
|
||||
'Local module': 'Local module',
|
||||
'Publishing module': 'Publishing module',
|
||||
'Get points': 'Get points',
|
||||
'Search is actually very simple': 'Search is actually very simple',
|
||||
// tabs
|
||||
Loading: 'Loading...',
|
||||
'No more': 'No more.',
|
||||
// uploadInstall
|
||||
'Local upload warning':
|
||||
'Please make sure that the module package file comes from the official channel or the officially certified module author, otherwise the system may be damaged because:',
|
||||
'The module can modify and add system files': 'The module can modify and add system files',
|
||||
'The module can execute sql commands and codes': 'The module can execute sql commands and codes',
|
||||
'The module can install new front and rear dependencies': 'The module can install new front and rear dependencies',
|
||||
'Drag the module package file here': 'Drag the module package file here, Or',
|
||||
'Click me to upload': 'Click me to upload',
|
||||
'Uploaded, installation is about to start, please wait': 'Uploaded, installation is about to start, please wait',
|
||||
'Update Log': 'Update Log',
|
||||
'No detailed update log': 'No detailed update log',
|
||||
'Use WeChat to scan QR code for payment': 'Use WeChat to scan QR code for payment',
|
||||
'Use Alipay to scan QR code for payment': 'Use Alipay to scan QR code for payment',
|
||||
'dependency-installation-fail-tips':
|
||||
'If the command is successfully executed manually, click `Make sure dependency is ready` above to change the module to the installed state',
|
||||
'New version': 'New version',
|
||||
Install: 'Install',
|
||||
'Installation cancelled because module already exists!': 'Installation cancelled because module already exists!',
|
||||
'Installation cancelled because the directory required by the module is occupied!':
|
||||
'Installation cancelled because the directory required by the module is occupied!',
|
||||
'Installation complete': 'Installation complete',
|
||||
'A conflict is found Please handle it manually': 'A conflict is found. Please handle it manually',
|
||||
'Select Version': 'Select install version',
|
||||
'Wait for dependent installation': 'Wait for dependent installation',
|
||||
'The operation succeeds Please clear the system cache and refresh the browser ~':
|
||||
'The operation succeeds. Please clear the system cache and refresh the browser ~',
|
||||
'Deal with conflict': 'Deal with conflict',
|
||||
'Wait for installation': 'Wait for installation',
|
||||
'Conflict pending': 'Conflict pending',
|
||||
'Dependency to be installed': 'Dependency to be installed',
|
||||
'Restart Vite hot server': 'Restart Vite hot server',
|
||||
'Restart Vite hot server tips':
|
||||
'Before successfully restarting the service, you can find the button to manually restart the service from the button group on the right side of the top bar.',
|
||||
'Manual restart': 'Manual restart',
|
||||
'Restart Now': 'Restart Now',
|
||||
// 选择安装版本
|
||||
'Available system version': 'Available system version',
|
||||
Description: 'Description',
|
||||
Version: 'Version',
|
||||
'Current installed version': 'Current installed version',
|
||||
'Insufficient system version': 'Insufficient system version',
|
||||
'Click to install': 'Click to install',
|
||||
'Versions released beyond the authorization period': 'Versions released beyond the authorization period',
|
||||
Renewal: 'Renewal',
|
||||
'Order expiration time':
|
||||
'The expiration time of the current order authorization is {expiration_time}, and the release time of this version is {create_time}',
|
||||
}
|
||||
@@ -1,153 +0,0 @@
|
||||
export default {
|
||||
'stateTitle init': '模块安装器初始化...',
|
||||
'stateTitle download': '正在下载模块...',
|
||||
'stateTitle install': '正在安装模块...',
|
||||
'stateTitle getInstallableVersion': '正在获取模块版本列表...',
|
||||
'env require': '后端依赖(composer)',
|
||||
'env require-dev': '后端开发环境依赖(composer)',
|
||||
'env dependencies': '前端依赖(NPM)',
|
||||
'env devDependencies': '前端开发环境依赖(NPM)',
|
||||
'env nuxtDependencies': '前端依赖(Nuxt-NPM)',
|
||||
'env nuxtDevDependencies': '前端开发环境依赖(Nuxt-NPM)',
|
||||
// buy
|
||||
'Module installation warning': '购买后一年内可免费下载和更新,虚拟产品不支持7天无理由退款',
|
||||
'Order title': '订单标题',
|
||||
'Order No': '订单编号',
|
||||
'Purchase user': '购买用户',
|
||||
'Order price': '订单价格',
|
||||
'Purchased, can be installed directly': '已购买,可直接安装',
|
||||
'Understand and agree': '理解并同意',
|
||||
'Module purchase and use agreement': '模块购买和使用协议',
|
||||
'Point payment': '积分支付',
|
||||
'Balance payment': '余额支付',
|
||||
'Wechat payment': '微信支付',
|
||||
'Alipay payment': '支付宝支付',
|
||||
'Install now': '立即安装',
|
||||
payment: '支付',
|
||||
'Confirm order info': '确认订单信息',
|
||||
// commonDone
|
||||
'Congratulations, module installation is complete': '恭喜,模块安装已完成。',
|
||||
'Module is disabled': '模块已禁用。',
|
||||
'Congratulations, the code of the module is ready': '恭喜,模块的代码已经准备好了。',
|
||||
'Unknown state': '未知状态。',
|
||||
'Do not refresh the page!': '请勿刷新页面!',
|
||||
'New adjustment of dependency detected': '检测到依赖项有新的调整',
|
||||
'This module adds new dependencies': '本模块添加了新的依赖项',
|
||||
'The built-in terminal of the system is automatically installing these dependencies, please wait~': '系统内置终端正在自动安装这些依赖,请稍等~',
|
||||
'View progress': '查看进度',
|
||||
'Dependency installation completed~': '依赖已安装完成~',
|
||||
'This module does not add new dependencies': '本模块没有添加新的依赖项。',
|
||||
'There is no adjustment for system dependency': '系统依赖无调整。',
|
||||
please: '请',
|
||||
'After installation 1': '在安装结束后',
|
||||
'Manually clean up the system and browser cache': '手动的清理系统和浏览器缓存。',
|
||||
'After installation 2': '安装结束后',
|
||||
'Automatically execute reissue command?': '自动执行重新发布命令?',
|
||||
'End of installation': '安装结束',
|
||||
'Dependency installation fail 1': '依赖安装失败,请点击',
|
||||
'Dependency installation fail 2': '终端',
|
||||
'Dependency installation fail 3': '中的重试按钮,您也可以查看',
|
||||
'Dependency installation fail 4': '手动完成未尽事宜',
|
||||
'Dependency installation fail 5': '在您',
|
||||
'Dependency installation fail 6': '确定依赖已准备好',
|
||||
'Dependency installation fail 7': '之前,模块还不能正常使用!',
|
||||
'Is the command that failed on the WEB terminal executed manually or in other ways successfully?':
|
||||
'WEB终端失败的命令已经手动或以其他方式执行成功?',
|
||||
yes: '是',
|
||||
no: '否',
|
||||
// confirmFileConflict
|
||||
'Update warning': '检测到以下的模块文件有更新,禁用时将自动覆盖,请注意备份。',
|
||||
'File conflict': '文件冲突',
|
||||
'Conflict file': '冲突文件',
|
||||
'Dependency conflict': '依赖冲突',
|
||||
'Confirm to disable the module': '确认禁用模块',
|
||||
'The module declares the added dependencies': '模块声明添加的依赖',
|
||||
Dependencies: '依赖项',
|
||||
retain: '保留',
|
||||
// goodsInfo
|
||||
'detailed information': '详细信息',
|
||||
Price: '价格',
|
||||
'Last updated': '最后更新',
|
||||
'Published on': '发布时间',
|
||||
'amount of downloads': '下载次数',
|
||||
'Module classification': '模块分类',
|
||||
'Module documentation': '模块文档',
|
||||
'Developer Homepage': '开发者主页',
|
||||
'Click to access': '点击访问',
|
||||
'Module status': '模块状态',
|
||||
'View demo': '查看演示',
|
||||
'Code scanning Preview': '扫码预览',
|
||||
'Buy now': '立即购买',
|
||||
'continue installation': '继续安装',
|
||||
installed: '已安装',
|
||||
'to update': '更新',
|
||||
uninstall: '卸载',
|
||||
'Contact developer': '联系开发者',
|
||||
'Other works of developers': 'TA的其他作品',
|
||||
'There are no more works': '没有更多作品了',
|
||||
'You need to disable this module before updating Do you want to disable it now?': '更新前需要先禁用该模块,立即禁用?',
|
||||
'Disable and update': '禁用并更新',
|
||||
'No module purchase order was found': '没有找到有效的模块购买订单,是否立即购买当前模块?',
|
||||
// installConflict
|
||||
'new file': '新文件',
|
||||
'Existing files': '已有文件',
|
||||
'Treatment scheme': '处理方案',
|
||||
'Backup and overwrite existing files': '备份并覆盖已有文件',
|
||||
'Discard new file': '丢弃新文件',
|
||||
environment: '环境',
|
||||
'New dependency': '新依赖',
|
||||
'Existing dependencies': '已有依赖',
|
||||
'Overwrite existing dependencies': '覆盖已有依赖',
|
||||
'Do not use new dependencies': '不使用新依赖',
|
||||
// tableHeader
|
||||
'Upload zip package for installation': '上传ZIP包安装',
|
||||
'Upload installation': '上传安装',
|
||||
'Uploaded / installed modules': '已上传/安装的模块',
|
||||
'Local module': '本地模块',
|
||||
'Publishing module': '发布模块',
|
||||
'Get points': '获得积分',
|
||||
'Search is actually very simple': '搜索其实很简单',
|
||||
// tabs
|
||||
Loading: '加载中...',
|
||||
'No more': '没有更多了...',
|
||||
// uploadInstall
|
||||
'Local upload warning': '请您务必确认模块包文件来自官方渠道或经由官方认证的模块作者,否则系统可能被破坏,因为:',
|
||||
'The module can modify and add system files': '模块可以修改和新增系统文件',
|
||||
'The module can execute sql commands and codes': '模块可以执行sql命令和代码',
|
||||
'The module can install new front and rear dependencies': '模块可以安装新的前后端依赖',
|
||||
'Drag the module package file here': '拖拽模块包文件到此处或',
|
||||
'Click me to upload': '点击我上传',
|
||||
'Uploaded, installation is about to start, please wait': '已上传,即将开始安装,请稍等',
|
||||
'Update Log': '更新日志',
|
||||
'No detailed update log': '无详细更新日志',
|
||||
'Use WeChat to scan QR code for payment': '使用微信扫描二维码支付',
|
||||
'Use Alipay to scan QR code for payment': '使用支付宝扫描二维码支付',
|
||||
'dependency-installation-fail-tips': '若手动执行命令成功,可点击以上的 `确定依赖已准备好` 将模块修改为已安装状态。',
|
||||
'New version': '有新版本',
|
||||
Install: '安装',
|
||||
'Installation cancelled because module already exists!': '安装取消,因为模块已经存在!',
|
||||
'Installation cancelled because the directory required by the module is occupied!': '安装取消,因为模块所需目录被占用!',
|
||||
'Installation complete': '安装完成',
|
||||
'A conflict is found Please handle it manually': '发现冲突,请手动处理',
|
||||
'Select Version': '选择安装版本',
|
||||
'Wait for dependent installation': '等待依赖安装',
|
||||
'The operation succeeds Please clear the system cache and refresh the browser ~': '操作成功,请清理系统缓存并刷新浏览器~',
|
||||
'Deal with conflict': '处理冲突',
|
||||
'Wait for installation': '等待安装',
|
||||
'Conflict pending': '冲突待处理',
|
||||
'Dependency to be installed': '依赖待安装',
|
||||
'Restart Vite hot server': '重启热更新服务',
|
||||
'Restart Vite hot server tips': '在完成服务重启之前,您还可以随时从顶栏右侧的按钮组中找到手动重启服务的按钮。',
|
||||
'Manual restart': '手动重启',
|
||||
'Restart Now': '立即重启',
|
||||
// 选择安装版本
|
||||
'Available system version': '可用系统版本',
|
||||
Description: '描述',
|
||||
Version: '版本',
|
||||
'Current installed version': '当前安装版本',
|
||||
'Insufficient system version': '系统版本不足',
|
||||
'Click to install': '点击安装',
|
||||
'Versions released beyond the authorization period': '授权期限以外发布的版本',
|
||||
Renewal: '续费',
|
||||
'Order expiration time': '当前订单授权过期时间为 {expiration_time},此版本发布时间为 {create_time}',
|
||||
}
|
||||
Reference in New Issue
Block a user