Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-08-07 | Split the main() into smaller functions | louiz’ | |
That’s not really enough, but better | |||
2018-05-06 | Also handle SIGHUP to reload the configuration | louiz’ | |
Because that’s what is typically done on other deamons, and we don’t want to suprise users. | |||
2018-03-15 | follow coding style | Ailin Nemui | |
2018-03-13 | optional identd | Ailin Nemui | |
2017-12-02 | Handle postgresql and sqlite3 libs properly | louiz’ | |
Do not fail to compile when one of them is missing but the other one is not. Raise an error when trying to open a database with the missing library. see #3237 | |||
2017-12-02 | Add postgresql support | louiz’ | |
2017-06-14 | Implement our own database ORM, and update the whole code to use it | louiz’ | |
Entirely replace LiteSQL fix #3271 | |||
2017-04-17 | Avoid adding more that one “XMPP reconnection” timed event at the same time | louiz’ | |
Fix a semblance of infinite and busy loop, that could occur if biboumi’s poller is woken up multiple times while the XMPP server is not reachable. | |||
2017-04-07 | Apply a few clang-tidy cppcoreguidelines-* fixes | louiz’ | |
2017-04-07 | Apply all the clang-tidy modernize-* fixes | louiz’ | |
2017-02-01 | Properly destroy the dns_handler socket when first start fails | louiz’ | |
To correctly exit the process | |||
2017-01-06 | Use udns instead of c-ares | louiz’ | |
fix #3226 | |||
2016-11-25 | Do not fail to build if litesql is not there | louiz’ | |
2016-11-15 | Support the ident protocol | louiz’ | |
fix #3211 | |||
2016-11-01 | Disable e2e tests on openbsd | louiz’ | |
2016-10-31 | Some cleanups | louiz’ | |
2016-08-01 | Rephrase an error message | louiz’ | |
2016-07-31 | Provide a --help option | louiz’ | |
fix #3183 | |||
2016-07-28 | Do not use the logger before the configuration has been loaded first | louiz’ | |
2016-07-24 | Use log_error instead of cerr | louiz’ | |
2016-07-12 | Properly catch and handle database errors | louiz’ | |
Do not use a singleton for the database. fix #3203 | |||
2016-06-14 | Improve the signal handling by disabling them while an handler is running | louiz’ | |
2016-06-14 | Clean the Config module, use static things instead of a stupid singleton | louiz’ | |
2015-12-23 | Notify systemd when the process is stopping | Florent Le Coz | |
2015-09-18 | Also a xdg_data_path | Florent Le Coz | |
2015-09-18 | Create a xdg_path function | 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-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-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-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-13 | Re-order a few things in main.cpp | Florent Le Coz | |
2015-03-04 | Set the default value to biboumi.cfg | Florent Le Coz | |
2015-02-27 | Remove all the libs that are now in louloulibs | Florent Le Coz | |
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-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 | Fix “connections” typo | Florent Le Coz | |
2015-02-21 | Fix “cleanely” typo | 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-05-30 | TimedEventsManager is now a singleton | Florent Le Coz | |
2014-05-28 | Use a timed event to force the exit 2 seconds after an exit signal is received | Florent Le Coz | |
fix #2469 | |||
2014-05-27 | SocketHandlers own the poller and add themself into it only when the socket ↵ | Florent Le Coz | |
is created We want to call socket() with the parameters provided by getaddrinfo, so we can’t addd the fd into the poller immediately. We need to wait the connection attempt, and then the SocketHandler can call add_socket_handler itself, if the connection succeeds, or is in progress. | |||
2014-03-24 | Introduce two new bool, to know if the xmpp component should try to reconnect | Florent Le Coz | |
If we never succeeded our connection+auth process, means we should probably not attempt any-more, and just give up. If we ever did, this means a reconnect is a good idea | |||
2014-03-24 | Reconnected immediately to the XMPP whenever it closes the connection | Florent Le Coz | |
2014-02-24 | Use store() instead of operator=() for std::atomic<bool> objects | Florent Le Coz | |
2014-02-22 | Connection to servers does not block the process anymore | Florent Le Coz | |
2014-02-19 | Set sigaction.sa_flags to 0 | Florent Le Coz | |
2014-02-19 | Reload the conf on SIGUSR1/2 | Florent Le Coz | |
2014-01-04 | Remove disconnected IrcClients | Florent Le Coz | |