Florent Le Coz
01c1ea14f7
Use systemd-daemon logging prefix if available
2014-06-30 01:04:03 +02:00
Florent Le Coz
e01e34db22
Provide an example unit file for systemd
2014-06-30 01:04:02 +02:00
Florent Le Coz
5a43ac9a0d
Provide an example configuration file
2014-06-30 01:04:02 +02:00
Florent Le Coz
70ebbae15e
Regularly send a notification for the systemd watchdog
2014-06-30 01:03:07 +02:00
Florent Le Coz
a165e59240
Fix some cmake issues
...
fix #2551
2014-06-30 01:02:59 +02:00
Florent Le Coz
48ed47207c
Add missing <string> include in timed_events.hpp
...
fix #2552
2014-06-28 18:38:50 +02:00
Florent Le Coz
6f181acc65
Fix ad-hoc “disconnect user” command. Do not add the <error/> on success
2014-06-25 15:36:06 +02:00
Florent Le Coz
524f7925c4
Add some details in the INSTALL file
2014-06-25 01:02:03 +02:00
Florent Le Coz
2cf64e10b5
Provide a make dist target
2014-06-24 17:48:31 +02:00
Florent Le Coz
39175e1ad6
Little documentation update
2014-06-24 13:56:44 +02:00
Florent Le Coz
a2d55e4bea
Rename cmake target test->test_suite for cmake 3.0
...
See CMP0037
2014-06-23 01:00:21 +02:00
Florent Le Coz
7b785cf552
Delete the timeout event using the correct socket number, instead of -1
...
Was causing the event to not be removed in case of connection failure, which
lead to a dangling timed event named “timeout-1”, which was called later, by
some other SocketHandler for which even the socket creation failed (so, its
socket is -1), with a pointer to the previous SocketHandler which has
disappeared for a long time: segmentation fault etc.
2014-06-22 23:56:51 +02:00
Florent Le Coz
545ab11ff3
Support version request to IRC users
2014-06-20 11:51:49 +02:00
Florent Le Coz
b747f2825c
Respond to IQ version on the gateway, a server or a chan with biboumi version
...
ref #2455
2014-06-20 10:45:42 +02:00
Florent Le Coz
aaf7177413
Write the software version, including the git hash, in config.h using cmake
2014-06-20 10:45:38 +02:00
Florent Le Coz
2117838cf9
Return a proper iq when the IRC server responds to our kick
...
A result or an error, depending on the type of message
2014-06-19 22:22:29 +02:00
Florent Le Coz
26ffc8fe12
Implement a way to add callbacks, waiting for an IRC event to return an iq
2014-06-19 22:21:49 +02:00
Florent Le Coz
a705b9af7b
Remove a duplicate “connection closed” message
2014-06-19 01:10:13 +02:00
Florent Le Coz
77fe8b89a3
Make the Botan rng, credential_manager etc be static
...
This actually makes the session_manager be useful, and saves a few octets of
memory for the other ones
2014-06-19 01:04:40 +02:00
Florent Le Coz
386ac4186a
Document the new way to send private messages
2014-06-18 22:55:18 +02:00
Florent Le Coz
04de62a4e0
Messages to room participants are forwarded to the IRC user
...
For example, both JID #chan%server@biboumi/Toto and toto!server@biboumi are
equivalent, except that if you send a message to the first one, subsequent
messages coming from the user toto will come from that same JID. This is
done to be consistent for the XMPP user, and respond from the same JID than
the 'to' of the first message.
fix #2468
2014-06-18 22:42:58 +02:00
Florent Le Coz
56eb5df28a
Mini comment fix
2014-06-18 18:46:41 +02:00
Florent Le Coz
9757c2c695
includes from cmake BINARY_DIR should be included before considering SOURCE_DIR
2014-06-18 11:45:09 +02:00
Florent Le Coz
6cbaa2c669
Document the encryption, and a few documentation issues are fixed
2014-06-13 01:46:12 +02:00
Florent Le Coz
7c1a38999c
Rewrite the whole IID usage
...
IRC users and channels are now distinguished by the separator used in the
IID (% or !).
ref #2468
2014-06-11 02:37:11 +02:00
Florent Le Coz
6210a9d50b
Add an <error/> element when the provided form is wrong, in two ad-hoc commands
2014-06-11 01:00:02 +02:00
Florent Le Coz
5d1a567ea5
Handle the 'cancel' ad-hoc action, and return an error for unsupported actions
...
ref #2521
2014-06-11 00:49:42 +02:00
Florent Le Coz
3ea029dd98
Remove inactive ad-hoc sessions after a given time
...
ref #2521
2014-06-11 00:49:39 +02:00
Florent Le Coz
1604320a23
Make the XMPP component port configurable
...
fix #2541
2014-06-08 23:30:17 +02:00
Florent Le Coz
8b30e312bb
Add a TimedEvent to cancel the connection to a server after 5 seconds
2014-06-08 15:13:08 +02:00
Florent Le Coz
349dc06e91
Silence warnings coming from Botan headers
2014-06-08 13:03:05 +02:00
Florent Le Coz
800d7df9aa
Properly search for libbotan even in a botan-1.11 subdirectory
2014-06-08 12:59:50 +02:00
Emmanuel Gil Peyrot
3d9183557f
Convert \n to <br/> in xhtml body
...
fix #2539
2014-06-08 05:35:36 +02:00
Florent Le Coz
2d5e2fdcf6
Give two supported compilers, as examples
2014-06-08 05:15:17 +02:00
Florent Le Coz
198b0fa6da
Document the new optional libbotan dependency
2014-06-08 05:14:55 +02:00
Florent Le Coz
23f32ba39e
Implement TLS support using Botan
...
For now, it tries two TLS ports and then connects to the non-tls port. In
the future we would like the user to be able to configure that.
fix #2435
2014-06-08 05:07:54 +02:00
Florent Le Coz
fa07130991
Little doc fix
2014-06-06 02:15:35 +02:00
Florent Le Coz
be6265544a
Make the destructor of the SocketHandler class protected non-virtual
2014-06-05 02:24:03 +02:00
Florent Le Coz
1706a92f0c
Update the documentation
2014-06-03 02:11:29 +02:00
Florent Le Coz
c530fb9156
Do not send an item-not-found presence from an invalid JID
2014-05-31 17:24:18 +02:00
Florent Le Coz
4a9beff74d
Remove some unused function parameters names
2014-05-31 17:10:22 +02:00
Florent Le Coz
a593d806dd
Document the admin configuration option
2014-05-31 17:08:49 +02:00
Florent Le Coz
4e27298b3a
Add an ad-hoc command to disconnect some users
2014-05-31 17:06:36 +02:00
Florent Le Coz
f5b61f0feb
Add the libuuid dependency to the INSTALL file
2014-05-30 16:16:18 +02:00
Florent Le Coz
c2311b2893
Send (every 240s) a PING command to all connected irc servers
...
fix #2452
2014-05-30 16:08:23 +02:00
Florent Le Coz
5c9d2c23ba
TimedEventsManager is now a singleton
2014-05-30 15:51:43 +02:00
Florent Le Coz
5cca518c2d
Timed events can have a name, and can be canceled based on their name
2014-05-30 15:42:01 +02:00
Florent Le Coz
a63faf6fa9
Use libuuid to generate unique IDs for iq and adhoc sessions
2014-05-30 13:39:00 +02:00
Florent Le Coz
8eb9e535a3
Use pkg-config first to find libraries
2014-05-30 13:15:13 +02:00
Florent Le Coz
86c6f36fae
Add missing files (for adhoc command support)
2014-05-30 04:03:36 +02:00