Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-09-18 | Add Bridge::get_bare_jid | Florent Le Coz | |
2015-09-18 | Add an AdhocCommandsHandler to store commands specific to IRC servers | Florent Le Coz | |
2015-09-18 | Introduce an optional Database module | Florent Le Coz | |
Uses litesql | |||
2015-09-18 | Also a xdg_data_path | Florent Le Coz | |
2015-09-18 | Create a xdg_path function | Florent Le Coz | |
2015-09-06 | Trivial cleanup in irc_client.cpp | Florent Le Coz | |
2015-09-06 | Check the number of argument of every IRC command received from the server | Florent Le Coz | |
Each IrcClient callback has a max and min size of argument, we call the callback only if the parsed message has a correct number of arguments, otherwise it is ignored (with a warning logged). | |||
2015-09-01 | Use unique_ptr to store the XmlNode’s children | Florent Le Coz | |
Also fix some constness things | |||
2015-09-01 | XmlNodes are now always closed | Florent Le Coz | |
Remove the close() method and closed attribute. Remove all the calls to close(). (Save one bool per XmlNode, yay, and save a few ifs and some useless function calls. At best it should be unnoticeably faster and lighter and save a few keystrokes in the future) | |||
2015-08-19 | //mode with no argument should work | Florent Le Coz | |
The server will respond with the current channel mode, in private or something | |||
2015-07-09 | If hostname resolution fails, do not try all possible ports | Florent Le Coz | |
2015-06-10 | Exit with 1 if the connection to the XMPP server fails | Florent Le Coz | |
This helps the system understand if the process started correctly or not, when systemd is not used fix #3078 | |||
2015-06-09 | Do not send the admin-only adhoc commands to non-admin users | Florent Le Coz | |
They were not able to execute them anyway, so this was just a little usability issue. | |||
2015-06-09 | Remove a useless duplicate method | Florent Le Coz | |
2015-05-27 | Avoid some potential race conditions by blocking the signals we manage | Florent Le Coz | |
They are atomically unblocked in the ppoll/epoll_pwait calls, avoiding any race condition on the check of the “stop” or “reload” booleans. | |||
2015-05-19 | Do not forward CTCP commands (PING, VERSION…) to the user as private messages | Florent Le Coz | |
Some XMPP client ping themselves inside MUCs, to know if they are still in there, this created a flood of PING message in private. If the user is interested in knowing when they receive a ping or version request, they can still read their XML logs | |||
2015-05-19 | Handle errors for the LIST irc command | Florent Le Coz | |
ref #2472 | |||
2015-05-19 | Ignore commands that flood the user with private messages when listing chans | Florent Le Coz | |
ref #2472 | |||
2015-05-19 | Remove a debug line (breaking our PING stuf) that should not have been commited | Florent Le Coz | |
2015-05-19 | Fix the way we we forward an XMPP ping result to the IRC server | Florent Le Coz | |
Our CTCP notice didn't include a \01 char at the end. We thus failed to check the PING id when we received it ourself, because one char was missing | |||
2015-05-13 | Update to latest louloulibs revision, and add test for hostname validity | Florent Le Coz | |
fix #2694 | |||
2015-05-11 | Fix a message.arguments size check | Florent Le Coz | |
2015-05-11 | Fix the way we check for the PING id | Florent Le Coz | |
2015-05-11 | Fix the case of the nick for ping requests | Florent Le Coz | |
fix #3041 | |||
2015-05-11 | Properly send error response on presence stanzas | Florent Le Coz | |
2015-05-11 | Return a stanza error whenever the IRCClient for a given server does not exist | Florent Le Coz | |
Instead of ignoring the stanza, we send back an error of type remote-server-not-found each time it's possible. Also avoid having to do if (!irc) return; everytime. fix #3045 | |||
2015-05-07 | Two trivial fixes | Florent Le Coz | |
2015-05-07 | Handle all unknown IRC command by forwarding the arguments as a message body | Florent Le Coz | |
This way, the users can receive the result of any IRC command (although not parsed nor formatted in anyway) when biboumi doesn’t support it fix #2884 | |||
2015-05-07 | Support raw IRC messages | Florent Le Coz | |
Messages received on an IRC server JID are forwarded as raw IRC messages. fix #2486 | |||
2015-05-04 | Make sure XDG_CONFIG_HOME is absolute, as per XDG basedir spec. | Emmanuel Gil Peyrot | |
2015-05-04 | Search for the config file in $XDG_CONFIG_DIR/biboumi. | Emmanuel Gil Peyrot | |
This environment variable points to the location the user expects to find every program’s config file, or if it isn’t set, ~/.config/biboumi (with a fallback to . if $HOME isn’t set). fix #2553 | |||
2015-04-21 | Properly check for connecting or connected status before reconnecting | Florent Le Coz | |
Note, in our context, is_connecting() includes the resolving part as well as the actual connection (if we are using c-ares) fix #3048 | |||
2015-04-21 | Revert "Decode incoming JIDs local part according to xep 0106" | Florent Le Coz | |
This reverts commit ad0465b32051e224f6a234f3ed36494905e59cbf. Conflicts: louloulibs | |||
2015-04-20 | Reset the signal handlers when SIGINT or SIGTERM is received | Florent Le Coz | |
To avoid doing a double exit when receiving bot SIGINT and SIGTERM | |||
2015-04-20 | Decode incoming JIDs local part according to xep 0106 | Florent Le Coz | |
This let users send message to nicks such as Q@CServe.quakenet.org fix #3047 | |||
2015-04-13 | Re-order a few things in main.cpp | Florent Le Coz | |
2015-03-24 | Do not log a warning when we receive a PONG command | Florent Le Coz | |
2015-03-04 | Set the default value to biboumi.cfg | Florent Le Coz | |
2015-03-02 | Move non-specific adhoc commands into louloulibs | Florent Le Coz | |
Only keep some biboumi-specific commands into biboumi_adhoc_commands.hpp/cpp | |||
2015-03-02 | Forgot to remove some XMPP files that are now in louloulibs instead | Florent Le Coz | |
2015-02-27 | Remove all the libs that are now in louloulibs | Florent Le Coz | |
2015-02-26 | Merge branch 'fixed_server' | Florent Le Coz | |
2015-02-26 | Implement room discovery using the LIST irc command | Florent Le Coz | |
ref #2472 | |||
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 | |