Commit Graph
204 Commits
Author SHA1 Message Date
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
louiz’ 93ebf45f30 Make history messages work with fixed_irc_server
fix #3209
2016-09-20 19:02:12 +02:00
louiz’ aaa2ca670a Fix the parse_datetime by using %Z instead of %z
If anybody knows why fedora accepts both, but it only works with %z on
debian, please tell me.
2016-09-17 00:34:28 +02:00
louiz’ 3047bd41b2 MAM results can be filtered by start and end dates 2016-09-04 22:58:38 +02:00
louiz’ 1140db3b88 Add parse_datetime 2016-08-31 01:58:13 +02:00
louiz’ 2a4905df01 Fix to_string(time_t) and write a unit test for it 2016-08-31 01:17:45 +02:00
louiz’ 7536a1b3f3 Respond to MAM requests on a channel JID
At the moment, result-set-management is not implemented, the whole history
(well, at most 1024 messages) is returned.
2016-08-28 22:42:50 +02:00
louiz’ 20b187daa0 Do not fail e2e if the database cannot be removed because it's not there 2016-08-23 11:58:30 +02:00
louiz’ f7fa34436a Delete the database before each e2e test, to start fresh 2016-08-22 21:30:59 +02:00
louiz’ 992fa93895 Add get_first_non_empty and use it into Database to simplify a little bit 2016-08-21 01:51:52 +02:00
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