Andrew Stewart
55f9445149
Remove #proxyTestStubs in favor of inline solution
2014-08-13 15:04:25 -07:00
Andrew Stewart
b312f6bb6b
Correctly proxy functions from driver to device
2014-08-12 18:33:20 -07:00
Andrew Stewart
d4e34c6f54
Test API routes to ensure they can resolve
2014-08-12 13:15:47 -07:00
Andrew Stewart
ffc27f9942
Add ability to pass proxy
2014-08-12 10:07:17 -07:00
Andrew Stewart
df60282042
Simplify test
2014-08-11 15:55:47 -07:00
Andrew Stewart
6e9ceee6cf
Fixes to driver commands
2014-08-11 15:30:01 -07:00
Andrew Stewart
1f0b214c97
Add Driver#setupCommands method
2014-08-11 14:11:06 -07:00
Ron Evans
bde6132377
Merge pull request #221 from hybridgroup/add/commands
...
Add New Command Structure
2014-08-10 15:47:36 -07:00
Andrew Stewart
bad414be39
Correctly avoid labelling 'work' as a command
2014-08-07 14:00:30 -07:00
Andrew Stewart
7a481f6767
Correctly execute device commands
2014-08-07 13:56:06 -07:00
Andrew Stewart
e6c567a090
Add new command structure
2014-08-07 12:24:29 -07:00
Andrew Stewart
ac737e51ba
Merge branch 'dev'
...
* dev:
Bump version to "0.17.0"
Update and lock Robeaux version
Add basic error handling
Simplify coercion of Robot to JSON
Correctly respond w/ 404 error
Add 'details' subsection to Device/Connection
Emit 'ping' when Ping is told to #ping
Add MCP commands route, fix /robots route
Only look for command params in POST bodies
WIP on Threepio changes
Namespace API routes under '/api'
WIP on commands + JSON serialization
Fix typo
Refer to device connections by name in JSON format
Remove connection_id from Connection class
Defer to Utils#fetch for getting ENV state
Slightly clean up Connection
Clean up robot initialization
Require a connection if a robot has any devices
Misc. small refactors
2014-08-04 13:50:44 -07:00
Andrew Stewart
0400f4d1e6
Bump version to "0.17.0"
2014-08-04 13:17:35 -07:00
Andrew Stewart
4cd4f2d85d
Update and lock Robeaux version
2014-08-04 13:09:39 -07:00
Andrew Stewart
50f3ece923
Add basic error handling
2014-08-01 13:04:39 -07:00
Ron Evans
6bbf903644
Merge pull request #215 from hybridgroup/402-fix-hello-example
...
fix hello example
2014-08-01 16:51:49 +02:00
=
8fbea0b226
get rid of api line
2014-07-31 18:49:26 -05:00
Rafael Magana
833bec5f00
fix hello example
2014-07-31 18:45:18 -05:00
Andrew Stewart
40a1c0570f
Merge remote-tracking branch 'origin/master' into dev
...
* origin/master:
Added arduino YUN to the list of supported hardware.
Add freenode confirmation file
Correct link to Cylon CLI repo
Update readme to include correct link to Gort
Update readme to include all current platforms
2014-07-30 09:17:19 -07:00
Andrew Stewart
026d3777e6
Simplify coercion of Robot to JSON
2014-07-29 18:49:35 -07:00
Andrew Stewart
d0c29822ff
Correctly respond w/ 404 error
2014-07-28 10:01:16 -07:00
Andrew Stewart
029aca2e9e
Add 'details' subsection to Device/Connection
2014-07-25 16:11:45 -07:00
edgarsilva
25e144b843
Added arduino YUN to the list of supported hardware.
2014-07-25 11:32:35 -05:00
deadprogram
eb7b21c71c
Add freenode confirmation file
2014-07-19 12:36:59 -07:00
deadprogram
bbebf668b9
Correct link to Cylon CLI repo
2014-07-19 05:32:20 -07:00
deadprogram
cb1ff9cdf9
Update readme to include correct link to Gort
2014-07-19 05:31:30 -07:00
deadprogram
57f2a96969
Update readme to include all current platforms
2014-07-19 05:27:25 -07:00
Ron Evans
8762820d0c
Merge pull request #213 from hybridgroup/refactor/threepio
...
Threepio Support
2014-07-19 01:08:19 +02:00
Andrew Stewart
715d9c89af
Emit 'ping' when Ping is told to #ping
...
sorry
2014-07-18 14:44:50 -07:00
Andrew Stewart
f5734b137e
Add MCP commands route, fix /robots route
2014-07-17 12:08:17 -07:00
Andrew Stewart
c97514689b
Only look for command params in POST bodies
2014-07-17 12:07:49 -07:00
Andrew Stewart
6b1d6e2653
WIP on Threepio changes
2014-07-15 12:45:32 -07:00
Andrew Stewart
4f66bdeb51
Namespace API routes under '/api'
2014-07-15 12:33:04 -07:00
Andrew Stewart
7394eefde2
WIP on commands + JSON serialization
2014-07-15 12:27:16 -07:00
Andrew Stewart
d7987f959e
Fix typo
2014-07-15 11:54:16 -07:00
Andrew Stewart
ace5f15a36
Refer to device connections by name in JSON format
2014-07-15 11:49:29 -07:00
Andrew Stewart
b4a68d1a37
Remove connection_id from Connection class
2014-07-15 11:43:43 -07:00
Adrian Zankich
0184efb4cd
Merge pull request #211 from hybridgroup/fix/require-connection
...
Require a connection if a robot has any devices
2014-07-14 07:57:20 -10:00
Andrew Stewart
c4d03428e8
Defer to Utils#fetch for getting ENV state
2014-07-12 11:00:34 -07:00
Andrew Stewart
ba295e9642
Slightly clean up Connection
2014-07-12 11:00:22 -07:00
Andrew Stewart
1c8e84cfb2
Clean up robot initialization
2014-07-12 10:48:57 -07:00
Andrew Stewart
4dd7e013ed
Require a connection if a robot has any devices
2014-07-11 10:46:22 -07:00
Andrew Stewart
ee366739d3
Misc. small refactors
2014-07-10 09:51:23 -07:00
Andrew Stewart
f1ba43d919
Bump version to "0.16.0"
2014-07-08 12:05:01 -07:00
Andrew Stewart
857a34dc41
Prefer {before,after}Each
2014-07-04 09:49:29 -07:00
Andrew Stewart
070c4a4fb9
Fix test preparation
2014-07-03 11:54:18 -07:00
Andrew Stewart
ca2bf7e5a9
Merge branch 'dev' into servo-level-up
...
* dev:
Remove `self` references in favor of #bind
Stop using #fetch here for now, it just breaks tests
Just use arguments directly instead of array
Remove Utils#bind in preference of built-in fn
Consolidate logstring generation into private fn
Experiment with Utils.fetch in Driver class
Add #fetch Utility function
Fix JSHint errors
Fix an edge case and improve tests for API
2014-07-03 11:52:02 -07:00
Andrew Stewart
8ba5bb0e6a
Working tests for Adaptor#_noop
2014-07-03 11:51:51 -07:00
Edgar Silva
1eabab6ec9
WIP: Change noop to use anonymous function and added tests.
2014-07-03 13:42:43 -05:00
Andrew Stewart
f0d8b0360b
Remove `self` references in favor of #bind
2014-07-03 09:35:24 -07:00