Code Monkey home page Code Monkey logo

speeqe's Introduction

This program is distributed under the terms of the Affero GNU General Public
License as published by the Free Software Foundation; either version
of the License, or any later version.

Copyright 2007-2010, Nathan Zorn


GENERAL INFORMATION
	
Speeqe is a web based client to XMPP/MUC rooms.
For more information about speeqe see the following URL :

https://github.com/thepug/Speeqe/wiki


RUNNING INSTANCES

For a list of running speeqe instances see the following URL :

https://github.com/thepug/Speeqe/wiki/SpeeqeInstances
	
	
CONTRIBUTORS
	Nathan Zorn [email protected]
	Matt McInerney 
	Bedrich Rios
	Collin Grady

speeqe's People

Contributors

bencates avatar calstad avatar greenlunar avatar thepug avatar twonds avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

speeqe's Issues

Ability to compose and read XHTML IM messages

As vanaryon has wrote at Issue #124 at jappix:

Give the user the ability to write his own HTML code and send it to another user as XHTML IM.

An idea was proposed at Gajim trac to have the ability to post fancy references like this:

<message type="chat" to="USER@DOMAIN/RESOURCE">
  <body>Murmuration

  http://vimeo.com/31158841
  </body>
  <html xmlns='http://jabber.org/protocol/xhtml-im'>
    <body xmlns='http://www.w3.org/1999/xhtml'>
      <p>
        <br></br>
        PLAIN TEXT
        <br></br>
        <a href='http://vimeo.com/31158841'>
          <img src='http://b.vimeocdn.com/ts/209/801/209801744_640.jpg'
                  alt='Murmuration'
                  height='300'
                  width='400'/>
        </a>
      </p>
    </body>
  </html>
</message>

Source: #7205 (Send image in the XHTML.) – Gajim (there is also a short presentation video)

Whether I, or anybody else for this matter, like this idea or not (I, personally, do not like it) it would be indeed helpful for Speeqe to compete more easily with current proprietary chat rooms providers, who I will not mention, who are using closed source technology and sometimes inefficient (i.e. using SWF toolkit) but they do provide in-band image postings and fancy references to videos.

See: XEP-0071: XHTML-IM

Accessibility - Log in from any page.

THIS TICKET IS INVALID AND WILL BE CLOSED!

If I join to a multi-user chat room http://speeqe.com/room/salix%40chat.meticul.eu/ do I necessarily need to go back to the main page to login from there and then go back to the MUC page in order to use my XMPP account in this chat room?

Edit: I propose to add, somewhere, a log in form which will appear on every page. It may be under RANDOM_NICK is available: OOPS!!!

The log in page will use HTTP Referer (Referrer) to get the user back to the chat room page from which he or she arrived from. The log in form will also use a parameter, in case HTTP Referer is blocked or disabled, which may be for foreign channels ?muc=salix%40chat.meticul.eu or for channels which are located at chat.speeqe.com XMPP server ?muc=civ4anon http://civ4anon.speeqe.com/

Speeqe incompatibility with Django 1.7?!

Hi,

I'm currently updating the TurnKey appliance library and have hit an issue with Speeqe: turnkeylinux/tracker#395

# $WEBROOT/manage.py syncdb --noinput

Traceback (most recent call last):
  File "/var/www/django/speeqeweb/manage.py", line 3, in <module>
    from django.core.management import execute_manager
ImportError: cannot import name execute_manager

You can read all the detail over on the TurnKey tracker but essentially it seems to be a compatibility issue with Django 1.7 (as packaged in Debian Jessie).

Marketing Speeqe in JID and VCard

To make Speeqe more well known it is essential to make Speeqe to publish its name in User Agent (Client in VCard) instead of nothing and also in JID resource user@domain/resource instead of a long random digit.

Speeqe may also publish the Operating System in VCard according to the operating system exhibited in the user agent of a web browser.

Expand and view git hub links.

It would be nice to have an expanded view of github links. Pull requests and other changes should show the diff in the chat room. Add other ideas to this issue.

JIDs should not be random

Currently if someone connects using speeqe anonymously, they get this "[random numbers]@speeqe.com/[random numbers]". The problem is that this is really abuse prone, you cannot ban anyone because they can just reload the room and they'll get a new random JID.

I suggest that the JID to be the person's IP and the resource to remain random. This would allow both a proper ban (at least for a while) and some tracking if the person is really pushing it too far.
Alternatively, if concerned about privacy, the JID could be a hash of the IP + salt which still allows proper ban but doesn't let you track who is behind.

installation wont work / howto problem..

Hi,
today i tried to set up Speeqe but there seems to be a error in my configuration.

All Modules from the howto are installed. For Bosh I'm using ejabberd's http-bind wich is working very well with muckl for example..

1.1 So Speeqe lies here: /usr/local/src/speeqe/speeqeweb/webroot
1.2 Symlink goes from there to /var/www/vhosts/domain.com/httpdocs/speeqewebclient

2.1 I installed Django and put this into my vhost.conf

<Location "/usr/local/src/speeqe/">
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE speeqeweb.settings
PythonOption django.root speeqeweb/
PythonDebug On

2.2 apache restart

3.1 /usr/local/src/speeqe/speeqeweb/local_settings.py ---> http://pastebin.com/HTW5JkaH
3.2 /usr/local/src/speeqe/speeqeweb/webroot/scripts/local_settings.js

