-
7fcc77f52e
Provide a spec file to build a Fedora RPM
Florent Le Coz
2014-06-30 01:11:11 +02:00
-
01c1ea14f7
Use systemd-daemon logging prefix if available
Florent Le Coz
2014-06-30 00:50:48 +02:00
-
e01e34db22
Provide an example unit file for systemd
Florent Le Coz
2014-06-27 21:39:28 +02:00
-
5a43ac9a0d
Provide an example configuration file
Florent Le Coz
2014-06-27 21:38:12 +02:00
-
70ebbae15e
Regularly send a notification for the systemd watchdog
Florent Le Coz
2014-06-27 22:00:56 +02:00
-
a165e59240
Fix some cmake issues
Florent Le Coz
2014-06-26 13:53:06 +02:00
-
48ed47207c
Add missing <string> include in timed_events.hpp
Florent Le Coz
2014-06-28 18:38:08 +02:00
-
6f181acc65
Fix ad-hoc “disconnect user” command. Do not add the <error/> on success
Florent Le Coz
2014-06-25 22:34:33 +02:00
-
524f7925c4
Add some details in the INSTALL file
Florent Le Coz
2014-06-25 01:02:03 +02:00
-
2cf64e10b5
Provide a make dist target
Florent Le Coz
2014-06-24 17:45:50 +02:00
-
39175e1ad6
Little documentation update
Florent Le Coz
2014-06-24 20:47:07 +02:00
-
a2d55e4bea
Rename cmake target test->test_suite for cmake 3.0
Florent Le Coz
2014-06-23 01:00:21 +02:00
-
7b785cf552
Delete the timeout event using the correct socket number, instead of -1
Florent Le Coz
2014-06-22 23:56:51 +02:00
-
545ab11ff3
Support version request to IRC users
Florent Le Coz
2014-06-18 11:46:28 +02:00
-
b747f2825c
Respond to IQ version on the gateway, a server or a chan with biboumi version
Florent Le Coz
2014-06-17 21:41:09 +02:00
-
aaf7177413
Write the software version, including the git hash, in config.h using cmake
Florent Le Coz
2014-06-17 20:56:32 +02:00
-
2117838cf9
Return a proper iq when the IRC server responds to our kick
Florent Le Coz
2014-06-19 22:22:29 +02:00
-
26ffc8fe12
Implement a way to add callbacks, waiting for an IRC event to return an iq
Florent Le Coz
2014-06-19 22:21:49 +02:00
-
a705b9af7b
Remove a duplicate “connection closed” message
Florent Le Coz
2014-06-19 01:10:13 +02:00
-
77fe8b89a3
Make the Botan rng, credential_manager etc be static
Florent Le Coz
2014-06-19 01:04:40 +02:00
-
386ac4186a
Document the new way to send private messages
Florent Le Coz
2014-06-18 22:55:18 +02:00
-
04de62a4e0
Messages to room participants are forwarded to the IRC user
Florent Le Coz
2014-06-18 22:42:58 +02:00
-
56eb5df28a
Mini comment fix
Florent Le Coz
2014-06-18 18:46:41 +02:00
-
9757c2c695
includes from cmake BINARY_DIR should be included before considering SOURCE_DIR
Florent Le Coz
2014-06-17 21:38:56 +02:00
-
6cbaa2c669
Document the encryption, and a few documentation issues are fixed
Florent Le Coz
2014-06-13 01:46:12 +02:00
-
7c1a38999c
Rewrite the whole IID usage
Florent Le Coz
2014-06-11 02:37:11 +02:00
-
6210a9d50b
Add an <error/> element when the provided form is wrong, in two ad-hoc commands
Florent Le Coz
2014-06-11 01:00:02 +02:00
-
5d1a567ea5
Handle the 'cancel' ad-hoc action, and return an error for unsupported actions
Florent Le Coz
2014-06-11 00:42:55 +02:00
-
3ea029dd98
Remove inactive ad-hoc sessions after a given time
Florent Le Coz
2014-06-11 00:28:26 +02:00
-
1604320a23
Make the XMPP component port configurable
Florent Le Coz
2014-06-08 23:30:17 +02:00
-
8b30e312bb
Add a TimedEvent to cancel the connection to a server after 5 seconds
Florent Le Coz
2014-06-08 15:13:08 +02:00
-
349dc06e91
Silence warnings coming from Botan headers
Florent Le Coz
2014-06-08 13:03:05 +02:00
-
800d7df9aa
Properly search for libbotan even in a botan-1.11 subdirectory
Florent Le Coz
2014-06-08 12:59:50 +02:00
-
3d9183557f
Convert \n to <br/> in xhtml body
Emmanuel Gil Peyrot
2014-06-08 05:35:36 +02:00
-
2d5e2fdcf6
Give two supported compilers, as examples
Florent Le Coz
2014-06-08 05:15:17 +02:00
-
198b0fa6da
Document the new optional libbotan dependency
Florent Le Coz
2014-06-08 05:14:55 +02:00
-
23f32ba39e
Implement TLS support using Botan
Florent Le Coz
2014-05-18 20:23:08 +02:00
-
fa07130991
Little doc fix
Florent Le Coz
2014-06-06 02:15:35 +02:00
-
be6265544a
Make the destructor of the SocketHandler class protected non-virtual
Florent Le Coz
2014-06-05 02:24:03 +02:00
-
1706a92f0c
Update the documentation
Florent Le Coz
2014-06-03 02:11:29 +02:00
-
c530fb9156
Do not send an item-not-found presence from an invalid JID
Florent Le Coz
2014-05-31 17:24:18 +02:00
-
4a9beff74d
Remove some unused function parameters names
Florent Le Coz
2014-05-31 17:10:22 +02:00
-
a593d806dd
Document the
admin configuration option
Florent Le Coz
2014-05-31 17:08:49 +02:00
-
4e27298b3a
Add an ad-hoc command to disconnect some users
Florent Le Coz
2014-05-31 17:06:36 +02:00
-
f5b61f0feb
Add the libuuid dependency to the INSTALL file
Florent Le Coz
2014-05-30 16:16:18 +02:00
-
c2311b2893
Send (every 240s) a PING command to all connected irc servers
Florent Le Coz
2014-05-30 16:08:23 +02:00
-
5c9d2c23ba
TimedEventsManager is now a singleton
Florent Le Coz
2014-05-30 15:51:43 +02:00
-
5cca518c2d
Timed events can have a name, and can be canceled based on their name
Florent Le Coz
2014-05-30 15:42:01 +02:00
-
a63faf6fa9
Use libuuid to generate unique IDs for iq and adhoc sessions
Florent Le Coz
2014-05-30 13:39:00 +02:00
-
8eb9e535a3
Use pkg-config first to find libraries
Florent Le Coz
2014-05-30 13:12:33 +02:00
-
86c6f36fae
Add missing files (for adhoc command support)
Florent Le Coz
2014-05-30 04:03:36 +02:00
-
d33a3b7d35
XmlNode::get_children, to get a list of matching children instead of the first
Florent Le Coz
2014-05-30 03:52:22 +02:00
-
6bde78b574
XmlNode’s copy constructor now recursively copies the children nodes as well
Florent Le Coz
2014-05-30 03:51:54 +02:00
-
eb9a201870
Implement the support for adhoc commands
Florent Le Coz
2014-05-27 01:01:38 +02:00
-
1c93afc9a7
Change the way the namespaces are handled in the XmlNode class
Florent Le Coz
2014-05-26 04:22:40 +02:00
-
a350caf6e0
Move the logging + config test on first position
Florent Le Coz
2014-05-26 03:59:42 +02:00
-
d9d30dd782
Use a timed event to force the exit 2 seconds after an exit signal is received
Florent Le Coz
2014-05-29 01:30:04 +02:00
-
5999e6e0c3
Introduce the timed events
Florent Le Coz
2014-05-27 01:12:46 +02:00
-
e033b6a3ae
On connection in-progress, save the whole addrinfo struct, not just ai_addr
Florent Le Coz
2014-05-28 02:03:36 +02:00
-
6c2d03da4e
Send an error presence when the connection to the IRC server fails
Florent Le Coz
2014-05-28 01:27:41 +02:00
-
7b31bea75b
Only close/unmanage the socket if we are connected/connecting
Florent Le Coz
2014-05-27 23:46:18 +02:00
-
34739728f9
Fix a by-one error in the CHANTYPES parsing
Florent Le Coz
2014-05-26 18:34:56 +02:00
-
aea923bcb9
Use the CHANTYPES values to differentiate channel or user notices
Florent Le Coz
2014-05-27 02:30:11 +02:00
-
796af0531e
Add support for CHANTYPES isupport element, to know the prefixes of channels
Florent Le Coz
2014-05-27 02:17:25 +02:00
-
23e8e32f84
Support IPv6 connections
Florent Le Coz
2014-05-27 01:05:51 +02:00
-
5507adbe94
SocketHandlers own the poller and add themself into it only when the socket is created
Florent Le Coz
2014-05-27 01:01:44 +02:00
-
6b0ffb5fc2
If both write and read events are available on a socket, only do the read
Florent Le Coz
2014-05-26 22:27:43 +02:00
-
7fb0b671bb
Also do that cut of message on \n for private messages, and handle /me
Florent Le Coz
2014-05-18 20:48:42 +02:00
-
01cd6eb516
Split the messages on \n when sending them back to the XMPP user
Florent Le Coz
2014-05-18 20:23:08 +02:00
-
df765faab9
Only call get_last_child() if the node has children
Florent Le Coz
2014-05-15 00:47:20 +02:00
-
7c7da2cedb
"Chat message" is not the same as "any kind of message"
Florent Le Coz
2014-05-15 00:29:30 +02:00
-
bafde1af9f
Stanza:get_name() only returns the name of the tag, without the namespace
Florent Le Coz
2014-05-15 00:27:58 +02:00
-
12c8b1ae0b
Disconnect the user from all its IRC servers whenever he returns an error
Florent Le Coz
2014-05-15 00:21:08 +02:00
-
712b7bdfdf
Correctly handle the usage of ! as a IRC user mode indicator
Florent Le Coz
2014-05-14 21:48:38 +02:00
-
634e7cf125
mini reorder
Florent Le Coz
2014-05-11 03:37:07 +02:00
-
23db31cff1
[cmake] Do not print useless messages when an optional lib is not found
Florent Le Coz
2014-05-11 03:36:42 +02:00
-
579ca4bdb6
Forward iq version results to IRC
Florent Le Coz
2014-05-07 02:02:47 +02:00
-
04fe15a1e7
Correctly do the error handling when we receive an iq
Florent Le Coz
2014-05-06 23:07:30 +02:00
-
5ec05cb0ed
Forward CTCP version request to XMPP
Florent Le Coz
2014-05-06 22:50:37 +02:00
-
f35db5ceba
Implement next_id() to
Florent Le Coz
2014-05-06 22:39:09 +02:00
-
18b27793de
Use epoll on linux by default, poll otherwise
Florent Le Coz
2014-04-30 02:30:19 +02:00
-
dd552b1e34
Link with systemd instead of systemd-daemon
Florent Le Coz
2014-04-30 02:03:24 +02:00
-
28d244631d
Add missing std::string_literals
Florent Le Coz
2014-04-29 23:51:32 +02:00
-
65f219594d
Fix a little indentation
Florent Le Coz
2014-04-29 21:56:05 +02:00
-
f6e6b8905b
Use C++14 string_literals
Florent Le Coz
2014-04-29 21:50:13 +02:00
-
594bac1e84
Remove binary.hpp and use the c++14 feature 0b
Florent Le Coz
2014-04-28 19:44:09 +02:00
-
c6059e5a21
Upgrade to C++14
Florent Le Coz
2014-04-28 18:46:25 +02:00
-
ae41c5dee4
Include the xhtml-im element in private messages too
Florent Le Coz
2014-04-25 00:53:59 +02:00
-
4e61b0d57e
The author name from messages from the server are now nicely formated
Florent Le Coz
2014-04-25 00:53:08 +02:00
-
77a84fd2d9
NOTICE from channels are displayed in the channel, with a green "[notice]"
Florent Le Coz
2014-04-25 00:35:57 +02:00
-
6ebb586b6c
Respond to a disco query the gateway jid itself
Florent Le Coz
2014-04-24 19:36:14 +02:00
-
98ef49e787
Fix the kick by correctly using the from and to attributes
Florent Le Coz
2014-04-22 20:13:02 +02:00
-
0b4f761e31
Fix the CMakeLists.txt to correctly have -Ibuild/src/
Florent Le Coz
2014-04-22 19:28:02 +02:00
-
bd8a5a505e
The logging test is less ambiguous
Florent Le Coz
2014-04-21 23:03:58 +02:00
-
e847084b00
Improve the test on jidprep
Florent Le Coz
2014-04-21 22:59:16 +02:00
-
4b5d2d11c5
test.cfg file is now created by the test suite
Florent Le Coz
2014-04-21 22:56:22 +02:00
-
848b50185f
Remove unused action_prefix_len variable
Florent Le Coz
2014-04-21 22:46:45 +02:00
-
b37fc70fb4
Little updates to the README and INSTALL files
Florent Le Coz
2014-04-18 17:56:06 +02:00
-
114007f10d
Actually do the last commit, but completely this time
Florent Le Coz
2014-04-18 10:45:28 +02:00
-
bd7936bdfe
No more missing text when converting IRC colors to xhtml-im
Florent Le Coz
2014-04-17 20:37:46 +02:00