-
Notifications
You must be signed in to change notification settings - Fork 14
feat: Run blocking plans via websockets #1413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
tpoliaw
wants to merge
25
commits into
main
Choose a base branch
from
ws
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
0a43268
wip
abbiemery efa0071
client wip
abbiemery 358dbd6
use normal iter
abbiemery 6da7a91
close ws
abbiemery 9d38722
add some trys
abbiemery fc6a689
unpipe
abbiemery b9885fa
Move websocket handling into BlueapiRestClient
tpoliaw 0d7324c
Send all events through websocket
tpoliaw ef707db
Split pipe subscribe handles
tpoliaw a2d389f
Re-use run subcommand for websockets
tpoliaw b762680
Raise for connection closing pre plan completed
abbiemery ef3caf2
Remove run blocking from cli
abbiemery 8a8bd48
Catch plan key error in run_plan
abbiemery 17e77c6
Refactor event pipe handling into context manager and iterable
tpoliaw c90138e
Testing auth tokens
tpoliaw a52cae3
Re-use existing auth dependency for websocket endpoint
tpoliaw 68cccf0
Add user auth token in websocket client
tpoliaw 72028e0
Read authorization from cookie as well as header
tpoliaw adb9309
Add user agent to websocket request
tpoliaw 6d3d6ca
Add user agent to all requests
tpoliaw 90a2338
Use new fedid dependency for user name
tpoliaw 4fa4657
Test auth from cookie
tpoliaw e183c87
Fix CLI event handler test
tpoliaw 411e244
Reinstate _valid_return check
tpoliaw e843817
Use versioned api for websockets
tpoliaw File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.