-
Notifications
You must be signed in to change notification settings - Fork 508
feat(bots): 🐣 Start with implementing bots #9458
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
9824421
feat(webhooks): Start with implementing webhooks for chat messages
nickvergessen 777ca96
feat(Message): Allow parsing messages without a current participant
nickvergessen 0c27e15
feat(bots): Allow to read system messages as well
nickvergessen 7a20604
fix(bots): Set the OCS APIRequest header so Nextclouds can be the Bot…
nickvergessen 495e09b
fix(bots): Set timeout to 5s (we wait async if necessary)
nickvergessen ae1fe40
feat(bots): Add commands and events to install bots
nickvergessen 0eebe05
fix(bots): Use the fixed CLI url
nickvergessen 4ee530a
feat(bots): Add API to list, enable and disable bots in a conversation
nickvergessen cf07a1b
ci(psalm): Fix psalm issues and baseline
nickvergessen d901dbd
docs: Add occ docs for bot commands
nickvergessen cc19b71
fix(bots): Update name, description and state when reinstalling only
nickvergessen 9de7d42
fix(bots): Return Bot data when enabling/disabling
nickvergessen bfd0404
tests(integration): Add integration tests for the call summary bot
nickvergessen dd2b3ac
fix: Fix code quality based on review
nickvergessen 8997f3e
fix: Typo in row attribute names
nickvergessen 221e889
fix(chat): Fix actor detection when type and id are provided
nickvergessen 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
fix: Fix code quality based on review
Signed-off-by: Joas Schilling <[email protected]>
- Loading branch information
commit dd2b3ac4c09d314f66072cae2753a7ea9819d829
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -95,7 +95,7 @@ public function afterChatMessageSent(ChatParticipantEvent $event, MessageParser | |
| 'type' => 'Note', | ||
| 'id' => $event->getComment()->getId(), | ||
| 'name' => 'message', | ||
| 'content' => json_encode($messageData), | ||
| 'content' => json_encode($messageData, JSON_THROW_ON_ERROR), | ||
| 'mediaType' => 'text/markdown', // FIXME or text/plain when markdown is disabled | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just a reminder. I don't know if it should be fixed now or later
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah it's for the future, in 27.1 we only support "everything is markdown" |
||
| ], | ||
| 'target' => [ | ||
|
|
||
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
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.