Commit Graph

10 Commits

Author SHA1 Message Date
Dirk Klimpel
2281427175
Use literals in place of HTTPStatus constants in tests ()
* Use literals in place of `HTTPStatus` constants in tests

* newsfile

* code style

* code style
2022-08-10 11:01:12 -07:00
Dirk Klimpel
1595052b26
Use literals in place of HTTPStatus constants in tests ()
Replace
- `HTTPStatus.NOT_FOUND`
- `HTTPStatus.FORBIDDEN`
- `HTTPStatus.UNAUTHORIZED`
- `HTTPStatus.CONFLICT`
- `HTTPStatus.CREATED`

Signed-off-by: Dirk Klimpel <dirk@klimpel.org>
2022-08-09 14:56:43 +01:00
Dirk Klimpel
c97042f7ee
Use literals in place of HTTPStatus constants in tests () 2022-08-08 13:21:27 -07:00
Richard van der Hoff
e24ff8ebe3
Remove HomeServer.get_datastore() ()
The presence of this method was confusing, and mostly present for backwards
compatibility. Let's get rid of it.

Part of 
2022-02-23 11:04:02 +00:00
Dirk Klimpel
6a72c910f1
Add admin API to get a list of federated rooms () 2022-01-25 16:11:40 +00:00
Dirk Klimpel
0d6cfea9b8
Add admin API to reset connection timeouts for remote server ()
* Fix get federation status of destination if no error occured
2022-01-25 12:06:29 +00:00
Dirk Klimpel
3b51c763ba
Fix get federation status of destination if no error occured () 2022-01-05 14:46:50 -05:00
Dirk Klimpel
8428ef66c7
Add type hints to synapse/tests/rest/admin () 2021-12-16 14:59:56 -05:00
Dirk Klimpel
b3bcacf3c1
Add missing errcode to parse_string and parse_boolean () 2021-12-09 11:23:34 +00:00
Dirk Klimpel
8b4b153c9e
Add admin API to get some information about federation status () 2021-12-06 16:59:50 +00:00