Thomas Kohler
c159228f48
gobot: rename Master to Manager ( #1070 )
2024-02-13 16:30:25 +01:00
Thomas Kohler
27d0b2164c
doc: update links to release or tagged branch ( #1069 )
2024-02-13 15:58:31 +01:00
Thomas Kohler
7f78edefcd
lint(all): fix issues of errorlint etc ( #1037 )
2023-11-15 20:51:52 +01:00
Thomas Kohler
aee81436c9
lint(all): switch to 1.55.2 and adjust linter issues ( #1036 )
2023-11-12 14:17:02 +01:00
Thomas Kohler
a4a8d1079c
build(style): switch to gofumpt and add linters ( #1009 )
2023-10-20 20:50:42 +02:00
Thomas Kohler
3039b2c7cb
test(all): switch to test package stretchr testify ( #1006 )
2023-10-20 10:27:09 +02:00
Thomas Kohler
f5d8d5c601
all(style) : fix linter issues for errcheck, ineffassign, unused and fix errors ( #950 )
2023-06-12 19:51:25 +02:00
dlstjq7685
8b20c453e0
all: substitute deprecated ioutil methods ( #923 )
2023-06-10 19:25:01 +02:00
Thomas Kohler
865e724af0
Build(v2): revert move to v2 subfolder ( #932 )
...
* revert move to v2 subfolder
* fix CI and adjust CHANGELOG
2023-05-29 19:23:28 +02:00
Thomas Kohler
d908619462
Build(v2): fix usage by moving code to a v2 subfolder ( #927 )
2023-05-22 19:35:36 +02:00
Thomas Kohler
949392d8a7
Fix(core): Semantic Import Versioning for v2 ( #921 )
2023-05-20 14:25:21 +02:00
Thomas Kohler
fcdf286f1d
Fix(build): linter findings of "gosimple", "govet" and "staticcheck" ( #917 )
...
Fix also encoder and dps overflow in gopigo3 "GetMotorStatus()". Problem found by "staticcheck".
2023-05-19 14:16:22 +02:00
Kamil Sputo
2a5571a533
Fix a link in package docs' example code.
2019-10-15 10:47:53 +02:00
Ron Evans
4eb7b17e5a
api: settled on StartWithoutDefaults() as the method to start API without default routes
...
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-17 10:32:06 +02:00
Ron Evans
6eec38c652
api: further improvement of the modular API changes
...
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-16 11:22:22 +02:00
Ron Evans
2c8f9e8641
api: modify Start() for more modular initialization, and add StartRaw() for completely custom API implementations
...
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-08-15 23:17:57 +02:00
ashvin
927aee595b
fixed typo
2017-09-23 14:16:19 +05:30
deadprogram
45b52aa9c9
api: further work to avoid test races
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-03 12:32:06 +02:00
deadprogram
971af75bbe
api: increase test delay to allow for test execution delay
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-03 11:12:20 +02:00
deadprogram
f82bf2b186
api: gofmt and update Robeaux
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 21:25:10 +02:00
deadprogram
81aa805914
api: update robeaux to v0.5.1
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 20:12:08 +02:00
Marc-Antoine Ruel
88addd428f
Add crude travis check for gofmt; format all sources
...
The check ensures no gofmt regression occurs. Formatting the code makes everyone happy.
2017-03-27 14:10:37 -04:00
deadprogram
f8accc0174
test: increase timeout for api test to 20ms
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-26 19:30:43 +01:00
deadprogram
953c3254e7
core: use canonical import domain of gobot.io for all code
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-08 13:24:03 +01:00
deadprogram
08874e4e21
core: no longer return slices of errors, instead use multierror
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-11-07 21:29:51 +01:00
deadprogram
458c750f33
core: refactor/rename internal name of Master type
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-15 20:02:54 +02:00
deadprogram
56558cd9cb
core: Starting refactor of new adaptor/new driver function signatures with ARDrone
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-09-25 11:46:55 +02:00
deadprogram
c64a0d9481
core: Refactoring to allow 'metal' development using Gobot adaptors/drivers.
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-09-12 21:33:14 +02:00
Ron Evans
913e9371a7
Merge pull request #290 from dgryski/gosimple
...
Code cleanups suggested by gosimple
2016-07-15 09:03:02 -06:00
Damian Gryski
a8ea32ce56
Fix misspellings
2016-07-13 10:44:47 -06:00
Damian Gryski
977c878a8b
Code cleanups suggested by gosimple
2016-07-13 09:32:22 -06:00
gmarik
e494b9fb99
Refactor to use `gobottest` test helpers
2016-02-22 00:33:58 -05:00
deadprogram
b61d713a0d
Need to explicitly set content type to text/html for Robeaux main page
2016-02-17 16:19:11 -08:00
deadprogram
5f25282eb1
Correct test for new Robeaux endpoints
2015-10-26 09:13:42 -07:00
deadprogram
ef0652a011
Update Makefile and Robeaux itself to version 0.5.0
2015-10-26 09:09:28 -07:00
Rafael Magana
1f09fb021b
Add SSE test coverage
...
Add a Stream type that handle the request to /events/:event and write tests for event stream
Add a test for the events/:event endpoint that actually tests the endpoint response
Using <-time.After in a 'select' creates one channel every time, let's use a time.Timer instead so that we reuse the same channel
2015-04-07 16:04:40 -07:00
Rafael Magana
e31c205749
increase test coverage for api/api.go
2015-03-16 09:53:05 -06:00
Adrian Zankich
ebc0d5e479
go lint and documentation tweaks for the api package
2014-12-31 06:21:58 -08:00
Adrian Zankich
24fd35fbd6
update robeaux to 5d46e912ee
2014-12-24 12:27:57 -08:00
Adrian Zankich
52e3ffc735
Rename test helpers so they don't impact coverage
2014-12-18 14:07:48 -08:00
Adrian Zankich
5dd554dbc6
Add more error handling for unknown robots, devices and connections
2014-12-07 08:54:50 -08:00
Adrian Zankich
be963f989c
Increase gobot package test coverage
2014-11-30 00:19:53 -08:00
Adrian Zankich
59aee80c91
Remove ToJSON methods and create JSON constructors
2014-11-21 11:57:26 -08:00
Adrian Zankich
04ea7b057e
stop request on 401
2014-10-29 13:19:12 -07:00
Adrian Zankich
fd24e6a9fe
Update docs
2014-10-28 14:52:59 -07:00
Javier Cervantes
ad96293edb
Adds godoc to api package
2014-10-22 10:04:28 -05:00
Adrian Zankich
7073f7f0b6
Green tests
2014-09-25 18:29:10 -07:00
Adrian Zankich
5c9d44f391
Decouple middleware data from api struct
2014-09-25 18:29:10 -07:00
Rafael Magana
f6023442e9
Implement Allow-Methods and Allow-Headers, refactor isOriginAllowed
2014-09-18 11:48:37 -05:00
Rafael Magana
3f537796eb
Handle allowed CORS requests origins
2014-09-17 18:20:18 -05:00