run prettier & remove xml from it

This commit is contained in:
Aminda Suomalainen 2024-07-06 10:25:01 +03:00
parent bf120be3c3
commit 8ad5905484
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
11 changed files with 102 additions and 85 deletions

2
.github/CODEOWNERS vendored
View File

@ -1 +1 @@
* @Mikaela * @Mikaela

View File

@ -2,3 +2,4 @@ _includes/
_layouts/ _layouts/
_sass/ _sass/
css/ css/
feed.xml

View File

@ -2,6 +2,6 @@
"insertPragma": true, "insertPragma": true,
"proseWrap": "always", "proseWrap": "always",
"singleAttributePerLine": true, "singleAttributePerLine": true,
"plugins": ["@prettier/plugin-xml", "prettier-plugin-sh"], "plugins": ["prettier-plugin-sh"],
"overrides": [{ "files": ".prettierrc", "options": { "parser": "json" } }] "overrides": [{ "files": ".prettierrc", "options": { "parser": "json" } }]
} }

View File

@ -1,2 +1,4 @@
# @format
language: ruby language: ruby
script: "bundle exec jekyll build" script: "bundle exec jekyll build"

View File

@ -1,9 +1,11 @@
<!-- @format -->
# Mikaela's fork of Limnoria. # Mikaela's fork of Limnoria.
There are mainly two branches. This one which you are looking at, gh-pages There are mainly two branches. This one which you are looking at, gh-pages which
which is the source of <https://supybot.mikaela.info/>. is the source of <https://supybot.mikaela.info/>.
**testing** which will be synced with [ProgVal/Limnoria] when needed. It **testing** which will be synced with [ProgVal/Limnoria] when needed. It is used
is used as base for my changes which will be pull requested. as base for my changes which will be pull requested.
[ProgVal/Limnoria]: https://github.com/ProgVal/Limnoria.git [ProgVal/Limnoria]: https://github.com/ProgVal/Limnoria.git

View File

