summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-06-05Make the destructor of the SocketHandler class protected non-virtualFlorent Le Coz
2014-05-31Do not send an item-not-found presence from an invalid JIDFlorent Le Coz
2014-05-31Remove some unused function parameters namesFlorent Le Coz
2014-05-31Add an ad-hoc command to disconnect some usersFlorent Le Coz
2014-05-30Send (every 240s) a PING command to all connected irc serversFlorent Le Coz
fix #2452
2014-05-30TimedEventsManager is now a singletonFlorent Le Coz
2014-05-30Timed events can have a name, and can be canceled based on their nameFlorent Le Coz
2014-05-30Use libuuid to generate unique IDs for iq and adhoc sessionsFlorent Le Coz
2014-05-30Add missing files (for adhoc command support)Florent Le Coz
2014-05-30XmlNode::get_children, to get a list of matching children instead of the firstFlorent Le Coz
2014-05-30XmlNode’s copy constructor now recursively copies the children nodes as wellFlorent Le Coz
2014-05-30Implement the support for adhoc commandsFlorent 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-28Change the way the namespaces are handled in the XmlNode classFlorent Le Coz
2014-05-28Move the logging + config test on first positionFlorent Le Coz
2014-05-28Use a timed event to force the exit 2 seconds after an exit signal is receivedFlorent Le Coz
fix #2469
2014-05-28Introduce the timed eventsFlorent Le Coz
2014-05-28On connection in-progress, save the whole addrinfo struct, not just ai_addrFlorent Le Coz
2014-05-28Send an error presence when the connection to the IRC server failsFlorent Le Coz
2014-05-27Only close/unmanage the socket if we are connected/connectingFlorent 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-27Fix a by-one error in the CHANTYPES parsingFlorent Le Coz
2014-05-27Use the CHANTYPES values to differentiate channel or user noticesFlorent Le Coz
It also happens to fix #2517 because this used to create buggy channels named "auth" and stuf like that.
2014-05-27Add support for CHANTYPES isupport element, to know the prefixes of channelsFlorent Le Coz
2014-05-27Support IPv6 connectionsFlorent Le Coz
fix #2522
2014-05-27SocketHandlers 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-26If both write and read events are available on a socket, only do the readFlorent 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-25Also do that cut of message on \n for private messages, and handle /meFlorent Le Coz
2014-05-25Split the messages on \n when sending them back to the XMPP userFlorent Le Coz
2014-05-15Only call get_last_child() if the node has childrenFlorent 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-15Stanza:get_name() only returns the name of the tag, without the namespaceFlorent Le Coz
2014-05-15Disconnect the user from all its IRC servers whenever he returns an errorFlorent Le Coz
fix #2524
2014-05-14Correctly handle the usage of ! as a IRC user mode indicatorFlorent 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-07Forward iq version results to IRCFlorent Le Coz
2014-05-06Correctly do the error handling when we receive an iqFlorent Le Coz
2014-05-06Forward CTCP version request to XMPPFlorent Le Coz
2014-05-06Implement next_id() toFlorent Le Coz
2014-04-29Add missing std::string_literalsFlorent Le Coz
2014-04-29Fix a little indentationFlorent Le Coz
2014-04-29Use C++14 string_literalsFlorent Le Coz
2014-04-28Remove binary.hpp and use the c++14 feature 0bFlorent Le Coz
2014-04-28Upgrade to C++14Florent Le Coz
2014-04-25Include the xhtml-im element in private messages tooFlorent Le Coz
2014-04-25The author name from messages from the server are now nicely formatedFlorent Le Coz
2014-04-25NOTICE from channels are displayed in the channel, with a green "[notice]"Florent Le Coz
2014-04-24Respond to a disco query the gateway jid itselfFlorent Le Coz
2014-04-22Fix the kick by correctly using the from and to attributesFlorent Le Coz
2014-04-21The logging test is less ambiguousFlorent Le Coz
2014-04-21Improve the test on jidprepFlorent Le Coz
2014-04-21test.cfg file is now created by the test suiteFlorent Le Coz
2014-04-21Remove unused action_prefix_len variableFlorent Le Coz