- 28 10月, 2017 2 次提交
-
-
由 Huan (李卓桓) 提交于
-
由 Huan (李卓桓) 提交于
-
- 27 10月, 2017 1 次提交
-
-
由 Huan (李卓桓) 提交于
-
- 23 10月, 2017 2 次提交
-
-
由 Huan (李卓桓) 提交于
-
由 Huan (李卓桓) 提交于
-
- 22 10月, 2017 1 次提交
-
-
由 Huan (李卓桓) 提交于
-
- 19 10月, 2017 2 次提交
-
-
由 Huan (李卓桓) 提交于
-
由 Huan (李卓桓) 提交于
-
- 18 10月, 2017 2 次提交
-
-
由 Huan (李卓桓) 提交于
-
由 Huan (李卓桓) 提交于
-
- 17 10月, 2017 3 次提交
-
-
由 Huan (李卓桓) 提交于
-
由 Huan (李卓桓) 提交于
-
由 Huan (李卓桓) 提交于
-
- 16 10月, 2017 2 次提交
-
-
由 Huan (李卓桓) 提交于
-
由 Huan (李卓桓) 提交于
-
- 13 10月, 2017 2 次提交
-
-
由 Huan (李卓桓) 提交于
-
由 Huan (李卓桓) 提交于
-
- 09 10月, 2017 4 次提交
-
-
由 Huan (李卓桓) 提交于
-
由 Huan (李卓桓) 提交于
-
由 Huan (李卓桓) 提交于
-
由 Huan (李卓桓) 提交于
-
- 08 10月, 2017 2 次提交
-
-
由 Huan (李卓桓) 提交于
-
由 Huan (李卓桓) 提交于
REFACTOR ---------------- ### 1. Use Chrome Puppeteer to control WebWechat. All codes related with WebDriver/Selenium had been removed. 1. This makes the logic simple: no server, no https endpoint, no WebSocket anymore; 1. Removed lots of Classes, like `PuppetWebServer`, `PuppetWebBrowser`, `PuppetWebBrowserDriver`, `ssl-pem` and `PUppetWebBrowserCookie` ; 1. Removed all the `Xvfb` packages and settings; ### 2. Upgrade CircleCI from v1 to v2. Nothing changed except all the YAML syntax of the CircleCI configuration file. Workflows look very good, maybe set it up later. ### 3. Dockerfile switch from `alpine` to `node:7` image The size increased hugely. However, this will let us feel better if we want to add more and more packages into our Docker Image: Debian has better support to the packaging ecosystem. ### 4. Drop Node.js v6 support No special reasons, it's just tooold. ### 5. Use `blue-tape` to do unit testing, with Typing support. Do not use AVA anymore, do not wait for TAP anymore. They all support TypeScript not well. ### 6. Separate source code related with `watchdog` to a new NPM module. It's modulized very well and can be used as needed everywhere: https://github.com/zixia/watchdog ### 7. Created a new module `RxQueue` for `throttle` / `debounce` / `delay` tasks. Consider publishing a solo NPM module in the future. ### 8. Arrange all the WEB JSON data structure Save them into a single file: `schema.ts` ### 9. A new Class for manage Wechaty Profile Use it to `new Profile('botName')` and `save()`/`load()`/`get()`/`set` etc.
-
- 02 10月, 2017 3 次提交
-
-
由 Huan (李卓桓) 提交于
-
由 Huan (李卓桓) 提交于
-
由 杉木树下 提交于
* fix(*): Support for send 25Mb+ files 1. Upload a file larger than 25Mb. 2. Limit the upload file to no more than 100Mb. 3. According to webwxapp perfect upload processing. 4. Increase the upload and handling of upload exceptions. * refactor(*): add support download file and send it again 1. add MediaMessage.saveFile() , used to save attachment 2. Refactor MediaMessage.forward(), support send to Room and Contact array, add support download big file and send it again. * fix(*): fix reuse data * dev code * fix(message): Remove support for foward 25Mb+ files in forward() Because webWx restrictions, more than 25 MB of files can not be downloaded, it can not be forwarded. * fix: fix send files after restart Closes 777 * feat(MediaMessage): support forward their own upload 25Mb+ file * style: clean code * docs: Modify forward support 25Mb+ file descrption * fix: fix after upload file,display is cancel button * clean code * refactor(MediaMessage): Modify saveFile() return Promise<void> * clean code
-
- 05 9月, 2017 2 次提交
-
-
由 Huan (李卓桓) 提交于
-
由 Huan (李卓桓) 提交于
-
- 02 9月, 2017 2 次提交
-
-
由 Huan (李卓桓) 提交于
-
由 杉木树下 提交于
* add: Message.forward(id) forward message You can directly forward files and multimedia, but limit the file size to 25Mb or less, otherwise it will fail because the server policy. * fix(forward): parameter support Room/Contact/roomId/ContactId * fix(message): fix some attributes not exist in the WebWxApp structure * fix(message): fix forward return Promise<boolean> In addition, some notes are added. * fix(message) remove suppot forward(id : string) * fix(message): add a prompt for file size in forward() * fix(message): add the code to check if rawObj is undefined * fix(message): fix msg content error of forward group message fix: When forwarding a message within a group, the content is prefixed with @userId. * add(message): Add the Forward Message Source Settings option ``` m.forward(Room.load(id), { user: '$USER', room: 'Room[$ROOM]', custom: 'forward from $ROOM$USER' }) // source message: 'test msg' // from room: 'testRoom' // from user: 'Bot' // forward message: `forward from Room[testRoom]Bot:\ntest msg` ``` * fix(message): only MsgType is TEXT, add forward from info * fix(bridge): fix only emoji can't forward * changge(message): move forward() from class Message to MediaMessage * fix(message): fix the error of forward room video In room msg, the content prefix sender:, need to be removed, otherwise the forwarded sender will display the source message sender, causing self () to determine the error * fix(message): add '{' and '}' * doc(message): Supplementary forward() of jsdoc comments resolved #726 * fix(message): fix the comment for forward()
-
- 01 9月, 2017 2 次提交
-
-
由 Huan (李卓桓) 提交于
-
由 Huan (李卓桓) 提交于
update(license): use @copyright instead of Copyright https://github.com/Chatie/wechaty/pull/725/files#r136114369 (#725)
-
- 31 8月, 2017 1 次提交
-
-
由 Huan (李卓桓) 提交于
-
- 26 8月, 2017 3 次提交
-
-
由 Huan (李卓桓) 提交于
-
由 Huan (李卓桓) 提交于
-
由 Huan (李卓桓) 提交于
-
- 20 8月, 2017 4 次提交
-
-
由 Huan (李卓桓) 提交于
-
由 Huan (李卓桓) 提交于
-
由 Huan (李卓桓) 提交于
-
由 Huan (李卓桓) 提交于
-