Skip to content

Commit

Permalink
update to version 3.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
fanjiangwei7 committed Nov 30, 2023
1 parent 949f8a3 commit 9ec1aae
Show file tree
Hide file tree
Showing 76 changed files with 5,846 additions and 234 deletions.
37 changes: 37 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,43 @@

[蓝莺IM](https://www.lanyingim.com/),是由美信拓扑团队研发的新一代即时通讯云服务,SDK设计简单集成方便,服务采用云原生技术和多云架构,私有云也可按月付费。

### v3.1.2 20231127
1.单聊、群聊及LinkChat界面增加流式消息展示功能。
2.修复历史消息获取的流式消息仍然使用流式消息展示的问题。
3.文本消息新增功能按钮可以展示消息的扩展信息。
4.修复AI同时回复多条消息时出现的消息展示错乱问题。
5.support页面新增参数确保safri跳转聊天时使用同一个账号。
6.support页面新增其它会话未读数展示功能。
7.调整markdown信息展示格式及support页面展示格式。
8.support页面新增其它会话未读数展示功能。
9.调整markdown信息展示格式及support页面展示格式。
10.修改音视频信令逻辑,新增 rtc record 指令用于展示通话记录。
11.修改 sdk 处理 rtc 信令逻辑,sdk 中只存储 rtc record 信令,其它 rtc 信令不保存。
12.修改 sdk 处理 会话最新消息逻辑,过滤 rtc 非 record 消息,确保 conversation 中会话最新消息不会展示其它 rtc 消息。
13.修改音视频通话 janus 信令执行流程,会话发起端在接收到对方的 pickup 消息之后才会开始加入房间等后续逻辑处理,在两端都发布流之后才正式进入通话状态。
14.修改通话接收端逻辑,接收端同样使用 initRTCEngine 初始化音视频环境,初始化后执行 joinRoom 执行加入房间逻辑。
15.修改对端音视频流检测逻辑,检测到对端异常结束流发布后自动执行挂断操作。
16.通话建立之前,通话界面仅挂断按钮有效,屏蔽其它按键操作。
17.通话建立之前,使用本地渲染来展示本地视频展示。
18.修改支持页面启动会话页面逻辑,使用服务器返回凭证获取用户信息进行登录,确保 safari 浏览器多tab 页面下使用相同账户登录。
19.增加延迟启动音视频通话逻辑,确保过滤该设备历史离线队列中多设备支持其他端同步的历史通话消息唤醒音视频呼叫。

### v3.1.1 20230717
1.PC端支持Ubuntu安装包。
2.同步floo-web解决音视频相关bug。

### v3.1.0 20230620
1. 单聊新增1v1音视频功能。

### v3.0.1 20230310
1. 修复删除会话后不会收到删除会话事件的问题。
2. 增加好友申请事件通知(onRosterApplied)。
3. 修复退出并登录新用户时,可能会加载旧用户的数据的问题。
4. 支持设置sdk日志等级。
5. 通讯录页面增加客服列表。
6. 修复退出群不会触发onGroupMemberChanged事件的问题。
7. 修复noticeStore.saveNotice报错问题。

### v3.0.0 20220425
1.启用蓝莺产品名称,基于原"美信拓扑IM"v2.9.10发布全新版本。

Expand Down
Binary file added _icons/512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 10 additions & 4 deletions _scripts/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ const { productName } = require('../package.json')

const config = {
appId: 'com.maxim.app',
copyright: 'Copyright ©2021 MaxIM.Top',
copyright: 'Copyright © 2019-2023 MaxIM.Top',
productName,
directories: {
output: 'build/',
},
files: [
'_icons/icon.*',
'_icons/*.*',
'!**/node_modules/**/*',
'dist/**/*',
'src/data/**/*',
Expand Down Expand Up @@ -40,14 +40,20 @@ const config = {
},
},
linux: {
icon: '_icons/icon.png',
target: ['deb', 'snap', 'AppImage'],
icon: '_icons',
target: ['deb'],
},
mac: {
category: 'public.app-category.utilities',
icon: '_icons/icon.icns',
target: ['dmg'],
type: 'distribution',
entitlements: "../entitlements.mac.plist",
hardenedRuntime: true,
extendInfo: {
"NSMicrophoneUsageDescription": "请允许本程序访问您的麦克风",
"NSCameraUsageDescription": "请允许本程序访问您的摄像头"
}
},
win: {
icon: '_icons/icon.ico',
Expand Down
7 changes: 6 additions & 1 deletion _scripts/webpack.renderer.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,13 @@ const config = {
rules: [
{
test: /\.(j|t)s$/,
use: 'babel-loader',
exclude: /node_modules/,
use: {
loader: 'babel-loader',
options: {
presets: ['@babel/preset-env']
}
}
},
{
test: /\.node$/,
Expand Down
16 changes: 16 additions & 0 deletions entitlements.mac.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
<true/>
<key>com.apple.security.device.audio-input</key>
<true/>
<key>com.apple.security.device.camera</key>
<true/>
</dict>
</plist>
26 changes: 17 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,26 @@
"vue-electron": "^1.0.6",
"vue-router": "^3.1.3",
"vue-toasted": "^1.1.27",
"vuex": "^3.1.1"
"vuex": "^3.1.1",
"webrtc-adapter": "^8.1.2",
"jquery": "3.6.1",
"vue-js-popover": "^1.2.1"
},
"description": "蓝莺IM",
"devDependencies": {
"@babel/core": "^7.6.4",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
"@babel/plugin-transform-class-properties": "^7.23.3",
"@babel/plugin-transform-object-rest-spread": "^7.23.3",
"@babel/preset-env": "^7.6.3",
"@babel/preset-typescript": "^7.6.0",
"@typescript-eslint/eslint-plugin": "^2.4.0",
"@typescript-eslint/parser": "^2.4.0",
"acorn": "^7.0.0",
"babel-eslint": "^10.0.3",
"@babel/eslint-parser": "^7.23.3",
"babel-loader": "^8.0.6",
"babili-webpack-plugin": "^0.1.2",
"babel-preset-minify": "^0.5.2",
"cfonts": "^2.4.8",
"copy-webpack-plugin": "^5.1.1",
"copy-webpack-plugin": "^10.0.0",
"css-loader": "^3.2.0",
"devtron": "^1.4.0",
"electron": "18.1.0",
Expand All @@ -35,7 +38,7 @@
"element-ui": "^2.12.0",
"eslint": "^6.2.2",
"eslint-config-prettier": "^6.1.0",
"eslint-loader": "^3.0.3",
"eslint-webpack-plugin": "^3.0.3",
"eslint-plugin-html": "^5.0.3",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-vue": "^5.2.3",
Expand All @@ -46,9 +49,11 @@
"copy-webpack-plugin": "^5.1.1",
"cross-env": "^3.2.4",
"long": "^4.0.0",
"marked-highlight": "^2.0.6",
"mini-css-extract-plugin": "^0.9.0",
"moment": "^2.24.0",
"multispinner": "^0.2.1",
"json-bigint": "1.0.0",
"lodash": "^4.17.11",
"node-loader": "^0.6.0",
"native-ext-loader": "2.3.0",
Expand Down Expand Up @@ -85,6 +90,7 @@
"type": "git",
"url": "git+https://github.com/mubaidr/vue-electron-template.git"
},
"permissions":["camera", "microphone", "audio-capture", "video-capture"],
"scripts": {
"build": "npm run pack && node _scripts/config.js",
"debug": "node _scripts/dev-runner.js --remote-debug",
Expand All @@ -96,7 +102,7 @@
"pack:workers": "cross-env webpack --mode=production --env.NODE_ENV=production --hide-modules --config _scripts/webpack.workers.config.js",
"pack:win-clean" : "cd dist && rm flooMac.node && rm libcrypto.1.0.0.dylib && cd ..",
"pack:mac-clean" : "cd dist && rm flooWin.node && rm LIBCURL.* && cd ..",
"pack:web":"cp -r src/renderer/image dist && sed -i '' 's/\\/image\\//.\\/image\\//g' dist/renderer.js && sed -i '' 's/packages.\\/image\\//packages\\/image\\//g' dist/renderer.js",
"pack:web":"cp -r src/renderer/image dist && cp -r src/renderer/audio dist && sed -i '' 's/\\/audio\\//.\\/audio\\//g' dist/renderer.js && sed -i '' 's/\\/image\\//.\\/image\\//g' dist/renderer.js && sed -i '' 's/packages.\\/image\\//packages\\/image\\//g' dist/renderer.js",
"postinstall": "electron-builder install-app-deps",
"prettier": "prettier --write \"src/**/*.{js,ts,vue}\"",
"release": "build",
Expand All @@ -106,6 +112,8 @@
"win-arm64": "rm -rf dist && npm run pack && electron-builder --win --arm64 --config=_scripts/config.js",
"mac": "rm -rf dist && npm run pack && electron-builder --mac --x64 --config=_scripts/config.js",
"mac-arm64": "rm -rf dist && npm run pack && electron-builder --mac --arm64 --config=_scripts/config.js",
"ubuntu": "rm -rf dist && npm run pack && electron-builder --linux --x64 --config=_scripts/config.js",
"ubuntu-arm64": "rm -rf dist && npm run pack && electron-builder --linux --arm64 --config=_scripts/config.js",
"build:dir": "node .electron-vue/build.js && electron-builder --dir",
"build:clean": "cross-env BUILD_TARGET=clean node .electron-vue/build.js",
"build:web": "cross-env BUILD_TARGET=web node .electron-vue/build.js",
Expand All @@ -115,5 +123,5 @@
"all": "node .electron-vue/build.js && electron-builder",
"w": "node .electron-vue/build.js"
},
"version": "3.0.0"
"version": "3.1.2"
}
Loading

0 comments on commit 9ec1aae

Please sign in to comment.