1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Merge pull request #855 from ailin-nemui/sync

run syncdocs.sh and syncscripts.sh
This commit is contained in:
ailin-nemui 2018-03-07 07:33:10 +01:00 committed by GitHub
commit 1178f753cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 15 deletions

View File

@ -411,7 +411,7 @@ Ctrl-X - set the next server in list active
<p>Irssi supports connecting to IRC servers via a proxy. All server connections are then made through it, and if youve set up everything properly, you dont need to do any <code>/QUOTE SERVER</code> commands manually.</p> <p>Irssi supports connecting to IRC servers via a proxy. All server connections are then made through it, and if youve set up everything properly, you dont need to do any <code>/QUOTE SERVER</code> commands manually.</p>
<p>Heres an example: You have your bouncer (lets say, BNC or BNC-like) listening in irc.bouncer.org port 5000. You want to use it to connect to servers irc.dalnet and irc.efnet.org. First youd need to setup the bouncer:</p> <p>Heres an example: You have your bouncer (lets say, BNC or BNC-like) listening in irc.bouncer.org port 5000. You want to use it to connect to servers irc.dal.net and irc.efnet.org. First youd need to setup the bouncer:</p>
<div><div><pre><code>/SET use_proxy ON <div><div><pre><code>/SET use_proxy ON
/SET proxy_address irc.bouncer.org /SET proxy_address irc.bouncer.org
@ -434,7 +434,7 @@ Ctrl-X - set the next server in list active
<p><strong>Proxy specific settings:</strong></p> <p><strong>Proxy specific settings:</strong></p>
<p>All proxies have these settings in common:</p> <p>All proxies except irssi proxy and socks proxy have these settings in common:</p>
<div><div><pre><code>/SET use_proxy ON <div><div><pre><code>/SET use_proxy ON
/SET proxy_address &lt;Proxy host address&gt; /SET proxy_address &lt;Proxy host address&gt;
@ -488,7 +488,7 @@ Ctrl-X - set the next server in list active
<p>Irssi contains its own proxy which you can build giving <code>\--with-proxy</code> option to configure. Youll still need to run irssi in a screen to use it though.</p> <p>Irssi contains its own proxy which you can build giving <code>\--with-proxy</code> option to configure. Youll still need to run irssi in a screen to use it though.</p>
<p>Irssi proxy is a bit different than most proxies, normally proxies create a new connection to IRC server when you connect to it, but <strong>irssi proxy shares your existing IRC connection(s) to multiple clients</strong>. And even more clearly: <strong>You can use only one IRC server connection to IRC with as many clients as you want</strong>. Can anyone figure out even more easier ways to say this, so I wouldnt need to try to explain this thing for minutes every time? :)</p> <p>Irssi proxy is a bit different than most proxies, normally proxies create a new connection to IRC server when a new client connects to it, but <strong>irssi proxy shares your existing IRC connection(s) to multiple clients</strong>. And even more clearly: <strong>You can use only one IRC server connection of the irssi proxy to IRC with as many clients as you want</strong>. Can anyone figure out even more easier ways to say this, so I wouldnt need to try to explain this thing for minutes every time? :)</p>
<p>Irssi proxy supports sharing multiple server connections in different ports, like you can share network in port 2777 and efnet in port 2778.</p> <p>Irssi proxy supports sharing multiple server connections in different ports, like you can share network in port 2777 and efnet in port 2778.</p>

View File

@ -460,7 +460,7 @@ need to do any /QUOTE SERVER commands manually.
Heres an example: You have your bouncer (lets say, BNC or BNC-like) listening Heres an example: You have your bouncer (lets say, BNC or BNC-like) listening
in irc.bouncer.org port 5000. You want to use it to connect to servers in irc.bouncer.org port 5000. You want to use it to connect to servers
irc.dalnet and irc.efnet.org. First youd need to setup the bouncer: irc.dal.net and irc.efnet.org. First youd need to setup the bouncer:
/SET use_proxy ON /SET use_proxy ON
/SET proxy_address irc.bouncer.org /SET proxy_address irc.bouncer.org
@ -485,7 +485,7 @@ which you can give to /SERVER and /SERVER ADD commands.
Proxy specific settings: Proxy specific settings:
All proxies have these settings in common: All proxies except irssi proxy and socks proxy have these settings in common:
/SET use_proxy ON /SET use_proxy ON
/SET proxy_address <Proxy host address> /SET proxy_address <Proxy host address>
@ -543,11 +543,12 @@ Irssi contains its own proxy which you can build giving \--with-proxy option
to configure. Youll still need to run irssi in a screen to use it though. to configure. Youll still need to run irssi in a screen to use it though.
Irssi proxy is a bit different than most proxies, normally proxies create a new Irssi proxy is a bit different than most proxies, normally proxies create a new
connection to IRC server when you connect to it, but irssi proxy shares your connection to IRC server when a new client connects to it, but irssi proxy
existing IRC connection(s) to multiple clients. And even more clearly: You can shares your existing IRC connection(s) to multiple clients. And even more
use only one IRC server connection to IRC with as many clients as you want. Can clearly: You can use only one IRC server connection of the irssi proxy to IRC
anyone figure out even more easier ways to say this, so I wouldnt need to try with as many clients as you want. Can anyone figure out even more easier ways
to explain this thing for minutes every time? :) to say this, so I wouldnt need to try to explain this thing for minutes every
time? :)
Irssi proxy supports sharing multiple server connections in different ports, Irssi proxy supports sharing multiple server connections in different ports,
like you can share network in port 2777 and efnet in port 2778. like you can share network in port 2777 and efnet in port 2778.

