From fd4acdaaceb2b3287c90871256621748c28a5e3e Mon Sep 17 00:00:00 2001 From: Alexander Date: Wed, 25 Jan 2023 19:51:52 +0000 Subject: [PATCH 01/12] add a quick start page for weechat on tilde machine --- wiki/pages/weechat.md | 47 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 wiki/pages/weechat.md diff --git a/wiki/pages/weechat.md b/wiki/pages/weechat.md new file mode 100644 index 0000000..c5a9d21 --- /dev/null +++ b/wiki/pages/weechat.md @@ -0,0 +1,47 @@ +--- +author: ~alexlehm +published: true +title: getting started with weechat on a tilde machine +description: run weechat as a local irc client +category: + - main +--- + +If you want to run irc on your tilde account, you can use weechat +which is installed and requires minimal configuration. + +## First connection + +Start weechat on your linux shell and type the following commands: + + /server add tilde localhost/6697 + /connect tilde + +This will connect you to the irc network via the local machine using a +regular connection (which is secure enough since it stays on the local +machine). The username used is the same as your linux account, this is +should be unique, if it is not you will be called username1 or +similar, then you should chose another nickname. You do that by using +the /nick command + + /nick username + +## Register + +You now can register your username using your tilde email address as +described here: (nicks) + +After you have done that, you can set the username and password in the +weechat settings to automatically log in and authenticate + + /set irc.server.tilde.sasl_username + /set irc.server.tilde.sasl_password + +Now disconnect and connect again to get your registered nickname + + /quit +run weechat again + /connect tilde + +Now you can join any channel, e.g. #helpdesk + -- 2.34.1 From 9f135e2e1e612858691c4a9b7f0c96cea62aafd6 Mon Sep 17 00:00:00 2001 From: Alexander Date: Wed, 25 Jan 2023 19:59:55 +0000 Subject: [PATCH 02/12] change to plain connection to avoid cert error --- wiki/pages/weechat.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wiki/pages/weechat.md b/wiki/pages/weechat.md index c5a9d21..63ba73e 100644 --- a/wiki/pages/weechat.md +++ b/wiki/pages/weechat.md @@ -14,7 +14,7 @@ which is installed and requires minimal configuration. Start weechat on your linux shell and type the following commands: - /server add tilde localhost/6697 + /server add tilde localhost/6667 /connect tilde This will connect you to the irc network via the local machine using a @@ -26,6 +26,9 @@ the /nick command /nick username +If you didn't chose a username that is unique in the tilde network, +you had kind of bad luck. + ## Register You now can register your username using your tilde email address as -- 2.34.1 From 16cd767e10dc303f8db308d4d9c851b067de05f1 Mon Sep 17 00:00:00 2001 From: Alexander Date: Wed, 25 Jan 2023 20:02:24 +0000 Subject: [PATCH 03/12] wiki link --- wiki/pages/weechat.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wiki/pages/weechat.md b/wiki/pages/weechat.md index 63ba73e..a938fa4 100644 --- a/wiki/pages/weechat.md +++ b/wiki/pages/weechat.md @@ -32,7 +32,7 @@ you had kind of bad luck. ## Register You now can register your username using your tilde email address as -described here: (nicks) +described here: [intro to nicks](nicks) After you have done that, you can set the username and password in the weechat settings to automatically log in and authenticate -- 2.34.1 From 0bba795b1c6ec9ae2ce02d490d6917957d8653a4 Mon Sep 17 00:00:00 2001 From: Alexander Date: Wed, 25 Jan 2023 20:03:19 +0000 Subject: [PATCH 04/12] wiki link again --- wiki/pages/weechat.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wiki/pages/weechat.md b/wiki/pages/weechat.md index a938fa4..8cccb25 100644 --- a/wiki/pages/weechat.md +++ b/wiki/pages/weechat.md @@ -32,7 +32,7 @@ you had kind of bad luck. ## Register You now can register your username using your tilde email address as -described here: [intro to nicks](nicks) +described here: [intro to nicks](nicks.html) After you have done that, you can set the username and password in the weechat settings to automatically log in and authenticate -- 2.34.1 From 03978df9d16f1c5a5dec1fa6e26ab16332c3fbeb Mon Sep 17 00:00:00 2001 From: Alexander Date: Wed, 25 Jan 2023 20:04:23 +0000 Subject: [PATCH 05/12] formatting --- wiki/pages/weechat.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wiki/pages/weechat.md b/wiki/pages/weechat.md index 8cccb25..884ad83 100644 --- a/wiki/pages/weechat.md +++ b/wiki/pages/weechat.md @@ -43,8 +43,10 @@ weechat settings to automatically log in and authenticate Now disconnect and connect again to get your registered nickname /quit + run weechat again + /connect tilde -Now you can join any channel, e.g. #helpdesk +Now you can join any channel, e.g. **#helpdesk** -- 2.34.1 From 27a5527fccf0f1166d4a1fd2dfc8bff167a1d9b6 Mon Sep 17 00:00:00 2001 From: Alexander Date: Wed, 25 Jan 2023 20:05:19 +0000 Subject: [PATCH 06/12] formatting --- wiki/pages/weechat.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wiki/pages/weechat.md b/wiki/pages/weechat.md index 884ad83..9604483 100644 --- a/wiki/pages/weechat.md +++ b/wiki/pages/weechat.md @@ -44,7 +44,7 @@ Now disconnect and connect again to get your registered nickname /quit -run weechat again +run **weechat** again and then connect with /connect tilde -- 2.34.1 From a13374385a0fe7fc139f4cd147b02005f31ee4b5 Mon Sep 17 00:00:00 2001 From: Alexander Date: Wed, 25 Jan 2023 21:12:10 +0000 Subject: [PATCH 07/12] note about settings --- wiki/pages/weechat.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/wiki/pages/weechat.md b/wiki/pages/weechat.md index 9604483..a70e861 100644 --- a/wiki/pages/weechat.md +++ b/wiki/pages/weechat.md @@ -34,6 +34,8 @@ you had kind of bad luck. You now can register your username using your tilde email address as described here: [intro to nicks](nicks.html) +## Setting login credentials + After you have done that, you can set the username and password in the weechat settings to automatically log in and authenticate @@ -48,5 +50,23 @@ run **weechat** again and then connect with /connect tilde +## What now + Now you can join any channel, e.g. **#helpdesk** +You can set various parameters, e.g. to set your real name displayed +in /whois you can use + + /set irc.server.tilde.realname "My real name" + +You can join multiple channels with /j or start private conversatins +with /msg and navigate between the different windows with Control-N +and Control-P + +To automatically connect to the tilde server on startup use: + + /set irc.server.tilde.autoconnect on + +For more information about the program, see the +[manual](https://weechat.org/files/doc/stable/weechat_user.en.html) + -- 2.34.1 From 1644f446cecb127a52135dd5474f0643d03315cd Mon Sep 17 00:00:00 2001 From: Alexander Date: Wed, 25 Jan 2023 21:32:51 +0000 Subject: [PATCH 08/12] secure password --- wiki/pages/weechat.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/wiki/pages/weechat.md b/wiki/pages/weechat.md index a70e861..1830220 100644 --- a/wiki/pages/weechat.md +++ b/wiki/pages/weechat.md @@ -42,6 +42,14 @@ weechat settings to automatically log in and authenticate /set irc.server.tilde.sasl_username /set irc.server.tilde.sasl_password +To store the password securely, you can use secure settings like this + + /secure passphrase + /secure set tilde_password + /set irc.server.tilde.sasl_password "${sec.data.tilde_password}" + +Then the client will ask you for the passphrase when starting. + Now disconnect and connect again to get your registered nickname /quit -- 2.34.1 From d548e43c007d7d6570a98df230bf9a77c8979c21 Mon Sep 17 00:00:00 2001 From: Alexander Date: Wed, 25 Jan 2023 22:51:02 +0000 Subject: [PATCH 09/12] use irc.tilde.chat and ssl connection --- wiki/pages/weechat.md | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/wiki/pages/weechat.md b/wiki/pages/weechat.md index 1830220..55642ee 100644 --- a/wiki/pages/weechat.md +++ b/wiki/pages/weechat.md @@ -14,20 +14,18 @@ which is installed and requires minimal configuration. Start weechat on your linux shell and type the following commands: - /server add tilde localhost/6667 + /server add tilde irc.tilde.chat/6697 -ssl /connect tilde -This will connect you to the irc network via the local machine using a -regular connection (which is secure enough since it stays on the local -machine). The username used is the same as your linux account, this is -should be unique, if it is not you will be called username1 or -similar, then you should chose another nickname. You do that by using -the /nick command +This will connect you to the irc network via a secure connection. The +username used is the same as your linux account, this is should be +unique, if it is not you will be called username1 or similar, then you +should chose another nickname. You do that by using the /nick command - /nick username + /nick newusername -If you didn't chose a username that is unique in the tilde network, -you had kind of bad luck. +(If you didn't chose a username that is unique in the tilde network, +you had kind of bad luck.) ## Register @@ -42,7 +40,8 @@ weechat settings to automatically log in and authenticate /set irc.server.tilde.sasl_username /set irc.server.tilde.sasl_password -To store the password securely, you can use secure settings like this +Or to store the password securely (which is preferred), you can use +secure settings like this /secure passphrase /secure set tilde_password @@ -67,9 +66,9 @@ in /whois you can use /set irc.server.tilde.realname "My real name" -You can join multiple channels with /j or start private conversatins -with /msg and navigate between the different windows with Control-N -and Control-P +You can join multiple channels with /j #channel or start private +conversatins with /msg nickname and navigate between the different +windows with Control-N and Control-P To automatically connect to the tilde server on startup use: -- 2.34.1 From bc53ed9220a2686ba22702720ee396eacdcc235f Mon Sep 17 00:00:00 2001 From: Alexander Date: Wed, 25 Jan 2023 22:54:36 +0000 Subject: [PATCH 10/12] formatting --- wiki/pages/weechat.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wiki/pages/weechat.md b/wiki/pages/weechat.md index 55642ee..c08c411 100644 --- a/wiki/pages/weechat.md +++ b/wiki/pages/weechat.md @@ -68,9 +68,9 @@ in /whois you can use You can join multiple channels with /j #channel or start private conversatins with /msg nickname and navigate between the different -windows with Control-N and Control-P +windows with Control-n and Control-p -To automatically connect to the tilde server on startup use: +To automatically connect to the tilde server on startup use /set irc.server.tilde.autoconnect on -- 2.34.1 From cdcdc33ecf0450440d8d0716b10fef11735305f8 Mon Sep 17 00:00:00 2001 From: Alexander Date: Tue, 16 May 2023 17:46:06 +0000 Subject: [PATCH 11/12] fix XSS in webchatlink variable --- stats/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stats/index.php b/stats/index.php index 85671da..b50c343 100644 --- a/stats/index.php +++ b/stats/index.php @@ -37,7 +37,7 @@ include __DIR__."/../header.php"; channels as $channel): ?> - name)?> + name)?> usercount)?> topic)?> -- 2.34.1 From e16794688cc8e5d0eac2fa4a52760d94a7e3d479 Mon Sep 17 00:00:00 2001 From: Alexander Date: Fri, 19 May 2023 22:16:00 +0000 Subject: [PATCH 12/12] add new page hostserv, fix small format error with channel names in title --- wiki/pages/bungame.md | 2 +- wiki/pages/chaos.md | 2 +- wiki/pages/hostserv.md | 44 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+), 2 deletions(-) create mode 100644 wiki/pages/hostserv.md diff --git a/wiki/pages/bungame.md b/wiki/pages/bungame.md index 68c568e..7f15870 100644 --- a/wiki/pages/bungame.md +++ b/wiki/pages/bungame.md @@ -1,7 +1,7 @@ --- title: "#bungame" author: ~khuxkm -description: the bun game in the #bungame channel +description: "the bun game in the #bungame channel" published: true category: - main diff --git a/wiki/pages/chaos.md b/wiki/pages/chaos.md index f93292a..954c7fc 100644 --- a/wiki/pages/chaos.md +++ b/wiki/pages/chaos.md @@ -2,7 +2,7 @@ author: ~aewens published: true title: "A brief history of #chaos" -description: The background and lore behind the #chaos channel +description: "The background and lore behind the #chaos channel" category: - main --- diff --git a/wiki/pages/hostserv.md b/wiki/pages/hostserv.md new file mode 100644 index 0000000..d860a07 --- /dev/null +++ b/wiki/pages/hostserv.md @@ -0,0 +1,44 @@ +--- +author: ~alexlehm +published: true +title: HostServ +description: intro to vHosts +category: + - main +--- + +tilde.chat supports a HostServ service which allows choosing a hostname to display with your IRC user instead of the actual hostname or IP address from which you are connecting. + +This may be used to improve privacy or may provide a nice name or a "team" identifier if multiple users use the same vHost. + +A hostname is formatted similar to a FQDN, however there are some limitations and actual FQDNs are usually not used. + +A hostname should not be an existing domain/hostname or use an existing TLD, also it should not match any of the Tilde domains. + +When you actually own a domain you can use it as hostname. + +To request a hostname, send a message to the user HostServ with the command + + /msg hostserv request the.hostname.you.want + +To get a list of all possible commands you send + + /msg hostserv help + +A request for a hostname is sent to an actual human moderator so that it will take some time to be checked and you will receive feedback when the hostname is approved but not when it is rejected. + +When the hostname is approved it will be activated and you can turn it on and off with + + /msg hostserv on + /msg hostserv off + +To check if your hostname is working, you can query your own user with + + /whois username + +or + + /ns info username + +If you want your tilde name as hostname, HostServ should not be, instead you can run weechat on the machine and connect to localhost or use a bouncer if your Tilde provides one. + -- 2.34.1