Code Monkey home page Code Monkey logo

dingtalk's Introduction

Stay hungry. Stay foolish.

Sponsors

https://github.com/sponsors/nashaofu

Projects

  • xcap, XCap is a cross-platform screen capture library written in Rust. It supports Linux (X11, Wayland), MacOS, and Windows. XCap supports screenshot and video recording (to be implemented).
  • dingtalk,基于网页版钉钉封装的支持 Windows、Linux、Mac 的桌面应用。
  • screenshots, A screenshot plugin for electron.
  • ydebugger,A remote webapp of the Chrome DevTools, you can develop and debug front-end pages on iPad Browser with GitHub codespaces or code-server.
  • node-screenshots, A nodejs screenshots library for Mac/Windows/Linux based on napi-rs
  • display-info, A rust cross-platform get display info
  • estatic,A express static file server
  • electron-dev-webpack-plugin,electron 的 webpack 主进程开发自动重启应用的插件,当主进程代码变更之后,就会结束当前主进程,然后重新启动一个新的主进程,方便 electron 开发。
  • koa-parser,Koa 请求体解析中间件 koa-parser,支持解析 json、form-data、form-urlencoded、text/plain 解析。
  • markdown365-parser,基于虚拟 dom 的 markdown,vnode 部分参考 vue 的 diff 算法实现,语法解析参考了 marked,项目实用价值很小,虚拟 dom 对性能提升有限。
  • grender,canvas 二维渲染器,支持图形旋转、缩放和平移,并且完整支持各种鼠标事件。
  • 垃圾回收小助手微信小程序,调用阿里云和百度云的图像识别 API 来识别照片,帮助分类。
  • 涂鸦跳跃微信小游戏,未使用任何游戏框架。

😄 欢迎关注我的微信公众号!

dingtalk's People

Contributors

dependabot[bot] avatar eecjimmy avatar jing2uo avatar luttyyang avatar n0vad3v avatar nashaofu avatar warsfeng avatar ziqiangxu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dingtalk's Issues

安装不了

17 error Linux 4.10.0-38-generic
18 error argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "build"
19 error node v4.2.6
20 error npm v3.5.2
21 error code ELIFECYCLE
22 error [email protected] build: node scripts/build.js
22 error Exit status 1
23 error Failed at the [email protected] build script 'node scripts/build.js'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the dingtalk package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error node scripts/build.js
23 error You can get information on how to open an issue for this project with:
23 error npm bugs dingtalk
23 error Or if that isn't available, you can get their info via:
23 error npm owner ls dingtalk
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

Desktop Notifications 设置项不起作用

该选项关闭后仍然会发送新消息通知,暂时先用 dunst 把钉钉的通知忽略了。

OS: Arch Linux
Notification Daemon: notify-osd 或 dunst
Desktop: i3wm

聊天窗口不能用右键菜单复制粘贴文字

直接在浏览器中打开网页版钉钉右键菜单,在几个位置出现不同菜单:

  1. 会话列表:点击右键会出现特殊菜单,比如删除或置顶会话之类的
  2. 聊天对话窗口选中文字或者文字输入区域,点击右键是可以选择复制粘贴的。
  3. 其他区域,点击右键会出现浏览器在网页中的默认右键菜单。

在你这个版本中,会话窗口选中文字或者在底部输入区域,右键点击无效果,只能通过快捷键来复制粘贴。

笨方法实现Windows新消息闪烁功能

感谢作者的无私奉献,个人使用中发现Windows下无法闪烁图标,粗糙的实现一下。
1、借用更新badge的方法
main.js - setBadgeCount 方法最后添加
ipcRenderer.send('set-tray-flash', count)
用来发送新消息事件
2、dingtalk.js添加处理
this.$trayIntervalId
this.$trayLight
前面初始化一下

