summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-06-08Add a TimedEvent to cancel the connection to a server after 5 secondsFlorent Le Coz
2014-06-08Silence warnings coming from Botan headersFlorent Le Coz
2014-06-08Properly search for libbotan even in a botan-1.11 subdirectoryFlorent Le Coz
2014-06-08Convert \n to <br/> in xhtml bodyEmmanuel Gil Peyrot
fix #2539
2014-06-08Give two supported compilers, as examplesFlorent Le Coz
2014-06-08Document the new optional libbotan dependencyFlorent Le Coz
2014-06-08Implement TLS support using BotanFlorent 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-06Little doc fixFlorent Le Coz
2014-06-05Make the destructor of the SocketHandler class protected non-virtualFlorent Le Coz
2014-06-03Update the documentationFlorent 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-31Document the `admin` configuration optionFlorent Le Coz
2014-05-31Add an ad-hoc command to disconnect some usersFlorent Le Coz
2014-05-30Add the libuuid dependency to the INSTALL fileFlorent 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-30Use pkg-config first to find librariesFlorent 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-11mini reorderFlorent Le Coz
2014-05-11[cmake] Do not print useless messages when an optional lib is not foundFlorent Le Coz
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