4.1 if i open domain.com/speeqewebclient this is the result ---> http://img809.imageshack.us/i/speeqe.jpg/

Does anyone know what i missed?

kind regards!

Add minimize button to music player.

The music player has a close button, but the music still plays. The player should have a close button that stops the music and a minimize button that hides the music player, but keeps the music playing.

Confirm closing session like qwebirc does

When attempting to close a qwebirc session, the following dialogue will appear:

This page is asking you to confirm that you want to leave - data you have entered may not be saved.

[Stay on Page]  [Leave Page]

Using Mozilla Firefox.

Incompatible license

The readme says the license is GPL, while the license says its AFGPL. It should be consistent.

Translation support

While I like other XMPP clients more than Speeqe, Speeqe is offering something different and refreshing by keeping MUCs basic, simple, clear and easy on the user's eyes. Speeqe has its own special features (though not full to the average XMPP user) and advantages over others.

This XMPP chat room (MUC) client has an immense potential to be a very popular alternative to current chat rooms and as such it should have support to be localized in order to spread it to more people than otherwise.

I will submit a translation, as soon as Speeqe will support adding to it translations.

Bad 'div' on index page.

(Sorry for my English)

I've noticed a wrong 'div' closing tag on index page here : Speeqe / speeqeweb / templates / index.html:

That one after {% endif %} -- 22 line. Looks like there should be opening one before 'if' or no closing.

Installation/Configuration Problems

I am having trouble getting speeqe to work in a local test environment
I have setup on my machine. I am currently running Windows 7 x64
Ultimate. All system components are running locally and mapped to urls
via BIND. I am using the most recent versions of all component
software.
I have all of the components running as recommended by setup wiki.
With the following exceptions. I am using Openfire (Both MUC and
Anonymous login is enabled) instead of Ejabbered and instead of
hosting Django within Apache via mod_wsgi I am using the Django
development server. To simplify things I have set DNS_ROOM_NAMES to
false and I am not using room message searching.
All of the components seem to be working together. No error messages
are displayed in any of the component logs. I can navigate to the main
site and start a room. Using Chrome's Network tab in the debugger
shows me that requests are being issued to xmpp-httpbind periodically.
Punjab is accepting requests and appears to be sending them to
Openfire. Openfire is showing the session as being created properly.
No room is listed as being created though. (I used Spark to verify
that the server is up and running properly also) I can send alerts
from the Openfire admin console and Punjab shows the message was
received. However, the chat room never seems to get started.
Can anyone provide me with some insight into what I am doing wrong?

Below are the relevant config files.

local_settings.py

import os.path
PROJECT_DIR = os.path.dirname(os.path.abspath(file))

Domain for your website

HTTP_DOMAIN = "speeqe.com"

HTTP_DOMAIN = "127.0.0.1:8000"

HTTP_DOMAIN = "shoutim.com"

Domain for your jabber server

XMPP_DOMAIN = "speeqe.com"

XMPP_DOMAIN = "127.0.0.1:5280"

XMPP_DOMAIN = "localhost"

names you dont want your users to have. When signing up for an

account and the user name is one of these exact words, it will be

rejected.

EXACT_BAD_WORDS = ['crap']

words you don't want in your user's names. When signing up for an

account and the username has one of these words in it, the name will

be rejected.

MATCH_BAD_WORDS = ['crap']

SESSION_COOKIE_DOMAIN = ".speeqe.com"

SESSION_COOKIE_DOMAIN = ".shoutim.com"

type of database you want to use for django

DATABASE_ENGINE = 'postgresql_psycopg2' #
'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or
'ado_mssql'.
DATABASE_NAME = 'shout' # Or path to database file if
using sqlite3.
DATABASE_USER = 'shoutadmin' # Not used with sqlite3.
DATABASE_PASSWORD = 'password' # Not used with sqlite3.
DATABASE_HOST = 'localhost' # Set to empty string for
localhost. Not used with sqlite3.
DATABASE_PORT = '5440' # Set to empty string for default.
Not used with sqlite3.

where all your media , intended to be served via django, lives

MEDIA_ROOT = '/lib/python/speeqeweb/webroot'

MEDIA_ROOT = os.path.join(PROJECT_DIR, 'webroot');

where all your static documents are.

DOCUMENT_ROOT = '/lib/python/speeqeweb/webroot'

DOCUMENT_ROOT = os.path.join(PROJECT_DIR, 'webroot');

the user used to list active rooms on the website. the speeqe website

needs a user and password to connect and run disco requests. This is

to gather a list of active rooms from the muc component.

XMPP_USER = '[email protected]'
XMPP_PASS = 'password'

your multi user chat server name. used to gather a list of active

rooms

XMPP_CHAT = 'chat.speeqe.com'

XMPP_CHAT = '127.0.0.1:5280'

XMPP_CHAT = 'shoutim.com'

the name of your bosh server. Bosh is used to authenticate users to

the website and then they are auto logged in to each chat room.

BOSH_HOST = "www.speeqe.com"

BOSH_HOST = "127.0.0.1"

BOSH_HOST = "shoutim.com"

the port your bosh server listens on

BOSH_PORT = "5280"

BOSH_PORT = "5280"

the url used to proxy to your bosh server

BOSH_URL = "/xmpp-httpbind"

BOSH_URL = "/127.0.0.1:5241"

multi user chat rooms listed on the front page. This list contains

