Aminda Suomalainen
f9a7bb8c03
prettier: enable prose wrapping
...
Squashed commit of the following:
commit 0af76a8670
Author: Aminda Suomalainen <suomalainen@aminda.eu >
Date: Tue Oct 8 16:30:17 2024 +0300
mx-tester.yml: run prettier to fix warning
commit 0eb6901797
Author: Aminda Suomalainen <suomalainen@aminda.eu >
Date: Tue Oct 8 16:29:05 2024 +0300
*.md: run prettier
commit d18ebd52fe
Author: Aminda Suomalainen <suomalainen@aminda.eu >
Date: Tue Oct 8 16:25:27 2024 +0300
.prettierrc.yaml: add proseWrap: always
2024-10-08 16:43:52 +03:00
Gnuxie
337a6a3b76
Add reuse.software ( #486 )
...
We have a lot of verbose headers, and i think now is the best opportunity we have to become reuse compliant given that we just did two other similar maintenance changes (prettier, typescirpt5 & eslint9 & typescript-eslint).
* synapse_antispam resuse headers.
* delete old unused tslint.json.
* Add REUSE to pre-commit config.
* reuse info for config directory.
2024-07-25 10:58:40 +01:00
gnuxie
7d4009cf1a
Update documentation links for new base url.
...
Context is that we had `docs` as part of the base URL, fixed in https://github.com/the-draupnir-project/draupnir-documentation/pull/13 .
2024-05-24 15:40:16 +01:00
Catalan Lover
34a6a53af8
Documentation Website Move ( #387 )
...
* Documentation Website Move
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-05-04 17:10:30 +01:00
Catalan Lover
bc0f0ea6f3
Change self references from Gnuxie/Draupnir to the-draupnir-project/Draupnir ( #208 )
2024-01-15 23:39:57 +00:00
gnuxie
74312e43f6
Update to node 18.
...
End of life was moved forwards by 7 months so we don't have a choice.
https://nodejs.org/en/blog/announcements/nodejs16-eol .
2023-05-10 19:57:17 +01:00
gnuxie
4f1781e31b
Rename the bot from Mjolnir to Draupnir in the documentation
...
Following through with this everywhere will take a lot of time.
2023-02-08 15:04:42 +00:00
Gnuxie
333c55e18c
Config fixes ( #432 )
...
* Use the npm package `config` to load the config.
This is what was used prior to https://github.com/matrix-org/mjolnir/pull/347 .
It was a nice idea motivated to drop a dependency that was confusing.
It was just never followed through and was underestimated how much disruption it would cause.
It was also believed that the library would mean there could only ever be one global copy of the config,
It was followed up by:
https://github.com/matrix-org/mjolnir/pull/369
https://github.com/matrix-org/mjolnir/pull/357
https://github.com/matrix-org/mjolnir/pull/429
https://github.com/matrix-org/mjolnir/pull/397/files
https://github.com/matrix-org/mjolnir/issues/365
For simplicity sake I am reinstating the library.
The practice of loading default.yaml by default is also dangerous
and has led to issues multiple times in #mjolnir:matrix.org.
It is a sample and not a default.
In a following commit I will be adding the ability to specify the
config to use from the cli.
* Allow config to be specified with an explicit cli argument.
* Update doc to transition away from old config handling
2022-11-23 10:55:22 +00:00
Gnuxie
85cb0f0215
Update selfbuld docs to no longer require on old behaviour. ( #429 )
...
The package we used to load config in the past, `node-config`, would
default to `development`.
f54b419900/lib/config.js (L561)
https://github.com/matrix-org/mjolnir/pull/347
2022-11-22 10:38:04 +00:00
Gnuxie
84ffb36494
Bump minimum node version to 16. ( #316 )
...
* Bump minimum node version to 16.
We already made the mistake of using features from 16 without realising
Previously: https://github.com/matrix-org/mjolnir/pull/192
* Make sure CI uses specific version of node and we also lint.
https://github.com/matrix-org/pipelines/blob/master/mjolnir/pipeline.yml#L13
2022-07-06 14:50:33 +01:00
Jonathan de Jong
bf7f1318af
Improve documentation ( #277 )
...
* improve documentation
* incorperate documentation of configuration into sample file
2022-05-20 12:19:26 +01:00