Commit Graph
290 Commits
Author SHA1 Message Date
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
louiz’ 8a912ea3a3 Apply a few clang-tidy cppcoreguidelines-* fixes 2017-04-07 11:10:51 +02:00
louiz’ be9c577de8 Apply all the clang-tidy performance-* fixes 2017-04-07 19:01:49 +02:00
louiz’ 5402a256d1 Apply all the clang-tidy modernize-* fixes 2017-04-07 18:45:24 +02:00
louiz’ e4cc69607c Handle some iq of type='error' as valid ping response
fix #3251
2017-04-04 18:40:30 +02:00
louiz’ 7f2127a7ea Add the archive ID to messages when they are sent to users
This makes us compatible with mam 6.0

fix #3249
2017-03-30 18:16:44 +02:00
louiz’ 1a09c965eb Remove two sneaky log_debug 2017-03-29 23:32:43 +02:00
louiz’ 52b795d119 Add a missing namespace in the server disco#info response 2017-03-29 16:28:25 +02:00
louiz’ ce2daa5ea0 Respond to disco#info on MUC JIDs
Otherwise, some client won’t do MAM, since they don’t know biboumi supports
it.
2017-03-29 16:28:25 +02:00
louiz’ e8ccfe97be Add a missing “pass by reference” 2017-03-29 16:28:25 +02:00
louiz’ a3844c1d9f Change mam namespace to mam:2, instead of mam:1 2017-03-29 16:28:25 +02:00
louiz’ b7789fe586 Add a Persistent option on channels
fix #3230
2017-03-27 11:49:07 +02:00
louiz’ 0ab40dc1ab Refactoring louloulibs and cmake
Use OBJECT libraries
Remove the louloulibs directory
Write FOUND variables in the cache
2017-03-14 21:45:23 +01:00
louiz’ f0bc6c83a8 Pass the shared_ptr by reference, to avoid useless copies 2017-03-08 19:04:15 +01:00
louiz’ d81c3ad5ac Fix the order of from and to address in muc traffic info reply
And add a test for it.

fix #3238
2017-03-04 14:03:08 +01:00
louiz’ 3a288340df Fix the previous commit
fix #3231
2017-02-13 10:21:25 +01:00
louiz’ 8b2f748b1d Do not send a not-connected error, on "unavailable" presences
fix #3231
2017-02-13 10:00:49 +01:00
louiz’ 7d41577bc4 The form fields in the Configure ad-hoc commands are not required 2017-02-12 15:11:13 +01:00
louiz’ 5d801ddcd0 Add a linger_time configuration option on IRC servers 2017-01-22 21:31:50 +01:00
louiz’ e31ff3e9e9 Fix some issues found by sonar cube 2017-01-06 23:45:26 +01:00
louiz’ e397fc837e Send iq error/result when the user changed a MODE command with an iq
And add tests for all the mode changes
2016-12-18 17:21:15 +01:00
louiz’ 5a5bb7f632 Introduce a XmlSubNode class that automatically adds itself into its parent 2016-12-14 18:28:44 +01:00
louiz’ 35e1155232 Remove a line from a WIP that should not have been added 2016-12-12 00:43:39 +01:00
louiz’ 59a73c93ec Do not send an “not-implemented” error when receiving an iq error 2016-12-12 00:39:56 +01:00
louiz’ c65ae47549 Auto accept presence subscription 2016-12-12 00:39:03 +01:00
louiz’ eca31ce8db Do not change the nick when joining a second room with a different nick
As the doc says, the nick changes must be explicit in an already joined
room, and not when joining a room.
2016-12-11 17:05:52 +01:00
louiz’ 75778f4187 Add some missing includes 2016-12-07 18:29:02 +01:00
louiz’ eb8f1cbc07 Avoid a potential nullptr dereference 2016-12-04 23:06:59 +01:00
louiz’ d872c2b492 Support the ident protocol
fix #3211
2016-11-15 00:23:19 +01:00
louiz’ b5beb04332 Remove a never reached (and non-sensical) error 2016-11-07 21:57:39 +01:00