Commit graph

15 commits

Author SHA1 Message Date
Jochen Kupperschmidt
139ec1670c Use aiohttp.web.json_response()
Avoids explicit setting of JSON content type, handles serialization to
JSON.
2020-12-27 14:43:01 +01:00
Jochen Kupperschmidt
54baf29d51 Extract function to send message
Merges duplicated code.
2020-12-27 14:42:58 +01:00
Jochen Kupperschmidt
cf054631e8 Extract room ID into variable 2020-12-27 14:07:04 +01:00
Guilhem Saurel
6c138a65b4 try another login on connection lost 2020-07-28 21:56:05 +02:00
Guilhem Saurel
887dc95e3d handle ill-formed JSON 2020-06-08 09:59:51 +02:00
Guilhem Saurel
ce83079d59 markdown: extra
https://python-markdown.github.io/extensions/extra/

To get <pre> tags on fenced code
2020-04-20 19:18:57 +02:00
Guilhem Saurel
4b1acd874a markdown
ref https://matrix.org/docs/spec/client_server/r0.6.0#m-room-message-msgtypes
2020-03-14 17:26:57 +01:00
Guilhem Saurel
fc30487ead HTTPStatuses 2020-03-11 10:08:13 +01:00
Guilhem Saurel
a14b0c9574 details 2020-03-11 10:06:53 +01:00
Guilhem Saurel
02e5a9dfc7 pre-commit 2020-03-08 22:15:48 +01:00
Guilhem Saurel
cc03611bcb cleaner aiohttp use
Thanks a lot @djanos !
2020-03-08 15:58:29 +01:00
Guilhem Saurel
2c97fa3d3f matrix-client → matrix-nio 2020-02-16 13:56:29 +01:00
Guilhem Saurel
a6fad80ca7 http.server → aiohttp.web 2020-02-14 19:18:51 +01:00
Guilhem Saurel
1b31e7bba9 update readme, doc, and status / return codes 2019-03-06 16:47:35 +01:00
Guilhem Saurel
bffc7002c1 rename {main -> matrix_webhook}.py 2019-02-17 12:15:27 +01:00
Renamed from main.py (Browse further)