// 设置 tray图标新消息闪动
onSetTrayFlash () {
ipcMain.on('set-tray-flash', (e, count) => {
if (app) {
if (count > 0) {
if (this.$trayIntervalId) {
return
}
this.$trayIntervalId = setInterval(() => { // 每0.5秒闪烁一次
if (this.$trayLight) {
this.$tray.setImage(path.join(__dirname, '../icon/tray_blank.png'))
this.$trayLight = false
} else {
this.$tray.setImage(path.join(__dirname, '../icon/tray_newmsg.png'))
this.$trayLight = true
}
}, 500)
this.$tray.setToolTip('钉钉\n您有 ' + count + '条新消息')
} else {
clearInterval(this.$trayIntervalId)
this.$trayIntervalId = null
this.$tray.setToolTip('钉钉\n 没有未读消息')
this.$tray.setImage(path.join(__dirname, '../icon/tray_default.png'))
}
}
})
}
3、用到的图片如下,也可以自己制作,iconfont.cn上随便找图标

tray_blank
tray_default
tray_newmsg
tray_offline

日志和审批功能间接性无法使用

工作中,日志审批等几个项目之间多切换几次就会提示Error网络错误
2018-01-03 17-11-42

点击重试,有时候能连上,需要重新登陆,有时候进程就直接崩溃了。

网络错误和重试进程崩溃都很频繁,随便多点几下就会出现

系统是Ubuntu 16.04 64位

提示网络错误时终端没有任何输出,点击重试崩溃时的输出如下
2018-01-03 17-22-30

状态栏图标

需要修复一下状态栏图标,在KDE 5.10.4上,状态栏图标如下所示:
image
最左边那个,看起来像是图标太大了,只显示了部分,希望提供各种大小的图标,然后在状态栏上做一下大小适配。

然后就是鼠标移动到状态栏上,显示的是 electron,这里应该显示dingtalk吧。

还有一个建议,希望状态栏能够左键单击打开钉钉窗口,而不是现实菜单

最后。。能不能添加记住密码/自动登录的功能?

多谢作者了~

邮箱问题

希望可以优化左下角钉邮、管理可以从默认浏览器打开。

截图功能白屏

_950
按下ctrl + alt + a 之后出现图上状况,不能截图
系统:Ubuntu 14.04

应用无法及时提醒新消息

在钉钉主程序窗体未激活(即钉钉的主窗体最小化状态)和被其他窗体遮挡掉时(即钉钉主窗体正常显示的情况下,切换到其他窗口并且在其他窗口最大化的情况),钉钉应用无法正常提示新消息。之前Windows下的客户端也存在这样的问题,有望能改善一下吗?

窗口可以調整大小但不能拖放

比很多其他的版本好的方面就是可以自适应窗口大小调整,但是却没有边框,无法拖动。尝试自己去构建一个带边框的版本,但是 Downloading tmp-25056-0-electron-v1.6.10-linux-x64.zip 直接超时,无法下载。

钉钉分类问题

在 Ubuntu 和 Linux mint 下,软件会被归为“其他”分类
而不是互联网 或者 办公

截屏快捷键如何修改?

是否提供了修改截屏快捷键的功能?ctrl+alt+a 会和我的一些其他软件冲突
如果不方便修改,可否直接关闭此功能?

谢谢!

多屏显示时, 截图存在的问题

  1. 无论焦点在那个屏幕上, 截图Screen都会集中到笔记本的屏幕上
  2. 快捷按下后, 截屏被激活,同时electron的调试页也会被激活
    web_ding_bug_screenshot

安装失败

[zzreal@Asgard dingtalk-1.5.2]$ npm install

[email protected] postinstall /home/zzreal/opt/dingtalk-1.5.2/node_modules/electron
node install.js

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/7zip-bin-win):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"win32","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/7zip-bin-mac):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 458 packages in 20.225s

install的时候有这些警告,忽略之后

[zzreal@Asgard linux-unpacked]$ ./dingtalk
./dingtalk: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory

运行报错

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.