summaryrefslogtreecommitdiff
path: root/src/test.cpp
AgeCommit message (Collapse)Author
2015-10-26Fix the jidprep tests when built without libidnFlorent Le Coz
2015-10-24Display a success message at the end of the test suiteFlorent Le Coz
2015-10-24Some little fixes in test.cppFlorent Le Coz
2015-10-15Separate the DNS resolution logic from the TCP communication logicFlorent Le Coz
fix #3137
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-18Introduce the configure ad-hoc command on irc serversFlorent Le Coz
Provides two options for now, and they have no effect yet
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-05-13Update to latest louloulibs revision, and add test for hostname validityFlorent Le Coz
fix #2694
2015-04-21Revert "Decode incoming JIDs local part according to xep 0106"Florent Le Coz
This reverts commit ad0465b32051e224f6a234f3ed36494905e59cbf. Conflicts: louloulibs
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-02-25Do not handle the "%" char in a special way, in the fixed_server modeFlorent Le Coz
Also fix some doc
2015-02-25Add support for a fixed_irc_server configurationFlorent Le Coz
This option lets the administrator choose a specific IRC server, and only that server can be used with this biboumi instance. In this mode, JIDs to use are changed like this: - #chan%irc.example.com@biboumi.example.com -> #chan@biboumi.example.com - user!irc.example.com@biboumi.example.com -> user!@biboumi.example.com - #chan%irc.example.com@biboumi.example.com/Nick -> #chan@biboumi.example.com/Nick - %irc.example.com@biboumi.example.com -> no equivalent - irc.example.com@biboumi.example.com -> no equivalent
2014-12-17Fix a few issues reported by static analyzersFlorent Le Coz
2014-11-24Cache the result of jidprep()Florent Le Coz
Avoid doing repetitive calculations, if we call jidprep() on the same JID multiple times
2014-11-12Add utils::revstrFlorent Le Coz
2014-06-30Fix a typoFlorent Le Coz
2014-06-30Enable assert() even in release mode, in the test_suiteFlorent Le Coz
2014-06-11Rewrite the whole IID usageFlorent Le Coz
IRC users and channels are now distinguished by the separator used in the IID (% or !). ref #2468
2014-06-08Convert \n to <br/> in xhtml bodyEmmanuel Gil Peyrot
fix #2539
2014-05-30TimedEventsManager is now a singletonFlorent Le Coz
2014-05-30Timed events can have a name, and can be canceled based on their nameFlorent Le Coz
2014-05-30Use libuuid to generate unique IDs for iq and adhoc sessionsFlorent Le Coz
2014-05-30XmlNode’s copy constructor now recursively copies the children nodes as wellFlorent Le Coz
2014-05-28Change the way the namespaces are handled in the XmlNode classFlorent Le Coz
2014-05-28Move the logging + config test on first positionFlorent Le Coz
2014-05-28Introduce the timed eventsFlorent Le Coz
2014-05-14Correctly handle the usage of ! as a IRC user mode indicatorFlorent Le Coz
Since “!” is also the separator between the nickname and the user hostname, having “!” as the user mode (e.g. !nick!~some@host.bla) would cause the nick to be empty. Now we skip it if it is a valid user mode indicator.
2014-05-06Implement next_id() toFlorent Le Coz
2014-04-21The logging test is less ambiguousFlorent Le Coz
2014-04-21Improve the test on jidprepFlorent Le Coz
2014-04-21test.cfg file is now created by the test suiteFlorent Le Coz
2014-04-18Actually do the last commit, but completely this timeFlorent Le Coz
2014-04-17No more missing text when converting IRC colors to xhtml-imFlorent Le Coz
fix #2496
2014-04-15Merge branch 'master' into dummy_chanFlorent Le Coz
2014-04-13[WIP] DummyIrcChannelFlorent Le Coz
2014-04-11Do not use exceptions for missing tags, improvement in code simplicityFlorent Le Coz
2014-01-28Jidprep also handles the resource partFlorent Le Coz
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-08Provide a JID for IRC users, and add a stringprep dependency for thisFlorent Le Coz
2013-12-03Add a logger classFlorent 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-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-21Send XMPP multi-line messages as multiple IRC messagesFlorent Le Coz
2013-11-16Add a test for xml escape/unescapeFlorent Le Coz
2013-11-14Fix JID parsingEmmanuel Gil Peyrot