Commit Graph
729 Commits
Author SHA1 Message Date
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’ 55f7434925 Do not remove our resources if the QUIT message doesn't come from us 2017-03-27 11:49:07 +02:00
louiz’ b7789fe586 Add a Persistent option on channels
fix #3230
2017-03-27 11:49:07 +02:00
louiz’ 28a537a90a Make things work with botan < 1.11.34 2017-03-14 21:47:09 +01: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’ a0a2de3b4d Revert "Don’t send the unavailable presence to all resources, in the virtual channel"
This reverts commit 38ff50f5d2.
2017-03-08 22:28:00 +01:00
louiz’ 38ff50f5d2 Don’t send the unavailable presence to all resources, in the virtual channel 2017-03-08 22:09:57 +01:00
louiz’ f0bc6c83a8 Pass the shared_ptr by reference, to avoid useless copies 2017-03-08 19:04:15 +01:00
louiz’ 99a4ddedaf Remove the embedded sha1 code, and use one of botan or gcrypt
This adds a hard dependency on one of Botan or gcrypt. Botan is already a
recommended dependency, and gcrypt is probably packaged almost everywhere,
so this should not be a big deal.

ref #3241
2017-03-06 00:57:33 +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’ e2da6fcddd Properly destroy the dns_handler socket when first start fails
To correctly exit the process
2017-02-01 20:52:50 +01:00
louiz’ 45f7396c8d Cancel the IRC server linger timer when we try to-rejoin a channel on it 2017-01-25 19:55:45 +01:00
louiz’ b660a47367 grammar: than <-> as 2017-01-22 21:32:37 +01:00
louiz’ 5d801ddcd0 Add a linger_time configuration option on IRC servers 2017-01-22 21:31:50 +01:00
louiz’ 3ae4937fb4 Add missing <algorithm> include for last commit 2017-01-10 00:21:15 +01:00
louiz’ 6ececd9f39 Only try to join chans only once, even if we received multiple presences
ref #3228
2017-01-10 00:18:59 +01:00
louiz’ e31ff3e9e9 Fix some issues found by sonar cube 2017-01-06 23:45:26 +01:00
louiz’ 5b56007828 Use udns instead of c-ares
fix #3226
2017-01-06 22:58:18 +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’ 4792c70635 Send a presence error from the room, when receiving command ERR_BADCHANNELKEY
fix #2886
2016-12-13 14:48:41 +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’ f653906f9d Add a None type for the Iid class (when the iid is completely empty) 2016-12-11 16:34:38 +01:00
louiz’ 379fe026fb Properly convert the data into a number of seconds by using duration_cast 2016-12-10 04:15:49 +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’ 732f53d798 Clean a few more things 2016-12-04 16:15:21 +01:00
louiz’ ad22be4171 Do not fail to build if litesql is not there 2016-11-25 09:22:24 +01:00
louiz’ b5a7c66bea fix an “unused parameter” warning 2016-11-16 20:30:16 +01:00
louiz’ 4ab3cd653f Fix some little compilation errors with some configs, from last commit 2016-11-15 00:49:55 +01:00
louiz’ d872c2b492 Support the ident protocol
fix #3211
2016-11-15 00:23:19 +01:00
louiz’ 0c8adc85f7 Move all the connect() logic from TCPSocketHandler into a subclass
This way, TCPSocketHandler only deal with the message sending/receiving, not
the connect() or anything else.  This will be used for implementing servers
(because when a client is accepted, we don’t need all the connect() and dns
resolution stuff).
2016-11-11 02:54:48 +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’ c70301e503 Fix the presences sent, when multiple resources join the virtual channel
fix #3216
2016-11-02 21:25:26 +01:00
louiz’ e1934a0b5f Disable e2e tests on openbsd 2016-11-01 17:40:09 +01:00
louiz’ ae02e58b9d Some cleanups 2016-10-31 14:03:37 +01:00