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

Added test script for multiple file webseed. #397

Closed
wants to merge 111 commits into from
Commits on Aug 9, 2015
  1. Added test script for multiple file webseed.

    solderzzc committed Aug 9, 2015
  2. added webseed multiple files for magnet.

    solderzzc committed Aug 9, 2015
  3. style

    solderzzc committed Aug 9, 2015
Commits on Oct 27, 2015
  1. Added command line hook scripts(done/exit).

    solderzzc committed Jul 29, 2015
    Give a chance for the programs use webtorrent cli to run scripts when download done or exit.
  2. Fixed for CI Style check

    solderzzc committed Jul 29, 2015
  3. Fixed for CI style check.

    solderzzc committed Jul 29, 2015
  4. Fixed for CI style check.

    solderzzc committed Jul 29, 2015
  5. command line cleanup

    feross authored and solderzzc committed Jul 30, 2015
  6. 0.55.0

    feross authored and solderzzc committed Jul 30, 2015
  7. build

    feross authored and solderzzc committed Jul 30, 2015
  8. fix examples

    feross authored and solderzzc committed Aug 6, 2015
  9. fix example

    feross authored and solderzzc committed Aug 6, 2015
  10. fix todo: use random-iterate

    feross authored and solderzzc committed Aug 10, 2015
  11. 0.55.1

    feross authored and solderzzc committed Aug 10, 2015
  12. build

    feross authored and solderzzc committed Aug 10, 2015
  13. add torrent.numPeers

    feross authored and solderzzc committed Aug 10, 2015
  14. add torrent.downloadSpeed/uploadSpeed

    feross authored and solderzzc committed Aug 10, 2015
  15. add client/torrent.on('download/upload')

    feross authored and solderzzc committed Aug 10, 2015
  16. cmd: use torrent.timeRemaining

    feross authored and solderzzc committed Aug 10, 2015
  17. 0.56.0

    feross authored and solderzzc committed Aug 10, 2015
  18. build

    feross authored and solderzzc committed Aug 10, 2015
  19. update readme

    feross authored and solderzzc committed Aug 12, 2015
  20. 0.57.0

    feross authored and solderzzc committed Aug 12, 2015
  21. build

    feross authored and solderzzc committed Aug 12, 2015
  22. adhere to padded-blocks

    LinusU authored and solderzzc committed Aug 14, 2015
  23. Revert "Also test for standard when running test-node"

    feross authored and solderzzc committed Aug 20, 2015
    This reverts commit af0929b.
  24. standard@5

    feross authored and solderzzc committed Aug 20, 2015
  25. multistream@2

    feross authored and solderzzc committed Aug 20, 2015
  26. BREAKING: Use abstract-chunk-store for storage

    feross authored and solderzzc committed Aug 22, 2015
    Part of an effort to share more code with `torrent-stream` by
    @mafintosh:
    
    mafintosh/torrent-stream#133
    mafintosh/torrent-stream#132
    
    Storage is now based on:
    
    https://www.npmjs.com/package/fs-chunk-store (in node)
    https://www.npmjs.com/package/memory-chunk-store (in the browser)
    
    and:
    
    https://www.npmjs.com/package/immediate-chunk-store
    https://www.npmjs.com/package/torrent-piece
    
    This is a BREAKING change, since users who pass in custom storage
    engine with `opts.storage` will need to update their storage backend to
    be `abstract-chunk-store` compliant:
    
    https://www.npmjs.com/package/abstract-chunk-store
    
    There are also likely other miscellaneous BREAKING API changes, since
    this was a huge refactor of the codebase.
  27. test: improve server test

    feross authored and solderzzc committed Aug 22, 2015
  28. test: torrent.parsedTorrent is gone

    feross authored and solderzzc committed Aug 22, 2015
  29. test: don't assume event ordering

    feross authored and solderzzc committed Aug 22, 2015
  30. cmd: torrent.parsedTorrent is gone

    feross authored and solderzzc committed Aug 22, 2015
  31. remove stray console logs

    feross authored and solderzzc committed Aug 22, 2015
  32. torrent: remove dead code

    feross authored and solderzzc committed Aug 22, 2015
    Not really sure what this code was doing — maybe trying to allow a
    Torrent object to be passed in to another client? Since
    torrent.parsedTorrent is gone and the data just lives directly on the
    torrent object, removing this code should work just fine.
  33. torrent: start torrent.done as `false`

    feross authored and solderzzc committed Aug 22, 2015
  34. update docs: remove opts.verify

    feross authored and solderzzc committed Aug 22, 2015
  35. remove unecessary nextTicks

    feross authored and solderzzc committed Aug 22, 2015
  36. file: emit 'done' on zero-length file

    feross authored and solderzzc committed Aug 22, 2015
  37. remove dezalgo dep

    feross authored and solderzzc committed Aug 22, 2015
  38. inquirer@0.9

    feross authored and solderzzc committed Aug 22, 2015
  39. 0.58.0

    feross authored and solderzzc committed Aug 23, 2015
  40. build

    feross authored and solderzzc committed Aug 23, 2015
  41. add explanatory comment

    feross authored and solderzzc committed Aug 23, 2015
  42. 0.59.0

    feross authored and solderzzc committed Aug 23, 2015
  43. build

    feross authored and solderzzc committed Aug 23, 2015
  44. style

    feross authored and solderzzc committed Aug 23, 2015
  45. add torrent.received; change torrent.downloaded

    feross authored and solderzzc committed Aug 23, 2015
    The previous behavior of `torrent.downloaded` is now
    `torrent.received`. This is bytes received from peers (including
    invalid data).
    
    The new `torrent.downloaded` is what most people expected it to be all
    along. Bytes completed (excluding invalid data).
  46. torrent.load should cancel reservations

    feross authored and solderzzc committed Aug 23, 2015
  47. cmd: remove verbose block data

    feross authored and solderzzc committed Aug 23, 2015
    This is a lot harder to visualize with the new torrent-piece backend,
    since we don’t keep an explicit array of which blocks are reserved.
    Just remove it for now.
    
    If we need this visualization back to debug something, it should be
    possible to recreate it from torrent-piece with a bit of work.
  48. verify existing torrent data

    feross authored and solderzzc committed Aug 23, 2015
  49. Disable DHT and PEX when the torrent is flagged as private

    gillesdemey authored and solderzzc committed Aug 16, 2015
    Add test for private torrent - should disable DHT
    
    Fail public torrent test when using a private torrent
    
    standard
    
    Disable DHT for the torrent's swarm and discovery.
  50. 0.60.0

    feross authored and solderzzc committed Aug 23, 2015
  51. build

    feross authored and solderzzc committed Aug 23, 2015
  52. Add torrent.path

    Stiveknx authored and solderzzc committed Aug 25, 2015
  53. Add torrent.path to README

    Stiveknx authored and solderzzc committed Aug 25, 2015
  54. 0.60.1

    feross authored and solderzzc committed Aug 28, 2015
  55. build

    feross authored and solderzzc committed Aug 28, 2015
  56. Switching to mafinstosh/chromecasts

    gillesdemey authored and solderzzc committed Aug 30, 2015
  57. 0.61.0

    feross authored and solderzzc committed Sep 2, 2015
  58. build

    feross authored and solderzzc committed Sep 2, 2015
  59. 0.62.0

    feross authored and solderzzc committed Sep 2, 2015
  60. build

    feross authored and solderzzc committed Sep 2, 2015
  61. standard

    feross authored and solderzzc committed Sep 3, 2015
  62. Always pass 'elem' to 'append-to' callback

    valeriangalliat authored and solderzzc committed Sep 10, 2015
    Looks like it was forgotten for 'img' and 'iframe'.
  63. standard

    feross authored and solderzzc committed Sep 16, 2015
  64. 0.62.1

    feross authored and solderzzc committed Sep 22, 2015
  65. build

    feross authored and solderzzc committed Sep 22, 2015
  66. Use path.resolve in tests

    joseph-onsip authored and solderzzc committed Oct 4, 2015
  67. exec/spawn cmd.js with 'node'

    joseph-onsip authored and solderzzc committed Oct 4, 2015
    See #429 (comment)
    
    > This is because a windows system doesn't use the shebang so it might
    > not know how to execute a js file. Spawning using node and node will
    > understand how to read this.
  68. tests use cross-spawn-async instead of child_process.spawn

    joseph-onsip authored and solderzzc committed Oct 5, 2015
    This allows Windows to run the tests, as promised in
    #429 (comment)
    
    Note that there are a couple of outstanding failures on Windows:
    
        # client.seed: filesystem path to folder with one file, string
        not ok 8 should be equal
          ---
            operator: equal
            expected: '3a686c32404af0a66913dd5f8d2b40673f8d4490'
            actual:   'e6887b78d89d995876c7cef3476b6fb32c4c4e3d'
          ...
        not ok 9 should be equal
          ---
            operator: equal
            expected: |-
              'magnet:?xt=urn:btih:3a686c32404af0a66913dd5f8d2b40673f8d4490&dn=folder&tr=udp%3A%2F%2Ftracker.webtorrent.io%3A80'
            actual: |-
              'magnet:?xt=urn:btih:e6887b78d89d995876c7cef3476b6fb32c4c4e3d&dn=folder&tr=udp%3A%2F%2Ftracker.webtorrent.io%3A80'
  69. Accommodate Chrome/FF optional Blob arg difference

    yousefamar authored and solderzzc committed Oct 5, 2015
    The specs say that the second Blob constructor argument is optional (http://www.w3.org/TR/FileAPI/#constructorParams), however Chrome and FF implement that differently. FF checks if the second arg is not undefined, while Chrome checks "arguments.length".
    
    As a result, if the second argument is undefined, Chrome will throw an error (https://chromium.googlesource.com/chromium/blink/+/72fef91ac1ef679207f51def8133b336a6f6588f/LayoutTests/fast/files/blob-constructor.html#55), while FF will just ignore it.
    
    This change makes it so that the second arg is not passed at all when it's undefined, and Chrome is happy as a result.
  70. 0.62.2

    feross authored and solderzzc committed Oct 5, 2015
  71. build

    feross authored and solderzzc committed Oct 5, 2015
  72. echo "*.txt text eol=lf" >> .gitattributes

    joseph-onsip authored and solderzzc committed Oct 7, 2015
    This forces Windows checkouts to keep LF line endings for test files.
    
    https://help.github.com/articles/dealing-with-line-endings/#example
    
    resolves #429
  73. "browser" field fix

    feross authored and solderzzc committed Oct 24, 2015
  74. 0.62.3

    feross authored and solderzzc committed Oct 24, 2015
  75. build

    feross authored and solderzzc committed Oct 24, 2015
  76. build

    feross authored and solderzzc committed Oct 24, 2015
  77. style

    solderzzc committed Aug 9, 2015
  78. Merge branch 'add-test-script-for-multiple-file-webseed' of https://g…

    solderzzc committed Oct 27, 2015
    …ithub.com/solderzzc/webtorrent into add-test-script-for-multiple-file-webseed
You can’t perform that action at this time.