Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-06-19 | Implement a way to add callbacks, waiting for an IRC event to return an iq | Florent Le Coz | |
2014-06-19 | Remove a duplicate “connection closed” message | Florent Le Coz | |
2014-06-19 | Make the Botan rng, credential_manager etc be static | Florent Le Coz | |
This actually makes the session_manager be useful, and saves a few octets of memory for the other ones | |||
2014-06-18 | Messages to room participants are forwarded to the IRC user | Florent Le Coz | |
For example, both JID #chan%server@biboumi/Toto and toto!server@biboumi are equivalent, except that if you send a message to the first one, subsequent messages coming from the user toto will come from that same JID. This is done to be consistent for the XMPP user, and respond from the same JID than the 'to' of the first message. fix #2468 | |||
2014-06-18 | Mini comment fix | Florent Le Coz | |
2014-06-11 | Rewrite the whole IID usage | Florent Le Coz | |
IRC users and channels are now distinguished by the separator used in the IID (% or !). ref #2468 | |||
2014-06-11 | Add an <error/> element when the provided form is wrong, in two ad-hoc commands | Florent Le Coz | |
2014-06-11 | Handle the 'cancel' ad-hoc action, and return an error for unsupported actions | Florent Le Coz | |
ref #2521 | |||
2014-06-11 | Remove inactive ad-hoc sessions after a given time | Florent Le Coz | |
ref #2521 | |||
2014-06-08 | Make the XMPP component port configurable | Florent Le Coz | |
fix #2541 | |||
2014-06-08 | Add a TimedEvent to cancel the connection to a server after 5 seconds | Florent Le Coz | |
2014-06-08 | Convert \n to <br/> in xhtml body | Emmanuel Gil Peyrot | |
fix #2539 | |||
2014-06-08 | Implement TLS support using Botan | Florent Le Coz | |
For now, it tries two TLS ports and then connects to the non-tls port. In the future we would like the user to be able to configure that. fix #2435 | |||
2014-06-05 | Make the destructor of the SocketHandler class protected non-virtual | Florent Le Coz | |
2014-05-31 | Do not send an item-not-found presence from an invalid JID | Florent Le Coz | |
2014-05-31 | Remove some unused function parameters names | Florent Le Coz | |
2014-05-31 | Add an ad-hoc command to disconnect some users | Florent Le Coz | |
2014-05-30 | Send (every 240s) a PING command to all connected irc servers | Florent Le Coz | |
fix #2452 | |||
2014-05-30 | TimedEventsManager is now a singleton | Florent Le Coz | |
2014-05-30 | Timed events can have a name, and can be canceled based on their name | Florent Le Coz | |
2014-05-30 | Use libuuid to generate unique IDs for iq and adhoc sessions | Florent Le Coz | |
2014-05-30 | Add missing files (for adhoc command support) | Florent Le Coz | |
2014-05-30 | XmlNode::get_children, to get a list of matching children instead of the first | Florent Le Coz | |
2014-05-30 | XmlNode’s copy constructor now recursively copies the children nodes as well | Florent Le Coz | |
2014-05-30 | Implement the support for adhoc commands | Florent Le Coz | |
We have two basic example commands. But it’s not entirely finished because there are some error checks that we don’t do. ref #2521 | |||
2014-05-28 | Change the way the namespaces are handled in the XmlNode class | Florent Le Coz | |
2014-05-28 | Move the logging + config test on first position | Florent Le Coz | |
2014-05-28 | Use a timed event to force the exit 2 seconds after an exit signal is received | Florent Le Coz | |
fix #2469 | |||
2014-05-28 | Introduce the timed events | Florent Le Coz | |
2014-05-28 | On connection in-progress, save the whole addrinfo struct, not just ai_addr | Florent Le Coz | |
2014-05-28 | Send an error presence when the connection to the IRC server fails | Florent Le Coz | |
2014-05-27 | Only close/unmanage the socket if we are connected/connecting | Florent Le Coz | |
Since the socket is now only created and managed whenever the connection is being established, we only close the socket and if it was created (we use -1 to denote the fact that is not yet created, or has been closed) and we only unmanage the socket if it is effectively managed. fix #2529 | |||
2014-05-27 | Fix a by-one error in the CHANTYPES parsing | Florent Le Coz | |
2014-05-27 | Use the CHANTYPES values to differentiate channel or user notices | Florent Le Coz | |
It also happens to fix #2517 because this used to create buggy channels named "auth" and stuf like that. | |||
2014-05-27 | Add support for CHANTYPES isupport element, to know the prefixes of channels | Florent Le Coz | |
2014-05-27 | Support IPv6 connections | Florent Le Coz | |
fix #2522 | |||
2014-05-27 | SocketHandlers own the poller and add themself into it only when the socket ↵ | Florent Le Coz | |
is created We want to call socket() with the parameters provided by getaddrinfo, so we can’t addd the fd into the poller immediately. We need to wait the connection attempt, and then the SocketHandler can call add_socket_handler itself, if the connection succeeds, or is in progress. | |||
2014-05-26 | If both write and read events are available on a socket, only do the read | Florent Le Coz | |
Because the read handler may discover that the connection has been closed, and then remove the socket from the poller. It that case it is no longer valid to try to call the write handler (which may try to reconnect, but since that socket is no longer managed, this is not OK). | |||
2014-05-25 | Also do that cut of message on \n for private messages, and handle /me | Florent Le Coz | |
2014-05-25 | Split the messages on \n when sending them back to the XMPP user | Florent Le Coz | |
2014-05-15 | Only call get_last_child() if the node has children | Florent Le Coz | |
Explain that the behaviour is otherwise undefined, in the comment. | |||
2014-05-15 | "Chat message" is not the same as "any kind of message" | Florent Le Coz | |
2014-05-15 | Stanza:get_name() only returns the name of the tag, without the namespace | Florent Le Coz | |
2014-05-15 | Disconnect the user from all its IRC servers whenever he returns an error | Florent Le Coz | |
fix #2524 | |||
2014-05-14 | Correctly handle the usage of ! as a IRC user mode indicator | Florent Le Coz | |
Since “!” is also the separator between the nickname and the user hostname, having “!” as the user mode (e.g. !nick!~some@host.bla) would cause the nick to be empty. Now we skip it if it is a valid user mode indicator. | |||
2014-05-07 | Forward iq version results to IRC | Florent Le Coz | |
2014-05-06 | Correctly do the error handling when we receive an iq | Florent Le Coz | |
2014-05-06 | Forward CTCP version request to XMPP | Florent Le Coz | |
2014-05-06 | Implement next_id() to | Florent Le Coz | |
2014-04-29 | Add missing std::string_literals | Florent Le Coz | |