summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-12-03Add an ad-hoc command to disconnect a user from one or more IRC serverFlorent Le Coz
fix #3077
2015-12-03JID class provides bare() and full() methodsFlorent Le Coz
2015-12-01Add the outgoing_bind optionFlorent Le Coz
Lets the admin choose a local address to bind each outgoing (IRC) socket.
2015-11-05Fix a clang warningFlorent Le Coz
2015-11-05Provide an adhoc option to let user pass the cert verif for some IRC serversFlorent Le Coz
2015-11-02Fix the initial IRC nickname (was using realname, by mistake)Florent Le Coz
2015-10-31Do not forget to implement a methodFlorent Le Coz
2015-10-31Implement a basic webirc supportFlorent Le Coz
See https://kiwiirc.com/docs/webirc fix #3135
2015-10-31Fix the double sending of the USER commandFlorent Le Coz
2015-10-31Remove some useless includesFlorent Le Coz
2015-10-29Remove a write to std::cout from Database’s constructorFlorent Le Coz
2015-10-29Use Catch for our test suiteFlorent Le Coz
`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-26Fix some trivial issues reported by cppcheckFlorent Le Coz
2015-10-26Fix the jidprep tests when built without libidnFlorent Le Coz
2015-10-24Display a success message at the end of the test suiteFlorent Le Coz
2015-10-24Use “using” instead of typedefFlorent Le Coz
2015-10-24Remove an unused includeFlorent Le Coz
2015-10-24Some little fixes in test.cppFlorent Le Coz
2015-10-24Only compile database.cpp if configured with litesqlFlorent Le Coz
2015-10-15Separate the DNS resolution logic from the TCP communication logicFlorent Le Coz
fix #3137
2015-10-12Introduce the realname_from_jid optionFlorent Le Coz
When set to true, the realname and username are extracted (by default) from the user’s JID fix #3136
2015-10-12Provide the “realname_customization” optionFlorent Le Coz
ref #3136
2015-10-12The realname is also saved as an IrcClient memberFlorent Le Coz
2015-09-23TIL std::string::end and std::string::begin…Florent Le Coz
2015-09-23Make sure the user-provided username does not contain spacesFlorent Le Coz
2015-09-23Provide username and realname IRC server optionsFlorent Le Coz
Used in the USER command when connecting to the IRC server, instead of the first nick. fix #3028
2015-09-22Fix two small warningsFlorent Le Coz
2015-09-22Connection may be closed from our side tooFlorent Le Coz
2015-09-21Add a field (in the configure form) to specifiy an after-connect IRC commandFlorent Le Coz
2015-09-21Provide Ports and TLS Ports IRC-server ad-hoc optionsFlorent Le Coz
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-18Send a PASS IRC command if the “pass” config is sot by a user, on an IRC ↵Florent Le Coz
server fix #3068
2015-09-18Introduce the configure ad-hoc command on irc serversFlorent Le Coz
Provides two options for now, and they have no effect yet
2015-09-18Add Bridge::get_bare_jidFlorent Le Coz
2015-09-18Add an AdhocCommandsHandler to store commands specific to IRC serversFlorent Le Coz
2015-09-18Introduce an optional Database moduleFlorent Le Coz
Uses litesql
2015-09-18Also a xdg_data_pathFlorent Le Coz
2015-09-18Create a xdg_path functionFlorent Le Coz
2015-09-06Trivial cleanup in irc_client.cppFlorent Le Coz
2015-09-06Check the number of argument of every IRC command received from the serverFlorent Le Coz
Each IrcClient callback has a max and min size of argument, we call the callback only if the parsed message has a correct number of arguments, otherwise it is ignored (with a warning logged).
2015-09-01Use unique_ptr to store the XmlNode’s childrenFlorent Le Coz
Also fix some constness things
2015-09-01XmlNodes are now always closedFlorent Le Coz
Remove the close() method and closed attribute. Remove all the calls to close(). (Save one bool per XmlNode, yay, and save a few ifs and some useless function calls. At best it should be unnoticeably faster and lighter and save a few keystrokes in the future)
2015-08-19//mode with no argument should workFlorent Le Coz
The server will respond with the current channel mode, in private or something
2015-07-09If hostname resolution fails, do not try all possible portsFlorent Le Coz
2015-06-10Exit with 1 if the connection to the XMPP server failsFlorent Le Coz
This helps the system understand if the process started correctly or not, when systemd is not used fix #3078
2015-06-09Do not send the admin-only adhoc commands to non-admin usersFlorent Le Coz
They were not able to execute them anyway, so this was just a little usability issue.
2015-06-09Remove a useless duplicate methodFlorent Le Coz
2015-05-27Avoid some potential race conditions by blocking the signals we manageFlorent Le Coz
They are atomically unblocked in the ppoll/epoll_pwait calls, avoiding any race condition on the check of the “stop” or “reload” booleans.
2015-05-19Do not forward CTCP commands (PING, VERSION…) to the user as private messagesFlorent Le Coz
Some XMPP client ping themselves inside MUCs, to know if they are still in there, this created a flood of PING message in private. If the user is interested in knowing when they receive a ping or version request, they can still read their XML logs
2015-05-19Handle errors for the LIST irc commandFlorent Le Coz
ref #2472
2015-05-19Ignore commands that flood the user with private messages when listing chansFlorent Le Coz
ref #2472