Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-06-25 | Throttle all commands sent to IRC servers | louiz’ | |
fix #3354 | |||
2018-04-29 | mam: Send “fin complete” only when appropriate | louiz’ | |
Also simplify how we did the whole “limit + 1” And fix one bad interpretation of the XEP for the case where the query has no after or before restriction. fix #3349 | |||
2018-04-29 | Missing fields in a data-form response are now interpreted as an empty value | louiz’ | |
2018-04-24 | Only use the ID to order archives | louiz’ | |
fix #3343 | |||
2018-04-24 | Revert "Use a different Date data type" | louiz’ | |
This reverts commit 857c7d3972a03cbeebf730d99b924d3710dee6a0. | |||
2018-04-24 | Revert "Use the Date to find a next page in RSM, not the id" | louiz’ | |
This reverts commit 5ef7ba08028065b03d51d1dc70bb35aeb41ae19d. | |||
2018-04-14 | Use the Date to find a next page in RSM, not the id | louiz’ | |
This way, it works, whatever the order of insertion in the database was. fix #3343 | |||
2018-04-13 | one log_debug -> log_error, also some trivial indent | louiz’ | |
2018-04-13 | Refactor that fixes a compilation issue in Release mode | louiz’ | |
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 works. | |||
2018-04-11 | Fix a build warning when compiling without postgres or sqlite | louiz’ | |
2018-04-11 | Use a different Date data type | louiz’ | |
PLEASE backup your database before testing this commit, and report any migration issue. In postgresql, we use timestamp with timezone. In sqlite3 we use REAL (the date is expressed as julianday) This requires a migration of the muclogline_ table: In postgresql it’s pretty simple, we convert all the integer into timestamps With sqlite3, we actually rename the table, create the new one with the correct type, then copy everything to the new table, with a conversion function for the Date_ column, and then we delete the old table. fix #3343 | |||
2018-03-23 | Check that db.prepare worked before using the returned statement | louiz’ | |
2018-03-19 | Add a nick field in the IRC server configuration form | louiz’ | |
fix #3317 | |||
2018-03-19 | Re-connect to postgresql when the connection is lost | louiz’ | |
fix #3336 | |||
2018-03-18 | Reflect message IDs in channel MUCs | louiz’ | |
fix #3283 | |||
2018-03-18 | Use a transaction around the DELETE + INSERT of the after_connection_commands | louiz’ | |
Otherwise we can imagine that two clients changing this value at the same time would mix things up. ref #3275 | |||
2018-03-18 | Allow the execution of multiple commands after the IRC connection | louiz’ | |
fix #3275 | |||
2018-03-17 | Revert "Use std::optional<bool> instead of OptionalBool" | louiz’ | |
This reverts commit ba879a882e031d7b8503f78fe41d1210000c96ca. | |||
2018-03-17 | Revert "Use if constexpr to make things a lot more readable" | louiz’ | |
This reverts commit d62ca9f87906be6f046fe9d07afb8bfb69c166e3. | |||
2018-03-16 | Use if constexpr to make things a lot more readable | louiz’ | |
2018-03-16 | Use std::optional<bool> instead of OptionalBool | louiz’ | |
2018-03-12 | Rename a few “hostname” into “address”, regarding last commit | louiz’ | |
ref #3273 | |||
2018-03-12 | Allow to override the addresses used to connect to an IRC network | louiz’ | |
fix #3273 | |||
2018-03-12 | Fix the INSERT query for types that don’t have any Id column | louiz’ | |
2018-02-16 | Actually display the error message from postgresql when a query failed | louiz’ | |
2018-02-16 | Log the warn/error messages coming from libpq in a correct format | louiz’ | |
2018-02-16 | Sort archive messages by date (and only then by id) | louiz’ | |
fix #3337 Because apparently the IDs are not always incrementing. We still use them to know the order of two messages that were received at the same second (in this case, the ID will always be incrementing). | |||
2018-02-15 | Fix the actual_bind versions for integrals | louiz’ | |
2018-02-14 | Fix a memory leak when psql connection fails | louiz’ | |
2018-02-13 | Support the <before/> element in MAM requests | louiz’ | |
2018-02-13 | Use the same function for both history orders | louiz’ | |
2018-02-11 | Fix a few warnings | louiz’ | |
2018-02-11 | Send a item-not-found error when the “after” value is not in the archive | louiz’ | |
2018-02-10 | Handle the “after” RSM value to page through results | louiz’ | |
2018-02-10 | Always return the oldest matching messages from MAM, even if no date is set | louiz’ | |
2018-01-28 | This should fix the int conversion warning on 32bits arch | louiz’ | |
2018-01-25 | Restore the is_one_of variable template | louiz’ | |
2018-01-25 | Remove a variable template usage | louiz’ | |
Because it’s only supported in gcc>=5.0 | |||
2018-01-14 | Add a DEBUG_SQL_QUERIES to log info about the executed SQL queries | louiz’ | |
fix #3324 | |||
2018-01-14 | Remove all the ugly database debug | louiz’ | |
2017-12-17 | Remove a warning (unused argument) | louiz’ | |
2017-12-16 | db_name also accepts postgres:// scheme for PostgreSQL connections | louiz’ | |
2017-12-05 | Always free the PGresult pointer returned by PQexec | louiz’ | |
Fix a somewhat big memory leak | |||
2017-12-02 | Fix a few warnings | louiz’ | |
2017-12-02 | Handle postgresql and sqlite3 libs properly | louiz’ | |
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 | |||
2017-12-02 | Actually free the database on Database::close() | Jonas Wielicki | |
.release() returns the pointer and releases ownership *without* destruction. | |||
2017-12-02 | Make destructor of DatabaseEngine virtual | Jonas Wielicki | |
2017-12-02 | Make destructor of Statement virtual | Jonas Wielicki | |
I got an ASAN error otherwise (type mismatch) | |||
2017-12-02 | Support for full postgresql URIs | Jonas Wielicki | |
(cf. https://www.postgresql.org/docs/9.4/static/libpq-connect.html#LIBPQ-CONNSTRING) | |||
2017-12-02 | Add postgresql support | louiz’ | |