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
Florent Le Coz
55d1d81771
Provide a better way to check stanzas at each step of the end_to_end test
2016-02-29 17:59:47 +01:00
Florent Le Coz
1ee5f8e01a
end_to_end creates a config file before running biboumi
2016-02-24 09:31:30 +01:00
Florent Le Coz
51a34f83f9
Add a basic integration test in python
2016-02-24 09:30:37 +01:00
Florent Le Coz
218260362f
Remove unused xml_unescape() function
2016-02-10 20:23:27 +01:00
Florent Le Coz
0c85ed128a
Remove the localhost6 test, that’s not portable at all
2016-01-15 12:14:49 +01:00
Florent Le Coz
a38b17692e
Support multi-prefix
...
See http://ircv3.net/specs/extensions/multi-prefix-3.1.html
ref #3103
2016-01-04 13:47:27 +01:00
Florent Le Coz
79cdf170d2
Use the configured encoding value when decoding received messages
2016-01-04 13:47:26 +01:00
Florent Le Coz
421c960df5
Add a ChannelOptions table in the DB
...
And a way to retrieve its values, defaulting on the ServerOptions for unset
values.
2016-01-04 13:47:26 +01:00
Florent Le Coz
7e07a17420
Fix the logger test when built without systemd
2015-10-31 15:41:05 +01:00
Florent Le Coz
6430479a3a
Add a IoTester class
2015-10-31 06:25:47 +01:00
Florent Le Coz
4dd01a29ca
Run the database tests with an in-memory sqlite db
2015-10-31 05:35:59 +01:00