Commit Graph
1481 Commits
Author SHA1 Message Date
louiz’ 06271729e3 Fix a crash happening when a user cancels a non-existing ad-hoc session 2018-01-22 20:57:34 +01:00
louiz’ 24b4a09d47 By the way, start version 8.0 2018-01-22 18:05:57 +01:00
louiz’ b6b4cc1b1a Remove the now useless .codecov.yml file 2018-01-18 19:37:53 +01:00
louiz’ f371d9ca46 xep-0106 escape the JIDs listed in a disco#items server query
fix #3325
2018-01-18 19:34:56 +01:00
louiz’ 6e1af8b082 Release version 7.0 2018-01-17 21:14:44 +01:00
louiz’ 5c75cd104f By the way, we were on version 7.0~dev 2018-01-17 21:10:35 +01:00
louiz’ 520711023f Use our botan gh#1276 workaround only for botan < 2.4
fix #3320
2018-01-17 20:59:38 +01:00
louiz’ 1bb3e2e7da Clarify a few things about the dependencies 2018-01-17 20:41:17 +01:00
louiz’ 7e64a2e361 Add a DEBUG_SQL_QUERIES to log info about the executed SQL queries
fix #3324
2018-01-14 21:46:49 +01:00
louiz’ 3cd6490236 Remove all the ugly database debug 2018-01-14 21:44:22 +01:00
louiz’ b4b9828de5 Follow log_level even when using journald output
fix #3328
2018-01-12 20:08:15 +01:00
louiz’ 34d6c2bce1 Don’t use codecov anymore 2018-01-12 05:41:54 +01:00
louiz’ 7c8a7176d1 Only use sd_journal_* if we really are outputing to journald
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-12 04:03:36 +01:00
louiz’ 25423ffd43 Merge branch 'patch-1' into 'master'
Change max line length to more conservative constants

See merge request louiz/biboumi!21
2018-01-10 16:10:43 +01:00
Ailin Nemui 435a63a070 Change max line length to more conservative constants 2018-01-10 13:36:53 +01:00
louiz’ 70ecb0f0d4 Also tabs 2018-01-02 03:17:05 +01:00
louiz’ 3230866683 Little fix to the rst formatting in INSTALL and CHANGELOG files 2018-01-02 03:13:16 +01:00
louiz’ 8409e50c1a Fix a subtle iid parsing error in the adhoc code 2017-12-27 19:36:36 +01:00
louiz’ 2d9f516d1d Don’t answer to some requests towards MUC participants
These requests are only meant to be received by the room itself. The
participant must answer with not-implemented instead.

fix #3323
2017-12-27 19:23:28 +01:00
louiz’ e4122880b5 Add a documentation to explain how to migrate from sqlite3 to postgresl
fix #3319
2017-12-27 18:53:08 +01:00
louiz’ bb2dd2b693 Update the changelogs for 7.0 2017-12-27 18:04:12 +01:00
louiz’ 131ef9946f Include the <fin><set><first/><last/></></> nodes in the MAM iq result
fix #3322
2017-12-26 20:21:18 +01:00
louiz’ 37340e593f Add a <x muc#user> node on outgoing private MUC messages
See https://xmpp.org/extensions/xep-0045.html#privatemessage

fix #3321
2017-12-26 19:52:41 +01:00
louiz’ 286aa58c7b Remove a warning (unused argument) 2017-12-17 15:21:40 +01:00
louiz’ 044a1a0c8c Use a specific (0.4.2) pyasn1 version in the debian Dockerfile 2017-12-16 20:36:15 +01:00
louiz’ ac0f96a5f4 Little update on the INSTALL.rst database doc 2017-12-16 20:35:53 +01:00
louiz’ 8713f015b1 Remove the ci deploy stop 2017-12-16 20:35:39 +01:00
louiz’ 2c4016a489 Merge branch 'postgresql' into 'master'
Add postgresql support

Closes #3237

See merge request louiz/biboumi!18
2017-12-16 16:32:32 +01:00
louiz’ b1f850b639 Update the docker images to enable postgresql, and document them 2017-12-16 16:23:07 +01:00
louiz’ 8a12b547e8 Document the db_name option (with postgresql support) 2017-12-16 15:42:22 +01:00
louiz’ a557718bf2 db_name also accepts postgres:// scheme for PostgreSQL connections 2017-12-16 15:34:54 +01:00
louiz’ aaa9de8fe2 Merge branch 'policy-irc.gnome.org' into 'master'
Add specific policy files for irc.gimp.org and irc.gnome.org

See merge request louiz/biboumi!20
2017-12-15 16:32:52 +01:00
Maxime “pep” Buquet 80168aef29 Add specific policy files for irc.gimp.org and irc.gnome.org 2017-12-15 15:21:45 +00:00
louiz’ 53fc926dc8 Only run the unit tests with postgresql if TEST_POSTGRES_URI env var is set
Even if we built with postgresql’s support
2017-12-12 23:37:08 +01:00
louiz’ c3313d0d41 Always free the PGresult pointer returned by PQexec
Fix a somewhat big memory leak
2017-12-05 01:05:45 +01:00
louiz’ 24dc05dd97 Run some of the ci tests against a postgresql docker container 2017-12-03 16:46:14 +01:00
louiz’ 6dc49f3284 Fix a few warnings 2017-12-02 20:08:50 +01:00
louiz’ 414bbca0bc 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
2017-12-02 20:08:50 +01:00
louiz’ 923cf31ba6 Merge branch 'postgresql' into 'postgresql'
Some fixes for the postgresql branch

See merge request louiz/biboumi!19
2017-12-02 20:08:50 +01:00
Jonas Wielicki e1c7a6518a Actually free the database on Database::close()
.release() returns the pointer and releases ownership *without*
destruction.
2017-12-02 20:08:50 +01:00
Jonas Wielicki 58f78f31e6 Make destructor of DatabaseEngine virtual 2017-12-02 20:08:50 +01:00
Jonas Wielicki 14dcc57a19 Make destructor of Statement virtual
I got an ASAN error otherwise (type mismatch)
2017-12-02 20:08:50 +01:00
Jonas Wielicki 4f7ad3f985 Support for full postgresql URIs
(cf. https://www.postgresql.org/docs/9.4/static/libpq-connect.html#LIBPQ-CONNSTRING)
2017-12-02 20:08:50 +01:00
louiz’ 0168b96b79 Add postgresql support 2017-12-02 20:08:47 +01:00
louiz’ 5b27cee972 Send \r\n at the end of the identd responses
fix #3315
2017-11-27 00:48:40 +01:00
louiz’ b82d662082 Add an e2e test to demonstrate #3304 2017-11-07 23:18:35 +01:00
louiz’ 90dd8e8b42 Fix #3304 2017-11-07 23:18:30 +01:00
louiz’ cb6b50dc01 Change how we count the number of connected resources to a server 2017-11-07 23:05:05 +01:00
louiz’ f3b1e39cdd Add a workaround for https://github.com/randombit/botan/issues/1276
ref #3278
2017-10-26 19:13:23 +02:00
louiz’ aa65cfd106 Release version 6.1 2017-10-04 22:10:07 +02:00