From 6f94821dcc0dc728a72037a28e67a8fabb4c8d72 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Fri, 29 Sep 2023 13:39:44 +0300 Subject: [PATCH] pre-commit run --all-files --- README.md | 2 +- Relaybot.markdown | 36 ++++++++++----------- Supybot.markdown | 62 +++++++++++++++++------------------- index.markdown | 12 +++---- scripts/limnoria-botchk-cron | 4 +-- 5 files changed, 57 insertions(+), 59 deletions(-) diff --git a/README.md b/README.md index 7b86c7d41..bb2e8f6f1 100644 --- a/README.md +++ b/README.md @@ -6,4 +6,4 @@ which is the source of . **testing** which will be synced with [ProgVal/Limnoria] when needed. It is used 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 diff --git a/Relaybot.markdown b/Relaybot.markdown index 516be0265..34cf50406 100644 --- a/Relaybot.markdown +++ b/Relaybot.markdown @@ -20,38 +20,38 @@ Supybot developer). (TODO/FIXME: is this the case in 2021?) Related links: -* [LinkRelay plugin](https://github.com/ProgVal/Supybot-plugins/tree/master/LinkRelay) -* [Feature request for smart filtering of joins/quits/parts](https://github.com/ProgVal/Supybot-plugins/issues/66) -* [Feature request for RELAYMSG for more native look&feel](https://github.com/ProgVal/Supybot-plugins/issues/338) +- [LinkRelay plugin](https://github.com/ProgVal/Supybot-plugins/tree/master/LinkRelay) +- [Feature request for smart filtering of joins/quits/parts](https://github.com/ProgVal/Supybot-plugins/issues/66) +- [Feature request for RELAYMSG for more native look&feel](https://github.com/ProgVal/Supybot-plugins/issues/338) Hostmask of RelayBot on Libera.Chat 2021-06-06: -* `RelayBot!~limnoria@helium.progval.net` - * This is absolute hostmask, also known as NUH (`nick!user@host`) -* `RelayBot*!*@helium.progval.net` - * This is recommended hostmask as it matches RelayBot even if it - cannot use it's primary nickname or networks cannot connect to it's - identd. +- `RelayBot!~limnoria@helium.progval.net` + - This is absolute hostmask, also known as NUH (`nick!user@host`) +- `RelayBot*!*@helium.progval.net` + - This is recommended hostmask as it matches RelayBot even if it + cannot use it's primary nickname or networks cannot connect to it's + identd. ## 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 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 won't see spamming. ## 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 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 want to do as they are author of Limnoria and help people often!** ## 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 from specific hostmask. ## WeeChat @@ -60,13 +60,13 @@ notices from specific hostmask. /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 notices from the nickname "RelayBot". -* * * * * +--- 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 with your IRC client that isn't mentioned here? -* * * * * +--- diff --git a/Supybot.markdown b/Supybot.markdown index 5b867691e..dc54b5422 100644 --- a/Supybot.markdown +++ b/Supybot.markdown @@ -10,13 +10,13 @@ on GitHub. [v0.84.0 was the last release at that time](https://github.com/Supybo distributions for years and thus I made this page, which I guess is now available more of for historical reasons. -***WARNING: most of the content originates from 2014!*** +**_WARNING: most of the content originates from 2014!_** ## The issues of 0.83.4.1. ### 1. Anyone can crash it and computer where it's running on -And this is very easy. Just run the command +And this is very easy. Just run the command ``` !misc last --regexp m/(.*\w){512}/ @@ -27,15 +27,15 @@ where ! is the prefix character. Misc is loaded by default and cannot be unloaded without modifying the config. -* [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) -* [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) +- [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) +- [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) ### 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 -host computer down. +host computer down. For example: @@ -43,17 +43,17 @@ For example: !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. -* [Limnoria issue #354](https://github.com/ProgVal/Limnoria/issues/354) - * Fixing commit: [695078e](https://github.com/ProgVal/Limnoria/commit/695078edeb91e5ff1eec728fedf0e0c27b55c505) -* [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) +- [Limnoria issue #354](https://github.com/ProgVal/Limnoria/issues/354) + - Fixing commit: [695078e](https://github.com/ProgVal/Limnoria/commit/695078edeb91e5ff1eec728fedf0e0c27b55c505) +- [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) ### 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" and "misc tell". What does this mean? Anyone can tell the bot to ghost someone else on same @@ -61,8 +61,8 @@ account, take over a channel by telling the bot to give flags (if it has correct flags), change password of the account and everything else what you do with network services. -* *This was only reported at IRC and I am unable to find issue report -or fixing commit. ~~Mikaela on 2015-01-04.* +- _This was only reported at IRC and I am unable to find issue report + or fixing commit. ~~Mikaela on 2015-01-04._ ### 4. Web page with special characters in \ can be used to send DCC/CTCP commands. @@ -78,18 +78,16 @@ Usage: !web fetch ``` -*This was only reported at IRC and I am unable to find issue report - or fixing commit. ~~Mikaela on 2015-01-04.* - +_This was only reported at IRC and I am unable to find issue report +or fixing commit. ~~Mikaela on 2015-01-04._ ### 5. Web Titlte/Fetch can be used for DoS They are vulnerable to queries to servers which have custom headers which can lead to DoS. -*This was only reported at IRC and I am unable to find issue report -or fixing commit. ~~Mikaela on 2015-01-04.* - +_This was only reported at IRC and I am unable to find issue report +or fixing commit. ~~Mikaela on 2015-01-04._ ### 6. QuoteGrabs grab command also works in PM @@ -97,8 +95,8 @@ and can grab private content such as `user register` or `user identify` or with the case of owner possibly NickServ passwords and others not so nice things. -* *It appears this issue was only reported at IRC.* - * Fixing commit: [a3346343679f3bdf8c77d9efb5a2097e215d51df](https://github.com/ProgVal/Limnoria/commit/a3346343679f3bdf8c77d9efb5a2097e215d51df) +- _It appears this issue was only reported at IRC._ + - Fixing commit: [a3346343679f3bdf8c77d9efb5a2097e215d51df](https://github.com/ProgVal/Limnoria/commit/a3346343679f3bdf8c77d9efb5a2097e215d51df) ### Are these issues publicly known? @@ -125,24 +123,24 @@ If you want permanent solution, you should install either of them. ## Possibly interesting links -* [Comparsion of commit activity between Limnoria, Gribble and Supybot](https://www.openhub.net/p/compare?project_0=Limnoria&project_1=Gribble%3A+Support+Bottie&project_2=Supybot). -* [Gribble's modifications to stock Supybot](https://sourceforge.net/p/gribble/wiki/Gribble_Project_Git_Repository/) -* [Limnoria's modifications to Gribble.](https://github.com/ProgVal/Limnoria/wiki/LGC) - * Features of Gribble are fully merged to Limnoria. +- [Comparsion of commit activity between Limnoria, Gribble and Supybot](https://www.openhub.net/p/compare?project_0=Limnoria&project_1=Gribble%3A+Support+Bottie&project_2=Supybot). +- [Gribble's modifications to stock Supybot](https://sourceforge.net/p/gribble/wiki/Gribble_Project_Git_Repository/) +- [Limnoria's modifications to Gribble.](https://github.com/ProgVal/Limnoria/wiki/LGC) + - Features of Gribble are fully merged to Limnoria. Your current botname.conf is **100% compatible with forks**. [Join Supybot channels on freenode!](ircs://chat.freenode.net:6697/#supybot,#gribble,#limnoria) -[Limnoria]:https://github.com/ProgVal/Limnoria -[Gribble]:http://github.com/nanotube/supybot_fixes +[Limnoria]: https://github.com/ProgVal/Limnoria +[Gribble]: http://github.com/nanotube/supybot_fixes ## Installing forks -*This section has been removed in order to not duplicate -[Limnoria's documentation.](http://doc.supybot.aperio.fr/en/latest/use/install.html)* +_This section has been removed in order to not duplicate +[Limnoria's documentation.](http://doc.supybot.aperio.fr/en/latest/use/install.html)_ -* * * * * +--- 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) diff --git a/index.markdown b/index.markdown index ae349073e..e78a3ae79 100644 --- a/index.markdown +++ b/index.markdown @@ -2,21 +2,21 @@ layout: default --- -***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. This site isn't official and won't help with most of issues. In case you are looking for the official sites, they are here: -* [Limnoria's website](https://limnoria.net/) - * [Limnoria official documentation](https://docs.limnoria.net/) -* [Supybook](https://hoxu.github.io/supybook/devel/) -* [Gribble Wiki](https://sourceforge.net/p/gribble/wiki/Main_Page/) +- [Limnoria's website](https://limnoria.net/) + - [Limnoria official documentation](https://docs.limnoria.net/) +- [Supybook](https://hoxu.github.io/supybook/devel/) +- [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/) 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 ask. The Support channels are [#supybot,#limnoria on irc.libera.chat](ircs://irc.libera.chat:6697/%23supybot%2c%23limnoria) diff --git a/scripts/limnoria-botchk-cron b/scripts/limnoria-botchk-cron index cd40d0b11..3ab3ef826 100755 --- a/scripts/limnoria-botchk-cron +++ b/scripts/limnoria-botchk-cron @@ -16,7 +16,7 @@ export LC_ALL=en_US.utf8 export TZ="/usr/share/zoneinfo/UTC" ## Setting $PATH correctly so executing system commands work. -## The easiest way to get this correct is probably to execute the command +## The easiest way to get this correct is probably to execute the command ## below #echo export PATH=$PATH export PATH= @@ -34,4 +34,4 @@ $SB_BC_C_SUPYBOT_BOTCHK --botdir=$SB_BC_C_BOTDIR --pidfile=$SB_BC_C_PIDFILE --su ## To debug this script, add --verbose to the end while running in ## terminal. -## vim : set ft=sh : +## vim : set ft=sh :