Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-02-26 | Properly sanitize everything in the XML we send to the XMPP server | Florent Le Coz | |
in this order: - Make sure it is utf-8 encoded - Remove all chars that are invalid in XML - Escape all XML special chars (&'"<>) | |||
2015-02-26 | Fix the systemd-conditional code | Florent Le Coz | |
By using SYSTEMD_FOUND instead of SYSTEMDDAEMON_FOUND, where I forgot to rename it… | |||
2015-02-26 | Remove an unused parameter | Florent Le Coz | |
2015-02-25 | Do not handle the "%" char in a special way, in the fixed_server mode | Florent Le Coz | |
Also fix some doc | |||
2015-02-25 | Add support for a fixed_irc_server configuration | Florent Le Coz | |
This option lets the administrator choose a specific IRC server, and only that server can be used with this biboumi instance. In this mode, JIDs to use are changed like this: - #chan%irc.example.com@biboumi.example.com -> #chan@biboumi.example.com - user!irc.example.com@biboumi.example.com -> user!@biboumi.example.com - #chan%irc.example.com@biboumi.example.com/Nick -> #chan@biboumi.example.com/Nick - %irc.example.com@biboumi.example.com -> no equivalent - irc.example.com@biboumi.example.com -> no equivalent | |||
2015-02-25 | Include the IRC hostname in the IRC RECEIVING and SENDING debug messages | Florent Le Coz | |
fix #2715 | |||
2015-02-24 | Add a reload add-hoc command | Florent Le Coz | |
2015-02-23 | Implement async DNS resolution using c-ares | Florent Le Coz | |
fix #2533 | |||
2015-02-22 | Fix typo | Florent Le Coz | |
2015-02-21 | Use a timer to try reconnecting to the XMPP server only each 2 seconds | Florent 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-21 | Remove the XmppComponent::last_auth bool that was never used anywhere | Florent Le Coz | |
2015-02-21 | Properly display [DEBUG] on debug lines, instead of [ERROR] | Florent Le Coz | |
2015-02-21 | Fix “connections” typo | Florent Le Coz | |
2015-02-21 | Fix “cleanely” typo | Florent Le Coz | |
2015-01-26 | Add a missing #include for sockaddr_in6 | Florent Le Coz | |
2015-01-26 | Fix the include guard of revstr.hpp | Florent Le Coz | |
2015-01-24 | Change IRC modes when receiving an affiliation/role change request | Florent Le Coz | |
fix #2946 | |||
2015-01-14 | Remove a recent debug line that should not be there | Florent Le Coz | |
2015-01-14 | Do not send an empty password at all, if the user didn't provide one | Florent Le Coz | |
2015-01-14 | Make the password work when we join our first channel on that server | Florent 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-14 | Fix a little bit of style stuf from previous commit | Florent Le Coz | |
2015-01-14 | Add support for password-protected IRC rooms. | Emmanuel Gil Peyrot | |
2015-01-12 | Remove a dummy commented line | Florent Le Coz | |
2015-01-12 | If we sent a message to a user, their notices are considered private messages | Florent Le Coz | |
fix #2882 | |||
2014-12-17 | And another trivial -Weffc++ warning | Florent Le Coz | |
2014-12-17 | Fix a few issues reported by static analyzers | Florent Le Coz | |
2014-11-24 | Cache the result of jidprep() | Florent Le Coz | |
Avoid doing repetitive calculations, if we call jidprep() on the same JID multiple times | |||
2014-11-13 | Improve dependencies checks in the build process | Florent 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-12 | Implement the PING on a server or the gateway itself | Florent Le Coz | |
fix #2575 | |||
2014-11-12 | send_iq_result can have a "from" with just the domain name | Florent Le Coz | |
2014-11-12 | Implement PING to in-room participant | Florent Le Coz | |
ref #2575 | |||
2014-11-12 | Add utils::revstr | Florent Le Coz | |
2014-11-12 | Implement PING, user to user only (XMPP and IRC side, using CTCP PING) | Florent Le Coz | |
ref #2757 | |||
2014-11-12 | Rename iq_responder_callback_t to irc_… and add the equivalent to wait for iqs | Florent Le Coz | |
2014-08-08 | Send a proper error on IRC message 438 (nickname change too fast) | Florent Le Coz | |
fix #2576 | |||
2014-08-08 | Use generic send_presence_error() instead of almost identical specializations | Florent Le Coz | |
2014-07-21 | Add two missing type="error" in some presence errors | Florent Le Coz | |
2014-07-15 | Merge branch 'v1' | Florent Le Coz | |
Conflicts: src/network/socket_handler.hpp | |||
2014-07-15 | Fix 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-15 | Send the reason of the connection close to the user | Florent Le Coz | |
2014-07-03 | Move some members of TCPSocketHandler into the SocketHandler class | Florent Le Coz | |
2014-07-02 | Add a level of inheritance above SocketHandler | Florent 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-30 | Fix a typo | Florent Le Coz | |
2014-06-30 | Enable assert() even in release mode, in the test_suite | Florent Le Coz | |
2014-06-30 | Use systemd-daemon logging prefix if available | Florent Le Coz | |
2014-06-30 | Regularly send a notification for the systemd watchdog | Florent Le Coz | |
2014-06-28 | Add missing <string> include in timed_events.hpp | Florent Le Coz | |
fix #2552 | |||
2014-06-25 | Fix ad-hoc “disconnect user” command. Do not add the <error/> on success | Florent Le Coz | |
2014-06-22 | Delete the timeout event using the correct socket number, instead of -1 | Florent 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-20 | Support version request to IRC users | Florent Le Coz | |