Commit Graph

762 Commits

Author SHA1 Message Date
Andrew Stewart 29b7db0de8 Add support for manually specifying cert/key files 2014-04-03 15:03:21 -07:00
Andrew Stewart ea022d3880 Implement HTTPS API with self-signed cert
Switches API to serve all requests over HTTPS, using a self-signed SSL
certificate.
2014-04-03 14:32:56 -07:00
Andrew Stewart 34324dabd5 Clean up API logic 2014-04-03 12:28:27 -07:00
Adrian Zankich 49b2e91daf Prep for release 2014-04-02 16:11:48 -07:00
Andrew Stewart a80d14d527 Lock Node versions to those newer than 0.10.20 2014-04-02 12:34:23 -07:00
Ron Evans e664d6c5b9 Merge pull request #156 from hybridgroup/init-devices-err-failover
Add error handler for devices that fail to initialize.
2014-04-01 17:36:06 -07:00
edgarsilva de360ba2b3 Add error handler for devices that fail to initialize.
Do not start work if devices fail to initialize and throw err insted.
2014-04-01 17:53:34 -06:00
Ron Evans 6d36709207 Merge pull request #154 from hybridgroup/global-utils
Add Utils to global.Cylon namespace, add bootstrap
2014-04-01 12:35:36 -07:00
Andrew Stewart 1cffa6067e Add Utils to global.Cylon namespace, add bootstrap
This commit moves Utils to live in the global Cylon namespace, so they can be
accessed in test suites. This is necessary because Mocha, when setting up for
tests, will override our #after method, making TDR not work if any robots
contain a #after call in their work block.

