summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-11-12Implement PING to in-room participantFlorent Le Coz
ref #2575
2014-11-12Add utils::revstrFlorent Le Coz
2014-11-12Implement PING, user to user only (XMPP and IRC side, using CTCP PING)Florent Le Coz
ref #2757
2014-11-12Rename iq_responder_callback_t to irc_… and add the equivalent to wait for iqsFlorent Le Coz
2014-08-08Send a proper error on IRC message 438 (nickname change too fast)Florent Le Coz
fix #2576
2014-08-08Use generic send_presence_error() instead of almost identical specializationsFlorent Le Coz
2014-07-21Add two missing type="error" in some presence errorsFlorent Le Coz
2014-07-15Merge branch 'v1'Florent Le Coz
Conflicts: src/network/socket_handler.hpp
2014-07-15Fix IPv6 support (sockaddr size)Florent Le Coz
Since struct sockaddr is too small to contain an IPv6, we use struct sockaddr_in6 instead, and we cast it where needed
2014-07-15Send the reason of the connection close to the userFlorent Le Coz
2014-07-03Move some members of TCPSocketHandler into the SocketHandler classFlorent Le Coz
2014-07-02Add a level of inheritance above SocketHandlerFlorent Le Coz
SocketHandler has been renamed to TCPSocketHandler SocketHandler is now a simple interface with a few methods, used only by Poller. This way we can inherite from the new SocketHandler class, to handle other types of sockets, and still make them manageable by the poller without any change in the Poller class.
2014-06-30Fix a typoFlorent Le Coz
2014-06-30Enable assert() even in release mode, in the test_suiteFlorent Le Coz
2014-06-30Use systemd-daemon logging prefix if availableFlorent Le Coz
2014-06-30Regularly send a notification for the systemd watchdogFlorent Le Coz
2014-06-28Add missing <string> include in timed_events.hppFlorent Le Coz
fix #2552
2014-06-25Fix ad-hoc “disconnect user” command. Do not add the <error/> on successFlorent Le Coz
2014-06-22Delete the timeout event using the correct socket number, instead of -1Florent Le Coz
Was causing the event to not be removed in case of connection failure, which lead to a dangling timed event named “timeout-1”, which was called later, by some other SocketHandler for which even the socket creation failed (so, its socket is -1), with a pointer to the previous SocketHandler which has disappeared for a long time: segmentation fault etc.
2014-06-20Support version request to IRC usersFlorent Le Coz
2014-06-20Respond to IQ version on the gateway, a server or a chan with biboumi versionFlorent Le Coz
ref #2455
2014-06-20Write the software version, including the git hash, in config.h using cmakeFlorent Le Coz
2014-06-19Return a proper iq when the IRC server responds to our kickFlorent Le Coz
A result or an error, depending on the type of message
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-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-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-08Convert \n to <br/> in xhtml bodyEmmanuel Gil Peyrot
fix #2539
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-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