From 4247f9f3850d6f2b8bd181478ec8f0d3c6f50494 Mon Sep 17 00:00:00 2001 From: R3d <134622364+R3disme@users.noreply.github.com> Date: Wed, 2 Dec 2026 13:59:23 +0100 Subject: [PATCH] Woggle Scripts: new name and home in WoggleSL, credit Oppdageren --- README.md | 8 ++++++-- dist/hexchat/scoutlink.py | 2 +- dist/hexdroid/scoutlink.hex | 4 ++-- dist/installer-config.json | 10 +++++----- dist/irssi/scoutlink.pl | 2 +- dist/mirc-install.txt | 2 +- dist/mirc/scoutlink.mrc | 2 +- dist/weechat/scoutlink-weechat.py | 2 +- docs/guide/da.md | 2 +- docs/guide/en.md | 2 +- docs/guide/no.md | 2 +- docs/guide/sv.md | 2 +- docs/install/da.md | 14 +++++++------- docs/install/en.md | 14 +++++++------- docs/install/no.md | 14 +++++++------- docs/install/sv.md | 14 +++++++------- installer.yml | 2 +- installer/setup.py | 12 ++++++++---- tools/testircd.py | 2 +- 19 files changed, 60 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index 127a188..01297c9 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,13 @@ -# Red scripts - ScoutLink +# Woggle Scripts - ScoutLink ChanOp- og IRCop-script for ScoutLink Scandinavia, på dansk, norsk, svensk og engelsk.
mIRC · ZoiteChat/HexChat · HexDroid · WeeChat · irssi · Halloy · [Woggle](docs/install/no.md#woggle) -**[Last ned](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest)** · [Bidra](docs/CONTRIBUTING.md) · [Plan](docs/PLAN.md) +**[Last ned](https://github.com/WoggleSL/woggle-scripts/releases/latest)** · [Bidra](docs/CONTRIBUTING.md) · [Plan](docs/PLAN.md) + +Basert på Oppdagerens ScoutLink-script og R3ds gamle mIRC-script, skrevet om og utvidet for flere klienter. Takk til Oppdageren for grunnlaget. + +Vedlikeholdes av [WoggleSL](https://github.com/WoggleSL) sammen med [Woggle](https://github.com/WoggleSL/woggle), IRC-klienten vår for ScoutLink-chanops. Ikke et offisielt ScoutLink-produkt. | | Installer | Guide | Funksjoner | Støttenivå | |---|---|---|---|---| diff --git a/dist/hexchat/scoutlink.py b/dist/hexchat/scoutlink.py index e1ff13e..c1ce72e 100644 --- a/dist/hexchat/scoutlink.py +++ b/dist/hexchat/scoutlink.py @@ -915,7 +915,7 @@ 'mask': None, 'index': 48}, {'label': 'Liste', 'raw': 'STATS G', 'ask': None, 'mask': None, 'index': 49}]}], - 'base_url': 'https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download', + 'base_url': 'https://github.com/WoggleSL/woggle-scripts/releases/latest/download', 'update_mode': 'ask', 'update_hours': 24} diff --git a/dist/hexdroid/scoutlink.hex b/dist/hexdroid/scoutlink.hex index 5a9ee73..f5a8e49 100644 --- a/dist/hexdroid/scoutlink.hex +++ b/dist/hexdroid/scoutlink.hex @@ -422,7 +422,7 @@ on NUMERIC { on SIGNAL:sl_unban { raw MODE $1 -b $2 } on SIGNAL:sl_updcheck { - http.get https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/version.txt sl_updgot + http.get https://github.com/WoggleSL/woggle-scripts/releases/latest/download/version.txt sl_updgot timer 86400000 sl_updcheck } @@ -434,7 +434,7 @@ on SIGNAL:sl_updgot { while (%i < 3) { if ($get(%new, %i) > $get(%old, %i)) { toast ScoutLink: ny versjon er klar - echo -s ScoutLink $trim($httpbody) er klar. Last ned https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink.hex og importer den i Scripts. + echo -s ScoutLink $trim($httpbody) er klar. Last ned https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink.hex og importer den i Scripts. return } if ($get(%new, %i) < $get(%old, %i)) { return } diff --git a/dist/installer-config.json b/dist/installer-config.json index 0da7bb2..126e0fe 100644 --- a/dist/installer-config.json +++ b/dist/installer-config.json @@ -1,10 +1,10 @@ { - "repository": "R3disme/Red-Scripts---Scoutlink", + "repository": "WoggleSL/woggle-scripts", "version": "0.0.10", - "base_url": "https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download", - "release_url": "https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest", - "api_latest": "https://api.github.com/repos/R3disme/Red-Scripts---Scoutlink/releases/latest", - "guide_url": "https://github.com/R3disme/Red-Scripts---Scoutlink/blob/main/docs/guide/{lang}.md", + "base_url": "https://github.com/WoggleSL/woggle-scripts/releases/latest/download", + "release_url": "https://github.com/WoggleSL/woggle-scripts/releases/latest", + "api_latest": "https://api.github.com/repos/WoggleSL/woggle-scripts/releases/latest", + "guide_url": "https://github.com/WoggleSL/woggle-scripts/blob/main/docs/guide/{lang}.md", "title": "ScoutLink Scripts", "publisher": "ScoutLink Scandinavia", "texts": { diff --git a/dist/irssi/scoutlink.pl b/dist/irssi/scoutlink.pl index 91ff56e..9ae2aa8 100644 --- a/dist/irssi/scoutlink.pl +++ b/dist/irssi/scoutlink.pl @@ -1129,7 +1129,7 @@ "If you just want to chat, please use the channels instead of private messages (see https://www.scoutlink.net/rules/)" ] }, - "base_url": "https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download", + "base_url": "https://github.com/WoggleSL/woggle-scripts/releases/latest/download", "update_mode": "ask", "update_hours": 24, "starter_order": { diff --git a/dist/mirc-install.txt b/dist/mirc-install.txt index e0fd8b5..34933c3 100644 --- a/dist/mirc-install.txt +++ b/dist/mirc-install.txt @@ -1 +1 @@ -//if ($version < 7.56) { echo -a ScoutLink: mIRC 7.56+ | halt } | var %d = $mircdir $+ scripts | var %f = %d $+ \scoutlink.mrc | if (!$isdir(%d)) mkdir $qt(%d) | var %b = %d $+ \slboot.mrc | write -c $qt(%f) | write -c $qt(%b) alias sl.boot $chr(123) if ( $chr(36) $+ urlget( $+ $chr(36) $+ 1).state == ok) .load -rs $qt(%f) $chr(124) echo -a ScoutLink $chr(36) $+ iif( $+ $chr(36) $+ isalias(sl),OK - høyreklikk på et nick / right-click a nick,: nedlasting feilet / download failed) $chr(124) .timer 1 1 .unload -rs $qt(%b) $chr(125) | .load -rs $qt(%b) | noop $urlget(https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink.mrc,gf,%f,sl.boot) | .timersl.upd 0 86400 sl.upd.check | echo -a ScoutLink: laster ned / downloading ... +//if ($version < 7.56) { echo -a ScoutLink: mIRC 7.56+ | halt } | var %d = $mircdir $+ scripts | var %f = %d $+ \scoutlink.mrc | if (!$isdir(%d)) mkdir $qt(%d) | var %b = %d $+ \slboot.mrc | write -c $qt(%f) | write -c $qt(%b) alias sl.boot $chr(123) if ( $chr(36) $+ urlget( $+ $chr(36) $+ 1).state == ok) .load -rs $qt(%f) $chr(124) echo -a ScoutLink $chr(36) $+ iif( $+ $chr(36) $+ isalias(sl),OK - høyreklikk på et nick / right-click a nick,: nedlasting feilet / download failed) $chr(124) .timer 1 1 .unload -rs $qt(%b) $chr(125) | .load -rs $qt(%b) | noop $urlget(https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink.mrc,gf,%f,sl.boot) | .timersl.upd 0 86400 sl.upd.check | echo -a ScoutLink: laster ned / downloading ... diff --git a/dist/mirc/scoutlink.mrc b/dist/mirc/scoutlink.mrc index c3dd603..1ce8a39 100644 --- a/dist/mirc/scoutlink.mrc +++ b/dist/mirc/scoutlink.mrc @@ -3,7 +3,7 @@ ; DA: Lavet ud fra scripts.yaml af tools/build.py. Ret YAML-filen, ikke denne fil. ; EN: Generated from scripts.yaml by tools/build.py. Edit the YAML, not this file. alias -l sl.ver return 0.0.10 -alias -l sl.base return https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download +alias -l sl.base return https://github.com/WoggleSL/woggle-scripts/releases/latest/download alias -l sl.ini return $scriptdir $+ scoutlink.ini alias -l sl.ircop return $iif($readini($sl.ini,n,settings,ircop) == 1,$true,$false) alias -l sl.autoreply return $iif($readini($sl.ini,n,settings,autoreply) == 0,$false,$true) diff --git a/dist/weechat/scoutlink-weechat.py b/dist/weechat/scoutlink-weechat.py index 522ddf8..18fe164 100644 --- a/dist/weechat/scoutlink-weechat.py +++ b/dist/weechat/scoutlink-weechat.py @@ -657,7 +657,7 @@ '#help) or tell me what you need help with.', 'If you just want to chat, please use the channels instead of private messages (see ' 'https://www.scoutlink.net/rules/)']}, - 'base_url': 'https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download', + 'base_url': 'https://github.com/WoggleSL/woggle-scripts/releases/latest/download', 'update_mode': 'ask', 'update_hours': 24} diff --git a/docs/guide/da.md b/docs/guide/da.md index 2895d12..b73ee80 100644 --- a/docs/guide/da.md +++ b/docs/guide/da.md @@ -1,6 +1,6 @@ # ScoutLink Scripts - Sådan bruger du ScoutLink -Denne installation er version 0.0.10 · [Åbn downloadsiden](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest) · [Norsk](no.md) · [Svenska](sv.md) · [English](en.md) +Denne installation er version 0.0.10 · [Åbn downloadsiden](https://github.com/WoggleSL/woggle-scripts/releases/latest) · [Norsk](no.md) · [Svenska](sv.md) · [English](en.md) diff --git a/docs/guide/en.md b/docs/guide/en.md index 9278553..1adb76a 100644 --- a/docs/guide/en.md +++ b/docs/guide/en.md @@ -1,6 +1,6 @@ # ScoutLink Scripts - How to use ScoutLink -This installer is version 0.0.10 · [Open the download page](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest) · [Norsk](no.md) · [Dansk](da.md) · [Svenska](sv.md) +This installer is version 0.0.10 · [Open the download page](https://github.com/WoggleSL/woggle-scripts/releases/latest) · [Norsk](no.md) · [Dansk](da.md) · [Svenska](sv.md) diff --git a/docs/guide/no.md b/docs/guide/no.md index 2b4e9b4..dd9975c 100644 --- a/docs/guide/no.md +++ b/docs/guide/no.md @@ -1,6 +1,6 @@ # ScoutLink Scripts - Slik bruker du ScoutLink -Denne installasjonen er versjon 0.0.10 · [Åpne nedlastingssiden](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest) · [Dansk](da.md) · [Svenska](sv.md) · [English](en.md) +Denne installasjonen er versjon 0.0.10 · [Åpne nedlastingssiden](https://github.com/WoggleSL/woggle-scripts/releases/latest) · [Dansk](da.md) · [Svenska](sv.md) · [English](en.md) diff --git a/docs/guide/sv.md b/docs/guide/sv.md index 9a57ead..d7f5919 100644 --- a/docs/guide/sv.md +++ b/docs/guide/sv.md @@ -1,6 +1,6 @@ # ScoutLink Scripts - Så använder du ScoutLink -Den här installationen är version 0.0.10 · [Öppna nedladdningssidan](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest) · [Norsk](no.md) · [Dansk](da.md) · [English](en.md) +Den här installationen är version 0.0.10 · [Öppna nedladdningssidan](https://github.com/WoggleSL/woggle-scripts/releases/latest) · [Norsk](no.md) · [Dansk](da.md) · [English](en.md) diff --git a/docs/install/da.md b/docs/install/da.md index e1cc563..359ed02 100644 --- a/docs/install/da.md +++ b/docs/install/da.md @@ -52,9 +52,9 @@ Find din klient, følg trinnene, og højreklik på et nick (eller skriv /sl), n 🥇 Guld · Windows, Linux -1. Hent [ScoutLink-Setup-Windows.exe](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/ScoutLink-Setup-Windows.exe) eller [ScoutLink-Setup-Linux](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/ScoutLink-Setup-Linux) og kør det. +1. Hent [ScoutLink-Setup-Windows.exe](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/ScoutLink-Setup-Windows.exe) eller [ScoutLink-Setup-Linux](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/ScoutLink-Setup-Linux) og kør det. 2. Sæt kryds ved din klient og tryk Installer. Programmet tjekker at Python-tilføjelsen er på plads. -3. Uden programmet: læg [scoutlink.py](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink.py) i mappen `addons` og genstart klienten. +3. Uden programmet: læg [scoutlink.py](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink.py) i mappen `addons` og genstart klienten. > 📷 *Skærmbillede fra ZoiteChat kommer.* @@ -64,7 +64,7 @@ Find din klient, følg trinnene, og højreklik på et nick (eller skriv /sl), n 🥈 Sølv · Android · Knappanel i stedet for højreklik. Siger til, når en ny version er ude. -1. Hent [scoutlink.hex](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink.hex) på telefonen. +1. Hent [scoutlink.hex](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink.hex) på telefonen. 2. I HexDroid: menuen, **Scripts**, **Import file**, og vælg scoutlink.hex. 3. Skriv `/sl nick` i en kanal for at åbne panelet med knapper. @@ -76,7 +76,7 @@ Find din klient, følg trinnene, og højreklik på et nick (eller skriv /sl), n 🥈 Sølv · Linux, macOS -1. Kør ScoutLink-Setup-Linux, eller hent [scoutlink-weechat.py](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink-weechat.py) og gem den som `~/.local/share/weechat/python/scoutlink.py`. +1. Kør ScoutLink-Setup-Linux, eller hent [scoutlink-weechat.py](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink-weechat.py) og gem den som `~/.local/share/weechat/python/scoutlink.py`. 2. Lav et link i `python/autoload`, så starter den af sig selv: `ln -s ../scoutlink.py ~/.local/share/weechat/python/autoload/` 3. Skriv `/python load scoutlink.py`, og så `/sl lang da`. @@ -88,7 +88,7 @@ Find din klient, følg trinnene, og højreklik på et nick (eller skriv /sl), n 🥈 Sølv · Linux, macOS -1. Kør ScoutLink-Setup-Linux, eller hent [scoutlink.pl](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink.pl) til `~/.irssi/scripts/`. +1. Kør ScoutLink-Setup-Linux, eller hent [scoutlink.pl](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink.pl) til `~/.irssi/scripts/`. 2. Lav et link i `autorun`, så starter den af sig selv: `ln -s ../scoutlink.pl ~/.irssi/scripts/autorun/` 3. Skriv `/script load scoutlink`, og så `/sl lang da`. @@ -100,8 +100,8 @@ Find din klient, følg trinnene, og højreklik på et nick (eller skriv /sl), n 🥉 Bronze · Windows, Linux, macOS · Kommer med ScoutLink-temaet (lyst og mørkt). -1. Kør installationsprogrammet, eller indsæt indholdet af [scoutlink-halloy.toml](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink-halloy.toml) i Halloys `config.toml`. -2. Vil du have ScoutLink-farverne: læg [scoutlink-dark.toml](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink-dark.toml) og [scoutlink-light.toml](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink-light.toml) i `themes`, og skriv `theme = { light = "scoutlink-light", dark = "scoutlink-dark" }` øverst i `config.toml`. +1. Kør installationsprogrammet, eller indsæt indholdet af [scoutlink-halloy.toml](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink-halloy.toml) i Halloys `config.toml`. +2. Vil du have ScoutLink-farverne: læg [scoutlink-dark.toml](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink-dark.toml) og [scoutlink-light.toml](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink-light.toml) i `themes`, og skriv `theme = { light = "scoutlink-light", dark = "scoutlink-dark" }` øverst i `config.toml`. 3. Brug de korte kommandoer, for eksempel `/wcapsd Ola` eller `/kspame Ola`. Ban laver du i mIRC, ZoiteChat/HexChat, WeeChat eller irssi. 4. Installationsprogrammet tilføjer også serveren `chat.scoutlink.net` (port 6697, TLS) med #scandinavia og #help, uden adgangskode, og kan installere Halloy for dig, hvis du ikke har det. diff --git a/docs/install/en.md b/docs/install/en.md index 794f019..45c71d4 100644 --- a/docs/install/en.md +++ b/docs/install/en.md @@ -52,9 +52,9 @@ Find your client, follow the steps, and right-click a nick (or type /sl) once yo 🥇 Gold · Windows, Linux -1. Download [ScoutLink-Setup-Windows.exe](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/ScoutLink-Setup-Windows.exe) or [ScoutLink-Setup-Linux](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/ScoutLink-Setup-Linux) and run it. +1. Download [ScoutLink-Setup-Windows.exe](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/ScoutLink-Setup-Windows.exe) or [ScoutLink-Setup-Linux](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/ScoutLink-Setup-Linux) and run it. 2. Tick your client and press Install. The program checks that the Python plugin is there. -3. Without the program: put [scoutlink.py](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink.py) in the `addons` folder and restart the client. +3. Without the program: put [scoutlink.py](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink.py) in the `addons` folder and restart the client. > 📷 *ZoiteChat screenshot coming.* @@ -64,7 +64,7 @@ Find your client, follow the steps, and right-click a nick (or type /sl) once yo 🥈 Silver · Android · Button panel instead of right-click. Tells you when a new version is out. -1. Download [scoutlink.hex](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink.hex) on your phone. +1. Download [scoutlink.hex](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink.hex) on your phone. 2. In HexDroid: the menu, **Scripts**, **Import file**, and choose scoutlink.hex. 3. Type `/sl nick` in a channel to open the panel with buttons. @@ -76,7 +76,7 @@ Find your client, follow the steps, and right-click a nick (or type /sl) once yo 🥈 Silver · Linux, macOS -1. Run ScoutLink-Setup-Linux, or download [scoutlink-weechat.py](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink-weechat.py) and save it as `~/.local/share/weechat/python/scoutlink.py`. +1. Run ScoutLink-Setup-Linux, or download [scoutlink-weechat.py](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink-weechat.py) and save it as `~/.local/share/weechat/python/scoutlink.py`. 2. Make a link in `python/autoload` so it starts by itself: `ln -s ../scoutlink.py ~/.local/share/weechat/python/autoload/` 3. Type `/python load scoutlink.py`, then `/sl lang en`. @@ -88,7 +88,7 @@ Find your client, follow the steps, and right-click a nick (or type /sl) once yo 🥈 Silver · Linux, macOS -1. Run ScoutLink-Setup-Linux, or download [scoutlink.pl](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink.pl) to `~/.irssi/scripts/`. +1. Run ScoutLink-Setup-Linux, or download [scoutlink.pl](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink.pl) to `~/.irssi/scripts/`. 2. Make a link in `autorun` so it starts by itself: `ln -s ../scoutlink.pl ~/.irssi/scripts/autorun/` 3. Type `/script load scoutlink`, then `/sl lang en`. @@ -100,8 +100,8 @@ Find your client, follow the steps, and right-click a nick (or type /sl) once yo 🥉 Bronze · Windows, Linux, macOS · Comes with the ScoutLink theme (light and dark). -1. Run the installer, or paste the contents of [scoutlink-halloy.toml](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink-halloy.toml) into Halloy's `config.toml`. -2. For the ScoutLink colours: put [scoutlink-dark.toml](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink-dark.toml) and [scoutlink-light.toml](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink-light.toml) in `themes`, and add `theme = { light = "scoutlink-light", dark = "scoutlink-dark" }` at the top of `config.toml`. +1. Run the installer, or paste the contents of [scoutlink-halloy.toml](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink-halloy.toml) into Halloy's `config.toml`. +2. For the ScoutLink colours: put [scoutlink-dark.toml](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink-dark.toml) and [scoutlink-light.toml](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink-light.toml) in `themes`, and add `theme = { light = "scoutlink-light", dark = "scoutlink-dark" }` at the top of `config.toml`. 3. Use the short commands, for example `/wcapse Ola` or `/kspame Ola`. Bans are done in mIRC, ZoiteChat/HexChat, WeeChat or irssi. 4. The installer also adds the server `chat.scoutlink.net` (port 6697, TLS) with #english and #help, no password, and can install Halloy for you if you do not have it. diff --git a/docs/install/no.md b/docs/install/no.md index 1ab5d0f..dd533a4 100644 --- a/docs/install/no.md +++ b/docs/install/no.md @@ -52,9 +52,9 @@ Finn klienten din, følg stegene, og høyreklikk på et nick (eller skriv /sl) n 🥇 Gull · Windows, Linux -1. Last ned [ScoutLink-Setup-Windows.exe](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/ScoutLink-Setup-Windows.exe) eller [ScoutLink-Setup-Linux](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/ScoutLink-Setup-Linux) og kjør det. +1. Last ned [ScoutLink-Setup-Windows.exe](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/ScoutLink-Setup-Windows.exe) eller [ScoutLink-Setup-Linux](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/ScoutLink-Setup-Linux) og kjør det. 2. Kryss av for klienten din og trykk Installer. Programmet sjekker at Python-tillegget er på plass. -3. Uten programmet: legg [scoutlink.py](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink.py) i `addons`-mappen og start klienten på nytt. +3. Uten programmet: legg [scoutlink.py](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink.py) i `addons`-mappen og start klienten på nytt. > 📷 *Skjermbilde fra ZoiteChat kommer.* @@ -64,7 +64,7 @@ Finn klienten din, følg stegene, og høyreklikk på et nick (eller skriv /sl) n 🥈 Sølv · Android · Knappepanel i stedet for høyreklikk. Gir beskjed når en ny versjon er ute. -1. Last ned [scoutlink.hex](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink.hex) på telefonen. +1. Last ned [scoutlink.hex](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink.hex) på telefonen. 2. I HexDroid: menyen, **Scripts**, **Import file**, og velg scoutlink.hex. 3. Skriv `/sl nick` i en kanal for å åpne panelet med knapper. @@ -76,7 +76,7 @@ Finn klienten din, følg stegene, og høyreklikk på et nick (eller skriv /sl) n 🥈 Sølv · Linux, macOS -1. Kjør ScoutLink-Setup-Linux, eller last ned [scoutlink-weechat.py](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink-weechat.py) og lagre den som `~/.local/share/weechat/python/scoutlink.py`. +1. Kjør ScoutLink-Setup-Linux, eller last ned [scoutlink-weechat.py](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink-weechat.py) og lagre den som `~/.local/share/weechat/python/scoutlink.py`. 2. Lag en lenke i `python/autoload`, så starter den av seg selv: `ln -s ../scoutlink.py ~/.local/share/weechat/python/autoload/` 3. Skriv `/python load scoutlink.py`, og så `/sl lang no`. @@ -88,7 +88,7 @@ Finn klienten din, følg stegene, og høyreklikk på et nick (eller skriv /sl) n 🥈 Sølv · Linux, macOS -1. Kjør ScoutLink-Setup-Linux, eller last ned [scoutlink.pl](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink.pl) til `~/.irssi/scripts/`. +1. Kjør ScoutLink-Setup-Linux, eller last ned [scoutlink.pl](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink.pl) til `~/.irssi/scripts/`. 2. Lag en lenke i `autorun`, så starter den av seg selv: `ln -s ../scoutlink.pl ~/.irssi/scripts/autorun/` 3. Skriv `/script load scoutlink`, og så `/sl lang no`. @@ -100,8 +100,8 @@ Finn klienten din, følg stegene, og høyreklikk på et nick (eller skriv /sl) n 🥉 Bronse · Windows, Linux, macOS · Kommer med ScoutLink-temaet (lyst og mørkt). -1. Kjør installasjonsprogrammet, eller lim innholdet i [scoutlink-halloy.toml](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink-halloy.toml) inn i Halloys `config.toml`. -2. Vil du ha ScoutLink-fargene: legg [scoutlink-dark.toml](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink-dark.toml) og [scoutlink-light.toml](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink-light.toml) i `themes`, og skriv `theme = { light = "scoutlink-light", dark = "scoutlink-dark" }` øverst i `config.toml`. +1. Kjør installasjonsprogrammet, eller lim innholdet i [scoutlink-halloy.toml](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink-halloy.toml) inn i Halloys `config.toml`. +2. Vil du ha ScoutLink-fargene: legg [scoutlink-dark.toml](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink-dark.toml) og [scoutlink-light.toml](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink-light.toml) i `themes`, og skriv `theme = { light = "scoutlink-light", dark = "scoutlink-dark" }` øverst i `config.toml`. 3. Bruk de korte kommandoene, for eksempel `/wcapsn Ola` eller `/kspame Ola`. Ban gjør du i mIRC, ZoiteChat/HexChat, WeeChat eller irssi. 4. Installasjonsprogrammet legger også inn serveren `chat.scoutlink.net` (port 6697, TLS) med #scandinavia og #help, uten passord, og kan installere Halloy for deg hvis du ikke har det. diff --git a/docs/install/sv.md b/docs/install/sv.md index e871980..bf053da 100644 --- a/docs/install/sv.md +++ b/docs/install/sv.md @@ -52,9 +52,9 @@ Hitta din klient, följ stegen och högerklicka på ett nick (eller skriv /sl) n 🥇 Guld · Windows, Linux -1. Ladda ner [ScoutLink-Setup-Windows.exe](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/ScoutLink-Setup-Windows.exe) eller [ScoutLink-Setup-Linux](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/ScoutLink-Setup-Linux) och kör det. +1. Ladda ner [ScoutLink-Setup-Windows.exe](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/ScoutLink-Setup-Windows.exe) eller [ScoutLink-Setup-Linux](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/ScoutLink-Setup-Linux) och kör det. 2. Kryssa i din klient och tryck Installera. Programmet kontrollerar att Python-tillägget finns. -3. Utan programmet: lägg [scoutlink.py](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink.py) i mappen `addons` och starta om klienten. +3. Utan programmet: lägg [scoutlink.py](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink.py) i mappen `addons` och starta om klienten. > 📷 *Skärmbild från ZoiteChat kommer.* @@ -64,7 +64,7 @@ Hitta din klient, följ stegen och högerklicka på ett nick (eller skriv /sl) n 🥈 Silver · Android · Knappanel i stället för högerklick. Säger till när en ny version finns. -1. Ladda ner [scoutlink.hex](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink.hex) på telefonen. +1. Ladda ner [scoutlink.hex](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink.hex) på telefonen. 2. I HexDroid: menyn, **Scripts**, **Import file**, och välj scoutlink.hex. 3. Skriv `/sl nick` i en kanal för att öppna panelen med knappar. @@ -76,7 +76,7 @@ Hitta din klient, följ stegen och högerklicka på ett nick (eller skriv /sl) n 🥈 Silver · Linux, macOS -1. Kör ScoutLink-Setup-Linux, eller ladda ner [scoutlink-weechat.py](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink-weechat.py) och spara den som `~/.local/share/weechat/python/scoutlink.py`. +1. Kör ScoutLink-Setup-Linux, eller ladda ner [scoutlink-weechat.py](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink-weechat.py) och spara den som `~/.local/share/weechat/python/scoutlink.py`. 2. Gör en länk i `python/autoload`, så startar den av sig själv: `ln -s ../scoutlink.py ~/.local/share/weechat/python/autoload/` 3. Skriv `/python load scoutlink.py`, och sedan `/sl lang sv`. @@ -88,7 +88,7 @@ Hitta din klient, följ stegen och högerklicka på ett nick (eller skriv /sl) n 🥈 Silver · Linux, macOS -1. Kör ScoutLink-Setup-Linux, eller ladda ner [scoutlink.pl](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink.pl) till `~/.irssi/scripts/`. +1. Kör ScoutLink-Setup-Linux, eller ladda ner [scoutlink.pl](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink.pl) till `~/.irssi/scripts/`. 2. Gör en länk i `autorun`, så startar den av sig själv: `ln -s ../scoutlink.pl ~/.irssi/scripts/autorun/` 3. Skriv `/script load scoutlink`, och sedan `/sl lang sv`. @@ -100,8 +100,8 @@ Hitta din klient, följ stegen och högerklicka på ett nick (eller skriv /sl) n 🥉 Brons · Windows, Linux, macOS · Kommer med ScoutLink-temat (ljust och mörkt). -1. Kör installationsprogrammet, eller klistra in innehållet i [scoutlink-halloy.toml](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink-halloy.toml) i Halloys `config.toml`. -2. Vill du ha ScoutLink-färgerna: lägg [scoutlink-dark.toml](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink-dark.toml) och [scoutlink-light.toml](https://github.com/R3disme/Red-Scripts---Scoutlink/releases/latest/download/scoutlink-light.toml) i `themes`, och skriv `theme = { light = "scoutlink-light", dark = "scoutlink-dark" }` överst i `config.toml`. +1. Kör installationsprogrammet, eller klistra in innehållet i [scoutlink-halloy.toml](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink-halloy.toml) i Halloys `config.toml`. +2. Vill du ha ScoutLink-färgerna: lägg [scoutlink-dark.toml](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink-dark.toml) och [scoutlink-light.toml](https://github.com/WoggleSL/woggle-scripts/releases/latest/download/scoutlink-light.toml) i `themes`, och skriv `theme = { light = "scoutlink-light", dark = "scoutlink-dark" }` överst i `config.toml`. 3. Använd de korta kommandona, till exempel `/wcapss Ola` eller `/kspame Ola`. Ban gör du i mIRC, ZoiteChat/HexChat, WeeChat eller irssi. 4. Installationsprogrammet lägger också till servern `chat.scoutlink.net` (port 6697, TLS) med #scandinavia och #help, utan lösenord, och kan installera Halloy åt dig om du inte har det. diff --git a/installer.yml b/installer.yml index 514b3aa..69fcfb0 100644 --- a/installer.yml +++ b/installer.yml @@ -2,7 +2,7 @@ # SV: repository avgör varifrån installationen och skripten hämtar uppdateringar # DA: repository afgør hvor installationen og scripts henter opdateringer fra # EN: repository decides where installers and scripts download updates from -repository: R3disme/Red-Scripts---Scoutlink +repository: WoggleSL/woggle-scripts version: 0.0.10 release: diff --git a/installer/setup.py b/installer/setup.py index f6bbb5b..e2f675c 100644 --- a/installer/setup.py +++ b/installer/setup.py @@ -779,7 +779,7 @@ def halloy_client_after_install(offer): # EN: Private test build of Halloy (Linux and Windows). First the latest release via gh. Linux builds from source # when there is no release; Windows has no source build. # The configuration is written by the regular Halloy code above, plus a [scoutlink] section. -HAL_TEST_REPO = "R3disme/woggle" +HAL_TEST_REPO = "WoggleSL/woggle" # NO: Woggle het tidligere halloy-scoutlink; eldre utgivelser bruker de gamle navnene. # EN: Woggle used to be called halloy-scoutlink; older releases use the old names. HAL_TEST_ASSET_LINUX = ("woggle-linux-x86_64*", "halloy-scoutlink-linux-x86_64*") @@ -793,12 +793,16 @@ def halloy_client_after_install(offer): "$s.Save()\n") HAL_TEST_MEMBERS = {"linux": (("woggle", "halloy-scoutlink"), ("woggle.png", "halloy-scoutlink.png")), "windows": (("woggle.exe", "halloy-scoutlink.exe"), ("woggle.ico", "halloy-scoutlink.ico"))} -HAL_TEST_SOURCE_ICON = "assets/linux/icons/hicolor/256x256/apps/org.squidowl.halloy.png" +# NO: Nyere kildekode bruker Woggles egen app-id; eldre bruker Halloys. +# EN: Newer source uses Woggle's own app id; older source uses Halloy's. +HAL_TEST_SOURCE_ICONS = ("assets/linux/icons/hicolor/256x256/apps/io.github.WoggleSL.Woggle.png", + "assets/linux/icons/hicolor/256x256/apps/org.squidowl.halloy.png") HAL_TEST_DESKTOP = """[Desktop Entry] Type=Application Name=Woggle Exec={exe} %u Icon=woggle +StartupWMClass=io.github.WoggleSL.Woggle Terminal=false Categories=Network;Chat;IRCClient; MimeType=x-scheme-handler/irc;x-scheme-handler/ircs; @@ -927,8 +931,8 @@ def halloy_test_from_source(log): r = halloy_test_run(["nice", "-n", "15", "cargo", "build", "--release", "-j", "2"], 4 * 3600, cwd=str(src)) if r.returncode: raise HalloyTestError("halloy_test_failed", e=(r.stderr or r.stdout or "cargo failed").strip().splitlines()[-1]) - icon = src / HAL_TEST_SOURCE_ICON - return src / "target" / "release" / "halloy", icon if icon.is_file() else None + icon = next((src / p for p in HAL_TEST_SOURCE_ICONS if (src / p).is_file()), None) + return src / "target" / "release" / "halloy", icon def halloy_test_write_launcher_windows(binary, icon=None, local=None, appdata=None): diff --git a/tools/testircd.py b/tools/testircd.py index e605c45..d6f51e8 100644 --- a/tools/testircd.py +++ b/tools/testircd.py @@ -356,7 +356,7 @@ def welcome(self, user): self.numeric(user, "005", "NETWORK={} PREFIX=(ov)@+ CHANTYPES=# CHANMODES=b,k,fl,imnpst NICKLEN=30 " ":are supported by this server".format(NETWORK)) self.numeric(user, "375", ":- {} Message of the Day -".format(SERVER)) - self.numeric(user, "372", ":- Testserver for Red scripts - ScoutLink. Ingenting her er ekte.") + self.numeric(user, "372", ":- Testserver for Woggle Scripts - ScoutLink. Ingenting her er ekte.") self.numeric(user, "376", ":End of /MOTD command.") self.log("server", "{} connected".format(user.mask))