Use recipient-unavailable when we are not connected to the IRC server
Instead of remote-server-not-found
sasl: Use the nick from the presence if the ad-hoc one is not set
Typos: negociat… -> negotiat…
Little code simplification for conf_filename
CLI: Add a test config flag
Adding a -t configuration flag that will make biboumi check the
configuration file syntax.
Such a syntax check is handy for some deployment tools. It helps the
tooling to statically analyse the configuration file and prevent
unecessesary deployments when the configuration file is clearly
Updating the synopsis with this new flag.
Entirely remove the code for the “preferred_from” nick
Since private messages are now always coming from the server-wide JIDs
Do not mark message to bare JID private/no-copy
Always send direct messages to the user’s bare JID
This has the following advantages:
- Works while all resources are offline (persistent channels)
- Helps with combating duplicate messages when sent to different
resources, resources going offline, carbon-copying etc. etc.
As a side effect, this also makes the MUC PMs not be MUC PMs and
always be emitted from the server-wide JID of the sending user.
In CAP messages, handle the last arg as a list of capabilities
Instead of just one. This fixes the issue of the "trailing whitespace" since we
now split it on ' '
Fix the parsing of IRC messages, especially with trailing spaces
Handle SASL failures by displaying a message and aborting the connection
Conditionally compile the SASL code only with botan and database
Implement SASL plain authentication
Add a missing ostream include
Makes the build fail, on some condition.
Fix clang warnings on some utils function. It’s also faster
Fix a std::move() warning with clang
Fix a compile error with gcc 10