This commit introduces major changes to the working and purpose of telepaatti:

-Turn telepaatti into a server side IRC gateway,
 accepting multiple client connections and redirecting them to XMPP

-SSL support

-Fixed issues with JID <-> nick mapping.
    The problem with the old solution was that it's perfectly possible
    under XMPP to have chatroom1@conference.server.net/AwesomeUser refering to a
    different user than chatroom2@conference.server.net/AwesomeUser.
    In addition, the mapping of characters illegal in IRC nicks (such as space)
    to '_' means there would be conflicts if a chatroom contains f.ex. two users
    named resp 'My user' and 'My_user'

    The new solution (which isn't entirely user friendly, but works) is to
    appand a UID to every nick generated and use that UID to refer back to
    the JID. This has visible effects on the client side, but allows
    autocompletion to work as expected.

-A lot of other refactoring and bugfixing.
This commit is contained in:
Julien Picalausa 2013-08-04 22:54:56 +02:00
parent 866af36f6f
commit a2ad6be554
1 changed files with 439 additions and 369 deletions

File diff suppressed because it is too large Load Diff