ref: 6de22e83208f5c6a7aab1458cc7b666eb82703c1 biboumi/src/irc/iid.hpp -rw-r--r-- 2.4 KiB
5402a256 — louiz’ 5 years ago
Apply all the clang-tidy modernize-* fixes
f653906f — louiz’ 5 years ago
Add a None type for the Iid class (when the iid is completely empty)
b2922560 — louiz’ 5 years ago
Fix some compilation warning/errors that appear on FreeBSD
07e22095 — louiz’ 6 years ago
Add the missing & for 3 std::string function arguments
0d2dd71d — louiz’ 6 years ago
Don’t use ! as the separator for nicknames, use % instead

It’s now easier to use. The distinction between a nick and a channel name is
based on the first character (by default it's '#' and '&'). The user doesn’t
have to worry about which separator to use anymore.

fix #3066
81f8f45b — louiz’ 6 years ago
Replace all include guards by #pragma once

11dcae70 — louiz’ 6 years ago
Merge remote-tracking branch 'linkmauve/escaped-iid-support'
0391f17f — Emmanuel Gil Peyrot 6 years ago
Add XEP-0106 support to the bridge

This allows the user to join channels containing forbidden characters
in the local part, like #r&d or #group/project.
2d11a5f4 — louiz’ 6 years ago
Support multiple nick session, except for IQs

ref #2556
af420738 — louiz’ 6 years ago
Style fix

Move all constructors at the top of classes
82256d40 — Florent Le Coz 7 years ago
Merge branch 'fixed_server'
2df0ebf2 — Florent Le Coz 7 years ago
Add support for a fixed_irc_server configuration

This option lets the administrator choose a specific IRC server, and only
that server can be used with this biboumi instance.

In this mode, JIDs to use are changed like this:

- #chan%irc.example.com@biboumi.example.com      -> #chan@biboumi.example.com
- user!irc.example.com@biboumi.example.com       -> user!@biboumi.example.com
- #chan%irc.example.com@biboumi.example.com/Nick -> #chan@biboumi.example.com/Nick
- %irc.example.com@biboumi.example.com           -> no equivalent
- irc.example.com@biboumi.example.com            -> no equivalent
e1d69806 — Florent Le Coz 7 years ago
Rename iq_responder_callback_t to irc_… and add the equivalent to wait for iqs
26ffc8fe — Florent Le Coz 8 years ago
Implement a way to add callbacks, waiting for an IRC event to return an iq
7c1a3899 — Florent Le Coz 8 years ago
Rewrite the whole IID usage

IRC users and channels are now distinguished by the separator used in the
IID (% or !).

ref #2468
a418b6ed — Florent Le Coz 8 years ago
Send and receive messages

Also correctly respond to PING with the id, escape some XML content, but not
bf7b05ef — Florent Le Coz 8 years ago
Implement the Bridge class to translate between the two protocols

Add all useful classes as well: Jid, Iid, IrcChannel, IrcUser etc to
properly keep the informations about what we receive from the IRC server.

Only handle the MUC join stanza, and send the list of users in the IRC
channel to the XMPP user, and the IRC channel’s topic, for now.