louiz’
fa6635e548
Add a e2e test for the previous 2 commits
...
ref #3231
2017-02-13 10:24:16 +01:00
louiz’
5ae33d6b9e
e2e: add tests for the linger time option
2017-02-12 16:50:47 +01:00
louiz’
5d801ddcd0
Add a linger_time configuration option on IRC servers
2017-01-22 21:31:50 +01:00
louiz’
e397fc837e
Send iq error/result when the user changed a MODE command with an iq
...
And add tests for all the mode changes
2016-12-18 17:21:15 +01:00
louiz’
452bf1756b
Test the TLS connection
2016-12-14 19:52:51 +01:00
louiz’
5a5bb7f632
Introduce a XmlSubNode class that automatically adds itself into its parent
2016-12-14 18:28:44 +01:00
louiz’
f512c9c666
e2e: test connection failure
2016-12-14 18:20:57 +01:00
louiz’
6b245ee64a
Switch back to using std::cout instead of std::clog
2016-12-13 23:37:43 +01:00
louiz’
4792c70635
Send a presence error from the room, when receiving command ERR_BADCHANNELKEY
...
fix #2886
2016-12-13 14:48:41 +01:00
louiz’
c65ae47549
Auto accept presence subscription
2016-12-12 00:39:03 +01:00
louiz’
eca31ce8db
Do not change the nick when joining a second room with a different nick
...
As the doc says, the nick changes must be explicit in an already joined
room, and not when joining a room.
2016-12-11 17:05:52 +01:00
louiz’
f653906f9d
Add a None type for the Iid class (when the iid is completely empty)
2016-12-11 16:34:38 +01:00
louiz’
f9c31cb129
The logger writes to std::clog
2016-12-10 03:59:26 +01:00
louiz’
4cc3dc03fc
The config module doesn’t use the logger at all
2016-12-10 03:59:00 +01:00
louiz’
0a45b09665
e2e: remove the log_message step, because it causes race conditions
...
After printing the message, it calls “call_soon(run_scenario)”, and
sometimes, if a stanza handler has already been queued, then that handler
will be called BEFORE the “run_scenario” function could be run, and so no
stanza_checker had the possibility to be set.
2016-12-09 00:50:16 +01:00
louiz’
c454a80ed0
e2e: Accept even more unordered things in the connection sequence
2016-12-08 00:21:04 +01:00
louiz’
89868e4cda
e2e tests that the IRC server received an ident response
2016-11-16 20:03:23 +01:00
louiz’
f36bccd7bb
Test the error on joining invalid room
2016-11-07 21:51:39 +01:00
louiz’
7376831bc8
Add get-irc-connection-info adhoc command
...
fix #3171
2016-11-07 14:43:07 +01:00
louiz’
50d7590db4
Test the global and IRC server configure commands
2016-11-03 22:02:07 +01:00
louiz’
c70301e503
Fix the presences sent, when multiple resources join the virtual channel
...
fix #3216
2016-11-02 21:25:26 +01:00
louiz’
056bc3da06
Actually run all the e2e scenario if nothing is specified
2016-10-31 01:45:09 +01:00
louiz’
db7ac6f13d
Test successful invite of an other user
2016-10-31 01:39:35 +01:00
louiz’
fdf336afa0
Use ensure_future if available, otherwise use asyncio.async
2016-10-31 01:39:35 +01:00
louiz’
1d6aa89ab9
Test self disco
2016-10-31 01:39:35 +01:00
louiz’
ec555d05df
e2e: add the possibility to launch a specific list of scenarios only
2016-10-31 01:39:35 +01:00
louiz’
1ff71ca79e
Test raw messages
2016-10-31 01:39:35 +01:00
louiz’
6d65e9527e
Remove calls to INFO() in catch, they are useless
2016-10-27 01:16:04 +02:00
louiz’
021f025cb0
Refactor the sha1 digest into its own function, and do not use sprintf
2016-10-26 21:19:53 +02:00
louiz’
5990a8bf8a
Correctly handle the nick change inside the virtual channel
2016-10-24 00:19:30 +02:00
louiz’
8b8bbceeb3
Revert "Use ensure_future instead of async"
...
This reverts commit a4d67ce041 .
2016-10-21 19:12:25 +02:00
louiz’
ac32d25738
Fix the broken commit 4388b9c
2016-10-21 18:50:04 +02:00
louiz’
82a6fa6d09
e2e: Fix some logic in check_list_of_xpath
2016-10-21 01:05:38 +02:00
louiz’
a4d67ce041
Use ensure_future instead of async
2016-10-21 01:05:15 +02:00
louiz’
4388b9c311
Remove an unused variable in e2e
2016-10-21 01:00:52 +02:00
louiz’
6b4d2e8e3e
Use expect_unordered in a few more places
2016-10-17 19:49:45 +02:00
louiz’
2a0f5f1b6a
Add tests for the nick change, and the nick conflict
2016-10-17 19:48:51 +02:00
louiz’
501a6f2661
Add two e2e tests on adhoc commands
2016-10-14 23:51:04 +02:00
louiz’
34bd8b93da
Disable the output in the config unit test
2016-10-12 22:18:53 +02:00
louiz’
44f35a256d
e2e: test the private and no-copy thingy
2016-10-12 21:00:05 +02:00
louiz’
c3a7cd3627
e2e: the port to use should be an int, not a string
2016-10-12 21:00:05 +02:00
louiz’
548e4ad473
Parse the timezone myself, instead of using the broken strptime
...
See
https://lab.louiz.org/louiz/biboumi/issues/3215
https://github.com/andikleen/glibc/blob/master/time/strptime_l.c#L746-L747
for why strptime() sucks
We use std::get_time now, to parse the date and time. And we parse the
timezone by hand.
fix #3215
2016-10-11 00:20:43 +02:00
louiz’
8cf292fa44
e2e: add expec_unordered to be able to test things even if the arrive in a different order
...
Also, some tests that were raising some exception and thus were not ran at all
fix #3213
2016-10-07 23:26:44 +02:00
louiz’
6ca8cd505f
Cleanup __main__.py a little bit
2016-10-07 23:25:26 +02:00
louiz’
1d197ff26c
Respond to muc#traffic requests
...
fix #3069
2016-10-04 19:32:45 +02:00
louiz’
28f1dd7654
Make version requests work with global user JIDs as well
...
fix #3210
2016-10-03 21:35:16 +02:00
louiz’
e5b392ece8
Fix parse_datetime by always using a 'z' as the timezone
...
Because some plateform accept Z and z, but some only accept z…
2016-10-03 17:58:16 +02:00
louiz’
b2f14f9a46
Modify the charybdis conf to disable the LIST throttling
2016-10-03 01:08:48 +02:00
louiz’
76a8189b46
Implement result-set-management for LIST queries
...
ref #2948
2016-10-03 01:08:48 +02:00
louiz’
ffad4306b9
Use LIST * instead of just LIST, because some servers don’t accept it
...
Also add a e2e test for the list query
2016-10-02 12:57:04 +02:00