ref: f370ce3a80ef77f58a13b0328aa09c7becbf4f0e biboumi/src d---------
Add gateway/irc and caps
muc-bridge users should never persist
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
5607c101 — louiz’ 2 years ago
Little code simplification for conf_filename
0bb4f144 — Félix Baylac-Jacqué 2 years 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.
9cb6a0c2 — louiz’ 2 years ago
Entirely remove the code for the “preferred_from” nick

Since private messages are now always coming from the server-wide JIDs
9a90c76e — Georg Lukas 2 years ago
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.
f548f631 — louiz’ 2 years ago
Merge branch 'v9'
b98434b5 — louiz’ 2 years ago
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
df2fe0bc — louiz’ 2 years ago
Fix the parsing of IRC messages, especially with trailing spaces
063e6b12 — louiz’ 2 years ago
Handle SASL failures by displaying a message and aborting the connection
189015af — louiz’ 2 years ago
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