Luca Matei Pintilie
d3b3242874
Fix references to localhost -> irc.localhost in e2e tests
2025-10-12 18:01:47 +02:00
Luca Matei Pintilie
9c92f7ce4a
Bounce message corrections
...
On IRC it is confusing when an XMPP user "corrects" a message, but on
the other side a new message is sent. To prevent spam and confusion, do
not allow message corrections at all, and instead return an error if
attempted.
Fixes : #3436
Fixes : #3480
2025-10-12 17:48:33 +02:00
mathieui
b1d1308443
doc: update lab.louiz.org links
2025-04-18 19:08:48 +02:00
louiz’
a4512cd3ae
sasl: Use the nick from the presence if the ad-hoc one is not set
...
fix #3450
2021-01-15 12:33:18 +01:00
louiz’
0fadb2d1fb
Trivial comment change in an e2e test
2020-09-23 23:39:46 +02:00
Jonas Schäfer
f8da92a8be
Always send direct messages to the user’s bare JID
...
This has the following advantages:
- Works while all resources are offline (persistent channels)
- Helps with combating duplicate messages when sent to different
resources, resources going offline, carbon-copying etc. etc.
As a side effect, this also makes the MUC PMs not be MUC PMs and
always be emitted from the server-wide JID of the sending user.
Fixes #3313 .
2020-09-23 23:20:47 +02:00
louiz’
df2fe0bc4b
Fix the parsing of IRC messages, especially with trailing spaces
2020-08-16 16:03:11 +02:00
louiz’
063e6b127e
Handle SASL failures by displaying a message and aborting the connection
2020-08-12 09:40:36 +02:00
louiz’
2e1ddeb654
Implement SASL plain authentication
2020-06-15 00:18:51 +02:00
louiz’
a156b7514e
Remove raw_names_command e2e test
2020-05-05 21:10:46 +02:00
louiz’
1b72faef3c
Update the tests to work with oragono
2020-05-05 21:10:46 +02:00
louiz’
81fb7389ae
Start oragono instead of charybdis
2020-05-05 21:10:46 +02:00
louiz’
4ee3dd695e
Demonstrate bug #3429
2020-04-19 11:41:58 +02:00
louiz’
212e8e5989
Merge remote-tracking branch 'linkmauve/die-gc1.0-die'
2020-03-11 18:41:43 +01:00
louiz’
470ba2e4e4
Remove the part of the force-join test that checks the nick changed
...
Because we actually don’t change the nick, we ignore it, just like in the
case of a normal join (of an other resource, or an other channel on the same
server).
2020-03-11 18:14:19 +01:00
louiz’
8013bb1cfe
And modify the tests to work, by adding the <x/> node in all join presences
2020-03-11 15:27:11 +01:00
louiz’
fc22e06317
Fix a type stable-id -> stanza-id, and add a test case to be exhaustive
2020-03-11 00:32:18 +01:00
louiz’
40d2168ae5
Announce the urn:xmpp:sid:0 NS in MUC's disco#info
...
As required by XEP 0359
Should fix #3369
2020-03-11 00:19:19 +01:00
louiz’
e967088986
Make sure we keep the stable-id and origin-id nodes when required
...
See https://xmpp.org/extensions/xep-0359.html
2020-03-11 00:13:46 +01:00
louiz’
49a3931784
Add a test to check that XEP-45 stable ID thing is respected
...
See https://xmpp.org/extensions/xep-0045.html#message
2020-03-10 23:12:10 +01:00
louiz’
77c134a47b
Demonstrate issue #3423 with e2e tests
2020-03-02 23:20:47 +01:00
louiz’
f06fac2a13
Rename the e2e nicks to make things easier to debug
2020-03-02 23:20:47 +01:00
louiz’
efb695be6b
e2e: Implicitely include the handshake in all tests
...
Instead of having to write it manually everytime
2019-11-09 20:50:36 +01:00
louiz’
e4a4addaf8
Add a missing max_history_length field in the IRC server option form
2019-11-06 17:23:43 +01:00
louiz’
752cb86d8a
e2e: Test the behaviour on bad integer value for ad-hoc confs
2019-11-06 17:22:38 +01:00
louiz’
7ca1b33ae3
Add a test for MAM without an “end” value
2019-11-06 17:22:38 +01:00
louiz’
bd41bc8b02
Split all the e2e tests in their own files
...
Some duplication is avoided, but most importantly: it’s much much cleaner,
easier to find, functions have been cleaned up (functools.partial usages are
now hidden), etc.
2019-10-31 02:27:42 +01:00