Switch branches/tags
Commits on Oct 4, 2017
  1. Add a Git .mailmap

    mgol authored and Krinkle committed Oct 4, 2017
    Closes #49.
Commits on Sep 28, 2017
  1. Blacklist broken Nexus 9 worker from BrowserStack API

    Krinkle committed Sep 28, 2017
    This is the first matching browser for os=Android, os_version=5
    and it is broken.
    Blacklist it so that it picks another worker instead.
  2. Fix fix fix fixWorker: Improve 'device' and 'real_mobile' normalisation

    Krinkle committed Sep 28, 2017
    Various browsers (e.g. Opera 47 on Windows) are in the /browsers API as:
    real_mobile=null, device=null
    But then, once spawned are described as in /workers as
    real_mobule=false, device=undefined
    Normalise this as otherwise the workers are considered foreign
    and the client keeps spawning more.
Commits on Apr 6, 2017
  1. cli: Set in addition to worker.project

    Krinkle committed Apr 6, 2017
    * 'project' allows searching for workers coming from testswarm-browserstack
      (as opposed to those from other users and programs from the same org)
    * 'build' allows grouping workers spawned during the same run.
  2. cli: Make worker.project configurable and set a default

    Krinkle committed Apr 6, 2017
    This is exposed by node-browserstack's Client#createWorker.
Commits on Apr 3, 2017
  1. Improve browserFamily mapping documentation

    Krinkle committed Apr 3, 2017
    Based on experience and improved understanding.
Commits on Mar 30, 2017
  1. Tag v0.5.2

    Krinkle committed Mar 30, 2017
  2. map: Ignore browser spec for os=android

    Krinkle committed Mar 30, 2017
    Generalisation of f246bb8. We'd have to map "Chrome" to "Android Browser"
    as well to make it work fully, which is not practical.
    Ref jquery/testswarm#306.
  3. Tag v0.5.1

    Krinkle committed Mar 30, 2017
  4. map: Add mapping for 'Chrome Mobile' -> 'Android Browser'

    Krinkle committed Mar 30, 2017
    BrowserStack v4 has back-compat mapping that is actually working
    against us in this case..
Commits on Mar 23, 2017
  1. Tag v0.5.0

    Krinkle committed Mar 23, 2017
  2. build: Autofix most jquery/eslint violations

    Krinkle committed Mar 23, 2017
    Keeping lines-around disabled.
    Keeping single quotes enforced.
  3. build: Drop Node 0.12 support; Switch to ESLint

    Krinkle committed Mar 23, 2017
    * Add testing for Node 4 and Node 7. currently runs Node 4.
    * Drop testing for Node 0.12 (EOL).
    * Fix violations of wrap-iife and max-len.
  4. Add command-line support for listing all workers

    jcook793 authored and Krinkle committed Mar 2, 2013
    Closes #35.
  5. Remove redundant hack meant for browserstack-api/v3

    Krinkle committed Mar 23, 2017
    The bug where the index at /browsers includes a 'browser' for mobile devices
    but /workers only supports spawning by 'device' was fixed in v4.
    Follows-up 846a55e (#43), 075132c (#41).
    Ref jquery/testswarm#306
Commits on Sep 12, 2016
  1. Fix typo in comment ("Task 3" instead of "Task 2")

    Krinkle committed Sep 12, 2016
    Follows-up b626290 which introduced the typo.
    Ref #47.
Commits on Jul 12, 2016
  1. 🔖 Tag v0.4.1

    Krinkle committed Jul 12, 2016
  2. build: ⬆️ Upgrade request dependency to v2.68.0+

    Krinkle committed Jul 12, 2016
    > Introduced through: request@2.9.203
    > Remediation: Upgrade to request@2.68.0.
Commits on Feb 25, 2016
  1. Tag v0.4.0

    Krinkle committed Feb 25, 2016
  2. Merge pull request #46 from mgol/browserstack-api-v4

    Krinkle committed Feb 25, 2016
    Switch to using version 4 of BrowserStack API
Commits on Feb 24, 2016
  1. Update to the 4th version of the BrowserStack API

    mgol committed Feb 24, 2016
    Also, update the browserstack npm package to the latest version so that
    the 4th API version works. There are no breaking changes in this update
    so it should "just work".
    Fixes #43
Commits on Oct 31, 2015
  1. Follows-up 35576eb: Improve regex handling

    Krinkle authored and mgol committed Oct 31, 2015
Commits on Oct 30, 2015
  1. Refactor userAgent-worker mapping to be more flexible

    Krinkle authored and mgol committed Oct 30, 2015
    * Invert the map (from bs-ts, to ts-bs).
    * Fragment by specification property since there are value
      conflicts (e.g. android browser and android os).
    * Add support for regular expressions.
    Rename variables 'browser', 'uaData' and 'browserData' to be
    more intuitive and document them.
    To debug your TestSwarm configuration, view the full map with:
     $ node src/cli.js --ua2bs '*'
    Fixes #45.
Commits on Oct 6, 2015
  1. add a detail.

    clarkbox committed Oct 6, 2015
Commits on Jul 17, 2015
  1. cli: Use return instead of callback for --ua2bs flag

    Krinkle committed Jul 17, 2015
    This method is actually a plain getter that returns the value,
    it doesn't take a callback. Because of this, 'twbs --ua2bs <name>'
    resulted in no output.
  2. map: Add mapping for Android Browser

    Krinkle committed Jul 17, 2015
    Android's browser is "Android" in ua-parser and "Android Browser" in browserstack.
    Yandex's browser is "Yandex Browser" in ua-parser and "Yandex" in  browserstack.
    Yay for consistency.
    Ref jquery/testswarm#306.
Commits on Jul 10, 2015
  1. map: Add mapping for Yandex Browser

    Krinkle committed Jul 10, 2015
    This is the first time BrowserStack and ua-parser have conflicting
    identifiers for browser families. Add mapping so that we can spawn
    Yandex workers from BrowserStack.
  2. Add myself to the credits

    Krinkle committed Jul 10, 2015
Commits on May 15, 2015
  1. map: Update device list with upstream BrowserStack

    Krinkle committed May 15, 2015
    Follows-up c983cfc. While this is still version 3, a few new
    devices got added. And a few existing ones got renamed.
    Taken from
    > browsers.forEach(function(browser) {
    >     devices[browser.device] = 1;
    > });
    > Object.keys(devices);
    Filtered down to only iPad/iPhone-ish ones and replaced existing
    ones with those.