本次同步 09-12 至 09-28 的代码变更,主要内容: 新增功能 - 修改密码:后端新增 ChangePasswordRequest DTO 与UserController/UserService 对应接口,前端新增 ChangePasswordDialog 并在 Header 接入入口 - 文件预览组件重构:file-preview 目录拆分出 VideoPreview(支持 blobUrl 直传)、 ImagePreview、AudioPreview,index.tsx 统一调度各类型预览器 - 新增 my_ops 算子模块:markitdown_parser、mineru_pdf_parser、text_quality_evaluator - 新增 tools/minio-file-server MinIO 文件服务 功能增强 - 数据清洗:cleaning_task_service/scheduler/routes 重构, data_juicer_executor 与 wrapper 增强,OperatorTable/LogsTable/TaskDetail 同步调整 - 数据标注:annotation sync.py、project.py 接口与schema 更新 - 数据采集、算子市场、首页与菜单路由相关页面调整 - DataJuicer 算子接入(useOperatorOperations、dj_ops_schema) 结构调整 - deepflow/ 更名为 deep-flow/(419 个文件重命名) - 新增 helm 部署编排、GitHub Actions 之外的自建镜像构建脚本 未纳入本次提交 - scripts-backup/、runtime/python-executor-backup/、components_backup/(备份目录) - *.backup*、__pycache__ 产物 - zh_core_web_sm-3.8.0-py3-none-any.whl(46MB 构建产物) - DataX/(内嵌独立仓库,远程亦未收录其源码)
1 line
2.1 KiB
JavaScript
1 line
2.1 KiB
JavaScript
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define("@baidu/codeCover",["require"],e):t.urlEncodeCheck=e()}(this,(function(){"use strict";return function(){function t(t){this.pid="",this.sendFn=t,this.ls=this.initStorage(),this.sendNum=0,this.CVObj={},this.random=Math.random(),this.pid="19_103",this.sampleArr=[1e-4,1,.1,.01,.001,1e-4,1e-5];var e=parseInt(this.ls.getItem("CVStringTimestamp"))||0;if((new Date).getTime()>e)this.ls.setItem("CVObj",""),this.ls.setItem("CVStringTimestamp",this.getEndTimestamp());else try{this.CVObj=JSON.parse(this.ls.getItem("CVObj")||"{}")}catch(t){}}return t.prototype.init=function(){var t=this;"function"==typeof window.requestIdleCallback?window.requestIdleCallback((function(){t.sendDomCVcLog()})):setTimeout((function(){t.sendDomCVcLog()}),2e3)},t.prototype.send=function(t,e,n){void 0===e&&(e=0);var i=t.split("_"),o=!0;i.forEach((function(t){o=!isNaN(+t)&&o})),this.sendNum>10||2!==i.length||!o||this.setLog(t,this.sampleArr[e],n)},t.prototype.sendDomCVcLog=function(){var t=$("*[data-cv]");this.random<this.sampleArr[6]&&t.length>0&&this.sendFn("et_comm",{msg:"Record data_cv length",length:t.length,url:window.location.href},{},{},{group:"codeCoverage"});for(var e=0;e<t.length&&!(this.sendNum>10);e++){var n=t[e].getAttribute("data-cv");if(n){var i=n.split("_"),o="0";if(2!==i.length&&3!==i.length)continue;3===i.length&&(o=i.shift()||"",n=i.join("_")),t[e].removeAttribute("data-cv"),this.send(n,+o)}}},t.prototype.initStorage=function(){var t={enabled:!0};try{localStorage.setItem("_t","1"),localStorage.removeItem("_t")}catch(e){t.enabled=!1}return t.enabled?localStorage:{enabled:!1,storgae:{},setItem:function(t,e){this.storgae[t]=e},getItem:function(t){return this.storgae[t]}}},t.prototype.setLog=function(t,e,n){if(!(this.CVObj.hasOwnProperty(t)||this.random>e)){this.CVObj[t]=!0,this.ls.setItem("CVObj",JSON.stringify(this.CVObj)),this.sendNum++;var i={msg:t,url:window.location.href},o={group:"codeCoverage"};n&&(o.ext={info:n}),this.sendFn("et_comm",i,{},{},o)}},t.prototype.getEndTimestamp=function(){return(new Date).getTime()+864e5+""},t}()})); |