the rooms that will be displayed on the speeqe web pages. The first

entry is the title, followed by the room url. You can use /room/ or

the dns trick if you have that setup.

FEATURED_ROOMS = {'Speeqers':'http://speeqers.shoutim.com',
'Central Park':'/room/
[email protected]/',
}

where all your django templates live. make sure to have the location

of your themes and client.html, test_client.html in this config

option

TEMPLATE_DIRS = (
#'/usr/local/lib/python2.5/site-packages/speeqeweb/templates',
#'/lib/python/speeqeweb/templates',
#'/var/www/speeqeweb/webroot',
os.path.join(PROJECT_DIR, 'webroot'),
os.path.join(PROJECT_DIR, 'templates'),
# Put strings here, like "/home/html/django_templates" or "C:/www/
django/templates".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
)

mail server used to send email

SMTP_SERVER = ''

username and password if using smtp auth

SMTP_USERNAME = ''
SMTP_PASSWORD = ''
SMTP_PORT = 2525

email used when someone clicks on a help email link

HELP_EMAIL = '[email protected]'

default sha1 for your default avatar image

AVATAR_DEFAULT_SHA1 = 'f2f8ab835b10d66f9233518d1047f3014b3857cf'

default avatar sha1 when an IE6 user comes to the website

AVATAR_DEFAULT_IE6 = 'b04b0e215af8ce2b7d620aaef32492c8bfc06ed5'

change the size of the images returned. first is height, followed by

width.
AVATAR_DEFAULT_DIMENSIONS = '30|30'

the amount of time the image is cached

AVATAR_CACHE_TIMEOUT = 6000

allows django to serve all unknown urls as static data

SERVE_STATIC_URLS = True

