summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-02-24Add a reload add-hoc commandFlorent Le Coz
2015-02-23Implement async DNS resolution using c-aresFlorent Le Coz
fix #2533
2015-02-22Fix typoFlorent Le Coz
2015-02-21Use a timer to try reconnecting to the XMPP server only each 2 secondsFlorent Le Coz
When the connection is lost, immediately try to reconnect, then try to reconnect every 2 seconds. This is much better than the previous “Try to re-connect as fast as possible”.
2015-02-21Remove the XmppComponent::last_auth bool that was never used anywhereFlorent Le Coz
2015-02-21Properly display [DEBUG] on debug lines, instead of [ERROR]Florent Le Coz
2015-02-21Fix “connections” typoFlorent Le Coz
2015-02-21Fix “cleanely” typoFlorent Le Coz
2015-01-26Add a missing #include for sockaddr_in6Florent Le Coz
2015-01-26Fix the include guard of revstr.hppFlorent Le Coz
2015-01-24Change IRC modes when receiving an affiliation/role change requestFlorent Le Coz
fix #2946
2015-01-14Remove a recent debug line that should not be thereFlorent Le Coz
2015-01-14Do not send an empty password at all, if the user didn't provide oneFlorent Le Coz
2015-01-14Make the password work when we join our first channel on that serverFlorent Le Coz
Because we need to wait for the welcome message, when we connect to the server, before sending the JOIN command, we need to also save the value of the password to reuse it when we actually send the JOIN command
2015-01-14Fix a little bit of style stuf from previous commitFlorent Le Coz
2015-01-14Add support for password-protected IRC rooms.Emmanuel Gil Peyrot
2015-01-12Remove a dummy commented lineFlorent Le Coz
2015-01-12If we sent a message to a user, their notices are considered private messagesFlorent Le Coz
fix #2882
2014-12-17And another trivial -Weffc++ warningFlorent Le Coz
2014-12-17Fix a few issues reported by static analyzersFlorent Le Coz
2014-11-24Cache the result of jidprep()Florent Le Coz
Avoid doing repetitive calculations, if we call jidprep() on the same JID multiple times
2014-11-13Improve dependencies checks in the build processFlorent Le Coz
- Rename all Find*.cmake files to uppercase, to make things more consistent, and fix some issues with them (notably the REQUIRED flag) - Rename SYSTEMDDAEMON to SYSTEMD and only use the libsystemd instead of libsystemd-daemon because it's deprecated for a long time now - Provide a WITH_* and WITHOUT_* switch for all optional dependencies - Document things in the INSTALL file
2014-11-12Implement the PING on a server or the gateway itselfFlorent Le Coz
fix #2575
2014-11-12send_iq_result can have a "from" with just the domain nameFlorent Le Coz
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