feat: 支持绘画同步

feat: 支持敏感词检测
feat: 支持多语言版本
feat: 支持回车发送消息
feat: 支持展示房主,语言版本
feat: 支持分享链接带上语言版本
feat: 支持设置公共聊天频道消息展示条数
feat: 支持固定/临时turn账号切换
feat: 支持一键启动脚本
feat: 支持浏览器控制台打印logo
feat: 调整优化svg, icon图标
feat: 调整优化弹窗动画
feat: 调整优化媒体流时间动画
feat: 调整优化oss逻辑
feat: 调整优化报错告警信息
This commit is contained in:
https://blog.iamtsm.cn
2023-07-04 14:45:31 +08:00
parent 95d98331dd
commit e5a10db41c
80 changed files with 10503 additions and 5591 deletions

View File

@@ -6,6 +6,7 @@ const bussinessNotify = require("./../../bussiness/notify/notifyHandler")
const utils = require("./../../utils/utils");
const seafile = require("./../../bussiness/oss/seafile")
const rtcCommData = require("./../rtcCommData/commData");
const check = require("./../../utils/check/content");
/**
* 添加取件码文件
@@ -31,19 +32,17 @@ async function addCodeFile(io, socket, tables, dbClient, data){
let {handshake, userAgent, ip} = utils.getSocketClientInfo(socket);
const ossToken = await seafile.seafileGetToken();
let donwloadLink = ""
const ossToken = await seafile.seafileGetToken();
if(ossToken){
let shareLink = await seafile.seafileCreateShareLink(ossToken, {
let downloadData = await seafile.seafileGetDownLoadLink(ossToken, {
name : data.ossFileName,
can_edit : false,
can_download : true,
expire_days : 1
});
if(shareLink){
donwloadLink = seafile.seafileGetDownLoadLink(shareLink.token);
if(downloadData){
donwloadLink = downloadData.downloadLink;
}
}
@@ -98,6 +97,7 @@ async function addCodeFile(io, socket, tables, dbClient, data){
});
bussinessNotify.sendSystemErrorMsg({
title: "socket-addCodeFile",
data: JSON.stringify(data),
room: data.room,
from : socket.id,
msg : JSON.stringify({