Pork Center
Voir le texte source
Page
Discussion
Voir le texte source
Historique
Rechercher
Navigation
Accueil
Communauté
Modifications récentes
Page au hasard
Chat
Aide
sitesupport
Outils personnels
18.191.135.224
Discussion avec cette adresse IP
Connexion
Boîte à outils
Pages liées
Suivi des pages liées
Pages spéciales
Voir le texte source
De Hack-it.org.
pour
Qwebirc
Qwebirc est un [[client irc]] en ajax, développé par l'équipe de et pour [[QuakeNet]]. * Site officiel : [http://qwebirc.org qwebirc.org] * 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== * <b>Randomnick=1</b> Active le nick par défaut défini dans la conf * <b>Nick=</b><i><Nickname...></i> Envoie le nick en paramètre, ou '.' correspond à [1-0] Si les champs <b>Randomnick</b> et <b>Nick</b> ne sont pas renseignés, l'utilisateur sera obligé de taper lui-même un pseudo pour se connecter. * <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><channel>%20<key> * <b>prompt=1</b> Donne le choix a l'utilisateur de modifier son nick/chan par defaut. * <b>uio</b> * <b>hue</b> * <b>url</b> ==Commandes== Bon, les memes qu'irc deja. On va plutot se pencher sur les commandes spécifiques à qwebirc, si il y en a. * /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 ==Installation de qwebirc== ===Prérequis=== Il faut au moins [http://python.org/download/ Python] 2.5 et [http://twistedmatrix.com/trac/ Twisted] 8.2.0. aptitude install python-twisted python-simplejson ===Install rapide=== wget http://qwebirc.org/download-default-zip -O qwebirc.zip unzip qwebirc.zip cp config.py.example config.py nano config.py python compile.py python run.py -p <port> Et voila. ===Aller plus loin=== ====Minify Javascript/css yui compressor==== Si au moment de la compilation vous avez une erreur du type "Yapajava" aptitude install openjdk-6-jre Si il n'arrive pas a utiliser yui compressor 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 ====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== ===Unreal=== <pre> cgiirc { type webirc; hostname ip.du.qweb.irc; password et_son_pass; }; except throttle { mask ip.du.qweb.irc; }; </pre> Attention : si le server unreal a l'ipv6 activé, il faut mettre ::ffff: devant l'ip ==Paramètres== ===Params de lancement=== <pre> Options: -h, --help show this help message and exit -n, --no-daemon Don't run in the background. --help-reactors Display a list of reactor names. -b, --debug Run in the Python Debugger. -t, --tracebacks Display tracebacks in error pages (this reveals a LOT of information, do NOT use in production!) -r REACTOR, --reactor=REACTOR Which reactor to use (see --help-reactors for a list). -p PORT, --port=PORT Port to start the server on. -i IP, --ip=IP IP address to listen on. -l LOGFILE, --logfile=LOGFILE Path to twisted log file. -c CLOGFILE, --clf=CLOGFILE Path to web CLF (Combined Log Format) log file. -C SSLCERTIFICATE, --certificate=SSLCERTIFICATE Path to SSL certificate. -k SSLKEY, --key=SSLKEY Path to SSL key. -H SSLCHAIN, --certificate-chain=SSLCHAIN Path to SSL certificate chain file. -P PIDFILE, --pidfile=PIDFILE Path to store PID file -s, --syslog Log to syslog --profile=PROFILE Run in profile mode, dumping results to this file --profiler=PROFILER Name of profiler to use --syslog-prefix=SYSLOG_PREFIX Syslog prefix </pre> ===Themes=== * Une jolie couleur rose : ?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== * [[Quakenet]] : http://webchat.quakenet.org/ * [[Freenode]] : http://webchat.freenode.net/ * [[Inframonde]] : http://inframonde.org:443/ * [[Gamesurge]] : http://webchat.gamesurge.net/ * [[Efnet]] : http://chat.efnet.org:9090/ * [[Rizon]] : http://qchat.rizon.net/ * [[SwiftIRC]] : http://qwebirc.swiftirc.net/?nick=SwiftIRC...&channels=%23SwiftIRC * [[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
Revenir à la page
Qwebirc
.