@ -4,19 +4,21 @@ title: Ignoring RelayBot
permalink: /Relaybot.html permalink: /Relaybot.html
--- ---
<!-- @format -->
RelayBot is the bot which relays between #supybot,#limnoria at a couple of RelayBot is the bot which relays between #supybot,#limnoria at a couple of
networks (TODO/FIXME, which ones?). It networks (TODO/FIXME, which ones?). It is currently using the
is currently using the [LinkRelay](https://github.com/ProgVal/Supybot-plugins/tree/master/LinkRelay) [LinkRelay](https://github.com/ProgVal/Supybot-plugins/tree/master/LinkRelay)
plugin to do this. plugin to do this.
It's sometimes considered as annoyance as it has lately mostly spammed It's sometimes considered as annoyance as it has lately mostly spammed with join
with join (part messages aren't working, because of a bug (2014-06-23)) (part messages aren't working, because of a bug (2014-06-23)) messages of people
messages of people who usually say nothing and this is why this page is who usually say nothing and this is why this page is here to tell how to ignore
here to tell how to ignore it on various client. it on various client.
We(who? I?) encourage you to ignore only notices from RelayBot instead of We(who? I?) encourage you to ignore only notices from RelayBot instead of
everything as there are people whom should be heard at OFTC (mainly main everything as there are people whom should be heard at OFTC (mainly main Supybot
Supybot developer). (TODO/FIXME: is this the case in 2021?) developer). (TODO/FIXME: is this the case in 2021?)
Related links: Related links:
@ -29,42 +31,41 @@ Hostmask of RelayBot on Libera.Chat 2021-06-06:
- `RelayBot!~limnoria@helium.progval.net` - `RelayBot!~limnoria@helium.progval.net`
- This is absolute hostmask, also known as NUH (`nick!user@host`) - This is absolute hostmask, also known as NUH (`nick!user@host`)
- `RelayBot*!*@helium.progval.net` - `RelayBot*!*@helium.progval.net`
- This is recommended hostmask as it matches RelayBot even if it - This is recommended hostmask as it matches RelayBot even if it cannot use
cannot use it's primary nickname or networks cannot connect to it's it's primary nickname or networks cannot connect to it's identd.
identd.
## HexChat ## HexChat
From the "Window" menu you can find "Ignore list". Click "Add" and add From the "Window" menu you can find "Ignore list". Click "Add" and add one of
one of the hostmasks mentioned above (the lower is recommended). the hostmasks mentioned above (the lower is recommended).
Uncheck the other checkboxes than "Notice" and you can close the window Uncheck the other checkboxes than "Notice" and you can close the window and you
and you won't see spamming. won't see spamming.
## KVIRC ## KVIRC
I am not primarily KVIRC user and I cannot say anything else than right I am not primarily KVIRC user and I cannot say anything else than right click
click RelayBot and select something that matches only RelayBot. RelayBot and select something that matches only RelayBot.
**WARNING: KVIRC makes it very easy to also ignore pinkieval which you **WARNING: KVIRC makes it very easy to also ignore pinkieval which you don't
don't want to do as they are author of Limnoria and help people often!** want to do as they are author of Limnoria and help people often!**
## Linkinus ## Linkinus
According to another person, there is a GUI where you can easily ignore According to another person, there is a GUI where you can easily ignore notices
notices from specific hostmask. from specific hostmask.
## WeeChat ## WeeChat
`/filter add relaybotnotices * irc_notice+nick_RelayBot *` `/filter add relaybotnotices * irc_notice+nick_RelayBot *`
This creates a new filter with the name "relaybotnotices" which filters This creates a new filter with the name "relaybotnotices" which filters all
all notices from the nickname "RelayBot". notices from the nickname "RelayBot".
--- ---
This page is very likely missing many IRC clients. Could you This page is very likely missing many IRC clients. Could you
[open an issue](https://github.com/mikaela/limnoria/issues) [open an issue](https://github.com/mikaela/limnoria/issues) about how to do this
about how to do this with your IRC client that isn't mentioned here? with your IRC client that isn't mentioned here?
--- ---

View File

@ -4,8 +4,10 @@ title: Security issues
permalink: /Supybot.html permalink: /Supybot.html
--- ---
Supybot git repository was declared dead on 2018-05-10 and archived <!-- @format -->
on GitHub. [v0.84.0 was the last release at that time](https://github.com/Supybot/Supybot/releases/tag/v0.84.0).
Supybot git repository was declared dead on 2018-05-10 and archived on GitHub.
[v0.84.0 was the last release at that time](https://github.com/Supybot/Supybot/releases/tag/v0.84.0).
0.83.4.1 used to be a very common release available through several Linux 0.83.4.1 used to be a very common release available through several Linux
distributions for years and thus I made this page, which I guess is now distributions for years and thus I made this page, which I guess is now
available more of for historical reasons. available more of for historical reasons.
@ -22,98 +24,98 @@ And this is very easy. Just run the command
where ! is the prefix character. where ! is the prefix character.
Misc is loaded by default and cannot be unloaded without modifying the Misc is loaded by default and cannot be unloaded without modifying the config.
config.
- [Limnoria issue #157](https://github.com/ProgVal/Limnoria/issues/157) - [Limnoria issue #157](https://github.com/ProgVal/Limnoria/issues/157)
- Fixing commits: [3526d5d](https://github.com/ProgVal/Limnoria/commit/3526d5dabf587457a43af8bee8d4db21986e8222) & [e11dc28](https://github.com/ProgVal/Limnoria/commit/e11dc28025de877b1b6cf059013eef88337b7e44) - Fixing commits:
[3526d5d](https://github.com/ProgVal/Limnoria/commit/3526d5dabf587457a43af8bee8d4db21986e8222)
&
[e11dc28](https://github.com/ProgVal/Limnoria/commit/e11dc28025de877b1b6cf059013eef88337b7e44)
- [Ubuntu bug #996947](https://bugs.launchpad.net/ubuntu/+source/supybot/+bug/996947) - [Ubuntu bug #996947](https://bugs.launchpad.net/ubuntu/+source/supybot/+bug/996947)
- [Debian bug #672214](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672214) - [Debian bug #672214](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672214)
### 2. The previous wasn't the only way to do this ### 2. The previous wasn't the only way to do this
Everyone can also make the bot count an equation, which brings it and the Everyone can also make the bot count an equation, which brings it and the host
host computer down. computer down.
For example: For example:
`!math calc factorial(999999)` `!math calc factorial(999999)`
This requires Math plugin which comes with Supybot, but isn't load by This requires Math plugin which comes with Supybot, but isn't load by default.
default.
- [Limnoria issue #354](https://github.com/ProgVal/Limnoria/issues/354) - [Limnoria issue #354](https://github.com/ProgVal/Limnoria/issues/354)
- Fixing commit: [695078e](https://github.com/ProgVal/Limnoria/commit/695078edeb91e5ff1eec728fedf0e0c27b55c505) - Fixing commit:
[695078e](https://github.com/ProgVal/Limnoria/commit/695078edeb91e5ff1eec728fedf0e0c27b55c505)
- [Ubuntu bug #996950](https://bugs.launchpad.net/ubuntu/+source/supybot/+bug/996950) - [Ubuntu bug #996950](https://bugs.launchpad.net/ubuntu/+source/supybot/+bug/996950)
- [Debian bug 672215](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672215) - [Debian bug 672215](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672215)
### 3. Anyone can access network services via the bot. ### 3. Anyone can access network services via the bot.
I don't have example command for this, but it happens by nesting I don't have example command for this, but it happens by nesting "format cut"
"format cut" and "misc tell". and "misc tell".
What does this mean? Anyone can tell the bot to ghost someone else on same What does this mean? Anyone can tell the bot to ghost someone else on same
account, take over a channel by telling the bot to give flags account, take over a channel by telling the bot to give flags (if it has correct
(if it has correct flags), change password of the account and everything flags), change password of the account and everything else what you do with
else what you do with network services. network services.
- _This was only reported at IRC and I am unable to find issue report - _This was only reported at IRC and I am unable to find issue report or fixing
or fixing commit. ~~Mikaela on 2015-01-04._ commit. ~~Mikaela on 2015-01-04._
### 4. Web page with special characters in \<title\> can be used to send DCC/CTCP commands. ### 4. Web page with special characters in \<title\> can be used to send DCC/CTCP commands.
This doesn't mean only things like CTCP actions (also known as /me), This doesn't mean only things like CTCP actions (also known as /me), but known
but known problems with old routers problems with old routers ( `FF ? DCC SEND “ff???f??????????????” 0 0 0` ) which
( `FF ? DCC SEND “ff???f??????????????” 0 0 0` ) which make them reconnect make them reconnect to the internet.
to the internet.
Usage: Usage:
- `!web title <malicious.page.here>` - `!web title <malicious.page.here>`
- `!web fetch <malicious.page.here>` - `!web fetch <malicious.page.here>`
_This was only reported at IRC and I am unable to find issue report _This was only reported at IRC and I am unable to find issue report or fixing
or fixing commit. ~~Mikaela on 2015-01-04._ commit. ~~Mikaela on 2015-01-04._
### 5. Web Titlte/Fetch can be used for DoS ### 5. Web Titlte/Fetch can be used for DoS
They are vulnerable to queries to servers which have custom headers They are vulnerable to queries to servers which have custom headers which can
which can lead to DoS. lead to DoS.
_This was only reported at IRC and I am unable to find issue report _This was only reported at IRC and I am unable to find issue report or fixing
or fixing commit. ~~Mikaela on 2015-01-04._ commit. ~~Mikaela on 2015-01-04._
### 6. QuoteGrabs grab command also works in PM ### 6. QuoteGrabs grab command also works in PM
and can grab private content such as `user register` or `user identify` or and can grab private content such as `user register` or `user identify` or with
with the case of owner possibly NickServ passwords and others not so nice the case of owner possibly NickServ passwords and others not so nice things.
things.
- _It appears this issue was only reported at IRC._ - _It appears this issue was only reported at IRC._
- Fixing commit: [a3346343679f3bdf8c77d9efb5a2097e215d51df](https://github.com/ProgVal/Limnoria/commit/a3346343679f3bdf8c77d9efb5a2097e215d51df) - Fixing commit:
[a3346343679f3bdf8c77d9efb5a2097e215d51df](https://github.com/ProgVal/Limnoria/commit/a3346343679f3bdf8c77d9efb5a2097e215d51df)
### Are these issues publicly known? ### Are these issues publicly known?
**Of course they are.** Issue reports are below the actual issues. **Of course they are.** Issue reports are below the actual issues.
The first issue has been also used to take down some of The first issue has been also used to take down some of
[Ubuntu IRC bots](https://wiki.ubuntu.com/IRC/Bots) several times. [Ubuntu IRC bots](https://wiki.ubuntu.com/IRC/Bots) several times. At least
At least UbotX (I don't remember the number) and meetingology. UbotX (I don't remember the number) and meetingology.
Some of these issues are fixed in git repository, but most people aren't Some of these issues are fixed in git repository, but most people aren't using
using it. If you wish to start using it, please scroll down to it. If you wish to start using it, please scroll down to installation
installation instructions lower this page even though [Limnoria] and instructions lower this page even though [Limnoria] and [gribble] are more
[gribble] are more recommended. recommended.
### How to avoid them? ### How to avoid them?
You can add anticapability for these commands using You can add anticapability for these commands using `owner defaultcapability`,
`owner defaultcapability`, but that is only a temporary solution. but that is only a temporary solution. There can also be other issues.
There can also be other issues.
There are also two active Supybot forks, known as [Limnoria] and There are also two active Supybot forks, known as [Limnoria] and [Gribble],
[Gribble], which are actively developed and have fixed these issues. which are actively developed and have fixed these issues. If you want permanent
If you want permanent solution, you should install either of them. solution, you should install either of them.
## Possibly interesting links ## Possibly interesting links
@ -137,5 +139,7 @@ _This section has been removed in order to not duplicate
--- ---
Do you know issue that isn't mentioned here? If it's not already reported, Do you know issue that isn't mentioned here? If it's not already reported,
please report it on [Limnoria's issue tracker.](https://github.com/ProgVal/Limnoria/issues) please report it
If it's known, but just not reported here, [please feel free to add it.](https://github.com/Mikaela/limnoria/edit/gh-pages/Supybot.markdown) on [Limnoria's issue tracker.](https://github.com/ProgVal/Limnoria/issues) If
it's known, but just not reported here,
[please feel free to add it.](https://github.com/Mikaela/limnoria/edit/gh-pages/Supybot.markdown)

View File

@ -1,3 +1,5 @@
# @format
theme: minima theme: minima
title: Mikaela's Supybot site title: Mikaela's Supybot site
tagline: Things official documentation may not tell you tagline: Things official documentation may not tell you
@ -5,8 +7,8 @@ author:
name: "Aminda Suomalainen" name: "Aminda Suomalainen"
url: "https://aminda.eu/" url: "https://aminda.eu/"
description: > # this means to ignore newlines until "baseurl:" description: > # this means to ignore newlines until "baseurl:"
Mikaela's Supybot site where nowadays the only content is security issues Mikaela's Supybot site where nowadays the only content is security issues of
of stock Supybot. stock Supybot.
baseurl: "" # the subpath of your site, e.g. /blog/ baseurl: "" # the subpath of your site, e.g. /blog/
url: "https://supybot.mikaela.info/" # the base hostname & protocol for your site url: "https://supybot.mikaela.info/" # the base hostname & protocol for your site
github_username: Mikaela github_username: Mikaela

View File

@ -2,6 +2,8 @@
# front-matter # front-matter
--- ---
/** @format */
@charset "utf-8"; @charset "utf-8";
$base-font-family: ui-sans-serif, system-ui, "Liberation Sans", Arimo, Arial, $base-font-family: ui-sans-serif, system-ui, "Liberation Sans", Arimo, Arial,
sans-serif; sans-serif;

View File

@ -2,21 +2,25 @@
layout: default layout: default
--- ---
<!-- @format -->
**_WARNING: most of the content on this site originates from 2014!_** **_WARNING: most of the content on this site originates from 2014!_**
Welcome to Mikaela's Supybot pages. Welcome to Mikaela's Supybot pages.
This site isn't official and won't help with most of issues. In case you This site isn't official and won't help with most of issues. In case you are
are looking for the official sites, they are here: looking for the official sites, they are here:
- [Limnoria's website](https://limnoria.net/) - [Limnoria's website](https://limnoria.net/)
- [Limnoria official documentation](https://docs.limnoria.net/) - [Limnoria official documentation](https://docs.limnoria.net/)
- [Supybook](https://hoxu.github.io/supybook/devel/) - [Supybook](https://hoxu.github.io/supybook/devel/)
- [Gribble Wiki](https://sourceforge.net/p/gribble/wiki/Main_Page/) - [Gribble Wiki](https://sourceforge.net/p/gribble/wiki/Main_Page/)
I also have [something in my gist repo](https://gitea.blesmrt.net/mikaela/gist/src/branch/master/irc/limnoria/) I also have
at 2021-06-11 16:07 UTC [opinionated titlefetching instructions](https://gitea.blesmrt.net/mikaela/gist/src/branch/master/irc/limnoria/titlefetching.md). [something in my gist repo](https://gitea.blesmrt.net/mikaela/gist/src/branch/master/irc/limnoria/)
at 2021-06-11 16:07 UTC
[opinionated titlefetching instructions](https://gitea.blesmrt.net/mikaela/gist/src/branch/master/irc/limnoria/titlefetching.md).
If you cannot find what you are looking for from them, please come to IRC If you cannot find what you are looking for from them, please come to IRC and
and ask. The Support channels are ask. The Support channels are
[#supybot,#limnoria on irc.libera.chat](ircs://irc.libera.chat:6697/%23supybot%2c%23limnoria) [#supybot,#limnoria on irc.libera.chat](ircs://irc.libera.chat:6697/%23supybot%2c%23limnoria)

View File

@ -1,6 +1,5 @@
{ {
"devDependencies": { "devDependencies": {
"@prettier/plugin-xml": "3.4.1",
"prettier": "3.3.0", "prettier": "3.3.0",
"prettier-plugin-sh": "0.14.0" "prettier-plugin-sh": "0.14.0"
}, },