tells speeqe that you have the dns trick configured. (ie. you can use

http://roomname.yourdomain.com). False if dns names are not

configured.
DNS_ROOM_NAMES = False


local_settings.js


//domain for your website
Speeqe.HTTP_DOMAIN = "shoutim.com";
//domain for your jabber server
Speeqe.XMPP_DOMAIN = "localhost";
//domain for your multi user chat server
//multi user chat server name. This is the default chat server used if
//none is provided. If you connect to a room, the room will be
//[email protected]_SERVER.
Speeqe.CHAT_SERVER = "shoutim.com";
//allows users to use the /nick command to change their muc name
Speeqe.ENABLE_NICK_CHANGE = true;
//the default chat room if none is specified. If a muc room is not
//provided, and the user connects, this will be the default room.
Speeqe.DEFAULT_CHAT_ROOM = "[email protected]";
//the url used to proxy to your BOSH server. Used by speeqe to
//communicate with the bosh server.
Speeqe.BOSH_URL = "/xmpp-httpbind";
//This is used to add additional help information to the help
//dialog. It will be displayed right before the instructions to close
//the dialog.
Speeqe.helpDialogHtml = "";
/*
use this function to replace the anonymous nick selection. The default
function picks from a list of president names ,Speeqe.NAMES. See
anonymous.js for more details.
/
/
list of anonymous nicks
Speeqe.NAMES = ["obama",
"bush",
"cheney",
"ford",
"nixon",
"reagan",
"clinton",
"carter",
"washington",
"taft",
"madison",
"anonymous",
"coward",
"lurker",
"lincoln",
"adams",
"jefferson",
"monroe",
"quincyadams",
"jackson",
"vanburen",
"harrison",
"tyler",
"polk",
"taylor",
"fillmore",
"pierce",
"buchanan",
"johnson",
"grant",
"hayes",
"garfield",
"arthur",
"cleveland",
"mckinley",
"roosevelt",
"wilson",
"harding",
"coolidge",
"hoover",
"truman",
"eisenhower",
"kennedy"
];
Speeqe.generate_anonymous_nick = function() {
};

*/


bind zone file


shoutim.com. 86400 IN SOA shoutim.com.
hostmaster.shoutim.com. (
2005100804 ; Serial
YYYYMMDDXX
10800 ; Refresh
3600 ; Retry
3600000 ; Expire
86400 ) ; minimum
IN NS ns1.shoutim.com.
IN NS ns2.shoutim.com.
IN MX 10 mail.shoutim.com.
IN A 192.168.1.101
mail IN A 192.168.1.101
ns1 IN A 192.168.1.101
ns2 IN A 10.0.0.2
chat.shoutim.com. IN A 192.168.1.101
*.shoutim.com. IN A 192.168.1.101
shoutim.com. IN A 192.168.1.101

www IN CNAME shoutim.com.

punjab.tac

punjab tac file

from twisted.web import server, resource, static
from twisted.application import service, internet
from punjab.httpb import Httpb, HttpbService
root = static.File("./speeqeweb/webroot")
b = resource.IResource(HttpbService(1, use_raw=True))
root.putChild('xmpp-httpbind', b)
site = server.Site(root)
application = service.Application("punjab")

internet.TCPServer(5280, site).setServiceParent(application)

punjab log

2011-05-19 15:37:33-0400 [-] Log opened.
2011-05-19 15:37:33-0400 [-] twistd 11.0.0 (C:\Program Files
(x86)\Python27\python.exe 2.7.1) starting up.
2011-05-19 15:37:33-0400 [-] reactor class:
twisted.internet.selectreactor.SelectReactor.
2011-05-19 15:37:33-0400 [-] twisted.web.server.Site starting on 5280
2011-05-19 15:37:33-0400 [-] Starting factory <twisted.web.server.Site
instance at 0x02A9D788>
2011-05-19 15:37:49-0400 [HTTPChannel,0,127.0.0.1] HEADERS
1305833869.45:
2011-05-19 15:37:49-0400 [HTTPChannel,0,127.0.0.1] {'origin': 'http://
shoutim.com', 'content-length': '207', 'accept-language': 'en-
US,en;q=0.8', 'accept-encoding': 'gzip,deflate,sdch', 'x-forwarded-
for': '192.168.1.101', 'connection': 'close', 'accept': '/', 'user-
agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30
(KHTML, like Gecko) Chrome/12.0.742.53 Safari/534.30', 'accept-
charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'host': 'shoutim.com',
'referer': 'http://shoutim.com/room/hello/', 'x-real-ip':
'192.168.1.101', 'cookie':
'jiveforums.admin.logviewer="debug.size=0&info.size=24869&warn.size=6111&er ror.size=0";
JSESSIONID=1rzj1w81xa0hv; sessionid=ab563435e46340b1481af2a5e089644c',
'content-type': 'application/xml'}
2011-05-19 15:37:49-0400 [HTTPChannel,0,127.0.0.1] HTTPB POST :
2011-05-19 15:37:49-0400 [HTTPChannel,0,127.0.0.1]
2011-05-19 15:37:49-0400 [HTTPChannel,0,127.0.0.1] Session Created :
431c354f555716779ac0b0c1f97988a96318a465 1305833869.46
2011-05-19 15:37:49-0400 [HTTPChannel,0,127.0.0.1]
================================== 1305833869.46 connect to localhost:
5222 ==================================
2011-05-19 15:37:49-0400 [HTTPChannel,0,127.0.0.1] Starting factory
<punjab.session.Session object at 0x02AAA1D0>
2011-05-19 15:37:49-0400 [Uninitialized] SID:
431c354f555716779ac0b0c1f97988a96318a465 => SEND: "<stream:stream
xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client'
to='localhost' version='1.0'>"
2011-05-19 15:37:49-0400 [XmlStream,client] SID:
431c354f555716779ac0b0c1f97988a96318a465 => RECV: '<stream:stream xmlns:stream="http://
etherx.jabber.org/streams" xmlns="jabber:client" from="shoutim.com"
id="ae2641eb" xml:lang="en" version="1.0">'
2011-05-19 15:37:49-0400 [XmlStream,client] SID:
431c354f555716779ac0b0c1f97988a96318a465 => RECV:
'stream:features</
starttls>DIGEST-MD5PLAIN</
mechanism>ANONYMOUSCRAM-MD5</
mechanism>zlib/stream:features'
2011-05-19 15:37:49-0400 [XmlStream,client] Wait until starttls is
completed.
2011-05-19 15:37:49-0400 [XmlStream,client]
[<twisted.words.protocols.jabber.xmlstream.TLSInitiatingInitializer
object at 0x02AAA990>]
2011-05-19 15:37:49-0400 [XmlStream,client] SID:
431c354f555716779ac0b0c1f97988a96318a465 => SEND: ""
2011-05-19 15:37:49-0400 [XmlStream,client] SID:
431c354f555716779ac0b0c1f97988a96318a465 => RECV: ''
2011-05-19 15:37:50-0400 [XmlStream,client] SID:
431c354f555716779ac0b0c1f97988a96318a465 => SEND: "<stream:stream
xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client'
to='shoutim.com' version='1.0'>"
2011-05-19 15:37:50-0400 [XmlStream,client] SID:
431c354f555716779ac0b0c1f97988a96318a465 => RECV: '<stream:stream xmlns:stream="http://
etherx.jabber.org/streams" xmlns="jabber:client" from="shoutim.com"
id="ae2641eb" xml:lang="en" version="1.0">stream:featuresDIGEST-MD5</
mechanism>PLAINANONYMOUS</
mechanism>CRAM-MD5zlib</
compression><auth xmlns="http://jabber.org/features/iq-auth"/

</

stream:features>'
2011-05-19 15:37:50-0400 [XmlStream,client]
RETURN HTTPB 1305833870.41:
2011-05-19 15:37:50-0400 [XmlStream,client] <stream:features xmlns:stream='http://
etherx.jabber.org/streams' xmlns='jabber:client'>DIGEST-MD5</
mechanism>PLAINANONYMOUS</
mechanism>CRAM-MD5zlib</
compression><auth xmlns='http://jabber.org/features/iq-auth'/

</

stream:features>
2011-05-19 15:37:50-0400 [XmlStream,client] 127.0.0.1 - - [19/May/
2011:19:37:50 +0000] "POST /xmpp-httpbind HTTP/1.0" 200 728 "http://
shoutim.com/room/hello/" "Mozilla/5.0 (Windows NT 6.1; WOW64)
AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.53 Safari/
534.30"
2011-05-19 15:37:50-0400 [HTTPChannel,1,127.0.0.1] HEADERS
1305833870.54:
2011-05-19 15:37:50-0400 [HTTPChannel,1,127.0.0.1] {'origin': 'http://
shoutim.com', 'content-length': '191', 'accept-language': 'en-
US,en;q=0.8', 'accept-encoding': 'gzip,deflate,sdch', 'x-forwarded-
for': '192.168.1.101', 'connection': 'close', 'accept': '/', 'user-
agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30
(KHTML, like Gecko) Chrome/12.0.742.53 Safari/534.30', 'accept-
charset': 'ISO-8859-1,utf-8;q=0.7,;q=0.3', 'host': 'shoutim.com',
'referer': 'http://shoutim.com/room/hello/', 'x-real-ip':
'192.168.1.101', 'cookie':
'jiveforums.admin.logviewer="debug.size=0&info.size=24869&warn.size=6111&er ror.size=0";
JSESSIONID=1rzj1w81xa0hv; sessionid=ab563435e46340b1481af2a5e089644c',
'content-type': 'application/xml'}
2011-05-19 15:37:50-0400 [HTTPChannel,1,127.0.0.1] HTTPB POST :
2011-05-19 15:37:50-0400 [HTTPChannel,1,127.0.0.1] </
body>
2011-05-19 15:37:50-0400 [HTTPChannel,1,127.0.0.1] 2878331003
2011-05-19 15:37:50-0400 [HTTPChannel,1,127.0.0.1] SID:
431c354f555716779ac0b0c1f97988a96318a465 => SEND: ""
2011-05-19 15:37:50-0400 [XmlStream,client] SID:
431c354f555716779ac0b0c1f97988a96318a465 => RECV: ''
2011-05-19 15:37:50-0400 [XmlStream,client]
RETURN HTTPB 1305833870.54:
2011-05-19 15:37:50-0400 [XmlStream,client]
2011-05-19 15:37:50-0400 [XmlStream,client] 2878331003
2011-05-19 15:37:50-0400 [XmlStream,client] 127.0.0.1 - - [19/May/
2011:19:37:50 +0000] "POST /xmpp-httpbind HTTP/1.0" 200 108 "http://
shoutim.com/room/hello/" "Mozilla/5.0 (Windows NT 6.1; WOW64)
AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.53 Safari/
534.30"
2011-05-19 15:37:50-0400 [XmlStream,client] SID:
431c354f555716779ac0b0c1f97988a96318a465 => SEND: "<stream:stream
xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'
version='1.0' to='localhost'>"
2011-05-19 15:37:50-0400 [XmlStream,client] SID:
431c354f555716779ac0b0c1f97988a96318a465 => RECV: '<stream:stream xmlns:stream="http://
etherx.jabber.org/streams" xmlns="jabber:client" from="shoutim.com"
id="ae2641eb" xml:lang="en"
version="1.0">stream:featureszlib/stream:features'
2011-05-19 15:37:50-0400 [HTTPChannel,2,127.0.0.1] HEADERS
1305833870.65:
2011-05-19 15:37:50-0400 [HTTPChannel,2,127.0.0.1] {'origin': 'http://
shoutim.com', 'content-length': '192', 'accept-language': 'en-
US,en;q=0.8', 'accept-encoding': 'gzip,deflate,sdch', 'x-forwarded-
for': '192.168.1.101', 'connection': 'close', 'accept': '
/', 'user-
agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30
(KHTML, like Gecko) Chrome/12.0.742.53 Safari/534.30', 'accept-
charset': 'ISO-8859-1,utf-8;q=0.7,
;q=0.3', 'host': 'shoutim.com',
'referer': 'http://shoutim.com/room/hello/', 'x-real-ip':
'192.168.1.101', 'cookie':
'jiveforums.admin.logviewer="debug.size=0&info.size=24869&warn.size=6111&er ror.size=0";
JSESSIONID=1rzj1w81xa0hv; sessionid=ab563435e46340b1481af2a5e089644c',
'content-type': 'application/xml'}
2011-05-19 15:37:50-0400 [HTTPChannel,2,127.0.0.1] HTTPB POST :
2011-05-19 15:37:50-0400 [HTTPChannel,2,127.0.0.1]
2011-05-19 15:37:50-0400 [HTTPChannel,2,127.0.0.1] 2878331004
2011-05-19 15:37:50-0400 [HTTPChannel,2,127.0.0.1]
RETURN HTTPB 1305833870.65:
2011-05-19 15:37:50-0400 [HTTPChannel,2,127.0.0.1] <stream:features xmlns:stream='http://
etherx.jabber.org/streams' xmlns='jabber:client'>zlib</
compression>/stream:features
2011-05-19 15:37:50-0400 [HTTPChannel,2,127.0.0.1] 2878331004
2011-05-19 15:37:50-0400 [HTTPChannel,2,127.0.0.1] 127.0.0.1 - - [19/
May/2011:19:37:50 +0000] "POST /xmpp-httpbind HTTP/1.0" 200 356
"http://shoutim.com/room/hello/" "Mozilla/5.0 (Windows NT 6.1; WOW64)
AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.53 Safari/
534.30"
2011-05-19 15:37:50-0400 [HTTPChannel,3,127.0.0.1] HEADERS
1305833870.75:
2011-05-19 15:37:50-0400 [HTTPChannel,3,127.0.0.1] {'origin': 'http://
shoutim.com', 'content-length': '229', 'accept-language': 'en-
US,en;q=0.8', 'accept-encoding': 'gzip,deflate,sdch', 'x-forwarded-
for': '192.168.1.101', 'connection': 'close', 'accept': '/', 'user-
agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30
(KHTML, like Gecko) Chrome/12.0.742.53 Safari/534.30', 'accept-
charset': 'ISO-8859-1,utf-8;q=0.7,;q=0.3', 'host': 'shoutim.com',
'referer': 'http://shoutim.com/room/hello/', 'x-real-ip':
'192.168.1.101', 'cookie':
'jiveforums.admin.logviewer="debug.size=0&info.size=24869&warn.size=6111&er ror.size=0";
JSESSIONID=1rzj1w81xa0hv; sessionid=ab563435e46340b1481af2a5e089644c',
'content-type': 'application/xml'}
2011-05-19 15:37:50-0400 [HTTPChannel,3,127.0.0.1] HTTPB POST :
2011-05-19 15:37:50-0400 [HTTPChannel,3,127.0.0.1]
2011-05-19 15:37:50-0400 [HTTPChannel,3,127.0.0.1] 2878331005
2011-05-19 15:37:50-0400 [HTTPChannel,3,127.0.0.1] SID:
431c354f555716779ac0b0c1f97988a96318a465 => SEND: ""
2011-05-19 15:37:50-0400 [XmlStream,client] SID:
431c354f555716779ac0b0c1f97988a96318a465 => RECV: '[email protected]/
ae2641eb'
2011-05-19 15:37:50-0400 [XmlStream,client] BIND:
431c354f555716779ac0b0c1f97988a96318a465 [email protected]/ae2641eb
2011-05-19 15:37:50-0400 [XmlStream,client]
RETURN HTTPB 1305833870.76:
2011-05-19 15:37:50-0400 [XmlStream,client] [email protected]/
ae2641eb
2011-05-19 15:37:50-0400 [XmlStream,client] 2878331005
2011-05-19 15:37:50-0400 [XmlStream,client] 127.0.0.1 - - [19/May/
2011:19:37:50 +0000] "POST /xmpp-httpbind HTTP/1.0" 200 240 "http://
shoutim.com/room/hello/" "Mozilla/5.0 (Windows NT 6.1; WOW64)
AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.53 Safari/
534.30"
2011-05-19 15:37:50-0400 [HTTPChannel,4,127.0.0.1] HEADERS
1305833870.86:
2011-05-19 15:37:50-0400 [HTTPChannel,4,127.0.0.1] {'origin': 'http://
shoutim.com', 'content-length': '238', 'accept-language': 'en-
US,en;q=0.8', 'accept-encoding': 'gzip,deflate,sdch', 'x-forwarded-
for': '192.168.1.101', 'connection': 'close', 'accept': '
/', 'user-
agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30
(KHTML, like Gecko) Chrome/12.0.742.53 Safari/534.30', 'accept-
charset': 'ISO-8859-1,utf-8;q=0.7,
;q=0.3', 'host': 'shoutim.com',
'referer': 'http://shoutim.com/room/hello/', 'x-real-ip':
'192.168.1.101', 'cookie':
'jiveforums.admin.logviewer="debug.size=0&info.size=24869&warn.size=6111&er ror.size=0";
JSESSIONID=1rzj1w81xa0hv; sessionid=ab563435e46340b1481af2a5e089644c',
'content-type': 'application/xml'}
2011-05-19 15:37:50-0400 [HTTPChannel,4,127.0.0.1] HTTPB POST :
2011-05-19 15:37:50-0400 [HTTPChannel,4,127.0.0.1]
2011-05-19 15:37:50-0400 [HTTPChannel,4,127.0.0.1] 2878331006
2011-05-19 15:37:50-0400 [HTTPChannel,4,127.0.0.1] SID:
431c354f555716779ac0b0c1f97988a96318a465 => SEND: ""
2011-05-19 15:37:50-0400 [XmlStream,client] SID:
431c354f555716779ac0b0c1f97988a96318a465 => RECV: ''
2011-05-19 15:37:50-0400 [XmlStream,client]
RETURN HTTPB 1305833870.86:
2011-05-19 15:37:50-0400 [XmlStream,client]
2011-05-19 15:37:50-0400 [XmlStream,client] 2878331006
2011-05-19 15:37:50-0400 [XmlStream,client] 127.0.0.1 - - [19/May/
2011:19:37:50 +0000] "POST /xmpp-httpbind HTTP/1.0" 200 190 "http://
shoutim.com/room/hello/" "Mozilla/5.0 (Windows NT 6.1; WOW64)
AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.53 Safari/
534.30"
2011-05-19 15:37:51-0400 [HTTPChannel,5,127.0.0.1] HEADERS
1305833871.06:
2011-05-19 15:37:51-0400 [HTTPChannel,5,127.0.0.1] {'origin': 'http://
shoutim.com', 'content-length': '381', 'accept-language': 'en-
US,en;q=0.8', 'accept-encoding': 'gzip,deflate,sdch', 'x-forwarded-
for': '192.168.1.101', 'connection': 'close', 'accept': '/', 'user-
agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30
(KHTML, like Gecko) Chrome/12.0.742.53 Safari/534.30', 'accept-
charset': 'ISO-8859-1,utf-8;q=0.7,;q=0.3', 'host': 'shoutim.com',
'referer': 'http://shoutim.com/room/hello/', 'x-real-ip':
'192.168.1.101', 'cookie':
'jiveforums.admin.logviewer="debug.size=0&info.size=24869&warn.size=6111&er ror.size=0";
JSESSIONID=1rzj1w81xa0hv; sessionid=ab563435e46340b1481af2a5e089644c',
'content-type': 'application/xml'}
2011-05-19 15:37:51-0400 [HTTPChannel,5,127.0.0.1] HTTPB POST :
2011-05-19 15:37:51-0400 [HTTPChannel,5,127.0.0.1] -1</
presence>
2011-05-19 15:37:51-0400 [HTTPChannel,5,127.0.0.1] 2878331007
2011-05-19 15:37:51-0400 [HTTPChannel,5,127.0.0.1] SID:
431c354f555716779ac0b0c1f97988a96318a465 => SEND: "-1"
2011-05-19 15:37:51-0400 [HTTPChannel,5,127.0.0.1] SID:
431c354f555716779ac0b0c1f97988a96318a465 => SEND: ""
2011-05-19 15:38:08-0400 [HTTPChannel,6,127.0.0.1] HEADERS
1305833888.2:
2011-05-19 15:38:08-0400 [HTTPChannel,6,127.0.0.1] {'origin': 'http://
shoutim.com', 'content-length': '338', 'accept-language': 'en-
US,en;q=0.8', 'accept-encoding': 'gzip,deflate,sdch', 'x-forwarded-
for': '192.168.1.101', 'connection': 'close', 'accept': '
/', 'user-
agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30
(KHTML, like Gecko) Chrome/12.0.742.53 Safari/534.30', 'accept-
charset': 'ISO-8859-1,utf-8;q=0.7,
;q=0.3', 'host': 'shoutim.com',
'referer': 'http://shoutim.com/room/hello/', 'x-real-ip':
'192.168.1.101', 'cookie':
'jiveforums.admin.logviewer="debug.size=0&info.size=24869&warn.size=6111&er ror.size=0";
JSESSIONID=1rzj1w81xa0hv; sessionid=ab563435e46340b1481af2a5e089644c',
'content-type': 'application/xml'}
2011-05-19 15:38:08-0400 [HTTPChannel,6,127.0.0.1] HTTPB POST :
2011-05-19 15:38:08-0400 [HTTPChannel,6,127.0.0.1] anyone here?
2011-05-19 15:38:08-0400 [HTTPChannel,6,127.0.0.1] 2878331008
2011-05-19 15:38:08-0400 [HTTPChannel,6,127.0.0.1] SID:
431c354f555716779ac0b0c1f97988a96318a465 => SEND: "anyone here?"
2011-05-19 15:38:08-0400 [HTTPChannel,6,127.0.0.1]
RETURN HTTPB 1305833888.2:
2011-05-19 15:38:08-0400 [HTTPChannel,6,127.0.0.1]
2011-05-19 15:38:08-0400 [HTTPChannel,6,127.0.0.1] 2878331007
2011-05-19 15:38:08-0400 [HTTPChannel,6,127.0.0.1] 127.0.0.1 - - [19/
May/2011:19:38:07 +0000] "POST /xmpp-httpbind HTTP/1.0" 200 51 "http://
shoutim.com/room/hello/" "Mozilla/5.0 (Windows NT 6.1; WOW64)
AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.53 Safari/
534.30"
2011-05-19 15:38:19-0400 [XmlStream,client] SID:
431c354f555716779ac0b0c1f97988a96318a465 => RECV: 'alert!'
2011-05-19 15:38:19-0400 [XmlStream,client]
RETURN HTTPB 1305833899.82:
2011-05-19 15:38:19-0400 [XmlStream,client] alert!

2011-05-19 15:38:19-0400 [XmlStream,client] 2878331008 2011-05-19 15:38:19-0400 [XmlStream,client] 127.0.0.1 - - [19/May/ 2011:19:38:19 +0000] "POST /xmpp-httpbind HTTP/1.0" 200 114 "http:// shoutim.com/room/hello/" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.53 Safari/ 534.30" 2011-05-19 15:38:19-0400 [HTTPChannel,7,127.0.0.1] HEADERS 1305833899.86: 2011-05-19 15:38:19-0400 [HTTPChannel,7,127.0.0.1] {'origin': 'http:// shoutim.com', 'content-length': '115', 'accept-language': 'en- US,en;q=0.8', 'accept-encoding': 'gzip,deflate,sdch', 'x-forwarded- for': '192.168.1.101', 'connection': 'close', 'accept': '_/_', 'user- agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.53 Safari/534.30', 'accept- charset': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3', 'host': 'shoutim.com', 'referer': 'http://shoutim.com/room/hello/', 'x-real-ip': '192.168.1.101', 'cookie': 'jiveforums.admin.logviewer="debug.size=0&info.size=24869&warn.size=6111&er ror.size=0"; JSESSIONID=1rzj1w81xa0hv; sessionid=ab563435e46340b1481af2a5e089644c', 'content-type': 'application/xml'} 2011-05-19 15:38:19-0400 [HTTPChannel,7,127.0.0.1] HTTPB POST : 2011-05-19 15:38:19-0400 [HTTPChannel,7,127.0.0.1] 2011-05-19 15:38:19-0400 [HTTPChannel,7,127.0.0.1] 2878331009

drupal

Hey,
did anyone authenticate speeqe users against drupal?

kind regards!

I've Problem with Speeqe Setup JavaScript Only

I want that when you open the browser Speeqe directly enter the room jabber but not work:

My server Jabber IP is: 192.168.70.3 (jabber.mydomain.com)
My Apache2 server IP: 192.168.70.2 (mydomain.com)

I get an install Speeqe AND I executed the following steps:

  1. ln -s /usr/local/src/speeqeweb/webroot/ /var/www/speeqewebclient

2. I modify /scripts/local_settings.js

Speeqe.HTTP_DOMAIN = "room.mydomain.com";
Speeqe.XMPP_DOMAIN = "jabber.mydomain.com";
Speeqe.CHAT_SERVER = "[email protected]";
Speeqe.ENABLE_NICK_CHANGE = true;
Speeqe.DEFAULT_CHAT_ROOM = "[email protected]";
//Speeqe.BOSH_URL = "/xmpp-httpbind";

Speeqe.BOSH_URL = "http://192.168.70.3:5280/xmpp-httpbind";

  1. mv test_client.html index.html

4. I create vhos apache2 for speeqe:

/etc/apache2/sites-available/speeqe
<VirtualHost *:80>
DocumentRoot "/var/www/speeqewebclient/"
ServerName room.mydomain.com

<Directory "/var/www/speeqewebclient/">
    allow from all
    Options +Indexes
</Directory>

<IfModule mod_rewrite.c>
         RewriteEngine On
        RewriteRule /xmpp-httpbind http://192.168.70.3:5280/ [P]
</IfModule>
 ErrorLog /var/log/apache2/speeqe-error.log
     CustomLog /var/log/apache2/speeqe-access.log combined

  1. I check http://room.mydomain.com and looks like this:
    http://www.subirimagenes.net/i/131015071549145570.png

not connected to the jabber room, what I miss in the configuration?

The logs say: http://pastebin.com/tJW42MLk

Thank!

Option to adjust the scaling of images

Update: I see that Speeqe scales images to 700px.
Request: Ability to let users to define scaling images of inline images.
Note: This can be done, in a global manner by changing 700 in the relevant file to any other value.

The following suggestion is invalid.
If the dimensions of an image exceed 600 pixels > Scale it to 350 or 400 pixels and preserve its aspect ratio.
Images that exceed 600px, like backgrounds, are too big and interrupting to others to read active chats.
Then again, not everyone are me.  An option to configure Inline images display so that users will decide by their own what is too bug and what is not would be the best way to go.

Update "works with..."

outdated works with...
google talk
jabber

updated works with...
Jabber/XMPP
DuckDuckGo
Yandex
GMX

1&1 (GMX), DuckDuckGo and Yandex might be wiling to pay a fee or give a donation in return for mentioning them in Speeqe, so please contact them in regard to this matter.

Since GTalk (s2s enabled) is now Hangouts (s2s disabled), then there is no reason to enumerate it.

[speeqe.com] Can't change room settings

Issue:

  • When in a newly created room on http://speeqe.com/ changes made in "Configure Room" won't last

Reproduce:

  1. Click settings icon on top right
  2. Select "Configure Room"
  3. Type a room title or change anything else
  4. Scroll down to "Save", click
  5. Scroll up to close button "[x]", click
  6. Open "Configure Room" dialogue again
  7. Settings are gone (i.e. no room title)

Browser:

  • Google Chrome 21.0.1180.89 Linux

Expected behaviour:

  • Settings are saved at clicking "Save" and will show up when reopening configuration dialogue

Clues:

  • A BOSH request is sent when clicking save, but it doesn't contain settings as far as I can see

Set roles of users in MUC

Moderators, Participants, Visitors.

Some people who own a chat room would like to de-voice users and they would be able to do it by setting the role of certain users to Visitors, instead of banning or kicking them.

some missing things like ajax_login or homepage

next Problem :),
i hope some newbies will help these questions opend by me in some time :)

  1. Do I have to install any special ajax_login? It tells me /accounts/ajax_login/404 Not Found if I want to login by anonymous.html.
  2. I also did not set the proxy for the avatar service (however: avatars are displayed)..
  3. How to setup the roomsearch by button (not via url)

