Murk1108 / pygowave forked from p2k/pygowave
- Source
- Commits
- Network (22)
- Graphs
-
Branch:
federation
pygowave /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Mon Nov 16 14:13:29 -0800 2009 | |
| |
LICENSE | Wed Jun 03 15:25:35 -0700 2009 | |
| |
NOTICE | Sat Aug 29 04:49:32 -0700 2009 | |
| |
README | Fri Nov 20 03:25:46 -0800 2009 | |
| |
__init__.py | Thu Jun 04 15:07:06 -0700 2009 | |
| |
amqp_rpc_server.py | Tue Oct 27 11:28:51 -0700 2009 | |
| |
ez_setup.py | Mon Nov 02 13:18:52 -0800 2009 | |
| |
launch-pygowave-rpc | Tue Jun 16 09:32:40 -0700 2009 | |
| |
linux_support/ | Wed Nov 11 09:45:27 -0800 2009 | |
| |
locale/ | Tue Sep 01 09:39:02 -0700 2009 | |
| |
manage.py | Thu Jun 04 15:07:06 -0700 2009 | |
| |
media/ | Wed Nov 11 09:45:27 -0800 2009 | |
| |
pygowave-rpc.tac | Wed Nov 11 09:45:27 -0800 2009 | |
| |
pygowave-web.tac | Wed Nov 11 10:30:22 -0800 2009 | |
| |
pygowave-web.wsgi | Tue Oct 27 11:28:51 -0700 2009 | |
| |
pygowave-xmpp.tac | Mon Nov 16 14:13:29 -0800 2009 | |
| |
pygowave_client/ | Tue Nov 10 08:57:57 -0800 2009 | |
| |
pygowave_rpc/ | Mon Nov 16 14:13:29 -0800 2009 | |
| |
pygowave_server/ | Sat Nov 14 09:57:38 -0800 2009 | |
| |
pygowave_xmpp/ | Fri Nov 20 03:25:46 -0800 2009 | |
| |
settings.py | Mon Nov 16 14:13:29 -0800 2009 | |
| |
setup.py | Tue Nov 10 04:29:23 -0800 2009 | |
| |
templates/ | Wed Nov 11 09:45:27 -0800 2009 | |
| |
urls.py | Mon Aug 17 18:33:39 -0700 2009 |
README
Federation support in pygowave
The current state of federation in short: It's unfinished and does not work.
That said, it's on a good way:
ToDo list and other things
- Actually apply received data to the local database
- Switch to the pygowave rpc
- Better integration of protocol buffers into the ORM
Setting up Federation support:
Federation support is (like in google's fedone) implemented as an xmpp component (see XEP-0114), but
since recent development makes pygowave more independent from other software, it might eventually bring
it's own xmpp server. That however won't happen before version 2.
Dependencies:
Apart from dependencies on twisted, you need:
- m2crypto
- pyasn1 0.0.9a
1. Configure your jabber server
If you have an ejabberd server like me, add the following lines to ejabberd.cfg:
{5275, ejabberd_service, [{host, "wave.YOUR-DOMAIN.TLD",
[{password, "SOMEPASSWORD"}]}]},
Note: This makes it possible to run the component on a different server than your jabber server.
2. Configure pygowave
In the settings.py file, add/edit the following lines to suit the values you chose above
XMPP_ID = "wave.YOUR-DOMAIN.TLD"
XMPP_PASSWORD = "SOMEPASSWORD"
XMPP_PORT = 5275
XMPP_HOST = "localhost"
CERTIFICATE_FILE = '/tmp/cert.pem'
CERTIFICATE_KEY_FILE = '/tmp/cert.key'
3. Put your SSL certificate in pem format and the corresponding RSA key into the place
you specified in the settings file
4. Run the component
To start the server and let it run in the foreground:
twistd -ny pygowave-xmpp.tac
Run this instead of the pygowave-rpc.tac file!
