~singpolyma/biboumi

88ae2599 — Florent Le Coz 7 years ago
Introduce an optional Database module

Uses litesql
33fa1dcd — Florent Le Coz 7 years ago
Also a xdg_data_path
ea0b2f2b — Florent Le Coz 7 years ago
Create a xdg_path function
73573ebb — Florent Le Coz 7 years ago
Trivial cleanup in irc_client.cpp
4cfcc791 — Florent Le Coz 7 years ago
Check the number of argument of every IRC command received from the server

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).
c3309d0a — Florent Le Coz 7 years ago
Trivial cleanup
f3b3d937 — Florent Le Coz 7 years ago
Use unique_ptr to store the XmlNode’s children

Also fix some constness things
38564d77 — Florent Le Coz 7 years ago
Little cleanup of the XmlNode class

Use map instead of unordered map (it's not slower, and it's shorter).
Use the default move constructor.
d7e1214c — Florent Le Coz 7 years ago
XmlNode::to_string uses an ostringstream instead of a string

On my poor benchmark, it was infinitesimally faster.
e8f22efe — Florent Le Coz 7 years ago
XmlNodes are now always closed

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)
df006a19 — Florent Le Coz 7 years ago
//mode with no argument should work

The server will respond with the current channel mode, in private or
something
525f452c — Florent Le Coz 7 years ago
louloulibs is part of the repository, so no need to check for its presence
45fd41eb — Florent Le Coz 7 years ago
Display the resolved IP in debug logs
ece4b496 — Florent Le Coz 7 years ago
If hostname resolution fails, do not try all possible ports
ac6a7459 — Florent Le Coz 7 years ago
Send the cares error message before cleaning it

fix #3083
4130f167 — Florent Le Coz 7 years ago
Check for timeouts on the DNS resolution using c-ares

ref #3083
a42af9e7 — Florent Le Coz 7 years ago
Fix the log_* macros to not have two ; at the end of lines
0af536a2 — Florent Le Coz 7 years ago
Minor comment typo
810ea19f — Florent Le Coz 7 years ago
Exit with 1 if the connection to the XMPP server fails

This helps the system understand if the process started correctly or not,
when systemd is not used

fix #3078
7f7c429a — Florent Le Coz 7 years ago
Do not send the admin-only adhoc commands to non-admin users

They were not able to execute them anyway, so this was just a little
usability issue.
Next