How to setup anonymous only

Hi,

I would like to test Speeqe just tomake an anonymous chat using prosody.
I already have prosody working since I'm testing Candy too, but I just can't get it working.

This is the relevant Prosody configuration:


VirtualHost "site.com"
enabled = true

VirtualHost "chat.site.com"
enabled = true

VirtualHost "anon.site.com"
enabled = true
authentication = "anonymous"

Component "conference.site.com" "muc"

This is my local_settings.js


//domain for your website
Speeqe.HTTP_DOMAIN = "chat.site.com";

//domain for your jabber server
Speeqe.XMPP_DOMAIN = "anon.site.com";

//domain for your multi user chat server
//multi user chat server name. This is the default chat server used if
//none is provided. If you connect to a room, the room will be
//[email protected]_SERVER.
Speeqe.CHAT_SERVER = "conference.site.com";

//allows users to use the /nick command to change their muc name
Speeqe.ENABLE_NICK_CHANGE = true;

//the default chat room if none is specified. If a muc room is not
//provided, and the user connects, this will be the default room.
Speeqe.DEFAULT_CHAT_ROOM = "[email protected]";

//the url used to proxy to your BOSH server. Used by speeqe to
//communicate with the bosh server.

Speeqe.BOSH_URL = "/http-bind";

I just copy webroot contents to the root site (/) and when I access anonymous.html nothing appends

Another question ... I have a php file that I can include to send the Username of a user that I would like t be the username assigned to the user in the chat.

Is there a easy way to insert this somewhere in a file?

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.