summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2013-12-24connect() returns a booleanFlorent Le Coz
2013-12-23Read a variable number of bytes, 4096 by defaultFlorent Le Coz
2013-12-23Correctly send the part message to IRCFlorent Le Coz
By fixing a namespace when looking for an XML element containing that message
2013-12-15Use XML-sanitized strings when serializing stanzas for the XMPP serverFlorent Le Coz
2013-12-15Functions to provide xml-valid stringsFlorent Le Coz
By removing invalid chars, see http://www.w3.org/TR/xml/#charsets
2013-12-09Lowercase the chan names in two missing casesFlorent Le Coz
2013-12-08Provide a JID for IRC users, and add a stringprep dependency for thisFlorent Le Coz
2013-12-08Put utils::tolower definition in its own cpp fileFlorent Le Coz
2013-12-08Enforce a simple limit of 400 bytes for IRC messages bodyFlorent Le Coz
The limit for the whole message is 512 bytes, we limit the body to 400 (instead of doing a calculation based on the command name and the other parameters), because it's simple, easy and that’s enough. fixes #2416
2013-12-03Display all the MODE arguments in the messageFlorent Le Coz
2013-12-03Use the logger everywhereFlorent Le Coz
2013-12-03Add a logger classFlorent Le Coz
2013-12-03Fix a parenthesis ambiguityFlorent Le Coz
2013-12-02xml-escape the tail in an XmlNodeFlorent Le Coz
2013-11-28:3Florent Le Coz
2013-11-28Channel names are case insensitiveFlorent Le Coz
But some servers (epiknet for example) send channel names with an uppercase
2013-11-28Print some stuff when ./test is runningFlorent Le Coz
2013-11-28Re-add support for /me messages from IRCFlorent Le Coz
It was recently removed because it was handled in the old "convert irc colors" code. It now is in the right place.
2013-11-28Implement IRC format to xhtml-im conversionFlorent Le Coz
The generated XML is very verbose because each IRC formatting tag makes us close a <span/> element and reopen it with the new style applied. However, this works quite well and is easy to implement.
2013-11-27Remove incomplete implementation of remove_irc_colorsFlorent Le Coz
2013-11-27Set the parent of a node passed to add_child, and return it for convenianceFlorent Le Coz
2013-11-21TIL override and finalFlorent Le Coz
2013-11-21Send XMPP multi-line messages as multiple IRC messagesFlorent Le Coz
2013-11-21Merge branch 'epolletc'Florent Le Coz
2013-11-21Let the user choose the poller to use through cmake POLLER optionFlorent Le Coz
Use ccmake, or cmake -i, or cmake -DPOLLER=EPOLL, for example
2013-11-21Use epollFlorent Le Coz
2013-11-21Send the motd as one single big messageFlorent Le Coz
We append each line to a string, and when the MOTD is complete, we send that string at once.
2013-11-16Add a test for xml escape/unescapeFlorent Le Coz
2013-11-14Fix a warningFlorent Le Coz
2013-11-14Fix JID parsingEmmanuel Gil Peyrot
2013-11-13Include stdlib.h for atoiFlorent Le Coz
2013-11-13Do not crash on special chars in the content of messageFlorent Le Coz
That’s ugly, and we need to sanitize everything properly, and also handle these special messages.
2013-11-13Handle KICK in irc channel, both waysFlorent Le Coz
2013-11-12Map irc commands to callbacks, in a clean wayFlorent Le Coz
2013-11-12Basic handling of modes, both waysFlorent Le Coz
2013-11-12Read the served hostname from the config fileFlorent Le Coz
2013-11-11Unescape XML before sending messages over IRCFlorent Le Coz
2013-11-11Handle nick changes, both waysFlorent Le Coz
2013-11-10Add a Config module, and use it to get the password from a fileFlorent Le Coz
2013-11-10Handle private messages, both waysFlorent Le Coz
2013-11-10Handle the ACTION (/me) IRC command, both waysFlorent Le Coz
2013-11-10Connect to localhost instead of the served hostnameFlorent Le Coz
Because the XMPP component connection is only available locally, the XMPP servers proably only listen on 127.0.0.1 instead of 0.0.0.0.
2013-11-10Handle IRC QUIT commandFlorent Le Coz
2013-11-10Fix the include of the config.hFlorent Le Coz
2013-11-10And actually use the values found by cmakeFlorent Le Coz
2013-11-10Properly detect iconv features to compileFlorent Le Coz
2013-11-10Add include for perrorFlorent Le Coz
2013-11-10Use the Expat library directly instead of relying on expatppFlorent Le Coz
And now we handle namespaces, yay. And a nice little test.
2013-11-09Aaaand, I forgot to add filesFlorent Le Coz
2013-11-09Implement part and join, both waysFlorent Le Coz