summaryrefslogtreecommitdiff
path: root/louloulibs
AgeCommit message (Collapse)Author
2016-06-14Add a missing return bool in Configlouiz’
2016-06-14Clean the Config module, use static things instead of a stupid singletonlouiz’
2016-06-13Show off, with some variadic templates, for the logger modulelouiz’
2016-06-08Add a missing vector includelouiz’
2016-06-08Remove all usage of std::listlouiz’
2016-06-02Check the length of the JID parts when copying into the jidprep bufferlouiz’
We trust the XMPP server, but maybe not enough to not check that
2016-05-13Use “using” instead of typedeflouiz’
2016-05-11Do not use std::endl for each line when saving the conf filelouiz’
2016-05-10Fix build with POLLER=POLLlouiz’
2016-05-04Style fixlouiz’
Move all constructors at the top of classes
2016-04-27Include the Configure ad-hoc command on biboumi's JID for fixed_irc_serverlouiz’
Because a jid like “freenode.example.org” is both the JID for the configured IRC server, and biboumi’s JID. fix #3175
2016-04-22Forward the topic authors, handle the author from 333 messageslouiz’
fix #2
2016-04-22Add a TEMPORARY work-around for botan 1.11.29louiz’
2016-02-24Fix the ordering of poll callbacks, with ppoll tooFlorent Le Coz
2016-02-24Close the epoll fdFlorent Le Coz
2016-02-22log the handshake + stream opening/close in a more consistent wayFlorent Le Coz
2016-02-22Fix the ordering of poll callbacks (recv, connect, send)Florent Le Coz
Because if we have a send event to signal the connection sucess + a recv event to signal something to read on the socket, we need to first finish the connect process before reading the available data. That’s what we do now.
2016-02-10Remove unused xml_unescape() functionFlorent Le Coz
2016-02-10Rename BasicCredentialManagerFlorent Le Coz
2016-01-13Quiet a warningFlorent Le Coz
2016-01-04Support a trusted SHA1 fingerprint to be configured for each IRC serverFlorent Le Coz
2016-01-04Use the configured encoding value when decoding received messagesFlorent Le Coz
2015-12-23A few cleanups, and make a few things more modernFlorent Le Coz
2015-12-23Also store a reference instead of a pointer, in AdhocCommandsHandlerFlorent Le Coz
2015-12-13Make the XMPP server address configurable.Stuart Mumford
fix #3145
2015-12-03Add an ad-hoc command to disconnect a user from one or more IRC serverFlorent Le Coz
fix #3077
2015-12-03JID class provides bare() and full() methodsFlorent Le Coz
2015-12-03Small cleanupFlorent Le Coz
2015-12-03Provide a “var” map in AdhocSession objects, to save values between each ↵Florent Le Coz
step
2015-12-03Do not forget to call freeaddrinfo, fix a memleakFlorent Le Coz
For the getaddrinfo call we added in the previous commit, to convert the IP provided in the conf.
2015-12-01Display a better error when connection failsFlorent Le Coz
The error should not tell “while reading” when we are just connecting.
2015-12-01Add the outgoing_bind optionFlorent Le Coz
Lets the admin choose a local address to bind each outgoing (IRC) socket.
2015-11-30Do not segfault when trying to send TLS data over a not-yet connected socketFlorent Le Coz
2015-11-07Avoid leaking socket filedescriptorsFlorent Le Coz
When trying the various results of getaddrinfo, we forgot to close the socket when one fails, before trying the next one. Also use the destructor to make sure we do not have some other unrelated leak.
2015-11-05Make the CA file configurableFlorent Le Coz
2015-11-05Provide an adhoc option to let user pass the cert verif for some IRC serversFlorent Le Coz
2015-11-02Fix the build without botan, caused by credentials_managerFlorent Le Coz
2015-11-02Verify TLS certificate with the given hostname, instead of a hardcoded oneFlorent Le Coz
2015-11-02Verify the remote TLS certificates using the system-wide trusted CAsFlorent Le Coz
2015-10-31Remove a useless assignmentFlorent Le Coz
2015-10-28Refactor XmppParser::end_element to make it clearerFlorent Le Coz
Both for me, and apparently for clang static analyzer, who reported a (imo) false positive.
2015-10-26Style, add a few “this->”Florent Le Coz
2015-10-26Fix some trivial issues reported by cppcheckFlorent Le Coz
2015-10-26Fix a build issue when compiling without caresFlorent Le Coz
2015-10-26Remove a unused_parameter warningFlorent Le Coz
2015-10-26Remove some more debug thingFlorent Le Coz
2015-10-26Remove some debug thing that should not have been committedFlorent Le Coz
2015-10-15Separate the DNS resolution logic from the TCP communication logicFlorent Le Coz
fix #3137
2015-09-22Catch TLS exceptions, close the connection and inform the user of the errorFlorent Le Coz
2015-09-18Introduce the configure ad-hoc command on irc serversFlorent Le Coz
Provides two options for now, and they have no effect yet