This website requires JavaScript.
8503d1f683
Actually display the error message from postgresql when a query failed
louiz’
2018-02-16 00:58:49 +01:00
b175084300
Log the warn/error messages coming from libpq in a correct format
louiz’
2018-02-16 00:57:49 +01:00
d3e07eee13
Sort archive messages by date (and only then by id)
louiz’
2018-02-16 00:56:07 +01:00
dbb86bcc12
Fix the actual_bind versions for integrals
louiz’
2018-02-15 16:54:54 +01:00
505deda176
Fix a memory leak when psql connection fails
louiz’
2018-02-14 23:25:12 +01:00
4a2a280d76
Support the <before/> element in MAM requests
louiz’
2018-02-13 03:51:03 +01:00
50d3c4a0b2
Do not forget an early return, to return the correct item-not-found error
louiz’
2018-02-13 03:39:13 +01:00
fd7c365288
Use the same function for both history orders
louiz’
2018-02-13 03:10:00 +01:00
fd9c713938
Fix a few warnings
louiz’
2018-02-11 23:39:42 +01:00
d705541435
Send a item-not-found error when the “after” value is not in the archive
louiz’
2018-02-11 23:29:58 +01:00
0280343ced
Handle the “after” RSM value to page through results
louiz’
2018-02-10 19:51:59 +01:00
ce1b6583e8
e2e test that the last uuid is the same as the “last” value in the iq result
louiz’
2018-02-10 19:24:12 +01:00
99389eefba
Always return the oldest matching messages from MAM, even if no date is set
louiz’
2018-02-10 17:36:33 +01:00
e0d1a0b44a
Add a check for GCC’s and Clang’s minimal versions
louiz’
2018-02-05 12:27:52 +01:00
1ebd8a2321
Fix conversion warnings on 32 bits
louiz’
2018-02-04 16:58:04 +01:00
d7cf736adb
Fix argument types in declaration of send_history_message
louiz’
2018-02-04 11:02:56 +01:00
369da19d41
Remove the debug logs from previous commit
louiz’
2018-01-30 09:16:12 +01:00
58fd689166
Add a ifndef USE_DATABASE guard around send_history_message
louiz’
2018-01-30 09:14:26 +01:00
cb83178894
Add the complete='true' attribute only when appropriate
louiz’
2018-01-30 09:07:21 +01:00
17f2cb5c93
Do not forget the complete='true' attribute in MAM’s result iq
louiz’
2018-01-29 21:11:20 +01:00
7403c397ed
Correctly include the database header
louiz’
2018-01-28 14:20:21 +01:00
442f46c4ac
And an other conversion warning
louiz’
2018-01-28 14:15:34 +01:00
9bf81a2c04
This should fix the int conversion warning on 32bits arch
louiz’
2018-01-28 14:10:14 +01:00
6e7ee320bc
ci: Add Werror and Wno-psabi compiler flags
louiz’
2018-01-26 01:31:42 +01:00
ca95f89753
Add a archlinux-armv7l build
louiz’
2018-01-26 01:14:52 +01:00
e0265c81be
ci: remove some useless template, directly define the jobs
louiz’
2018-01-26 01:07:03 +01:00
a209e77fc2
Rename a few CI things to a useful names
louiz’
2018-01-26 00:35:08 +01:00
6dca27f08d
Only support gcc >= 5.0 from now on
louiz’
2018-01-25 02:19:05 +01:00
e267512ad4
Restore the is_one_of variable template
louiz’
2018-01-25 02:17:20 +01:00
3f85137265
Merge tag '7.2'
louiz’
2018-01-25 02:10:17 +01:00
97c8e2fed3
Release version 7.2
louiz’
2018-01-25 02:05:26 +01:00
2a2808ac62
Merge branch '3332-version-7-x-should-work-with-gcc-4-9-as-stated-in-install-file' into 'v7'
louiz’
2018-01-25 02:02:45 +01:00
33a5f1355d
Remove a variable template usage
louiz’
2018-01-24 21:42:26 +01:00
de73a728f2
Merge tag '7.1'
louiz’
2018-01-22 21:06:43 +01:00
23e51e814f
Release version 7.1
louiz’
2018-01-22 21:01:50 +01:00
06271729e3
Fix a crash happening when a user cancels a non-existing ad-hoc session
louiz’
2018-01-22 20:57:34 +01:00
24b4a09d47
By the way, start version 8.0
louiz’
2018-01-22 18:05:57 +01:00
b6b4cc1b1a
Remove the now useless .codecov.yml file
louiz’
2018-01-18 19:37:53 +01:00
f371d9ca46
xep-0106 escape the JIDs listed in a disco#items server query
louiz’
2018-01-18 19:34:56 +01:00
6e1af8b082
Release version 7.0
louiz’
2018-01-17 21:14:44 +01:00
5c75cd104f
By the way, we were on version 7.0~dev
louiz’
2018-01-17 21:09:25 +01:00
520711023f
Use our botan gh#1276 workaround only for botan < 2.4
louiz’
2018-01-17 20:59:38 +01:00
1bb3e2e7da
Clarify a few things about the dependencies
louiz’
2018-01-17 20:41:17 +01:00
7e64a2e361
Add a DEBUG_SQL_QUERIES to log info about the executed SQL queries
louiz’
2018-01-14 21:46:49 +01:00
3cd6490236
Remove all the ugly database debug
louiz’
2018-01-14 21:44:22 +01:00
b4b9828de5
Follow log_level even when using journald output
louiz’
2018-01-12 19:54:14 +01:00
34d6c2bce1
Don’t use codecov anymore
louiz’
2018-01-12 05:41:54 +01:00
7c8a7176d1
Only use sd_journal_* if we really are outputing to journald
louiz’
2018-01-12 03:59:46 +01:00
25423ffd43
Merge branch 'patch-1' into 'master'
louiz’
2018-01-10 16:10:43 +01:00
435a63a070
Change max line length to more conservative constants
Ailin Nemui
2018-01-10 13:36:53 +01:00
70ecb0f0d4
Also tabs
louiz’
2018-01-02 03:17:05 +01:00
3230866683
Little fix to the rst formatting in INSTALL and CHANGELOG files
louiz’
2018-01-02 03:13:16 +01:00
8409e50c1a
Fix a subtle iid parsing error in the adhoc code
louiz’
2017-12-27 19:36:36 +01:00
2d9f516d1d
Don’t answer to some requests towards MUC participants
louiz’
2017-12-27 19:23:28 +01:00
e4122880b5
Add a documentation to explain how to migrate from sqlite3 to postgresl
louiz’
2017-12-27 18:53:08 +01:00
bb2dd2b693
Update the changelogs for 7.0
louiz’
2017-12-27 18:04:12 +01:00
131ef9946f
Include the <fin><set><first/><last/></></> nodes in the MAM iq result
louiz’
2017-12-26 20:21:18 +01:00
37340e593f
Add a <x muc#user> node on outgoing private MUC messages
louiz’
2017-12-26 19:52:41 +01:00
286aa58c7b
Remove a warning (unused argument)
louiz’
2017-12-17 15:21:40 +01:00
044a1a0c8c
Use a specific (0.4.2) pyasn1 version in the debian Dockerfile
louiz’
2017-12-16 20:36:15 +01:00
ac0f96a5f4
Little update on the INSTALL.rst database doc
louiz’
2017-12-16 20:35:53 +01:00
8713f015b1
Remove the ci deploy stop
louiz’
2017-12-16 20:35:39 +01:00
2c4016a489
Merge branch 'postgresql' into 'master'
louiz’
2017-12-16 16:32:32 +01:00
b1f850b639
Update the docker images to enable postgresql, and document them
louiz’
2017-12-16 16:18:59 +01:00
8a12b547e8
Document the db_name option (with postgresql support)
louiz’
2017-12-16 15:42:22 +01:00
a557718bf2
db_name also accepts postgres:// scheme for PostgreSQL connections
louiz’
2017-12-16 15:34:54 +01:00
aaa9de8fe2
Merge branch 'policy-irc.gnome.org' into 'master'
louiz’
2017-12-15 16:32:52 +01:00
80168aef29
Add specific policy files for irc.gimp.org and irc.gnome.org
Maxime “pep” Buquet
2017-12-15 15:21:45 +00:00
53fc926dc8
Only run the unit tests with postgresql if TEST_POSTGRES_URI env var is set
louiz’
2017-12-12 23:23:18 +01:00
c3313d0d41
Always free the PGresult pointer returned by PQexec
louiz’
2017-12-05 01:05:45 +01:00
24dc05dd97
Run some of the ci tests against a postgresql docker container
louiz’
2017-12-03 16:28:38 +01:00
6dc49f3284
Fix a few warnings
louiz’
2017-12-01 15:06:23 +01:00
414bbca0bc
Handle postgresql and sqlite3 libs properly
louiz’
2017-12-01 14:59:22 +01:00
923cf31ba6
Merge branch 'postgresql' into 'postgresql'
louiz’
2017-11-29 21:40:46 +01:00
e1c7a6518a
Actually free the database on Database::close()
Jonas Wielicki
2017-11-29 08:03:23 +01:00
58f78f31e6
Make destructor of DatabaseEngine virtual
Jonas Wielicki
2017-11-28 20:38:29 +01:00
14dcc57a19
Make destructor of Statement virtual
Jonas Wielicki
2017-11-28 18:53:16 +01:00
4f7ad3f985
Support for full postgresql URIs
Jonas Wielicki
2017-11-28 18:52:56 +01:00
0168b96b79
Add postgresql support
louiz’
2017-10-04 21:28:18 +02:00
5b27cee972
Send \r\n at the end of the identd responses
louiz’
2017-11-27 00:48:40 +01:00
b82d662082
Add an e2e test to demonstrate #3304
louiz’
2017-11-07 23:16:42 +01:00
90dd8e8b42
Fix #3304
louiz’
2017-11-07 23:06:04 +01:00
cb6b50dc01
Change how we count the number of connected resources to a server
louiz’
2017-11-07 23:05:05 +01:00
f3b1e39cdd
Add a workaround for https://github.com/randombit/botan/issues/1276
louiz’
2017-10-26 19:13:23 +02:00
aa65cfd106
Release version 6.1
louiz’
2017-10-04 22:10:07 +02:00
83aef94a2c
Update changelog for version 6.1
louiz’
2017-10-04 21:48:19 +02:00
c5a0268536
Explicitely include all needed botan headers
louiz’
2017-10-04 21:25:27 +02:00
1c3d4f6f5f
Remove a redundant Body definition
louiz’
2017-09-21 21:57:01 +02:00
95ae49ef4d
Fix a little formatting issue in the changelog
louiz’
2017-09-21 21:54:12 +02:00
2a1577f344
Merge branch 'patch-1' into 'master'
louiz’
2017-10-01 06:07:10 +02:00
6d6b5f633b
Merge branch 'v6' into 'master'
louiz’
2017-09-21 17:53:58 +02:00
103e508f3b
compat: revert to using sqlite's close() function for compat with older distros. close_v2(), in use before this commit, was introduced as part of sqlite 3.7.14 (2012-09-03), and is as such incompatible with debian wheezy (3.7.13) and centos6 (3.6.20). FTR, Wheezy will be supported until May 2018, and centos6, until November 2020.
Romain DEP.
2017-09-21 08:38:04 +02:00
c1984733c4
Release version 6.0
louiz’
2017-09-19 21:38:38 +02:00
2dd38ec877
Stop allowing the 1024-bit for irc.ppirc.net
Link Mauve
2017-09-18 15:03:32 +02:00
ad2ddafc54
Add a missing changelog entry
louiz’
2017-09-16 14:09:03 +02:00
5669950e20
Merge branch 'patch-1' into 'master'
louiz’
2017-09-10 15:14:48 +02:00
c20978fc47
CMakeLists: Set symbol visibility to hidden.
Link Mauve
2017-09-10 03:09:19 +02:00
fe22211218
Fix the internal links in the documentation
louiz’
2017-09-09 17:22:16 +02:00
e217a19784
Fix the build without systemd, by adding a few define
louiz’
2017-09-09 17:21:51 +02:00
bfcf294517
Add the persistent_by_default configuration option
louiz’
2017-09-09 17:09:17 +02:00