summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-10-12Provide the “realname_customization” optionFlorent Le Coz
ref #3136
2015-10-12The realname is also saved as an IrcClient memberFlorent Le Coz
2015-09-23TIL std::string::end and std::string::begin…Florent Le Coz
2015-09-23Make sure the user-provided username does not contain spacesFlorent Le Coz
2015-09-23Provide username and realname IRC server optionsFlorent Le Coz
Used in the USER command when connecting to the IRC server, instead of the first nick. fix #3028
2015-09-22Fix two small warningsFlorent Le Coz
2015-09-22Connection may be closed from our side tooFlorent Le Coz
2015-09-21Add a field (in the configure form) to specifiy an after-connect IRC commandFlorent Le Coz
2015-09-21Provide Ports and TLS Ports IRC-server ad-hoc optionsFlorent Le Coz
This let any user choose which ports to use when connecting to the IRC server. This also lets the user choose whether or not to force TLS usage (by setting no non-TLS port). fix #2731
2015-09-18Send a PASS IRC command if the “pass” config is sot by a user, on an IRC ↵Florent Le Coz
server fix #3068
2015-09-18Introduce the configure ad-hoc command on irc serversFlorent Le Coz
Provides two options for now, and they have no effect yet
2015-09-18Add Bridge::get_bare_jidFlorent Le Coz
2015-09-18Add an AdhocCommandsHandler to store commands specific to IRC serversFlorent Le Coz
2015-09-18Introduce an optional Database moduleFlorent Le Coz
Uses litesql
2015-09-18Also a xdg_data_pathFlorent Le Coz
2015-09-18Create a xdg_path functionFlorent Le Coz
2015-09-06Trivial cleanup in irc_client.cppFlorent Le Coz
2015-09-06Check the number of argument of every IRC command received from the serverFlorent 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-01Use unique_ptr to store the XmlNode’s childrenFlorent Le Coz
Also fix some constness things
2015-09-01XmlNodes are now always closedFlorent 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 workFlorent Le Coz
The server will respond with the current channel mode, in private or something
2015-07-09If hostname resolution fails, do not try all possible portsFlorent Le Coz
2015-06-10Exit with 1 if the connection to the XMPP server failsFlorent Le Coz
This helps the system understand if the process started correctly or not, when systemd is not used fix #3078
2015-06-09Do not send the admin-only adhoc commands to non-admin usersFlorent Le Coz
They were not able to execute them anyway, so this was just a little usability issue.
2015-06-09Remove a useless duplicate methodFlorent Le Coz
2015-05-27Avoid some potential race conditions by blocking the signals we manageFlorent 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-19Do not forward CTCP commands (PING, VERSION…) to the user as private messagesFlorent 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-19Handle errors for the LIST irc commandFlorent Le Coz
ref #2472
2015-05-19Ignore commands that flood the user with private messages when listing chansFlorent Le Coz
ref #2472
2015-05-19Remove a debug line (breaking our PING stuf) that should not have been commitedFlorent Le Coz
2015-05-19Fix the way we we forward an XMPP ping result to the IRC serverFlorent 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-13Update to latest louloulibs revision, and add test for hostname validityFlorent Le Coz
fix #2694
2015-05-11Fix a message.arguments size checkFlorent Le Coz
2015-05-11Fix the way we check for the PING idFlorent Le Coz
2015-05-11Fix the case of the nick for ping requestsFlorent Le Coz
fix #3041
2015-05-11Properly send error response on presence stanzasFlorent Le Coz
2015-05-11Return a stanza error whenever the IRCClient for a given server does not existFlorent 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-07Two trivial fixesFlorent Le Coz
2015-05-07Handle all unknown IRC command by forwarding the arguments as a message bodyFlorent 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-07Support raw IRC messagesFlorent Le Coz
Messages received on an IRC server JID are forwarded as raw IRC messages. fix #2486
2015-05-04Make sure XDG_CONFIG_HOME is absolute, as per XDG basedir spec.Emmanuel Gil Peyrot
2015-05-04Search 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-21Properly check for connecting or connected status before reconnectingFlorent 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-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