mirror of
https://git.piraattipuolue.fi/Pikaviestimet/Pikaviestimet.git
synced 2025-02-16 14:10:49 +01:00
update pre-commit configuration
This commit is contained in:
parent
9ebd34eb61
commit
8f5a0843b1
2
.github/CODEOWNERS
vendored
2
.github/CODEOWNERS
vendored
@ -1,3 +1,3 @@
|
|||||||
# Aminda wants to know if anyone PRs here. GitHub prefers this file over
|
# Aminda wants to know if anyone PRs here. GitHub prefers this file over
|
||||||
# ../CODEOWNERS
|
# ../CODEOWNERS
|
||||||
* @Mikaela
|
* @Mikaela
|
||||||
|
@ -4,6 +4,12 @@ ci:
|
|||||||
# https://github.com/pre-commit-ci/issues/issues/83
|
# https://github.com/pre-commit-ci/issues/issues/83
|
||||||
autoupdate_schedule: quarterly
|
autoupdate_schedule: quarterly
|
||||||
|
|
||||||
|
default_language_version:
|
||||||
|
node: "lts"
|
||||||
|
# Remember .python-version !
|
||||||
|
python: "3.12"
|
||||||
|
ruby: ".ruby-version"
|
||||||
|
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/thlorenz/doctoc
|
- repo: https://github.com/thlorenz/doctoc
|
||||||
rev: v2.2.0
|
rev: v2.2.0
|
||||||
@ -12,27 +18,51 @@ repos:
|
|||||||
args: [--update-only, --notitle]
|
args: [--update-only, --notitle]
|
||||||
|
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.5.0
|
rev: v4.6.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-added-large-files
|
|
||||||
- id: check-case-conflict
|
|
||||||
- id: check-yaml
|
|
||||||
- id: check-executables-have-shebangs
|
|
||||||
- id: check-shebang-scripts-are-executable
|
|
||||||
- id: destroyed-symlinks
|
|
||||||
- id: detect-private-key
|
|
||||||
- id: end-of-file-fixer
|
|
||||||
- id: fix-byte-order-marker
|
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
args: ["--markdown-linebreak-ext", "md,markdown"]
|
args: ["--markdown-linebreak-ext", "md,markdown"]
|
||||||
exclude_types: [svg, tsv]
|
exclude_types: [svg, tsv]
|
||||||
|
#- id: end-of-file-fixer
|
||||||
|
- id: check-yaml
|
||||||
|
- id: check-added-large-files
|
||||||
|
- id: check-case-conflict
|
||||||
|
- id: check-executables-have-shebangs
|
||||||
|
- id: check-json
|
||||||
|
- id: check-merge-conflict
|
||||||
|
- id: check-shebang-scripts-are-executable
|
||||||
|
- id: check-toml
|
||||||
|
- id: check-xml
|
||||||
|
- id: destroyed-symlinks
|
||||||
|
- id: detect-private-key
|
||||||
|
- id: fix-byte-order-marker
|
||||||
- id: check-merge-conflict
|
- id: check-merge-conflict
|
||||||
- id: mixed-line-ending
|
- id: mixed-line-ending
|
||||||
|
args: [--fix=auto]
|
||||||
|
- id: pretty-format-json
|
||||||
|
args:
|
||||||
|
# Remember also: --no-sort-keys
|
||||||
|
# ASCII excludes the älphäbet amongst others
|
||||||
|
[
|
||||||
|
--autofix,
|
||||||
|
--indent,
|
||||||
|
"\t",
|
||||||
|
--no-ensure-ascii,
|
||||||
|
--top-keys,
|
||||||
|
"Name,name",
|
||||||
|
]
|
||||||
|
|
||||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
- repo: https://github.com/pre-commit-ci/pre-commit-ci-config
|
||||||
rev: "v4.0.0-alpha.8"
|
rev: v1.6.1
|
||||||
|
hooks:
|
||||||
|
- id: check-pre-commit-ci-config
|
||||||
|
|
||||||
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
- id: prettier
|
- id: prettier
|
||||||
|
name: prettier
|
||||||
|
entry: corepack pnpx prettier --cache --ignore-unknown --write
|
||||||
|
language: system
|
||||||
|
|
||||||
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
|
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
|
||||||
rev: "2.7.3"
|
rev: "2.7.3"
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
# Aminda wants to know if anyone PRs here. Note also .github/CODEOWNERS
|
# Aminda wants to know if anyone PRs here. Note also .github/CODEOWNERS
|
||||||
* @mikaela.suomalainen
|
* @mikaela.suomalainen
|
||||||
|
12
README.md
12
README.md
@ -7,16 +7,16 @@
|
|||||||
|
|
||||||
# Pikaviestintiimin julkisia tiedostoja
|
# Pikaviestintiimin julkisia tiedostoja
|
||||||
|
|
||||||
_Briefly in English: this repository contains public files regarding
|
_Briefly in English: this repository contains public files regarding instant
|
||||||
instant messenger team of Pirate Party Finland. It's mostly in Finnish
|
messenger team of Pirate Party Finland. It's mostly in Finnish with some
|
||||||
with some exceptions of `ìrc/`._
|
exceptions of `ìrc/`._
|
||||||
|
|
||||||
- irc/ - enimmäkseen englanniksi IRChen liittyviä skriptejä ja dokumentaatiota.
|
- irc/ - enimmäkseen englanniksi IRChen liittyviä skriptejä ja dokumentaatiota.
|
||||||
- Enemmän aiheesta: https://git.piraattipuolue.fi/PirateIRC/
|
- Enemmän aiheesta: https://git.piraattipuolue.fi/PirateIRC/
|
||||||
- kanavat.tsv - puolueen käytössä olevat kanavat tai ainakin ne, joissa
|
- kanavat.tsv - puolueen käytössä olevat kanavat tai ainakin ne, joissa
|
||||||
toistin/matterbridge on.
|
toistin/matterbridge on.
|
||||||
- matrix/ - dokumentaatiota puolueen Matrix-huoneista/Spaceista, sekä
|
- matrix/ - dokumentaatiota puolueen Matrix-huoneista/Spaceista, sekä esimerkki
|
||||||
esimerkki `event`tejä, joilla asettaa mm. oikeudet (`m.room.power_levels`)
|
`event`tejä, joilla asettaa mm. oikeudet (`m.room.power_levels`) ja
|
||||||
ja liittymisehdot (`m.room.join_rules`).
|
liittymisehdot (`m.room.join_rules`).
|
||||||
- MI1.png - toistimen käytttämä profiilikuva mm. Discordissa, kun käyttäjillä
|
- MI1.png - toistimen käytttämä profiilikuva mm. Discordissa, kun käyttäjillä
|
||||||
(esim. IRCstä) ei sellaista ole.
|
(esim. IRCstä) ei sellaista ole.
|
||||||
|
@ -9,26 +9,30 @@
|
|||||||
# Scripts for managing PPFI channels on PirateIRC
|
# Scripts for managing PPFI channels on PirateIRC
|
||||||
|
|
||||||
The original list of channels comes from where `MI1` is according to oper
|
The original list of channels comes from where `MI1` is according to oper
|
||||||
`WHOIS` and should match `kanavat.csv` with exceptions of secret channels
|
`WHOIS` and should match `kanavat.csv` with exceptions of secret channels and
|
||||||
and those not (fully) belonging to Pirate Party of Finland.
|
those not (fully) belonging to Pirate Party of Finland.
|
||||||
|
|
||||||
The scripts only generate lines that should be copy-pasted to a IRC client
|
The scripts only generate lines that should be copy-pasted to a IRC client for
|
||||||
for anything to actually happen. They are provided [missing GroupServ](https://github.com/ergochat/ergo/issues/465)
|
anything to actually happen. They are provided
|
||||||
in hope that PPFI is able to operate IRC without @Mikaela constantly present.
|
[missing GroupServ](https://github.com/ergochat/ergo/issues/465) in hope that
|
||||||
|
PPFI is able to operate IRC without @Mikaela constantly present.
|
||||||
|
|
||||||
- `./generate-amode-cmds.bash +o MI1` - giving user `MI1` op on all channels
|
- `./generate-amode-cmds.bash +o MI1` - giving user `MI1` op on all channels
|
||||||
which will persist and be granted on join. **_Prefer this script._**
|
which will persist and be granted on join. **_Prefer this script._**
|
||||||
- `./generate-oper-override-mode.bash +o MI1` - the same, except requires operator
|
- `./generate-oper-override-mode.bash +o MI1` - the same, except requires
|
||||||
permission, allows unregistered accounts and doesn't persist over `/cycle`
|
operator permission, allows unregistered accounts and doesn't persist over
|
||||||
whether manual or connection loss or similar. **_Use only in emergency
|
`/cycle` whether manual or connection loss or similar. **_Use only in
|
||||||
and even in emergency, and even then prefer amoding yourself with the previous script and then
|
emergency and even in emergency, and even then prefer amoding yourself with
|
||||||
using the next script._**
|
the previous script and then using the next script._**
|
||||||
- `./generate-usual-mode-cmds.bash +o MI1` - non-oper version of the previous script,
|
- `./generate-usual-mode-cmds.bash +o MI1` - non-oper version of the previous
|
||||||
generates normal `/mode` commands within the usual permission system most likely
|
script, generates normal `/mode` commands within the usual permission system
|
||||||
requiring being op (use the amode script for that, see drawbacks of the previous script).
|
most likely requiring being op (use the amode script for that, see drawbacks
|
||||||
|
of the previous script).
|
||||||
|
|
||||||
## Further reading and notes
|
## Further reading and notes
|
||||||
|
|
||||||
- (CS) AMODE +h (halfop) overrides mode `+i` (invite-only channel).
|
- (CS) AMODE +h (halfop) overrides mode `+i` (invite-only channel).
|
||||||
- https://github.com/ergochat/ergo/blob/master/docs/MANUAL.md#channel-prefixes - on owner/protected/op/halfop/voice
|
- https://github.com/ergochat/ergo/blob/master/docs/MANUAL.md#channel-prefixes -
|
||||||
- https://github.com/ergochat/ergo/blob/master/docs/MANUAL.md#modes - on channel modes such as the aforementioned invite-only
|
on owner/protected/op/halfop/voice
|
||||||
|
- https://github.com/ergochat/ergo/blob/master/docs/MANUAL.md#modes - on channel
|
||||||
|
modes such as the aforementioned invite-only
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Looping through all the channels
|
# Looping through all the channels
|
||||||
for channel in \#helsinki \#keski-suomi \#pirkanmaa \#ohjelmatyo \#oulu \#puoluevaltuusto \#puoluetoimisto \#pinu_hallitus \#uusimaa \#varsinais-suomi \#akateemisetpiraatit \#piraattinuoret \#kampanjateltta \#sateenkaaripiraatit \#hame \#vaasa \#hallituskokous \#grafiikka \#toiminta \#piraattivpn \#ppfi \#hepihalko \#aaltopiraatit \#kaakko \#mediaseuranta \#savo-karjala \#messi \#piraatit \#suomiareena \#satakunta \#verkkopalvelut \#lappi
|
for channel in \#helsinki \#keski-suomi \#pirkanmaa \#ohjelmatyo \#oulu \#puoluevaltuusto \#puoluetoimisto \#pinu_hallitus \#uusimaa \#varsinais-suomi \#akateemisetpiraatit \#piraattinuoret \#kampanjateltta \#sateenkaaripiraatit \#hame \#vaasa \#hallituskokous \#grafiikka \#toiminta \#piraattivpn \#ppfi \#hepihalko \#aaltopiraatit \#kaakko \#mediaseuranta \#savo-karjala \#messi \#piraatit \#suomiareena \#satakunta \#verkkopalvelut \#lappi; do
|
||||||
do
|
|
||||||
# Printing the lines to be copy-pasted to IRC
|
# Printing the lines to be copy-pasted to IRC
|
||||||
# Example output: /quote cs amode #channel +o MI1
|
# Example output: /quote cs amode #channel +o MI1
|
||||||
echo "/cs amode $channel $1 $2"
|
echo "/cs amode $channel $1 $2"
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Looping through all the channels
|
# Looping through all the channels
|
||||||
for channel in \#helsinki \#keski-suomi \#pirkanmaa \#oulu \#ohjelmatyo \#puoluevaltuusto \#puoluetoimisto \#pinu_hallitus \#uusimaa \#varsinais-suomi \#akateemisetpiraatit \#piraattinuoret \#kampanjateltta \#sateenkaaripiraatit \#hame \#vaasa \#hallituskokous \#grafiikka \#toiminta \#piraattivpn \#ppfi \#hepihalko \#aaltopiraatit \#kaakko \#mediaseuranta \#savo-karjala \#messi \#piraatit \#suomiareena \#satakunta \#verkkopalvelut \#lappi
|
for channel in \#helsinki \#keski-suomi \#pirkanmaa \#oulu \#ohjelmatyo \#puoluevaltuusto \#puoluetoimisto \#pinu_hallitus \#uusimaa \#varsinais-suomi \#akateemisetpiraatit \#piraattinuoret \#kampanjateltta \#sateenkaaripiraatit \#hame \#vaasa \#hallituskokous \#grafiikka \#toiminta \#piraattivpn \#ppfi \#hepihalko \#aaltopiraatit \#kaakko \#mediaseuranta \#savo-karjala \#messi \#piraatit \#suomiareena \#satakunta \#verkkopalvelut \#lappi; do
|
||||||
do
|
|
||||||
# Printing the lines to be copy-pasted to IRC
|
# Printing the lines to be copy-pasted to IRC
|
||||||
# Example output: /quote samode #channel +o MI1
|
# Example output: /quote samode #channel +o MI1
|
||||||
echo "/quote samode $channel $1 $2"
|
echo "/quote samode $channel $1 $2"
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Looping through all the channels
|
# Looping through all the channels
|
||||||
for channel in \#helsinki \#keski-suomi \#pirkanmaa \#ohjelmatyo \#oulu \#puoluevaltuusto \#puoluetoimisto \#pinu_hallitus \#uusimaa \#varsinais-suomi \#akateemisetpiraatit \#piraattinuoret \#kampanjateltta \#sateenkaaripiraatit \#hame \#vaasa \#hallituskokous \#grafiikka \#toiminta \#piraattivpn \#ppfi \#hepihalko \#aaltopiraatit \#kaakko \#mediaseuranta \#savo-karjala \#messi \#piraatit \#suomiareena \#satakunta \#verkkopalvelut \#lappi
|
for channel in \#helsinki \#keski-suomi \#pirkanmaa \#ohjelmatyo \#oulu \#puoluevaltuusto \#puoluetoimisto \#pinu_hallitus \#uusimaa \#varsinais-suomi \#akateemisetpiraatit \#piraattinuoret \#kampanjateltta \#sateenkaaripiraatit \#hame \#vaasa \#hallituskokous \#grafiikka \#toiminta \#piraattivpn \#ppfi \#hepihalko \#aaltopiraatit \#kaakko \#mediaseuranta \#savo-karjala \#messi \#piraatit \#suomiareena \#satakunta \#verkkopalvelut \#lappi; do
|
||||||
do
|
|
||||||
# Printing the lines to be copy-pasted to IRC
|
# Printing the lines to be copy-pasted to IRC
|
||||||
# Example output: /mode #channel +o MI1
|
# Example output: /mode #channel +o MI1
|
||||||
echo "/mode $channel $1 $2"
|
echo "/mode $channel $1 $2"
|
||||||
|
@ -10,7 +10,8 @@
|
|||||||
|
|
||||||
## Huoneeseen liittyminen Spaceen kuulumisen perusteella ja koputtamalla
|
## Huoneeseen liittyminen Spaceen kuulumisen perusteella ja koputtamalla
|
||||||
|
|
||||||
_Vaatii vähintään huoneversion ~~8~~ 9 (`restricted`) tai 10 `knock_restricted`._
|
_Vaatii vähintään huoneversion ~~8~~ 9 (`restricted`) tai 10
|
||||||
|
`knock_restricted`._
|
||||||
|
|
||||||
TL;DR `/devtools`, explore room state, `m.room.join_rules`
|
TL;DR `/devtools`, explore room state, `m.room.join_rules`
|
||||||
|
|
||||||
|
@ -12,7 +12,8 @@ Tämä tapahtuma (`/devtools`, tutki huoneen tilaa, `m.room.power_levels`
|
|||||||
määrittää kuka saa tehdä mitä, ja millä tunnuksilla on voimaa. Toistaiseksi
|
määrittää kuka saa tehdä mitä, ja millä tunnuksilla on voimaa. Toistaiseksi
|
||||||
huonekohtainen, joten paljon copy-pastea.
|
huonekohtainen, joten paljon copy-pastea.
|
||||||
|
|
||||||
Perustuu https://gitea.blesmrt.net/mikaela/gist/src/branch/master/matrix/m.room.power_levels/README.md#reasonable-version
|
Perustuu
|
||||||
|
https://gitea.blesmrt.net/mikaela/gist/src/branch/master/matrix/m.room.power_levels/README.md#reasonable-version
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
@ -67,22 +68,25 @@ Perustuu https://gitea.blesmrt.net/mikaela/gist/src/branch/master/matrix/m.room.
|
|||||||
Mitä tämä sallii vrt. oletus?
|
Mitä tämä sallii vrt. oletus?
|
||||||
|
|
||||||
- Historian näkyvyyttä voi vaihtaa olematta ylläpitäjä (PL99 vs PL100)
|
- Historian näkyvyyttä voi vaihtaa olematta ylläpitäjä (PL99 vs PL100)
|
||||||
- PL99 voi antaa porttikieltoja kokonaisille palvelimille (Draupnir/Mjolnir), jotta
|
- PL99 voi antaa porttikieltoja kokonaisille palvelimille (Draupnir/Mjolnir),
|
||||||
se voidaan tarpeen vaatiessa alentaa.
|
jotta se voidaan tarpeen vaatiessa alentaa.
|
||||||
- Moderaattorit voivat ylentää muita moderaattoriksi (PL50), mutta eivät voi alentaa.
|
- Moderaattorit voivat ylentää muita moderaattoriksi (PL50), mutta eivät voi
|
||||||
|
alentaa.
|
||||||
- Erityisen luotetuille voinee antaa 51 tai enemmän?
|
- Erityisen luotetuille voinee antaa 51 tai enemmän?
|
||||||
- Kaikki voivat kutsua muita käyttäjiä huoneeseen (toistaiseksi sitä ei ole väärinkäytetty
|
- Kaikki voivat kutsua muita käyttäjiä huoneeseen (toistaiseksi sitä ei ole
|
||||||
puolueen piirissä, vähemmän työtä ylläpidolle lisätessä huoneisiin ja väärinkäyttäjän pitäisi
|
väärinkäytetty puolueen piirissä, vähemmän työtä ylläpidolle lisätessä
|
||||||
jokatapauksessa päästä koputuksen tai sallitun Spacen läpi)
|
huoneisiin ja väärinkäyttäjän pitäisi jokatapauksessa päästä koputuksen tai
|
||||||
|
sallitun Spacen läpi)
|
||||||
- IRCstä tuttu half-op on PL25 ja voi vaihtaa topicia, kiinnitettyjä viestejä
|
- IRCstä tuttu half-op on PL25 ja voi vaihtaa topicia, kiinnitettyjä viestejä
|
||||||
tai poistaa viestejä/käyttäjiä huoneesta (ei bannata).
|
tai poistaa viestejä/käyttäjiä huoneesta (ei bannata).
|
||||||
- Esimerkkikäyttötapaus: henkilö ei halua moderoida banneja, mutta hänen
|
- Esimerkkikäyttötapaus: henkilö ei halua moderoida banneja, mutta hänen
|
||||||
tarvitsee muokata topicista päivämääriä tai poiistaa toistettua spammia.
|
tarvitsee muokata topicista päivämääriä tai poiistaa toistettua spammia.
|
||||||
- PL13 voi asettaa pääaliaksen, lisätä/poistaa julkaistuja aliaksia ja
|
- PL13 voi asettaa pääaliaksen, lisätä/poistaa julkaistuja aliaksia ja
|
||||||
(tapauksessa Synapse) [julkistaa/poistaa huonehakemistosta](https://github.com/vector-im/element-web/issues/13835).
|
(tapauksessa Synapse)
|
||||||
|
[julkistaa/poistaa huonehakemistosta](https://github.com/vector-im/element-web/issues/13835).
|
||||||
- Pääalias ei vaikuta `ctrl-k` käyttöön niin paljon.
|
- Pääalias ei vaikuta `ctrl-k` käyttöön niin paljon.
|
||||||
- Huoneet löydetään yleensä Spacejen tai Matrix-linkkien kautta
|
- Huoneet löydetään yleensä Spacejen tai Matrix-linkkien kautta (joissa
|
||||||
(joissa määritetään huoneen sisäinen ID aliaksen sijaan).
|
määritetään huoneen sisäinen ID aliaksen sijaan).
|
||||||
- Palvelimen huonehakemistot ovat etenkin suuremmilla palvelimilla laadultaan
|
- Palvelimen huonehakemistot ovat etenkin suuremmilla palvelimilla laadultaan
|
||||||
vaihtelevia, niissä oleminen tai puuttuminen ei ole menetys. Ks. Spacet.
|
vaihtelevia, niissä oleminen tai puuttuminen ei ole menetys. Ks. Spacet.
|
||||||
- Tätäkään oikeutta ei tule antaa täysin epäluotetuille käyttäjille.
|
- Tätäkään oikeutta ei tule antaa täysin epäluotetuille käyttäjille.
|
||||||
@ -94,10 +98,11 @@ Voimalliset käyttäjät
|
|||||||
- `uduntuntu` on tietysti Utu Hopiavuori
|
- `uduntuntu` on tietysti Utu Hopiavuori
|
||||||
- `jarska96` on Jari Nikkinen
|
- `jarska96` on Jari Nikkinen
|
||||||
|
|
||||||
_PL100 ei voi alentaa muita PL100-käyttäjiä ja PL100 on oletus huonetta luodessa.
|
_PL100 ei voi alentaa muita PL100-käyttäjiä ja PL100 on oletus huonetta
|
||||||
Tämän vuoksi huoneissa saattaa olla myös vanhoja voimallisia käyttäjiä, esimerkiksi
|
luodessa. Tämän vuoksi huoneissa saattaa olla myös vanhoja voimallisia
|
||||||
verkosta poistuneilta palvelimilta `disroot.org`, `privacytools.io`, `feneas.org`,
|
käyttäjiä, esimerkiksi verkosta poistuneilta palvelimilta `disroot.org`,
|
||||||
`pirateriot.net`, sekä deaktivoituja tunnuksia, kuten `the-apothecary.club`._
|
`privacytools.io`, `feneas.org`, `pirateriot.net`, sekä deaktivoituja tunnuksia,
|
||||||
|
kuten `the-apothecary.club`._
|
||||||
|
|
||||||
## Katso myös
|
## Katso myös
|
||||||
|
|
||||||
|
@ -11,7 +11,8 @@
|
|||||||
|
|
||||||
## Huoneeseen liittyminen Spaceen kuulumisen perusteella ja koputtamalla
|
## Huoneeseen liittyminen Spaceen kuulumisen perusteella ja koputtamalla
|
||||||
|
|
||||||
_Vaatii vähintään huoneversion ~~8~~ 9 (`restricted`) tai 10 `knock_restricted`._
|
_Vaatii vähintään huoneversion ~~8~~ 9 (`restricted`) tai 10
|
||||||
|
`knock_restricted`._
|
||||||
|
|
||||||
TL;DR `/devtools`, explore room state, `m.room.join_rules`
|
TL;DR `/devtools`, explore room state, `m.room.join_rules`
|
||||||
|
|
||||||
@ -31,14 +32,20 @@ TL;DR `/devtools`, explore room state, `m.room.join_rules`
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
- `!oHIvaRnuEEIDavQVRJ:matrix.org` - Työrauha-space versio 6 (taaksepäin yhteensopivuuden vuoksi)
|
- `!oHIvaRnuEEIDavQVRJ:matrix.org` - Työrauha-space versio 6 (taaksepäin
|
||||||
- `!azROMLeGEMPdbdWnbk:matrix.org` - Työrauha-space versio 9 (tätä pitäisi oikeasti käyttää)
|
yhteensopivuuden vuoksi)
|
||||||
|
- `!azROMLeGEMPdbdWnbk:matrix.org` - Työrauha-space versio 9 (tätä pitäisi
|
||||||
|
oikeasti käyttää)
|
||||||
|
|
||||||
## Koputtamisen salliminen
|
## Koputtamisen salliminen
|
||||||
|
|
||||||
_Vaatii vähintään huoneversio 7._
|
_Vaatii vähintään huoneversio 7._
|
||||||
|
|
||||||
_Kirjoitusaikana Elementit [Android](https://github.com/vector-im/element-android/issues/3875), [iOS](https://github.com/vector-im/element-ios/issues/4731) ja [Web/Desktop](https://github.com/vector-im/element-web/issues/18655) eivät tue tätä._
|
_Kirjoitusaikana Elementit
|
||||||
|
[Android](https://github.com/vector-im/element-android/issues/3875),
|
||||||
|
[iOS](https://github.com/vector-im/element-ios/issues/4731) ja
|
||||||
|
[Web/Desktop](https://github.com/vector-im/element-web/issues/18655) eivät tue
|
||||||
|
tätä._
|
||||||
|
|
||||||
TL;DR `/devtools`, explore room state, `m.room.join_rules`:
|
TL;DR `/devtools`, explore room state, `m.room.join_rules`:
|
||||||
|
|
||||||
|
7
package.json
Normal file
7
package.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"devDependencies": {
|
||||||
|
"@aminda/global-prettier-config": "2024.28.4"
|
||||||
|
},
|
||||||
|
"packageManager": "pnpm@9.6.0+sha512.38dc6fba8dba35b39340b9700112c2fe1e12f10b17134715a4aa98ccf7bb035e76fd981cf0bb384dfa98f8d6af5481c2bef2f4266a24bfa20c34eb7147ce0b5e",
|
||||||
|
"prettier": "@aminda/global-prettier-config"
|
||||||
|
}
|
174
pnpm-lock.yaml
generated
Normal file
174
pnpm-lock.yaml
generated
Normal file
@ -0,0 +1,174 @@
|
|||||||
|
lockfileVersion: "9.0"
|
||||||
|
|
||||||
|
settings:
|
||||||
|
autoInstallPeers: true
|
||||||
|
excludeLinksFromLockfile: false
|
||||||
|
|
||||||
|
importers:
|
||||||
|
.:
|
||||||
|
devDependencies:
|
||||||
|
"@aminda/global-prettier-config":
|
||||||
|
specifier: 2024.28.4
|
||||||
|
version: 2024.28.4
|
||||||
|
|
||||||
|
packages:
|
||||||
|
"@aminda/global-prettier-config@2024.28.4":
|
||||||
|
resolution:
|
||||||
|
{
|
||||||
|
integrity: sha512-VjyTd8fFRnLgZRAMDRr9pm5hknnsVxpTCshvvE7RAiuH72hUzC82rm5vXDJjrhkedWJir2qZjmiC5Vo2LoR4tw==,
|
||||||
|
}
|
||||||
|
|
||||||
|
"@prettier/plugin-ruby@4.0.4":
|
||||||
|
resolution:
|
||||||
|
{
|
||||||
|
integrity: sha512-lCpvfS/dQU5WrwN3AQ5vR8qrvj2h5gE41X08NNzAAXvHdM4zwwGRcP2sHSxfu6n6No+ljWCVx95NvJPFTTjCTg==,
|
||||||
|
}
|
||||||
|
peerDependencies:
|
||||||
|
prettier: ^3.0.0
|
||||||
|
|
||||||
|
"@prettier/plugin-xml@3.4.1":
|
||||||
|
resolution:
|
||||||
|
{
|
||||||
|
integrity: sha512-Uf/6/+9ez6z/IvZErgobZ2G9n1ybxF5BhCd7eMcKqfoWuOzzNUxBipNo3QAP8kRC1VD18TIo84no7LhqtyDcTg==,
|
||||||
|
}
|
||||||
|
peerDependencies:
|
||||||
|
prettier: ^3.0.0
|
||||||
|
|
||||||
|
"@taplo/core@0.1.1":
|
||||||
|
resolution:
|
||||||
|
{
|
||||||
|
integrity: sha512-BG/zLGf5wiNXGEVPvUAAX/4ilB3PwDUY2o0MV0y47mZbDZ9ad9UK/cIQsILat3bqbPJsALVbU6k3cskNZ3vAQg==,
|
||||||
|
}
|
||||||
|
|
||||||
|
"@taplo/lib@0.4.0-alpha.2":
|
||||||
|
resolution:
|
||||||
|
{
|
||||||
|
integrity: sha512-DV/Re3DPVY+BhBtLZ3dmP4mP6YMLSsgq9qGLXwOV38lvNF/fBlgvQswzlXmzCEefL/3q2eMoefZpOI/+GLuCNA==,
|
||||||
|
}
|
||||||
|
|
||||||
|
"@xml-tools/parser@1.0.11":
|
||||||
|
resolution:
|
||||||
|
{
|
||||||
|
integrity: sha512-aKqQ077XnR+oQtHJlrAflaZaL7qZsulWc/i/ZEooar5JiWj1eLt0+Wg28cpa+XLney107wXqneC+oG1IZvxkTA==,
|
||||||
|
}
|
||||||
|
|
||||||
|
chevrotain@7.1.1:
|
||||||
|
resolution:
|
||||||
|
{
|
||||||
|
integrity: sha512-wy3mC1x4ye+O+QkEinVJkPf5u2vsrDIYW9G7ZuwFl6v/Yu0LwUuT2POsb+NUWApebyxfkQq6+yDfRExbnI5rcw==,
|
||||||
|
}
|
||||||
|
|
||||||
|
mvdan-sh@0.10.1:
|
||||||
|
resolution:
|
||||||
|
{
|
||||||
|
integrity: sha512-kMbrH0EObaKmK3nVRKUIIya1dpASHIEusM13S4V1ViHFuxuNxCo+arxoa6j/dbV22YBGjl7UKJm9QQKJ2Crzhg==,
|
||||||
|
}
|
||||||
|
|
||||||
|
prettier-plugin-nginx@1.0.3:
|
||||||
|
resolution:
|
||||||
|
{
|
||||||
|
integrity: sha512-vV5q85s8XnV6NEgvz1gVLfZhmxAxY03MyOYj2ApBpjFkbs00lRsRkTmqO9L39ADuD18z1RRCcfZ3eVxKhI/nqg==,
|
||||||
|
}
|
||||||
|
|
||||||
|
prettier-plugin-sh@0.14.0:
|
||||||
|
resolution:
|
||||||
|
{
|
||||||
|
integrity: sha512-hfXulj5+zEl/ulrO5kMuuTPKmXvOg0bnLHY1hKFNN/N+/903iZbNp8NyZBTsgI8dtkSgFfAEIQq0IQTyP1ZVFQ==,
|
||||||
|
}
|
||||||
|
engines: { node: ">=16.0.0" }
|
||||||
|
peerDependencies:
|
||||||
|
prettier: ^3.0.3
|
||||||
|
|
||||||
|
prettier-plugin-toml@2.0.1:
|
||||||
|
resolution:
|
||||||
|
{
|
||||||
|
integrity: sha512-99z1YOkViECHtXQjGIigd3talI/ybUI1zB3yniAwUrlWBXupNXThB1hM6bwSMUEj2/+tomTlMtT98F5t4s8IWA==,
|
||||||
|
}
|
||||||
|
engines: { node: ">=16.0.0" }
|
||||||
|
peerDependencies:
|
||||||
|
prettier: ^3.0.3
|
||||||
|
|
||||||
|
prettier@3.3.3:
|
||||||
|
resolution:
|
||||||
|
{
|
||||||
|
integrity: sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==,
|
||||||
|
}
|
||||||
|
engines: { node: ">=14" }
|
||||||
|
hasBin: true
|
||||||
|
|
||||||
|
regexp-to-ast@0.5.0:
|
||||||
|
resolution:
|
||||||
|
{
|
||||||
|
integrity: sha512-tlbJqcMHnPKI9zSrystikWKwHkBqu2a/Sgw01h3zFjvYrMxEDYHzzoMZnUrbIfpTFEsoRnnviOXNCzFiSc54Qw==,
|
||||||
|
}
|
||||||
|
|
||||||
|
sh-syntax@0.4.2:
|
||||||
|
resolution:
|
||||||
|
{
|
||||||
|
integrity: sha512-/l2UZ5fhGZLVZa16XQM9/Vq/hezGGbdHeVEA01uWjOL1+7Ek/gt6FquW0iKKws4a9AYPYvlz6RyVvjh3JxOteg==,
|
||||||
|
}
|
||||||
|
engines: { node: ">=16.0.0" }
|
||||||
|
|
||||||
|
tslib@2.6.3:
|
||||||
|
resolution:
|
||||||
|
{
|
||||||
|
integrity: sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==,
|
||||||
|
}
|
||||||
|
|
||||||
|
snapshots:
|
||||||
|
"@aminda/global-prettier-config@2024.28.4":
|
||||||
|
dependencies:
|
||||||
|
"@prettier/plugin-ruby": 4.0.4(prettier@3.3.3)
|
||||||
|
"@prettier/plugin-xml": 3.4.1(prettier@3.3.3)
|
||||||
|
prettier: 3.3.3
|
||||||
|
prettier-plugin-nginx: 1.0.3
|
||||||
|
prettier-plugin-sh: 0.14.0(prettier@3.3.3)
|
||||||
|
prettier-plugin-toml: 2.0.1(prettier@3.3.3)
|
||||||
|
|
||||||
|
"@prettier/plugin-ruby@4.0.4(prettier@3.3.3)":
|
||||||
|
dependencies:
|
||||||
|
prettier: 3.3.3
|
||||||
|
|
||||||
|
"@prettier/plugin-xml@3.4.1(prettier@3.3.3)":
|
||||||
|
dependencies:
|
||||||
|
"@xml-tools/parser": 1.0.11
|
||||||
|
prettier: 3.3.3
|
||||||
|
|
||||||
|
"@taplo/core@0.1.1": {}
|
||||||
|
|
||||||
|
"@taplo/lib@0.4.0-alpha.2":
|
||||||
|
dependencies:
|
||||||
|
"@taplo/core": 0.1.1
|
||||||
|
|
||||||
|
"@xml-tools/parser@1.0.11":
|
||||||
|
dependencies:
|
||||||
|
chevrotain: 7.1.1
|
||||||
|
|
||||||
|
chevrotain@7.1.1:
|
||||||
|
dependencies:
|
||||||
|
regexp-to-ast: 0.5.0
|
||||||
|
|
||||||
|
mvdan-sh@0.10.1: {}
|
||||||
|
|
||||||
|
prettier-plugin-nginx@1.0.3: {}
|
||||||
|
|
||||||
|
prettier-plugin-sh@0.14.0(prettier@3.3.3):
|
||||||
|
dependencies:
|
||||||
|
mvdan-sh: 0.10.1
|
||||||
|
prettier: 3.3.3
|
||||||
|
sh-syntax: 0.4.2
|
||||||
|
|
||||||
|
prettier-plugin-toml@2.0.1(prettier@3.3.3):
|
||||||
|
dependencies:
|
||||||
|
"@taplo/lib": 0.4.0-alpha.2
|
||||||
|
prettier: 3.3.3
|
||||||
|
|
||||||
|
prettier@3.3.3: {}
|
||||||
|
|
||||||
|
regexp-to-ast@0.5.0: {}
|
||||||
|
|
||||||
|
sh-syntax@0.4.2:
|
||||||
|
dependencies:
|
||||||
|
tslib: 2.6.3
|
||||||
|
|
||||||
|
tslib@2.6.3: {}
|
Loading…
x
Reference in New Issue
Block a user