1. 23 10月, 2017 2 次提交
  2. 19 10月, 2017 2 次提交
  3. 18 10月, 2017 3 次提交
  4. 17 10月, 2017 2 次提交
  5. 16 10月, 2017 1 次提交
  6. 15 10月, 2017 3 次提交
  7. 13 10月, 2017 1 次提交
  8. 11 10月, 2017 1 次提交
  9. 10 10月, 2017 1 次提交
  10. 09 10月, 2017 1 次提交
  11. 08 10月, 2017 4 次提交
    • Huan (李卓桓)'s avatar
      c674f4fd
    • Huan (李卓桓)'s avatar
      use WECHATY_HEAD env var to control headless · 691209a6
      Huan (李卓桓) 提交于
      691209a6
    • Huan (李卓桓)'s avatar
      code clean · aa60942c
      Huan (李卓桓) 提交于
      aa60942c
    • Huan (李卓桓)'s avatar
      Replace WebDriver by Puppeteer (#790) (#860) · a8e4c1e4
      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.
      a8e4c1e4
  12. 02 10月, 2017 1 次提交
    • 杉木树下's avatar
      fix(*): Support for send 25Mb+ files (#771) · 43200033
      杉木树下 提交于
      * 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
      43200033
  13. 02 9月, 2017 1 次提交
    • 杉木树下's avatar
      add: Message.forward() forward message (#727) · 4957489c
      杉木树下 提交于
      * 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()
      4957489c
  14. 01 9月, 2017 1 次提交
  15. 30 8月, 2017 1 次提交
  16. 26 8月, 2017 4 次提交
  17. 22 8月, 2017 1 次提交
  18. 10 8月, 2017 1 次提交
    • 杉木树下's avatar
      fix(puppet-web): send any type file. (#714) · 6c576c53
      杉木树下 提交于
      * fix(puppet-web): send any type file.
      
      Fix can't send pdf and more type file.
      Now, you can use `m.say(new MediaMessage(file))` send any type file.
      
      Fix #710
      
      * fix(puppet-web): Delete unused comments
      
      * fix(puppet-web): add interface MediaData
      
      * fix(puppet-web): formData.id Allocation error
      
      * fix(wechaty-bro): remove trailing comma
      6c576c53
  19. 12 6月, 2017 2 次提交
  20. 23 5月, 2017 1 次提交
  21. 20 5月, 2017 1 次提交
  22. 15 5月, 2017 3 次提交
  23. 20 4月, 2017 1 次提交
  24. 19 4月, 2017 1 次提交