Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v7.0.0 #42

Open
genalhuang opened this issue Sep 30, 2020 · 13 comments
Open

v7.0.0 #42

genalhuang opened this issue Sep 30, 2020 · 13 comments
Labels
功能 新功能开发

Comments

@genalhuang
Copy link
Owner

No description provided.

@genalhuang genalhuang added the 功能 新功能开发 label Sep 30, 2020
@Grifcc
Copy link

Grifcc commented Dec 8, 2020

小文件传输;
密码加密;
管理员用户管理功能

@genalhuang
Copy link
Owner Author

小文件传输;
密码加密;
管理员用户管理功能

小文件传输是? 密码加密要做,打算做成token的,管理端工作量比较大,哈哈哈

@Grifcc
Copy link

Grifcc commented Dec 9, 2020

现在可以传图片,不能传文件,比如PDF,docx,c,py等。大文件占用资源太多,所以加一个传小文件(20M以内)的功能,

@genalhuang
Copy link
Owner Author

懂了 确实有这个需求

@BoBoooooo
Copy link
Contributor

BoBoooooo commented Dec 20, 2020

大佬我这边fork了您的版本做了一些升级

是一个UI仿照微信的版本,大致逻辑跟您保持一致!
有空的话可以看一下,我这边提几个PR一起合进来~

仓库地址
在线地址

部分重构如下:

  • 在线人数统计逻辑修改,初始化的时候获取好友以及群内成员在线情况
  • FriendMap新增online属性标记是否在线 ,groupGather新增members[],初始化时获取当前群所有成员及是否在线(online)
  • 用户上线/下线单独做了ws事件,移除getActiveGroupUser
  • 用户更新身份信息单独提供了update_user_info事件,跟join group socket解耦
  • 优化了一些细节跟webSocket逻辑,详见

新增如下功能:

image

新增electron版本

支持windows/macos
image
image

@genalhuang
Copy link
Owner Author

@BoBoooooo 我看了一下你的改版,感觉改动太大啦。如果合并进来容易引发bug,希望是可以把简单的优化提pr或者功能建议,功能的话我以后还要改进,目前没有时间开发哈哈,所以还想先保留目前的结构,感谢

@genalhuang
Copy link
Owner Author

界面,交互上好了很多哈哈哈

@BoBoooooo
Copy link
Contributor

BoBoooooo commented Dec 25, 2020

界面,交互上好了很多哈哈哈

哈哈仿的微信mac客户端的。
到年底也忙,挤时间肝出来的 T.T。
我到时候分功能提PR吧,尽量不影响你现在的结构。

新功能的话:

  • 消息撤回
  • 发送附件
  • 通讯录
  • 上述几个集成的话是增量的,影响面不大。

优化的话:

  • emoji表情在光标处无法插入,我记得现在应该是this.text += emoji
  • 用户密码md5加密
  • 还有啥我一会再看看不记得了..

TODO(建议)

  • 聊天记录/好友信息走本地缓存IndexDB,参照微信的本地消息策略
  • 如果是electron版本的话可以用下lowdb或者sqllite3这种本地存储策略
  • @功能
  • 消息转发
  • 微信/qq三方登陆 Oauth2直接登陆授权避免注册登陆问题
  • 等等 ~~~ 哈哈当然是有时间弄才能弄,没时间是主要原因 ::)

我这边主要是把一些ws的策略调整了一下。
群聊群成员,包括统计在线人数的方式,算是比较break的改动。

大佬方便给个联系方式么,能实时的交流一下,我的邮箱 boboooooo159@gmail.com

@genalhuang
Copy link
Owner Author

@BoBoooooo 给了很多很好的建议,你才是真大佬哈哈哈,都是网友提了很多次的需求。
用户密码那一块我是打算做成前端不保留用户密码的,通过token校验,发消息也需要经过校验,这个改动也很大,需要ws的token鉴权,感觉意义很大,安全性提高很多
其他的建议都很好啊,emoji那个我甚至都没发现,哈哈哈哈
我邮箱3505563308@qq.com, 这段时间主要在学习,对聊天室先缓一缓哈哈,以后看看你聊天室怎么优化的,互相学习

@genalhuang
Copy link
Owner Author

慢慢来吧 这个后续还可以加入jest单元测试,docker部署,electron桌面端,flutter移动端太多要学了

@buqiyuan
Copy link

😁嘿嘿,站在两位巨佬的肩膀上,我也用uni-app写了H5、APP端仿QQ UI的IM,不过没你们的体验好😂
仓库地址:https://github.com/buqiyuan/uni-chat
在线预览:http://buqiyuan.gitee.io/uni-chat/

@buqiyuan
Copy link

期待后续加入更多功能!

@genalhuang
Copy link
Owner Author

😁嘿嘿,站在两位巨佬的肩膀上,我也用uni-app写了H5、APP端仿QQ UI的IM,不过没你们的体验好😂
仓库地址:https://github.com/buqiyuan/uni-chat
在线预览:http://buqiyuan.gitee.io/uni-chat/

优秀 哈哈哈 一直没看到评论

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
功能 新功能开发
Projects
None yet
Development

No branches or pull requests

4 participants