summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-04-21Revert "Decode incoming JIDs local part according to xep 0106"Florent Le Coz
This reverts commit ad0465b32051e224f6a234f3ed36494905e59cbf. Conflicts: louloulibs
2015-04-20Reset the signal handlers when SIGINT or SIGTERM is receivedFlorent Le Coz
To avoid doing a double exit when receiving bot SIGINT and SIGTERM
2015-04-20Decode incoming JIDs local part according to xep 0106Florent Le Coz
This let users send message to nicks such as Q@CServe.quakenet.org fix #3047
2015-04-13Re-order a few things in main.cppFlorent Le Coz
2015-03-24Do not log a warning when we receive a PONG commandFlorent Le Coz
2015-03-04Set the default value to biboumi.cfgFlorent Le Coz
2015-03-02Move non-specific adhoc commands into louloulibsFlorent Le Coz
Only keep some biboumi-specific commands into biboumi_adhoc_commands.hpp/cpp
2015-03-02Forgot to remove some XMPP files that are now in louloulibs insteadFlorent Le Coz
2015-02-27Remove all the libs that are now in louloulibsFlorent Le Coz
2015-02-26Merge branch 'fixed_server'Florent Le Coz
2015-02-26Implement room discovery using the LIST irc commandFlorent Le Coz
ref #2472
2015-02-26Properly sanitize everything in the XML we send to the XMPP serverFlorent 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-26Fix the systemd-conditional codeFlorent Le Coz
By using SYSTEMD_FOUND instead of SYSTEMDDAEMON_FOUND, where I forgot to rename it…
2015-02-26Remove an unused parameterFlorent Le Coz
2015-02-25Do not handle the "%" char in a special way, in the fixed_server modeFlorent Le Coz
Also fix some doc
2015-02-25Add support for a fixed_irc_server configurationFlorent 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-25Include the IRC hostname in the IRC RECEIVING and SENDING debug messagesFlorent Le Coz
fix #2715
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