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
louiz’
4c8fb9a0e3
Forward IRC invites to XMPP
2016-08-18 20:33:41 +02:00
louiz’
5406de35a3
On a client error, do not QUIT, just make the resource leave all channels
...
This should fix #3205
2016-08-17 20:47:33 +02:00
louiz’
663d4ad54a
Forward mediated invitations (XMPP to IRC only)
2016-08-16 15:59:00 +02:00
louiz’
6bbab9d943
Add ping to the disco info of the gateay
2016-08-16 10:44:13 +02:00
louiz’
0d2dd71de5
Don’t use ! as the separator for nicknames, use % instead
...
It’s now easier to use. The distinction between a nick and a channel name is
based on the first character (by default it's '#' and '&'). The user doesn’t
have to worry about which separator to use anymore.
fix #3066
2016-08-10 15:48:28 +02:00
louiz’
81f8f45b37
Replace all include guards by #pragma once
...
It’s $CURRENT_YEAR
2016-07-04 17:53:53 +02:00
louiz’
fcb2681b7b
Log a warning when we receive an iq without a from
2016-06-24 11:24:40 +02:00
louiz’
b2e7edeea8
Properly set the “from” of the ping results to the correct full JID
2016-06-24 11:23:01 +02:00
louiz’
2d11a5f494
Support multiple nick session, except for IQs
...
ref #2556
2016-06-08 01:42:43 +02:00
louiz’
507d0c2cbe
Forward everything to all concerned XMPP resources
2016-06-08 01:42:43 +02:00
louiz’
66609cfba2
Remove all usage of std::list
2016-06-08 01:42:43 +02:00
louiz’
711861d40e
Add methods to know which resource is on which server or channel
2016-06-08 01:42:43 +02:00
louiz’
367de4826c
Associate a bridge with a bare JID instead of a full JID
...
ref #2556
2016-06-08 01:42:43 +02:00
louiz’
af42073830
Style fix
...
Move all constructors at the top of classes
2016-05-04 14:16:40 +02:00
louiz’
1e56c59e82
Include the Configure ad-hoc command on biboumi's JID for fixed_irc_server
...
Because a jid like “freenode.example.org” is both the JID for the configured
IRC server, and biboumi’s JID.
fix #3175
2016-04-27 11:03:52 +02:00
Florent Le Coz
6770629bd7
Fix a clang-check warning
...
I think it was a UB
2016-01-21 16:53:29 +01:00
Florent Le Coz
4233e1f653
Do not fail to build when litesql is not used
...
fix #3151
2016-01-09 17:01:22 +01:00
Florent Le Coz
1f8333f23f
Support a trusted SHA1 fingerprint to be configured for each IRC server
2016-01-04 13:47:27 +01:00
Florent Le Coz
cb0209bbbe
Also provide in and out encoding configure options for IRC servers
2016-01-04 13:47:26 +01:00
Florent Le Coz
1fc3fa1bd8
Add an ad-hoc configure command on IRC channels
...
Include encodingIn and encodingOut options, unused at the moment
2016-01-04 13:47:26 +01:00
Florent Le Coz
9714d02018
Also store a reference instead of a pointer, in AdhocCommandsHandler
2015-12-23 11:05:54 +01:00
Florent Le Coz
7e2427148e
Use references instead of raw pointer, to store the “parent” object
...
In Bridge and IrcClient
2015-12-21 14:51:26 +01:00
Florent Le Coz
1f6eea62f4
Add an ad-hoc command to disconnect a user from one or more IRC server
...
fix #3077
2015-12-03 21:15:22 +01:00
Florent Le Coz
700a6c7bc3
JID class provides bare() and full() methods
2015-12-03 21:15:22 +01:00
Florent Le Coz
de6335b994
Fix a clang warning
2015-11-05 02:37:46 +01:00
Florent Le Coz
e8386bd14e
Provide an adhoc option to let user pass the cert verif for some IRC servers
2015-11-05 02:17:19 +01:00
Florent Le Coz
142516a69b
Fix some trivial issues reported by cppcheck
2015-10-26 20:09:39 +01:00
Florent Le Coz
2c89b9f193
Remove an unused include
2015-10-24 15:20:29 +02:00
Florent Le Coz
84aafab604
Provide the “realname_customization” option
...
ref #3136
2015-10-12 16:47:27 +02:00
Florent Le Coz
60d340be19
TIL std::string::end and std::string::begin…
2015-09-23 19:11:48 +02:00
Florent Le Coz
2380a84ba5
Make sure the user-provided username does not contain spaces
2015-09-23 19:08:18 +02:00
Florent Le Coz
f904d57940
Provide username and realname IRC server options
...
Used in the USER command when connecting to the IRC server, instead of the
first nick.
fix #3028
2015-09-23 18:47:29 +02:00
Florent Le Coz
f6d9b7d7a1
Fix two small warnings
2015-09-22 04:01:09 +02:00
Florent Le Coz
ceec989077
Add a field (in the configure form) to specifiy an after-connect IRC command
2015-09-21 18:56:37 +02:00