louiz’
760076a33a
Make the global ad-hoc configure command available in fixed mode
...
fix #3360
2018-06-01 12:44:40 +02:00
louiz’
861f55ed83
Add a e2e test for a raw NAMES command
2018-05-15 19:48:50 +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
louiz’
b82d662082
Add an e2e test to demonstrate #3304
2017-11-07 23:18:35 +01:00
louiz’
cb6b50dc01
Change how we count the number of connected resources to a server
2017-11-07 23:05:05 +01:00
louiz’
bfcf294517
Add the persistent_by_default configuration option
...
fix #3293
2017-09-09 17:09:17 +02:00
louiz’
dabc48b79b
Mark messages from the IRC server as private and no-copy
...
fix #3284
2017-08-30 16:14:35 +02:00
louiz’
fcaffb9e77
Add support for the "history" node on MUC join
...
Supports the "seconds", "maxstanzas", "since" and "maxchars" (but only =0)
attributes.
fix #3270
2017-08-27 22:37:46 +02:00
louiz’
25243f53c2
In fixed mode, server messages come from biboumi’s hostname directly
...
Instead of irc.example.com@biboumi, because that’s actually user named
“irc.example.com”, in that case.
And that fixes the raw messages in fixed mode.
fix #3286
2017-08-27 14:32:29 +02:00
louiz’
fe4ceb72d0
Add an e2e test to demonstrate bug #3291
2017-08-24 23:54:39 +02:00
louiz’
308869aa73
Do not ignore empty values when receiving a data form
...
Otherwise, these fields cannot be emptied by the user
fix #3281
2017-07-21 17:27:03 +02:00
louiz’
f125de4833
Add the possibility to invite any external JID to a room
...
fix #3285
2017-07-20 23:09:37 +02:00
louiz’
407f95a108
Do not reply with an error when receiving a presence for a user JID
...
fix #3224
2017-07-20 21:34:27 +02:00
louiz’
c0611c23f0
Add a failing test demonstrating 3277
2017-07-16 20:22:23 +02:00
louiz’
a95197509c
Add an e2e test for the IRC server roster presence
2017-07-16 00:16:43 +02:00
louiz’
368bb82818
Send an additional unsubscribed presence when receiving an unsubscribe one
2017-07-16 00:16:43 +02:00
louiz’
7e5cd2f130
Add e2e tests for the (un)subscribe thing
2017-07-16 00:16:43 +02:00
louiz’
9fa1852c7e
Send status code='332' on biboumi or IRC server’s shutdown
2017-07-08 18:10:47 +02:00
louiz’
3a95076db4
Send a 110 status code on a QUIT received for ourself
2017-07-08 17:07:29 +02:00
louiz’
9f7782bb0c
Add a global “persistent” option
2017-07-06 22:24:42 +02:00
louiz’
651caabb2d
Remove a useless debug print in the e2e tests
2017-06-21 17:41:03 +02:00
louiz’
5b6b9bd372
Disable charybdis’ connection throttling
2017-06-21 01:18:09 +02:00
louiz’
e75d7ad8ea
Add a Record History option in the Channel configuration form
...
fix #3269
2017-06-16 10:48:54 +02:00
louiz’
369ccb0376
Add default values for the database columns
2017-06-14 00:19:15 +02:00