Commit Graph
319 Commits
Author SHA1 Message Date
louiz’ 4a2a280d76 Support the <before/> element in MAM requests 2018-02-13 03:51:03 +01:00
louiz’ 50d3c4a0b2 Do not forget an early return, to return the correct item-not-found error 2018-02-13 03:39:13 +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’ 99389eefba Always return the oldest matching messages from MAM, even if no date is set 2018-02-10 17:47:42 +01:00
louiz’ d7cf736adb Fix argument types in declaration of send_history_message 2018-02-04 11:02:56 +01:00
louiz’ 369da19d41 Remove the debug logs from previous commit 2018-01-30 09:16:12 +01:00
louiz’ 58fd689166 Add a ifndef USE_DATABASE guard around send_history_message 2018-01-30 09:14:26 +01:00
louiz’ cb83178894 Add the complete='true' attribute only when appropriate 2018-01-30 09:07:21 +01:00
louiz’ 17f2cb5c93 Do not forget the complete='true' attribute in MAM’s result iq 2018-01-29 21:11:20 +01:00
louiz’ 7403c397ed Correctly include the database header 2018-01-28 14:20:21 +01:00
louiz’ 442f46c4ac And an other conversion warning 2018-01-28 14:15:34 +01:00
louiz’ de73a728f2 Merge tag '7.1' 2018-01-22 21:06:43 +01:00
louiz’ 06271729e3 Fix a crash happening when a user cancels a non-existing ad-hoc session 2018-01-22 20:57:34 +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’ 8409e50c1a Fix a subtle iid parsing error in the adhoc code 2017-12-27 19:36:36 +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’ 24dc05dd97 Run some of the ci tests against a postgresql docker container 2017-12-03 16:46:14 +01:00
louiz’ 1c3d4f6f5f Remove a redundant Body definition 2017-10-04 21:51:58 +02:00
louiz’ bfcf294517 Add the persistent_by_default configuration option
fix #3293
2017-09-09 17:09:17 +02:00
louiz’ 98227db6ad Remove a forgotten and useless comment
[skip-ci]
2017-08-27 22:41:18 +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’ 655151d88a Cache the encoding_in database value, to avoid doing a query for each message 2017-08-26 13:51:15 +02:00
louiz’ cad70ba453 Re-add a removed (by mistake) pointer null check 2017-08-02 22:00:28 +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’ 729ea131c9 Send an unsubscribed presence on a probe if we don’t have a roster entry 2017-07-16 00:16:43 +02:00
louiz’ 50a2bd736e Answer to presences of type='probe' 2017-07-16 00:16:43 +02:00
louiz’ dd343609d5 Only send the IRC server presence if the user has this JID in their roster 2017-07-16 00:16:43 +02:00
louiz’ f9a6f97396 Implement the roster presences from IRC servers 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’ 71f125db1a Send responses when we receive an unsubscribed presence 2017-07-16 00:16:43 +02:00
louiz’ 84034ed3dc Use a db roster to manage biboumi’s presence with the contacts 2017-07-16 00:16:43 +02:00
louiz’ b233470710 Send the 332 status only for our own presences 2017-07-14 15:18:01 +02:00
louiz’ 9fa1852c7e Send status code='332' on biboumi or IRC server’s shutdown 2017-07-08 18:10:47 +02:00
louiz’ faed8952cb Remove a bunch of useless string_literal usage 2017-07-08 14:04:35 +02:00
louiz’ 43b5b696a3 Add some scopes around various XmlSubNode 2017-07-06 22:38:09 +02:00
louiz’ 9f7782bb0c Add a global “persistent” option 2017-07-06 22:24:42 +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’ 50cadf3dac Implement our own database ORM, and update the whole code to use it
Entirely replace LiteSQL

fix #3271
2017-06-14 00:19:15 +02:00
louiz’ 8cf0b833c4 Make the IRC channel configuration form available from the MUC config
fix #3250
2017-05-11 21:15:43 +02:00
louiz’ f7e4adb10b Avoid any potential int overflow 2017-05-09 15:46:20 +02:00
louiz’ 984d71838e Limit the number of rooms sent by default in the disco#items response
fix #3219
2017-05-08 23:01:21 +02:00
louiz’ 5ef674c486 Revert "Add a linger_time configuration option on IRC servers"
This reverts commit 5d801ddcd0.
2017-04-20 10:12:00 +02:00
louiz’ 54fa739d6b Limit of 100 MAM messages, if no other limit has been set by the client
fix #3256
2017-04-19 23:02:08 +02:00
louiz’ 3a8203c366 Handle the RSM "max" value in the MAM requests
fix #3255
2017-04-12 17:07:39 +02:00