dendrite/appservice
S7evinK 5a39512f5f
Add account type (#2171)
* Add account_type for sqlite3

* Add account_type for postgres

* Remove CreateGuestAccount from interface

* Add new AccountTypes & update test

* Use newly added AccountType for account creation

* Add migrations

* Reuse type

* Add AccounnType to Device, so it can be verified on requests

* Rename migration, add missing update for appservices

* Rename sqlite3 migration

* Add missing AccountType to return value

* Update sqlite migration
Change allowance check on /admin/whois

* Fix migration, add IS NULL

* Move accountType to completeRegistration

* Fix migrations

* Add passing test
2022-02-16 18:55:38 +01:00
..
api Fix #1655 by re-adding the appservice alias query (#1660) 2020-12-18 13:33:28 +00:00
consumers Use pull consumers (#2140) 2022-02-02 13:32:48 +00:00
inthttp Rehuffle where things are in the internal package (#1122) 2020-06-12 14:55:57 +01:00
query Fix ineffectual error assignment (#1976) 2021-08-16 14:19:35 +01:00
storage Add NATS JetStream support (#1866) 2022-01-05 17:44:49 +00:00
types Top-level setup package (#1605) 2020-12-02 17:41:00 +00:00
workers Use default transport for AS traffic (#1789) 2021-03-05 16:40:32 +00:00
appservice.go Add account type (#2171) 2022-02-16 18:55:38 +01:00
README.md use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00

Application Service

This component interfaces with external Application Services. This includes any HTTP endpoints that application services call, as well as talking to any HTTP endpoints that application services provide themselves.

Consumers

This component consumes and filters events from the Roomserver Kafka stream, passing on any necessary events to subscribing application services.