louiz’
464261d4ed
Support RPL_NOTPIC and 005
2016-04-22 10:49:06 +02:00
Florent Le Coz
0a352e557d
Move the irc callbacks into the cpp file
2016-02-10 19:19:21 +01: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
a38b17692e
Support multi-prefix
...
See http://ircv3.net/specs/extensions/multi-prefix-3.1.html
ref #3103
2016-01-04 13:47:27 +01:00
Florent Le Coz
79cdf170d2
Use the configured encoding value when decoding received messages
2016-01-04 13:47:26 +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
421c960df5
Add a ChannelOptions table in the DB
...
And a way to retrieve its values, defaulting on the ServerOptions for unset
values.
2016-01-04 13:47:26 +01:00
Florent Le Coz
9167cdf126
Notify systemd when the process is stopping
2015-12-23 11:05:55 +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
241768836d
Add the outgoing_bind option
...
Lets the admin choose a local address to bind each outgoing (IRC) socket.
2015-12-01 16:08:40 +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
0a4041f7e9
Fix the initial IRC nickname (was using realname, by mistake)
2015-11-02 17:14:21 +01:00
Florent Le Coz
6fb4cf5e4d
Do not forget to implement a method
2015-10-31 06:23:51 +01:00
Florent Le Coz
34fc1d4010
Implement a basic webirc support
...
See https://kiwiirc.com/docs/webirc
fix #3135
2015-10-31 06:17:35 +01:00
Florent Le Coz
2c932cf0f7
Fix the double sending of the USER command
2015-10-31 05:36:33 +01:00
Florent Le Coz
6c42286109
Remove some useless includes
2015-10-31 05:36:18 +01:00
Florent Le Coz
580b721ba5
Remove a write to std::cout from Database’s constructor
2015-10-29 03:35:25 +01:00
Florent Le Coz
3c1889fbd0
Use Catch for our test suite
...
`make check` is also added to compile and run the tests
Catch is fetched with cmake automatically into the build directory when needed
2015-10-29 02:32:57 +01:00
Florent Le Coz
142516a69b
Fix some trivial issues reported by cppcheck
2015-10-26 20:09:39 +01:00
Florent Le Coz
e43ca29e94
Fix the jidprep tests when built without libidn
2015-10-26 20:01:57 +01:00
Florent Le Coz
e46b9cfc6e
Display a success message at the end of the test suite
2015-10-24 15:24:40 +02:00
Florent Le Coz
e7a91badcd
Use “using” instead of typedef
2015-10-24 15:21:05 +02:00
Florent Le Coz
2c89b9f193
Remove an unused include
2015-10-24 15:20:29 +02:00
Florent Le Coz
83bd57b190
Some little fixes in test.cpp
2015-10-24 15:19:55 +02:00
Florent Le Coz
74c73799ab
Only compile database.cpp if configured with litesql
2015-10-24 15:17:53 +02:00
Florent Le Coz
aa340e1c5e
Separate the DNS resolution logic from the TCP communication logic
...
fix #3137
2015-10-15 04:32:02 +02:00
Florent Le Coz
1aa2c2d857
Introduce the realname_from_jid option
...
When set to true, the realname and username are extracted (by default) from
the user’s JID
fix #3136
2015-10-12 17:14: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
6512f830fa
The realname is also saved as an IrcClient member
2015-10-12 16:35:50 +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
7247228e97
Connection may be closed from our side too
2015-09-22 03:50:08 +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
Florent Le Coz
890cfe9099
Provide Ports and TLS Ports IRC-server ad-hoc options
...
This let any user choose which ports to use when connecting to the IRC
server. This also lets the user choose whether or not to force TLS usage (by
setting no non-TLS port).
fix #2731
2015-09-21 04:27:23 +02:00
Florent Le Coz
532228a3ce
Send a PASS IRC command if the “pass” config is sot by a user, on an IRC server
...
fix #3068
2015-09-18 22:09:26 +02:00
Florent Le Coz
1691cf8f64
Introduce the configure ad-hoc command on irc servers
...
Provides two options for now, and they have no effect yet
2015-09-18 22:09:26 +02:00
Florent Le Coz
f1de6d0320
Add Bridge::get_bare_jid
2015-09-18 22:09:26 +02:00
Florent Le Coz
45e8fe56a6
Add an AdhocCommandsHandler to store commands specific to IRC servers
2015-09-18 22:09:26 +02:00
Florent Le Coz
88ae2599f6
Introduce an optional Database module
...
Uses litesql
2015-09-18 22:09:26 +02:00
Florent Le Coz
33fa1dcd5a
Also a xdg_data_path
2015-09-18 21:50:54 +02:00
Florent Le Coz
ea0b2f2bb8
Create a xdg_path function
2015-09-18 09:20:15 +02:00