-
-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: implement device access and new security spec (#620)
* feature: provide a way for devices to obtain a security token and new user to sign up * feature: add ability for ws clients that handle put to respond * feature: add support for put via Web Sockets * fix: remove href as it's handled by requestResponse code * fix: prune old requst data * fix: don't send context in request reponses * fix: ensure result 202 on PENDING put reponses * tests: add put tests * test: complete WS put tests * docs: update plugin documentation about Put requests * refactor: rename plugin api registerActionHandler to registerPutHandler registerActionHandler remains for backwards compatability * fix: revert testing settings for pruning requests * fix: make put test stop the server when done * refactor: rename `result` to `statusCode` * feature: add `authenticationRequired` to ws hello and `/signalk` * fix: exception when throwing InvalidTokenError * tests: reflect rename to `statusCode` * docs: rename `result` to `statusCode` * fix: exception when configuration is not allowed * fix: exception if incoming request does not have a query * refactor: remove authenticationRequired since it did not make it into the spec
- Loading branch information
Showing
25 changed files
with
2,455 additions
and
580 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.