summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-12-23A few cleanups, and make a few things more modernFlorent Le Coz
2015-12-23Notify systemd when the process is stoppingFlorent Le Coz
2015-12-23Also store a reference instead of a pointer, in AdhocCommandsHandlerFlorent Le Coz
2015-12-21Use references instead of raw pointer, to store the “parent” objectFlorent Le Coz
In Bridge and IrcClient
2015-12-13Make the XMPP server address configurable.Stuart Mumford
fix #3145
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-03Small cleanupFlorent Le Coz
2015-12-03Provide a “var” map in AdhocSession objects, to save values between each ↵Florent Le Coz
step
2015-12-03Do not forget to call freeaddrinfo, fix a memleakFlorent Le Coz
For the getaddrinfo call we added in the previous commit, to convert the IP provided in the conf.
2015-12-01Display a better error when connection failsFlorent Le Coz
The error should not tell “while reading” when we are just connecting.
2015-12-01Add the outgoing_bind optionFlorent Le Coz
Lets the admin choose a local address to bind each outgoing (IRC) socket.
2015-11-30Document the fact that the joining-nick is ignoredFlorent Le Coz
fix #2695
2015-11-30Rename the CI build where we run the coverageFlorent Le Coz
2015-11-30Coverage cannot run with clang++Florent Le Coz
2015-11-30Do not segfault when trying to send TLS data over a not-yet connected socketFlorent Le Coz
2015-11-07Avoid leaking socket filedescriptorsFlorent Le Coz
When trying the various results of getaddrinfo, we forgot to close the socket when one fails, before trying the next one. Also use the destructor to make sure we do not have some other unrelated leak.
2015-11-05Add verifyCert field into the databaseFlorent Le Coz
2015-11-05Only include the coverage flags when compiling with gccFlorent Le Coz
2015-11-05Fix a clang warningFlorent Le Coz
2015-11-05Add a CI build with clangFlorent Le Coz
2015-11-05Make the CA file configurableFlorent 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 build without botan, caused by credentials_managerFlorent Le Coz
2015-11-02Verify TLS certificate with the given hostname, instead of a hardcoded oneFlorent Le Coz
2015-11-02Fix the initial IRC nickname (was using realname, by mistake)Florent Le Coz
2015-11-02Verify the remote TLS certificates using the system-wide trusted CAsFlorent Le Coz
2015-10-31Fix the logger test when built without systemdFlorent Le Coz
2015-10-31Add a IoTester classFlorent Le Coz
2015-10-31Do not forget to implement a methodFlorent Le Coz
2015-10-31Remove a useless assignmentFlorent 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-31Run the database tests with an in-memory sqlite dbFlorent Le Coz
2015-10-31Add a few testsFlorent Le Coz
2015-10-31Only run “make coverage” in one CI buildFlorent Le Coz
2015-10-30Remove the build+test script, just specify everything in the CI fileFlorent Le Coz
2015-10-29Add a .gitignore fileFlorent Le Coz
2015-10-29Only download Catch when the test_suite target is builtFlorent Le Coz
2015-10-29Remove a write to std::cout from Database’s constructorFlorent Le Coz
2015-10-29Make lcov gcov etc optionalFlorent Le Coz
make coverage will display an error instead
2015-10-29make coverage is only available with a debug buildFlorent Le Coz
2015-10-29Document the test and coverage things in the INSTALL fileFlorent Le Coz
2015-10-29Add code coverage supportFlorent Le Coz
make coverage runs the test_suite and generates a report
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-28Refactor XmppParser::end_element to make it clearerFlorent Le Coz
Both for me, and apparently for clang static analyzer, who reported a (imo) false positive.
2015-10-26Style, add a few “this->”Florent Le Coz
2015-10-26Fix some trivial issues reported by cppcheckFlorent Le Coz
2015-10-26Fix a build issue when compiling without caresFlorent Le Coz