summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-03-28The default type for message stanza is "normal"Florent Le Coz
2014-03-28Catch all exception produced by a received message (irc or xmpp)Florent Le Coz
2014-03-28The absence of a from attribute is an unrecoverable error, just ignore itFlorent Le Coz
2014-03-28Send a stanza error when receiving bad stanzasFlorent Le Coz
Whether this is a bad-request (missing XML attributes or elements) or an internal server error.
2014-03-24IdemFlorent Le Coz
2014-03-24Use the correct type of errorFlorent Le Coz
2014-03-24Send an error presence whenever a user tries to join an invalid roomFlorent Le Coz
2014-03-24Introduce two new bool, to know if the xmpp component should try to reconnectFlorent 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-24Reconnected immediately to the XMPP whenever it closes the connectionFlorent Le Coz
2014-03-24Do not send data if we are connected, send it only once we actually areFlorent Le Coz
2014-03-10Remove useless castFlorent Le Coz
2014-03-03Fix a bus error by not going above an array boundaryFlorent Le Coz
2014-02-28Provide details about what error the XML parser encounteredFlorent Le Coz
2014-02-28Avoid unnecessary copies by recv()ing data directly into the expat bufferFlorent Le Coz
2014-02-27Use scatter/gather io with sendmsg to avoid concataning strings all the timeFlorent Le Coz
2014-02-26Fix a wrong commentFlorent Le Coz
2014-02-25Do not try to connect to an irc server if we are connected or connectingFlorent Le Coz
2014-02-24Add missing stdexcept includesFlorent Le Coz
2014-02-24Use store() instead of operator=() for std::atomic<bool> objectsFlorent Le Coz
2014-02-22Consider that the connect() succeded if errno EISCONNFlorent Le Coz
Apparently on some systems, subsquent connect() calls may fail with EISCONN error, to indicate that the connection succeded in the background, instead of returning 0.
2014-02-22Save the addrinfo values for reuse on subsequent connect() callFlorent Le Coz
2014-02-22Connection to servers does not block the process anymoreFlorent Le Coz
2014-02-20Delete empty bridges objectsFlorent Le Coz
2014-02-20QUIT the irc server when the last channel is leftFlorent Le Coz
2014-02-20Do not receive SIGPIPE when send() is called on a closed socketFlorent Le Coz
The error is handled using the return value
2014-02-19Send unavailable presence to all muc when the IRC server closes the connectionFlorent Le Coz
2014-02-19Move CMake’s config.h(.cmake) files into src/Florent Le Coz
2014-02-19Set sigaction.sa_flags to 0Florent Le Coz
2014-02-19Fix the joined flag on channels, avoid sending the topic twice when joiningFlorent Le Coz
2014-02-19Reload the conf on SIGUSR1/2Florent Le Coz
2014-02-17Fix quit messages not being sent to XMPPFlorent Le Coz
2014-02-17Include role and affiliation in the join presence of the nick change processFlorent Le Coz
2014-02-17Log (xmpp) stream-level errorsFlorent Le Coz
2014-02-17Revert "Do not include an empty item XML element in join presences"Florent Le Coz
This reverts commit e3b91475ffd7c1c76868964614f66060ba9e3a85.
2014-02-08Handle most generic error IRC messagesFlorent Le Coz
2014-02-08Enable TCP keepalive on socketsFlorent Le Coz
2014-02-08Add missing logger includeFlorent Le Coz
2014-02-08Do not include an empty item XML element in join presencesFlorent Le Coz
2014-02-08Use strerror and log_error instead of perrrorFlorent Le Coz
2014-02-08Be verbose about IRC server connection failures, and handle them properlyFlorent Le Coz
2014-01-28Jidprep also handles the resource partFlorent Le Coz
2014-01-13Add missing stdexcept includesFlorent Le Coz
2014-01-13Do not change the affiliation/role to "none"/"participant" when changing nickFlorent Le Coz
fixes #2436
2014-01-13Remove cryptopp dependency, directly include a simple sha1 implementationFlorent Le Coz
2014-01-06Also set the role and affiliation of users already in the chanFlorent Le Coz
2014-01-04Add missing errno.h includesFlorent Le Coz
2014-01-04Fix a bug when receiving a topic changeFlorent Le Coz
The number of arguments is not always the same
2014-01-04Possibility to change a channel's topicFlorent Le Coz
2014-01-04Convert received modes into roles and affiliationsFlorent Le Coz
2014-01-04Do not throw an exception when recv returns and error, just close the socketFlorent Le Coz