summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-06-19Implement a way to add callbacks, waiting for an IRC event to return an iqFlorent Le Coz
2014-06-19Remove a duplicate “connection closed” messageFlorent Le Coz
2014-06-19Make the Botan rng, credential_manager etc be staticFlorent Le Coz
This actually makes the session_manager be useful, and saves a few octets of memory for the other ones
2014-06-18Document the new way to send private messagesFlorent Le Coz
2014-06-18Messages to room participants are forwarded to the IRC userFlorent 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-18Mini comment fixFlorent Le Coz
2014-06-18includes from cmake BINARY_DIR should be included before considering SOURCE_DIRFlorent Le Coz
2014-06-13Document the encryption, and a few documentation issues are fixedFlorent Le Coz
2014-06-11Rewrite the whole IID usageFlorent Le Coz
IRC users and channels are now distinguished by the separator used in the IID (% or !). ref #2468
2014-06-11Add an <error/> element when the provided form is wrong, in two ad-hoc commandsFlorent Le Coz
2014-06-11Handle the 'cancel' ad-hoc action, and return an error for unsupported actionsFlorent Le Coz
ref #2521
2014-06-11Remove inactive ad-hoc sessions after a given timeFlorent Le Coz
ref #2521
2014-06-08Make the XMPP component port configurableFlorent Le Coz
fix #2541
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).