Commit Graph
319 Commits
Author SHA1 Message Date
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
louiz’ a52baa52e2 Workaround for debian and other old OS that do not have std::put_time 2016-11-07 20:26:28 +01:00
louiz’ 597cfce4b8 Add <algorithm> back 2016-11-07 14:52:08 +01:00
louiz’ 962bac476c Trivial refactor of get_user_bridge function 2016-11-07 14:43:52 +01:00
louiz’ 7376831bc8 Add get-irc-connection-info adhoc command
fix #3171
2016-11-07 14:43:07 +01:00
louiz’ c3bb9fe2e2 Handle forced-join by just sending an invitation
fix #3116
2016-10-23 23:59:21 +02:00
louiz’ 116472920c Fix the muc#traffic response
Was completely broken, and the test was just useless
2016-10-07 23:29:14 +02:00
louiz’ 0049b3e32d Remove a potential nullptr dereference, on mam queryid
fix coverity CID 153376
2016-10-06 22:29:47 +02:00
louiz’ 1d197ff26c Respond to muc#traffic requests
fix #3069
2016-10-04 19:32:45 +02:00
louiz’ 28f1dd7654 Make version requests work with global user JIDs as well
fix #3210
2016-10-03 21:35:16 +02:00
louiz’ 76a8189b46 Implement result-set-management for LIST queries
ref #2948
2016-10-03 01:08:48 +02:00
louiz’ 265b5df61b Re-add the ad-hoc command the was removed by mistake in the previous commit
Thank you, e2e tests
2016-09-29 23:10:41 +02:00
louiz’ ee4cf5dc2d Add AdhocCommandHandlers::add_command to simplify the usage of this class
And make things a little bit clearer
2016-09-29 20:53:40 +02:00
louiz’ 363a0bf02c Look for uuid/uuid.h instead of just uuid.h
Avoids a conflict between /usr/include/uuid.h and
/usr/local/include/uuid/uuid.h on freebsd
2016-09-29 20:11:35 +02:00
louiz’ 2922c68e83 Respond to disco#info requests on IRC server JIDs
This makes it possible to execute an ad-hoc command on a server, with
clients like Gajim, for example.
2016-09-22 19:01:31 +02:00
louiz’ 35fc5d6f29 Some little style/typo fixes 2016-09-21 20:38:14 +02:00
louiz’ 2c6132f3ee Add 2 missing namespaces in our disco#info result 2016-09-04 23:11:42 +02:00
louiz’ 3047bd41b2 MAM results can be filtered by start and end dates 2016-09-04 22:58:38 +02:00
louiz’ 7536a1b3f3 Respond to MAM requests on a channel JID
At the moment, result-set-management is not implemented, the whole history
(well, at most 1024 messages) is returned.
2016-08-28 22:42:50 +02:00
louiz’ 00e88f6b2a Add missing algorithm include 2016-08-22 20:28:37 +02:00
louiz’ cfebca4d7c Only save the logs if recordHistory global config option is true 2016-08-23 01:11:51 +02:00
louiz’ 6776b827d2 Add a global configure ad-hoc command, with max history length 2016-08-22 00:38:44 +02:00