Pork Center

Qwebirc

De Hack-it.org.

(Unreal)
(Liste de networks qui ont foutu un qwebirc)
 
Ligne 3 : Ligne 3 :
* Site officiel : [http://qwebirc.org qwebirc.org]
* Site officiel : [http://qwebirc.org qwebirc.org]
* Channel irc : [http://irc.lc/quakenet/dev #dev]
* Channel irc : [http://irc.lc/quakenet/dev #dev]
 +
* En trouver plein sur [http://www.google.fr/search?q=inurl%3Achannels+inurl%3Anick+inurl%3A9090 google]
==Parametres==
==Parametres==
Ligne 10 : Ligne 11 :
* <b>channels=</b>%23<i><channel sans #></i> Si ce champ n'est pas renseigné, le client joinera sur un chan par défaut ou aucun chan
* <b>channels=</b>%23<i><channel sans #></i> Si ce champ n'est pas renseigné, le client joinera sur un chan par défaut ou aucun chan
* <b>channels=</b>%23<chan1>%2C%23<chan2>%2C%23<chan3> etc...
* <b>channels=</b>%23<chan1>%2C%23<chan2>%2C%23<chan3> etc...
 +
* <b>channels=</b><channel>%20<key>
* <b>prompt=1</b> Donne le choix a l'utilisateur de modifier son nick/chan par defaut.
* <b>prompt=1</b> Donne le choix a l'utilisateur de modifier son nick/chan par defaut.
* <b>uio</b>
* <b>uio</b>
 +
* <b>hue</b>
 +
* <b>url</b>
==Commandes==
==Commandes==
Bon, les memes qu'irc deja. On va plutot se pencher sur les commandes spécifiques à qwebirc, si il y en a.
Bon, les memes qu'irc deja. On va plutot se pencher sur les commandes spécifiques à qwebirc, si il y en a.
* /EMBED
* /EMBED
 +
* / KICK OP DEOP VOICE DEVOICE TOPIC JOIN AWAY QUIT CYCLE PART SAY QUERY NOTICE PRIVMSG CTCP
 +
* UMODE BEEP AUTOJOIN CLEAR LOGOUT
 +
* /OPTIONS
 +
* /PRIVACYPOLICY
 +
* /ABOUT
 +
* /QUOTE <cmd> : pour balancer une commande sus-mentionnée directement au serveur
 +
* Aliases :
 +
<pre>
 +
      "J": "JOIN",
 +
      "K": "KICK",
 +
      "MSG": "PRIVMSG",
 +
      "Q": "QUERY",
 +
      "BACK": "AWAY",
 +
      "PRIVACY": "PRIVACYPOLICY",
 +
      "HOP": "CYCLE"
 +
</pre>
* Alt (+ MAJ) + [0-9] : browse entre les differentes fenetres
* Alt (+ MAJ) + [0-9] : browse entre les differentes fenetres
 +
==Installation de qwebirc==
==Installation de qwebirc==
===Prérequis===
===Prérequis===
Il faut au moins [http://python.org/download/ Python] 2.5 et [http://twistedmatrix.com/trac/ Twisted] 8.2.0.
Il faut au moins [http://python.org/download/ Python] 2.5 et [http://twistedmatrix.com/trac/ Twisted] 8.2.0.
-
  aptitude install python-twisted
+
  aptitude install python-twisted python-simplejson
 +
 
===Install rapide===
===Install rapide===
  wget http://qwebirc.org/download-default-zip -O qwebirc.zip
  wget http://qwebirc.org/download-default-zip -O qwebirc.zip
Ligne 36 : Ligne 58 :
  mv /usr/lib/jvm/java-6-openjdk/jre/lib/rhino.jar /usr/lib/jvm/java-6-openjdk/jre/lib/rhino.jar.out
  mv /usr/lib/jvm/java-6-openjdk/jre/lib/rhino.jar /usr/lib/jvm/java-6-openjdk/jre/lib/rhino.jar.out
source : https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/255149
source : https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/255149
 +
====Nginx Proxy====
 +
* Nginx Side :
 +
edit /etc/nginx/sites-enabled/webchat.network.org
 +
<pre>
 +
  server {
 +
    server_name webchat.network.org;
 +
    access_log /home/web/log/qwebirc.access.log;
 +
    error_log  /home/web/log/qwebirc.error.log;
 +
    location / {
 +
      proxy_pass  http://127.0.0.1:9090;
 +
      proxy_set_header  X-Real-IP        $remote_addr;
 +
      proxy_set_header  Host            $host;
 +
      proxy_set_header  X-Forwarded-For  $proxy_add_x_forwarded_for;
 +
            }
 +
  }
 +
</pre>
 +
/etc/init.d/nginx restart
 +
* Qwebirc side :
 +
edit /path/qwebirc/config.py
 +
<pre>
 +
BASE_URL = "http://webchat.network.org/"
 +
FORWARDED_FOR_HEADER="x-forwarded-for"
 +
FORWARDED_FOR_IPS=["127.0.0.1"]
 +
</pre>
 +
python /path/qwebirc/compile.py<br />
 +
kill & start run.py
 +
* Thanks to [http://wiki.nognu.de/evility_webchat evility]
 +
==Configuration de l'ircd==
==Configuration de l'ircd==
===Unreal===
===Unreal===
Ligne 86 : Ligne 136 :
* Une jolie couleur rose :
* Une jolie couleur rose :
  ?uio=OT10cnVlJjEwPXRydWUmMTE9MzY555
  ?uio=OT10cnVlJjEwPXRydWUmMTE9MzY555
 +
* http://webchat.quakenet.org/?lightness=-30&hue=100&saturation=40
 +
 +
===Autoconnect hack===
 +
<pre>
 +
Anonymous
 +
 +
written 8 months ago
 +
 +
Hi!, I'm really new with qwebirc. I want just the same as the creator of this issue. I really understand problems about joinflood, but I also think that admins should have the options to make what they want with their networks. I use qwebirc in my own network.
 +
 +
I made a mod to allow autoconnect, I modify js/ui/panes/connect.js
 +
 +
just replace function qwebirc.ui.ConfirmBox (Line 15) with:
 +
 +
1
 +
2
 +
3
 +
 +
 +
 +
qwebirc.ui.ConfirmBox = function(parentElement, callback, initialNickname, initialChannels, autoNick, networkName) {
 +
    callback({"nickname": initialNickname, "autojoin": initialChannels});
 +
}
 +
 +
This changes omit autoNIck and Networkname, and any other functionality that could be inside this function because It's just want I need for my site. This allow me to autoconnect using nicknames from my site.
 +
 +
Hope this helps someone.
 +
 +
Regards
 +
 +
Emiliano Romero
 +
</pre>
 +
==Miroriser==
 +
6irc a fait un "webchat round robin" sur http://webchat.6irc.net<br>
 +
Voici [https://github.com/czaks/bestmirror les sources php/apache]<br>
 +
Et voici ce que ca donne en html sur leur page :
 +
<pre>
 +
<!DOCTYPE html>
 +
<html>
 +
    <head>
 +
        <meta http-equiv="Content-type" content="text/html; charset=utf-8">
 +
        <title>Best mirror selection... please wait a moment</title>
 +
        <script type="text/javascript">
 +
            parameters = "/";
 +
           
 +
            mirrors = {
 +
                                    "http://sundance.webchat.6irc.net":      "http://sundance.webchat.6irc.net/images/qwebircsmall.png",
 +
                    "http://aus.webchat.6irc.net":      "http://aus.webchat.6irc.net/images/qwebircsmall.png",
 +
                    "http://minimal.webchat.6irc.net":      "http://minimal.webchat.6irc.net/images/qwebircsmall.png",
 +
   
 +
            }
 +
            imgloaded = 0;
 +
           
 +
            window.onload = function() {
 +
                str = "";
 +
                for (i in mirrors) {
 +
                    str += "<img src='"+mirrors[i]+"?lid="+Math.random()+"' alt='' onload='loaded(\""+i+
 +
"\")' style='width:1px;height:1px;'>";
 +
                }
 +
                document.getElementById("container").innerHTML = str;
 +
            }
 +
           
 +
            function loaded(site) {
 +
                if (!imgloaded) {
 +
                    document.location.replace(site+parameters);
 +
                    imgloaded = !imgloaded;
 +
                }
 +
            }
 +
        </script>
 +
<meta http-equiv='Refresh' content='3;URL=http://sundance.webchat.6irc.net/'>
 +
    </head>
 +
    <body>
 +
 +
        <div id="container"></div>
 +
    </body>
 +
</pre>
 +
 +
==Forks==
 +
* [[Iris]]
 +
* [https://bitbucket.org/werdz/redbrick-qwebirc/wiki/Home redbrick-qwebirc], un qwebirc orienté "nick from http"
 +
* [http://devajax.chatzona.org:9876 chatzona], qwebirc traduced in spanish
 +
* https://hinezumi.im:8443/ : un fork pour psyced
==Liste de networks qui ont foutu un qwebirc==
==Liste de networks qui ont foutu un qwebirc==
* [[Quakenet]]  : http://webchat.quakenet.org/
* [[Quakenet]]  : http://webchat.quakenet.org/
Ligne 95 : Ligne 227 :
* [[SwiftIRC]]  : http://qwebirc.swiftirc.net/?nick=SwiftIRC...&channels=%23SwiftIRC
* [[SwiftIRC]]  : http://qwebirc.swiftirc.net/?nick=SwiftIRC...&channels=%23SwiftIRC
* [[Europnet]]  : http://dev.fantasya.org/?randomnick=1&channels=free&uio=d4
* [[Europnet]]  : http://dev.fantasya.org/?randomnick=1&channels=free&uio=d4
 +
 +
* TsukiIRC : http://qwebirc.tsukihi.me
 +
* openjoke : http://irc.lc/openjoke
 +
* [[Geeknode]] : http://irc.lc/geeknode (webircblock missing, 20cnx)
 +
* Anonops : http://irc.lc/anonops
 +
* GG : http://irc.lc/gg
 +
* quoimagueule : http://irc.lc/maurice
 +
* hzv : http://irc.lc/hzv
 +
* vbirc : http://irc.lc/vbirc
 +
* anonops : anonops.qwebirc.net
 +
* foonetic : foonetic.qwebirc.net (webircblock missing, 50cnx)
 +
* ettehad : http://irc.lc/ettehad (webircblock missing, 10cnx)
 +
* epiknet : projet.oneira.net:9090 (webircblock missing, 20cnx)
 +
* epiknet : http://chat.infoclimat.fr:9090/ (?)
 +
* freewid : freewild.qwebirc.net
 +
* Malvager : http://irc.lc/malvager
 +
* IRC-Taringa : http://irc.lc/irc-taringa (webircblock missing, unlimited)
 +
 +
 +
* Et d'autres la : https://bitbucket.org/slug/qwebirc/wiki/Users_of_qwebirc
 +
===Ceux qui en auraient bien besoin===
 +
Undernet, ircqnet, othernet, dalnet, chlame.net, irc.2ch.net, rusnet.org.ru mircphantom.net , c.ustream.tv , darksin.ch / whiffle.org ,
 +
====Marche pas ?/ FAIL====
 +
* http://9sv.de:9090
 +
* http://chat.oceanius.com
 +
* http://webchat.boomerirc.net/
 +
* http://qwebirc.otakubox.at:9090  http://qwebirc.otakubox.de/
 +
* http://www.rvachat.com/ / http://orlando.chattingnow.net/
 +
* http://warirc.net/
 +
* http://webchat.zybourne.net/
 +
http://webchat.dreamviews.com:9090/
 +
tennoko

Version actuelle en date du 24 novembre 2013 à 04:28