ref: f370ce3a80ef77f58a13b0328aa09c7becbf4f0e biboumi/src/main.cpp -rw-r--r-- 7.6 KiB
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.
b1564e4d — louiz’ 4 years ago
Fix a bunch of int to unsigned int conversion warnings
9fa75910 — louiz’ 4 years ago
Split the main() into smaller functions

That’s not really enough, but better
ed36c265 — louiz’ 4 years ago
Also handle SIGHUP to reload the configuration

Because that’s what is typically done on other deamons, and we don’t want to
suprise users.
5ea51fea — Ailin Nemui 4 years ago
follow coding style
cf618d55 — Ailin Nemui 4 years ago
optional identd
2c4016a4 — louiz’ 4 years ago
Merge branch 'postgresql' into 'master'

Add postgresql support

Closes #3237

See merge request louiz/biboumi!18
414bbca0 — louiz’ 5 years ago
Handle postgresql and sqlite3 libs properly

Do not fail to compile when one of them is missing but the other one is not.

Raise an error when trying to open a database with the missing library.

see #3237
0168b96b — louiz’ 5 years ago
Add postgresql support
5ba66c33 — louiz 5 years ago
Merge branch 'orm' into 'master'

Pure c++ sqlite3 ORM

Closes #3271

See merge request !11
50cadf3d — louiz’ 5 years ago
Implement our own database ORM, and update the whole code to use it

Entirely replace LiteSQL

fix #3271
269f9e0d — louiz’ 6 years ago
Do not fail to build if litesql is not there
32384047 — louiz’ 5 years ago
Avoid adding more that one “XMPP reconnection” timed event at the same time

Fix a semblance of infinite and busy loop, that could occur if biboumi’s
poller is woken up multiple times while the XMPP server is not reachable.
8a912ea3 — louiz’ 5 years ago
Apply a few clang-tidy cppcoreguidelines-* fixes
5402a256 — louiz’ 5 years ago
Apply all the clang-tidy modernize-* fixes
e2da6fcd — louiz’ 5 years ago
Properly destroy the dns_handler socket when first start fails

To correctly exit the process
5b560078 — louiz’ 5 years ago
Use udns instead of c-ares

fix #3226
ad22be41 — louiz’ 6 years ago
Do not fail to build if litesql is not there
d872c2b4 — louiz’ 6 years ago
Support the ident protocol

fix #3211