Add actions for integration manager to send and read certain events (#9740)

* Add send_event action

* Add read_events action

* Add e2e tests for send_event

* Allow more event types to be read

* Fix error message

* Add e2e tests for read_events

* Run i18n

* Improve error messages

* Fix types

* Remove unused test helpers

* Fix more type errors

* Run prettier

* Fix more type errors

* Fix validation

Since typeof null is "object"

Co-authored-by: Travis Ralston <travisr@matrix.org>
This commit is contained in:
Justin Carlson 2022-12-20 16:13:37 -05:00 committed by GitHub
parent d6e447b934
commit 6585fb1f55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 711 additions and 3 deletions

View file

@ -390,6 +390,8 @@
"Power level must be positive integer.": "Power level must be positive integer.",
"You are not in this room.": "You are not in this room.",
"You do not have permission to do that in this room.": "You do not have permission to do that in this room.",
"Failed to send event": "Failed to send event",
"Failed to read events": "Failed to read events",
"Missing room_id in request": "Missing room_id in request",
"Room %(roomId)s not visible": "Room %(roomId)s not visible",
"Missing user_id in request": "Missing user_id in request",