summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-02-16Actually display the error message from postgresql when a query failedlouiz’
2018-02-16Log the warn/error messages coming from libpq in a correct formatlouiz’
2018-02-16Sort 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-15Fix the actual_bind versions for integralslouiz’
2018-02-14Fix a memory leak when psql connection failslouiz’
2018-02-13Support the <before/> element in MAM requestslouiz’
2018-02-13Do not forget an early return, to return the correct item-not-found errorlouiz’
2018-02-13Use the same function for both history orderslouiz’
2018-02-11Fix a few warningslouiz’
2018-02-11Send a item-not-found error when the “after” value is not in the archivelouiz’
2018-02-10Handle the “after” RSM value to page through resultslouiz’
2018-02-10Always return the oldest matching messages from MAM, even if no date is setlouiz’
2018-02-04Fix conversion warnings on 32 bitslouiz’
2018-02-04Fix argument types in declaration of send_history_messagelouiz’
2018-01-30Remove the debug logs from previous commitlouiz’
2018-01-30Add a ifndef USE_DATABASE guard around send_history_messagelouiz’
2018-01-30Add the complete='true' attribute only when appropriatelouiz’
2018-01-29Do not forget the complete='true' attribute in MAM’s result iqlouiz’
2018-01-28Correctly include the database headerlouiz’
2018-01-28And an other conversion warninglouiz’
2018-01-28This should fix the int conversion warning on 32bits archlouiz’
2018-01-25Restore the is_one_of variable templatelouiz’
2018-01-25Merge tag '7.2'louiz’
2018-01-25Remove a variable template usagelouiz’
Because it’s only supported in gcc>=5.0
2018-01-22Merge tag '7.1'louiz’
2018-01-22Fix a crash happening when a user cancels a non-existing ad-hoc sessionlouiz’
2018-01-18xep-0106 escape the JIDs listed in a disco#items server querylouiz’
fix #3325
2018-01-17Use our botan gh#1276 workaround only for botan < 2.4louiz’
fix #3320
2018-01-14Add a DEBUG_SQL_QUERIES to log info about the executed SQL querieslouiz’
fix #3324
2018-01-14Remove all the ugly database debuglouiz’
2018-01-12Follow log_level even when using journald outputlouiz’
fix #3328
2018-01-12Only use sd_journal_* if we really are outputing to journaldlouiz’
We check that the device and inode numbers are actually the same as the JOURNAL_STREAM value, instead of just checking that the value exists. This fixes the logger unit tests
2018-01-10Change max line length to more conservative constantsAilin Nemui
2017-12-27Fix a subtle iid parsing error in the adhoc codelouiz’
2017-12-27Don’t answer to some requests towards MUC participantslouiz’
These requests are only meant to be received by the room itself. The participant must answer with not-implemented instead. fix #3323
2017-12-26Include the <fin><set><first/><last/></></> nodes in the MAM iq resultlouiz’
fix #3322
2017-12-26Add a <x muc#user> node on outgoing private MUC messageslouiz’
See https://xmpp.org/extensions/xep-0045.html#privatemessage fix #3321
2017-12-17Remove a warning (unused argument)louiz’
2017-12-16db_name also accepts postgres:// scheme for PostgreSQL connectionslouiz’
2017-12-05Always free the PGresult pointer returned by PQexeclouiz’
Fix a somewhat big memory leak
2017-12-03Run some of the ci tests against a postgresql docker containerlouiz’
2017-12-02Fix a few warningslouiz’
2017-12-02Handle postgresql and sqlite3 libs properlylouiz’
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-02Actually free the database on Database::close()Jonas Wielicki
.release() returns the pointer and releases ownership *without* destruction.
2017-12-02Make destructor of DatabaseEngine virtualJonas Wielicki
2017-12-02Make destructor of Statement virtualJonas Wielicki
I got an ASAN error otherwise (type mismatch)
2017-12-02Support for full postgresql URIsJonas Wielicki
(cf. https://www.postgresql.org/docs/9.4/static/libpq-connect.html#LIBPQ-CONNSTRING)
2017-12-02Add postgresql supportlouiz’
2017-11-27Send \r\n at the end of the identd responseslouiz’
fix #3315
2017-11-07Fix #3304louiz’