Aminda Suomalainen
e4c02b96cd
Add pre-commit configuration ( #34 )
...
* add .pre-commit-config.yaml
Signed-off-by: Aminda Suomalainen <suomalainen+git@mikaela.info >
* .editorconfig: decrease indent size for text
* .pre-commit-config.yaml: remove prettier
Signed-off-by: Aminda Suomalainen <suomalainen+git@mikaela.info >
* .editorconfig consistency.
* .pre-commit-config.yaml: restore sample hooks
* .editorconfig: disable indent_size for LICENSE & NOTICE
* pre-commit run --all-files
* tsconfig.json: tabs to spaces
* .pre-commit-config.yaml: update editorconfig-checker to 2.7.2
* .editorconfig: disable indent_size for markdown
* mjolnir-entrypoint.sh: retab
* .editorconfig: also exclude json from indent checking
* test/nginx.conf: retab
* test/integration/commands/redactCommandTest.ts: remove leading space
* retab or remove leading whitespaces for the rest of the files
* src/appservice/datastore.ts remove newlines
* test/integration/commands/roomTest.ts: remove leading space.
---------
Signed-off-by: Aminda Suomalainen <suomalainen+git@mikaela.info >
Co-authored-by: gnuxie <Gnuxie@protonmail.com >
2023-08-29 13:38:00 +01:00
Jess Porter
4376679b99
load config yaml manually, remove more references to static config ( #347 )
2022-08-16 15:51:18 +01:00
Gnuxie
e52b59df6e
Fix bad teardowns that hang in tests. ( #202 )
...
* Fix bad teardowns and hanging test.
2022-01-28 11:03:20 +00:00
gnuxie
f481ec84d3
Make sure we stop clients after they have started, not before.
...
Yeah it's a long story.
2022-01-26 16:25:43 +00:00
David Teller
c7a96a3afe
Retry requests in case of throttling ( #178 )
...
* Retry requests in case of throttling
Co-authored-by: gnuxie <gnuxie@element.io >
2022-01-25 12:19:44 +00:00
gnuxie
7ee3ce1dd2
rename onReactionTo to getFirstReaction
2022-01-21 12:13:04 +00:00
Jess Porter
941d10b015
never mutate config.managementRoom in-place ( #184 )
2022-01-17 16:24:12 +00:00
David Teller
c48a1e8ffc
Let's make sure that we can still check for errors with concise error handling
2022-01-07 14:06:10 +01:00
gnuxie
c52084c58a
Stop managing client from utils and require the caller to (tests)
...
Specifically `onReactionTo` was starting and stopping the client
argument it was given, which could be problematic if the caller
didn't expect that or didn't want it to.
2021-10-20 11:44:25 +01:00
gnuxie
6c1a502f34
Integration tests for redaction commands.
...
This is important now that both timeline pagination and
how the callbacks are now awaited during pagination
have been changed.
2021-10-20 11:00:44 +01:00