ref: f370ce3a80ef77f58a13b0328aa09c7becbf4f0e biboumi/tests/database.cpp -rw-r--r-- 6.6 KiB
7592d966 — louiz’ 4 years ago
Missing fields in a data-form response are now interpreted as an empty value
4bd7b698 — louiz’ 4 years ago
Refactor that fixes a compilation issue in Release mode

Some template specialization were not found, because they were not declared
at the point they were used.

We moved things around, things are less inter-dependant, and also now it
577984fa — louiz’ 4 years ago
Allow the execution of multiple commands after the IRC connection

fix #3275
03714c6c — louiz’ 4 years ago
Revert "Use std::optional<bool> instead of OptionalBool"

This reverts commit ba879a882e031d7b8503f78fe41d1210000c96ca.
ba879a88 — louiz’ 4 years ago
Use std::optional<bool> instead of OptionalBool
2c4016a4 — louiz’ 4 years ago
Merge branch 'postgresql' into 'master'

Add postgresql support

Closes #3237

See merge request louiz/biboumi!18
53fc926d — louiz’ 4 years ago
Only run the unit tests with postgresql if TEST_POSTGRES_URI env var is set

Even if we built with postgresql’s support
24dc05dd — louiz’ 5 years ago
Run some of the ci tests against a postgresql docker container
0168b96b — louiz’ 5 years ago
Add postgresql support
40db183e — louiz’ 5 years ago
Using OptionalBool, add RecordHistoryOptional col into IrcChannelOptions table

ref #3269
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
4c1b9abe — louiz’ 6 years ago
Properly catch and handle database errors

Do not use a singleton for the database.

fix #3203
79cdf170 — Florent Le Coz 6 years ago
Use the configured encoding value when decoding received messages
421c960d — Florent Le Coz 6 years ago
Add a ChannelOptions table in the DB

And a way to retrieve its values, defaulting on the ServerOptions for unset
4dd01a29 — Florent Le Coz 7 years ago
Run the database tests with an in-memory sqlite db
66887c22 — Florent Le Coz 7 years ago
Add a few tests
3c1889fb — Florent Le Coz 7 years ago
Use Catch for our test suite

`make check` is also added to compile and run the tests
Catch is fetched with cmake automatically into the build directory when needed