ref: 6de22e83208f5c6a7aab1458cc7b666eb82703c1 biboumi/src d---------
Use recipient-unavailable when we are not connected to the IRC server

Instead of remote-server-not-found

See #3427
sasl: Use the nick from the presence if the ad-hoc one is not set

fix #3450
Typos: negociat… -> negotiat…
fix localtime call -> _r
Little code simplification for conf_filename
0bb4f144 — Félix Baylac-Jacqué 1 year, 10 months ago
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
f8da92a8 — Jonas Schäfer 2 years ago
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.

Fixes #3313.
Merge branch 'v9'
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 #3442
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
2e1ddeb6 — louiz’ 2 years ago
Implement SASL plain authentication
655bc344 — louiz’ 2 years ago
Add a missing ostream include

Makes the build fail, on some condition.

fix #3434
f76cd93a — louiz’ 2 years ago
Fix clang warnings on some utils function. It’s also faster
c671da13 — louiz’ 2 years ago
Fix a std::move() warning with clang
fa905a74 — louiz’ 2 years ago
Fix a compile error with gcc 10

Fix #3431