To fix this, in test setup you can call global.Cylon.Utils.bootstrap();
which will re-setup our globals.
2014-04-01 12:31:13 -07:00
Andrew Stewart 2563e62de4 Catch MODULE_NOT_FOUND errors, throw others 2014-04-01 10:30:14 -07:00
Andrew Stewart a92e51157f Bump version to 0.12.0 2014-03-28 13:51:51 -07:00
Andrew Stewart fe931d0b60 Add make task for releasing new versions 2014-03-28 12:29:33 -07:00
Andrew Stewart a98a5de44f Missing 'var' keyword in annotated example 2014-03-28 10:42:20 -07:00
Ron Evans 51cef5a94f Merge pull request #148 from hybridgroup/remove-commands
Remove CLI tooling from Cylon
2014-03-27 14:50:20 -07:00
Andrew Stewart 89a5cf1cc0 Remove comma breaking package.json 2014-03-27 14:48:08 -07:00
Andrew Stewart 2d11e75434 Remove CLI tooling from Cylon
It now lives in hybridgroup/cylon-cli.
2014-03-27 14:45:36 -07:00
Ron Evans da07a5644f Merge pull request #147 from hybridgroup/markdown-examples
Convert Literate CoffeeScript examples to Markdown + JS
2014-03-27 09:34:11 -07:00
Andrew Stewart 688df7a419 Convert remaining .litcoffee examples 2014-03-27 09:31:56 -07:00
Andrew Stewart 479388e7ad Additional WIP on converting literate coffeescript examples to markdown+js 2014-03-26 17:06:26 -07:00
Andrew Stewart e7a340fd0c Remove .coffee examples and WIP on converting .litcoffee to .markdown + js 2014-03-26 16:25:09 -07:00
Ron Evans 4c647db88f Merge pull request #146 from hybridgroup/notify-of-missing-modules
Add friendlier errors when no adaptor/driver found
2014-03-26 14:35:01 -07:00
Andrew Stewart 337074f34f Add friendlier errors when no adaptor/driver found 2014-03-26 14:32:52 -07:00
Andrew Stewart 2acc07b443 Fix error with /robots route in API 2014-03-25 10:16:11 -07:00
Ron Evans cdf309afe2 Merge pull request #145 from hybridgroup/remove-unecessary-examples
Remove examples for pure GPIO and spheron, also remove testing examples ...
2014-03-24 16:46:45 -07:00
Edgar O Silva a0ef75f193 Remove examples for pure GPIO and spheron, also remove testing examples for Salesforce connection and object. 2014-03-24 18:39:01 -05:00
Andrew Stewart 26b92987a8 Improve specs for Logger 2014-03-21 16:15:13 -07:00
Andrew Stewart cb35cf27a5 Improve specs for Driver class 2014-03-21 12:17:39 -07:00
Andrew Stewart 0a631513ee Improve specs for Cylon.Adaptor class 2014-03-21 10:15:53 -07:00
Andrew Stewart fd91dd7512 Bump test dependency versions 2014-03-21 09:15:46 -07:00
Edgar O Silva 091160a443 Merge pull request #139 from hybridgroup/remove-port
Remove Port class
2014-03-18 16:41:28 -05:00
Andrew Stewart e4c43c0cd5 Remove Port class
Ultimately unnecessary with Cylon, as opposed to Artoo where we do some
interesting/tricky stuff with Socket-To-Serial to make everything work.
2014-03-18 13:41:12 -07:00
Andrew Stewart 70dde8148c Refactor and clean up Cylon.IO.DigitalPin class 2014-03-14 16:06:32 -07:00
Andrew Stewart e7f96b8a6c Refactor and improve tests for Cylon.IO.DigitalPin 2014-03-14 13:33:49 -07:00
Andrew Stewart 5a719fb5e9 Remove spark_blink example, it lives in cylon-spark 2014-03-12 13:52:11 -07:00
Adrian Zankich 0d5ac27e5a Prep for release 2014-03-12 13:18:34 -07:00
Adrian Zankich 1ee0b8b87a Ensure toScale stays within defined range 2014-03-11 18:33:39 -07:00
Ron Evans bb9838e3e6 Merge pull request #134 from hybridgroup/halt
Rename #stop to #halt to avoid potential conflicts
2014-03-11 11:47:51 -07:00
Andrew Stewart f9537d9af8 Rename #stop to #halt to avoid potential conflicts 2014-03-11 10:44:11 -07:00
Ron Evans 20c59f150e Merge pull request #133 from hybridgroup/utils-tests
Utils Improvements and Tests
2014-03-10 15:30:07 -07:00
Andrew Stewart 0ebd4153d4 Improve/expand test coverage for utils 2014-03-10 15:26:19 -07:00
Andrew Stewart 4c464f0d88 Remove Math.ceil from #toScale, JS has no integers/floats anyways 2014-03-10 15:25:39 -07:00
Andrew Stewart 3c6696a78f Reorganize Utils for easier testing 2014-03-10 12:00:48 -07:00
Andrew Stewart 56b66bded4 Add/improve specs for Connection class 2014-03-10 09:49:46 -07:00
Ron Evans 0f2ae42452 Merge pull request #132 from hybridgroup/cylon-specs
Refactors and better specs for Cylon class
2014-03-10 08:10:05 -07:00
Andrew Stewart cbbaa10c52 Add specs for Cylon#stop 2014-03-09 19:18:45 -07:00
Andrew Stewart a112a5bedc Add specs for Cylon#start 2014-03-09 19:17:40 -07:00
Andrew Stewart a1b230c62d Added specs for Cylon#findRobotConnection 2014-03-09 19:06:06 -07:00
Andrew Stewart 691547a97f Add specs for Cylon#findRobotDevice 2014-03-09 18:56:42 -07:00
Andrew Stewart 56768e1c86 Merge branch 'master' into cylon-specs
* master:
  Small changes to appease JSHint
  Prettyfy.
  Remove logging.
  Remove logging
  Refactoring cli commands to make them more friendly and pretty.
2014-03-07 23:34:36 -08:00
Andrew Stewart c0c4ce6958 Small changes to appease JSHint 2014-03-07 23:33:59 -08:00