louiz’
55e53852d7
Update the e2e test to work with latest slixmpp
2019-09-18 12:26:38 +02:00
louiz’
11d0262a7a
Update the tests to reflect the next->complete change
2019-09-14 11:50:21 +02:00
louiz’
d6460e2828
Add a test for outgoing /me messages that confirms issue #3382
2019-08-25 21:58:07 +02:00
Jonas Schäfer
a8ce138dd2
XEP-0410: set not-in-the-room error condition to not-acceptable
...
XEP-0410 demands that. This changes the error condition for all
pings to the room, even those which aren’t self-pings, if the
sender is not joined.
The conditions of XEP-0410 were based on observing existing
implementations.
2019-08-20 21:42:43 +02:00
Jonas Schäfer
b68f36056d
XEP-0410: implement server-side optimisation for self-pings
...
This prevents the ping from round-tripping through IRC and
possibly a random other client of the user. Please see XEP-0410
for the rationale.
Fixes #3385 .
2019-08-20 21:42:43 +02:00
Jonas Schäfer
3621458d3f
Do not send the IRC host directly as real JID of the user
...
Fixes #3381
2018-10-04 20:16:17 +02:00
louiz’
08085d862f
Add a test demonstrating #3378
2018-09-17 22:35:59 +02:00
louiz’
e43885c47d
Flush stdout between each e2e test
2018-08-26 19:06:24 +02:00
louiz’
7d0df9b6dd
Disable the throttle limit if negative
...
Also, invalid values result in -1 being set
2018-08-23 22:18:49 +02:00
louiz’
6c21edc1b8
Fix a few e2e tests that could fail due to race condition
...
The order of the messages received can be different, if the IRC server
decides so, or lags, or something.
2018-07-27 22:19:54 +02:00
louiz’
3782fc9ca4
Add two more sleeps, for the same reason
2018-07-25 14:43:10 +02:00
louiz’
96b1e0ab39
Disable the throttling for two tests that are very very long
2018-07-25 14:12:00 +02:00
louiz’
20f36df05f
Add a timer for each e2e test
2018-07-25 14:11:49 +02:00
louiz’
3b96b2e0b1
Add a sleep in a e2e test
...
Reasons explained in the comment in the code
2018-07-25 13:52:52 +02:00
louiz’
780eea53e7
Trivially improve a e2e test
2018-07-24 23:25:30 +02:00
louiz’
09b10cc801
Throttle all commands sent to IRC servers
...
fix #3354
2018-06-25 22:54:32 +02:00
louiz’
21a79b7bad
Reject messages from unjoined resources, with an error
...
fix #3346
2018-06-19 21:33:33 +02:00
louiz’
2f0e26db4c
Channels’ disco#info includes the number of participants
...
fix #3311
2018-06-17 15:16:49 +02:00
louiz’
5ff3696d6f
Merge branch 'v8'
2018-06-01 12:49:33 +02:00
louiz’
760076a33a
Make the global ad-hoc configure command available in fixed mode
...
fix #3360
2018-06-01 12:44:40 +02:00
louiz’
28d79a9eaa
Merge branch 'v8'
2018-05-15 19:58:03 +02:00
louiz’
861f55ed83
Add a e2e test for a raw NAMES command
2018-05-15 19:48:50 +02:00
louiz’
ba61d20340
Empty the <command/> nodes before reusing them in our responses
...
fix #3356
2018-05-14 22:07:29 +02:00
louiz’
678f5d079b
Add a test for the <max>0</max> MAM query
2018-04-29 23:25:53 +02:00
louiz’
b0168fd45b
mam: Send “fin complete” only when appropriate
...
Also simplify how we did the whole “limit + 1”
And fix one bad interpretation of the XEP for the case where the query has
no after or before restriction.
fix #3349
2018-04-29 22:18:26 +02:00
louiz’
7592d966e6
Missing fields in a data-form response are now interpreted as an empty value
2018-04-29 01:40:46 +02:00
louiz’
61de6b1dac
Revert "Use a different Date data type"
...
This reverts commit 857c7d3972 .
2018-04-24 20:25:40 +02:00
louiz’
857c7d3972
Use a different Date data type
...
PLEASE backup your database before testing this commit, and report any
migration issue.
In postgresql, we use timestamp with timezone.
In sqlite3 we use REAL (the date is expressed as julianday)
This requires a migration of the muclogline_ table:
In postgresql it’s pretty simple, we convert all the integer into timestamps
With sqlite3, we actually rename the table, create the new one with the
correct type, then copy everything to the new table, with a conversion
function for the Date_ column, and then we delete the old table.
fix #3343
2018-04-11 00:25:18 +02:00
louiz’
0cd848e532
Send the stanza-id for messages received by other users
...
fix #3347
2018-03-31 02:10:39 +02:00
louiz’
99c364892a
Fix the e2e test broken by previous commit
2018-03-26 22:34:48 +02:00
louiz’
d81a9456ac
Change the nick of the joining user AFTER sending all the join stuff
...
fix #3305
2018-03-23 21:18:52 +01:00
louiz’
e2fc3cf68e
Properly handle force-join presences by sending everything in return
...
fix #3305
2018-03-23 16:16:30 +01:00
louiz’
619c991a69
Add a nick field in the IRC server configuration form
...
fix #3317
2018-03-19 20:15:44 +01:00
louiz’
1320dc6db4
Don’t reflect an empty id if it was not included
...
Instead, generate a uuid for that message
2018-03-18 19:41:52 +01:00
louiz’
9500bfd4cc
Reflect message IDs in channel MUCs
...
fix #3283
2018-03-18 19:33:07 +01:00
louiz’
68e1480075
Add a multiline_message e2e test
2018-03-18 13:55:35 +01:00
louiz’
577984faf2
Allow the execution of multiple commands after the IRC connection
...
fix #3275
2018-03-18 02:31:18 +01:00
louiz’
9b17a96187
Add a few \n in the e2e error messages
2018-03-12 01:34:24 +01:00
louiz’
bb596582bd
Add a <item/> node in the presence of a leaving participant
...
fix #3339
2018-03-12 00:13:59 +01:00
louiz’
158d743bf5
Remove the virtual channel feature altogether
2018-03-12 00:13:59 +01:00
louiz’
4a2a280d76
Support the <before/> element in MAM requests
2018-02-13 03:51:03 +01:00
louiz’
d705541435
Send a item-not-found error when the “after” value is not in the archive
2018-02-11 23:29:58 +01:00
louiz’
0280343ced
Handle the “after” RSM value to page through results
2018-02-10 19:51:59 +01:00
louiz’
ce1b6583e8
e2e test that the last uuid is the same as the “last” value in the iq result
2018-02-10 19:24:12 +01:00
louiz’
99389eefba
Always return the oldest matching messages from MAM, even if no date is set
2018-02-10 17:47:42 +01:00
louiz’
cb83178894
Add the complete='true' attribute only when appropriate
2018-01-30 09:07:21 +01:00
louiz’
f371d9ca46
xep-0106 escape the JIDs listed in a disco#items server query
...
fix #3325
2018-01-18 19:34:56 +01:00
louiz’
2d9f516d1d
Don’t answer to some requests towards MUC participants
...
These requests are only meant to be received by the room itself. The
participant must answer with not-implemented instead.
fix #3323
2017-12-27 19:23:28 +01:00
louiz’
131ef9946f
Include the <fin><set><first/><last/></></> nodes in the MAM iq result
...
fix #3322
2017-12-26 20:21:18 +01:00
louiz’
37340e593f
Add a <x muc#user> node on outgoing private MUC messages
...
See https://xmpp.org/extensions/xep-0045.html#privatemessage
fix #3321
2017-12-26 19:52:41 +01:00