Guilhem Saurel
c07d4bfa8d
add tests for grafana formatter
2021-08-01 13:20:03 +02:00
Guilhem Saurel
2d232fe1f7
add grafana formatter
...
This was initially designed and implemented in #4
Co-authored-by: Sven Seeberg <mail@sven-seeberg.de>
2021-08-01 13:19:58 +02:00
Guilhem Saurel
3bebc88ee2
allow direct formatted_body
...
This was initially designed and implemented in #6
Co-authored-by: Gerhard Bräunlich <gerhard.braeunlich@id.ethz.ch>
2021-08-01 13:19:53 +02:00
Guilhem Saurel
fa8f9b4a51
allow "key" to be passed as a parameter
...
This was initially designed and implemented in #4
Co-authored-by: Sven Seeberg <mail@sven-seeberg.de>
2021-08-01 13:19:39 +02:00
Guilhem Saurel
292d77274d
update "text" key to "body"
2021-07-31 11:21:29 +02:00
Guilhem Saurel
8b32c972b8
typo
2021-07-18 23:08:40 +02:00
Guilhem Saurel
c86145f794
v3.1.1
2021-07-18 22:59:49 +02:00
Guilhem Saurel
a6b192fbd7
v3.1.0
2021-07-18 22:57:09 +02:00
Guilhem Saurel
59e98b99a7
Merge pull request #10 from nim65s/devel
...
Publish on PyPI & Docker Hub with Github Actions
2021-07-18 22:55:19 +02:00
Guilhem Saurel
71c9c6cb0e
changelog
2021-07-18 22:53:29 +02:00
Guilhem Saurel
932965c8af
setup action to build/publish on PyPI
2021-07-18 22:51:41 +02:00
Guilhem Saurel
dcc73dfc81
setup action to build/publish on docker hub
2021-07-18 19:55:15 +02:00
Guilhem Saurel
fbcae98390
add metadata on PyPI through pyproject.toml
2021-07-18 19:31:46 +02:00
Guilhem Saurel
8a3bbef54c
v3.0.0
2021-07-18 19:01:21 +02:00
Guilhem Saurel
6943432367
Merge pull request #9 from nim65s/devel
...
setup packaging
2021-07-18 18:43:29 +02:00
Guilhem Saurel
febf2f857c
add changelog
2021-07-18 18:41:20 +02:00
Guilhem Saurel
c9045d407d
update README
2021-07-18 18:12:08 +02:00
Guilhem Saurel
922ebf5c78
poetry update
2021-07-18 16:56:59 +02:00
Guilhem Saurel
00997360eb
fix permissions
2021-07-18 16:55:54 +02:00
Guilhem Saurel
bc646b9f4a
update year
2021-07-18 16:55:23 +02:00
Guilhem Saurel
a974f073c9
split code
2021-07-18 16:55:16 +02:00
Guilhem Saurel
0c0a42a4c9
improve error management and tests
2021-07-14 23:25:59 +02:00
Guilhem Saurel
a0a78bbad0
improve logging
2021-07-14 23:25:59 +02:00
Guilhem Saurel
570e86941b
Merge pull request #8 from nim65s/devel
...
setup argparse & logging
2021-07-14 17:50:58 +02:00
Guilhem Saurel
2c8c618fe0
setup argparse & logging
2021-07-14 17:12:55 +02:00
Guilhem Saurel
044876daf6
fix badges
2021-07-13 12:28:01 +02:00
Guilhem Saurel
d952590d94
Merge pull request #7 from nim65s/devel
...
Setup Tests, Coverage & CI ; update tooling.
2021-07-13 11:56:28 +02:00
Guilhem Saurel
2bda1d5968
badges
2021-07-13 11:54:24 +02:00
Guilhem Saurel
e2d85eaa21
details
2021-07-13 11:43:01 +02:00
Guilhem Saurel
19ef1f4e93
black
2021-07-13 11:41:56 +02:00
Guilhem Saurel
91b23cd166
poetry
2021-07-13 11:41:56 +02:00
Guilhem Saurel
32208294ea
update pre-commit
2021-07-13 11:41:51 +02:00
Guilhem Saurel
c5b7ea19ce
CI: add lints
2021-07-13 11:41:17 +02:00
Guilhem Saurel
562b29c8a2
tests: generate homeserver on build
2021-07-13 11:41:16 +02:00
Guilhem Saurel
6633020fba
clean tests
2021-07-13 11:41:16 +02:00
Guilhem Saurel
2d8c68665e
details
2021-07-13 11:41:16 +02:00
Guilhem Saurel
6a2e0336d9
clean tests
2021-07-13 11:41:16 +02:00
Guilhem Saurel
999b824874
setup coverage
2021-07-13 11:41:16 +02:00
Guilhem Saurel
abe6497421
setup tests
2021-07-13 11:41:05 +02:00
Guilhem Saurel
fb17a87016
typo
2021-05-30 22:14:42 +02:00
Guilhem Saurel
d3d5ea7df2
Merge pull request #5 from nim65s/topic/pr/4
...
update aiohttp use and docs
2021-05-30 22:12:57 +02:00
Guilhem Saurel
2499832e1c
use aiohttp.web.BaseRequest.path instead of rel_url
...
Co-authored-by: Sven Seeberg <mail@sven-seeberg.de>
2021-05-30 16:50:01 +02:00
Guilhem Saurel
98cd9362aa
Add HOST to PORT configuration, and document both
...
Co-authored-by: Sven Seeberg <mail@sven-seeberg.de>
2021-05-30 16:42:25 +02:00
Guilhem Saurel
4506632c6f
python 3.9
2021-04-12 21:05:20 +02:00
Guilhem Saurel
aad02887f1
Merge pull request #1 from homeworkprod-forks/main
...
Simplify code
2021-01-03 16:40:25 +01:00
Jochen Kupperschmidt
00f47f99a9
Unify use of single quotes for non-docstring string literals
2020-12-27 14:57:14 +01:00
Jochen Kupperschmidt
78b9533e2b
Exit early after each request check
...
Keeps the "happy path" on the function's base indentation level.
Avoids carrying status and return value variables, pre-filled in
anticipation of an error, along.
2020-12-27 14:52:07 +01:00
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