View File

@ -5,7 +5,7 @@
use strict; use strict;
our $VERSION = '2003020804'; our $VERSION = '2003020806';
our %IRSSI = ( our %IRSSI = (
authors => 'Stefan \'tommie\' Tomanek', authors => 'Stefan \'tommie\' Tomanek',
contact => 'stefan@pico.ruhr.de', contact => 'stefan@pico.ruhr.de',
@ -315,6 +315,7 @@ sub get_new {
my $xml = get_scripts(); my $xml = get_scripts();
foreach (sort {$xml->{$b}{last_modified} cmp $xml->{$a}{last_modified}} keys %$xml) { foreach (sort {$xml->{$b}{last_modified} cmp $xml->{$a}{last_modified}} keys %$xml) {
my %entry = %{ $xml->{$_} }; my %entry = %{ $xml->{$_} };
next if $entry{HIDDEN};
$result->{$_} = \%entry; $result->{$_} = \%entry;
$num--; $num--;
last unless $num; last unless $num;
@ -390,6 +391,7 @@ sub search_scripts {
my %result; my %result;
foreach (sort keys %{$database}) { foreach (sort keys %{$database}) {
my %entry = %{$database->{$_}}; my %entry = %{$database->{$_}};
next if $entry{HIDDEN};
my $string = $_." "; my $string = $_." ";
$string .= $entry{description} if defined $entry{description}; $string .= $entry{description} if defined $entry{description};
if ($string =~ /$query/i) { if ($string =~ /$query/i) {
@ -1051,7 +1053,7 @@ sub toggle_autorun {
my $dir = Irssi::get_irssi_dir()."/scripts/"; my $dir = Irssi::get_irssi_dir()."/scripts/";
mkdir $dir."autorun/" unless (-e $dir."autorun/"); mkdir $dir."autorun/" unless (-e $dir."autorun/");
return unless (-e $dir.$plname); return unless (-e $dir.$plname);
if (check_autorun($sname)) { if (-e $dir."/autorun/".$plname) {
if (readlink($dir."/autorun/".$plname) eq "../".$plname) { if (readlink($dir."/autorun/".$plname) eq "../".$plname) {
if (unlink($dir."/autorun/".$plname)) { if (unlink($dir."/autorun/".$plname)) {
print CLIENTCRAP "%R>>%n Autorun of ".$sname." disabled"; print CLIENTCRAP "%R>>%n Autorun of ".$sname." disabled";
@ -1062,8 +1064,11 @@ sub toggle_autorun {
print CLIENTCRAP "%R>>%n ".$dir."/autorun/".$plname." is not a correct link"; print CLIENTCRAP "%R>>%n ".$dir."/autorun/".$plname." is not a correct link";
} }
} else { } else {
symlink("../".$plname, $dir."/autorun/".$plname); if (symlink("../".$plname, $dir."/autorun/".$plname)) {
print CLIENTCRAP "%R>>%n Autorun of ".$sname." enabled"; print CLIENTCRAP "%R>>%n Autorun of ".$sname." enabled";
} else {
print CLIENTCRAP "%R>>%n Unable to create autorun link";
}
} }
} }

View File

@ -11,7 +11,7 @@ howto=$site/documentation/startup/
# remove everything until H1 and optionally 2 DIVs before the # remove everything until H1 and optionally 2 DIVs before the
# FOOTER. May need to be adjusted as the source pages change # FOOTER. May need to be adjusted as the source pages change
pageclean_regex='s{.*(?=<h1)}{}s; pageclean_regex='s{.*(?=<h1)}{}s;
s{\s*(</div>\s*)?(</div>\s*)?<footer.*}{}s; s{(\s*<script\s.*?</script>)?\s*(</div>\s*){0,3}<footer.*}{}s;
s{(<.*?)\sclass="(?:highlighter-rouge|highlight)"(.*?>)}{\1\2}g;' s{(<.*?)\sclass="(?:highlighter-rouge|highlight)"(.*?>)}{\1\2}g;'
srcdir=`dirname "$0"` srcdir=`dirname "$0"`