Commit Graph
263 Commits
Author SHA1 Message Date
louiz’ c97e349821 Remove dns unit tests, because they are not *unit* test (depends on network…) 2016-08-20 02:36:41 +02:00
louiz’ 5406de35a3 On a client error, do not QUIT, just make the resource leave all channels
This should fix #3205
2016-08-17 20:47:33 +02:00
louiz’ a4ab1db55f e2e test self invite 2016-08-16 16:18:08 +02:00
louiz’ 0d2dd71de5 Don’t use ! as the separator for nicknames, use % instead
It’s now easier to use. The distinction between a nick and a channel name is
based on the first character (by default it's '#' and '&'). The user doesn’t
have to worry about which separator to use anymore.

fix #3066
2016-08-10 15:48:28 +02:00
louiz’ ec0e87a965 Test the version request, in many ways 2016-08-03 14:28:29 +02:00
louiz’ 3fbe01bb30 Test the kick on a multisession nick 2016-08-02 11:11:27 +02:00
louiz’ 4790295313 test kick 2016-07-31 18:16:29 +02:00
louiz’ 0d1e0629e7 Fix the timeout test, now that we don't wait 1ms too much everytime 2016-07-28 10:47:44 +02:00
louiz’ c7e4fc1386 Test the resolving of multiple hostnames at the same time 2016-07-25 14:59:25 +02:00
louiz’ 4c1b9abe7e Properly catch and handle database errors
Do not use a singleton for the database.

fix #3203
2016-07-12 00:31:57 +02:00
louiz’ 81f8f45b37 Replace all include guards by #pragma once
It’s $CURRENT_YEAR
2016-07-04 17:53:53 +02:00
louiz’ 0ce75ab521 Properly remove the resource from the server when we leave the last channel 2016-07-03 16:01:15 +02:00
louiz’ 8cef730318 Add a valgrind suppression file 2016-07-02 15:10:23 +02:00
louiz’ 79002aa5c9 Run e2e through with valgrind if BIBOUMI_E2E_VALGRIND is set in the env 2016-06-29 19:53:37 +02:00
louiz’ 2fe8878169 Add a e2e test that checks self-ping with multiple resources behind one nick 2016-06-24 11:43:13 +02:00
louiz’ 7ae29890c3 Add a e2e for self-ping, with a single channel resource 2016-06-24 11:25:04 +02:00
louiz’ 4e959a3869 Add a simple e2e test that joins a channel with xep0106-encoded name 2016-06-23 22:50:05 +02:00
louiz’ 4b1c580bb9 cut messages at 512 bytes, taking into account the UTF-8 codepoints
ref #3067
2016-06-15 15:50:45 +02:00
louiz’ 80d0c19c5a Refactor, test and improve the way we cut too-long messages for IRC 2016-06-14 20:14:36 +02:00
louiz’ 46ff73662c Clean the Config module, use static things instead of a stupid singleton 2016-06-14 03:02:36 +02:00
louiz’ 550ab46f02 Make the logger tests more useful 2016-06-13 20:46:30 +02:00
louiz’ 5a2e611617 Show off, with some variadic templates, for the logger module 2016-06-13 20:46:30 +02:00
louiz’ 272c0e4995 Reset the preferred private JID when all resources leave a room
For example if we are talking in private with nick Joe from
room #foo, and then we leave that room, we start receiving Joe’s
message from the server-wide JID

e2e tests included!!!
2016-06-10 10:00:48 +02:00
louiz’ 7540f67933 Add some e2e tests to check that private messages come from the right JIDs 2016-06-09 16:32:23 +02:00
louiz’ 199f010f52 Add a basic e2e test for channel and private messages 2016-06-08 11:49:44 +02:00
louiz’ 367de4826c Associate a bridge with a bare JID instead of a full JID
ref #2556
2016-06-08 01:42:43 +02:00
louiz’ 8f80b9c530 Test the execution of the hello command 2016-05-13 15:17:29 +02:00
louiz’ 0b1bf92479 e2e: possibility to extract a value from a stanza and reuse it in send_stanza 2016-05-13 15:17:29 +02:00
louiz’ 98517e9a7b Change the name of the DB in the e2e tests 2016-04-27 11:04:05 +02:00
louiz’ 1e56c59e82 Include the Configure ad-hoc command on biboumi's JID for fixed_irc_server
Because a jid like “freenode.example.org” is both the JID for the configured
IRC server, and biboumi’s JID.

fix #3175
2016-04-27 11:03:52 +02:00
louiz’ 82e0cf99b0 Trivial cleanup 2016-04-25 10:43:20 +02:00
louiz’ d452c2ff18 Add e2e tests for the ad-hoc listing on the server jid 2016-04-25 10:43:20 +02:00
louiz’ b98402c972 Remove a forgotten comment
[ci skip]
2016-04-22 15:06:45 +02:00
louiz’ 254249dd78 Test the the virtual channel 2016-04-22 15:03:29 +02:00
louiz’ 376b28172b tests: Split the connection sequence into two
We can now insert steps between the two parts
2016-04-22 15:02:28 +02:00
louiz’ 3fe55ab0b3 Remove an unused variable 2016-04-22 11:57:58 +02:00
louiz’ 439ea26223 Add a basic fixed_server e2e scenario 2016-04-22 11:57:58 +02:00
louiz’ ea35a12d5b Each e2e scenario can provide its own config name 2016-04-22 11:57:32 +02:00
louiz’ 327c821f46 Write irc output into a file 2016-04-22 10:49:07 +02:00
louiz’ 3ddca86851 Debug and exit if IRC server startup fails 2016-04-22 10:49:07 +02:00
louiz’ 71b3f8f50b Correct charybdis config file path 2016-04-22 10:49:07 +02:00
louiz’ 04facc515c Provide a conf for charybdis 2016-04-22 10:49:07 +02:00
louiz’ 04d28f968b Forward the topic authors, handle the author from 333 messages
fix #2
2016-04-22 10:49:07 +02:00
louiz’ 64f341ee80 e2etests: Use charybdis and update the scenarios accordingly 2016-04-22 10:49:06 +02:00
louiz’ bd625aa59b e2etests: we are able to receive optional stanzas 2016-04-22 10:49:06 +02:00
louiz’ 45f442b67d More tests 2016-04-22 10:49:06 +02:00
louiz’ e0ee881f10 Remove localdomain 2016-04-22 10:49:06 +02:00
louiz’ 065f52a0b3 Add mammond conf 2016-04-22 10:49:06 +02:00
louiz’ 606700f4c5 Improve e2e test, start mammond ourself, etc 2016-04-22 10:49:06 +02:00
louiz’ d57b8bb8c3 Trivial formatting 2016-04-22 10:49:06 +02:00