Commit Graph
100 Commits
Author SHA1 Message Date
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
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
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
louiz’ 83aef94a2c Update changelog for version 6.1 2017-10-04 21:51:58 +02:00
louiz’ c5a0268536 Explicitely include all needed botan headers
Most importantely, include parsing.h, since read_cfg is not implicitely
included anymore in botan 2.3, and that does not compile.

Also do not included botan.h anymore, since it’s deprecated in botan 2.3

fix #3296
2017-10-04 21:51:58 +02:00
louiz’ 1c3d4f6f5f Remove a redundant Body definition 2017-10-04 21:51:58 +02:00
louiz’ 95ae49ef4d Fix a little formatting issue in the changelog 2017-10-04 21:51:58 +02:00
louiz’ 2a1577f344 Merge branch 'patch-1' into 'master'
Stop allowing the 1024-bit for irc.ppirc.net

See merge request louiz/biboumi!16
2017-10-01 06:07:10 +02:00
louiz’ 6d6b5f633b Merge branch 'v6' into 'master'
compat: revert to using sqlite's close() function for compat with older distros.

See merge request !17
2017-09-21 17:53:58 +02:00
louiz’ c1984733c4 Release version 6.0 2017-09-19 21:40:40 +02:00
louiz’ ad2ddafc54 Add a missing changelog entry 2017-09-16 14:09:03 +02:00
louiz’ 5669950e20 Merge branch 'patch-1' into 'master'
Set symbol visibility to hidden in cmake

See merge request !15
2017-09-10 15:14:48 +02:00
louiz’ fe22211218 Fix the internal links in the documentation 2017-09-09 17:22:16 +02:00
louiz’ e217a19784 Fix the build without systemd, by adding a few define 2017-09-09 17:21:51 +02:00
louiz’ bfcf294517 Add the persistent_by_default configuration option
fix #3293
2017-09-09 17:09:17 +02:00
louiz’ 8d99374f1f When biboumi is logging into journald, use sd_journal_send
This makes sure that multi-lines messages are properly parsed as a single
message by journald.

fix #3268
2017-09-06 21:30:44 +02:00
louiz’ dabc48b79b Mark messages from the IRC server as private and no-copy
fix #3284
2017-08-30 16:14:35 +02:00
louiz’ 98227db6ad Remove a forgotten and useless comment
[skip-ci]
2017-08-27 22:41:18 +02:00
louiz’ e0d019696e Update the Archive documentation, regarding the previous commit 2017-08-27 22:37:55 +02:00
louiz’ fcaffb9e77 Add support for the "history" node on MUC join
Supports the "seconds", "maxstanzas", "since" and "maxchars" (but only =0)
attributes.

fix #3270
2017-08-27 22:37:46 +02:00
louiz’ 25243f53c2 In fixed mode, server messages come from biboumi’s hostname directly
Instead of irc.example.com@biboumi, because that’s actually user named
“irc.example.com”, in that case.
And that fixes the raw messages in fixed mode.

fix #3286
2017-08-27 14:32:29 +02:00
louiz’ 2c717d347d Add an index for the muc_log_line table
This immensely speeds up the archive select queries.

fix #3292
2017-08-26 17:42:59 +02:00
louiz’ 655151d88a Cache the encoding_in database value, to avoid doing a query for each message 2017-08-26 13:51:15 +02:00
louiz’ 1997fb5c6a Small refactor in on_quit() 2017-08-24 23:56:00 +02:00
louiz’ c23c99dac1 Don’t forget to remove the user from the channel, when kicked
fix #3291
2017-08-24 23:55:32 +02:00
louiz’ fe4ceb72d0 Add an e2e test to demonstrate bug #3291 2017-08-24 23:54:39 +02:00
louiz’ 49c86398a5 Change docker documentation regarding the database permissions
fix #3290
2017-08-19 13:18:56 +02:00
louiz’ 2a62b8b082 Fix a sqlite3 leak when the database fails to open 2017-08-19 13:02:34 +02:00
louiz’ 9648fd286c Display the correct error message when we fail to open the sqlite3 db
fix #3290
2017-08-19 13:02:13 +02:00
louiz’ 5b0b41f40a Build the docker image with --no-cache, --pull 2017-08-04 15:29:58 +02:00
louiz’ 97b52526c5 ci: debian branch, pull the debian branch before trying to merge with master 2017-08-02 22:08:42 +02:00
louiz’ cad70ba453 Re-add a removed (by mistake) pointer null check 2017-08-02 22:00:28 +02:00
louiz’ cd70181cb0 Fix the hostname of test3.biboumi.louiz.org 2017-08-02 15:50:13 +02:00
louiz’ 07683df5b9 Allow failures of packaging jobs 2017-08-02 15:15:06 +02:00
louiz’ 933eb65e7b Start 3 biboumi services in docker deploy job 2017-08-02 13:05:21 +02:00
louiz’ dc8f07a566 ci: update the debian packaging image name 2017-08-01 22:04:40 +02:00
louiz’ 369cf51968 Debian now includes libasan3 instead of 1 2017-08-01 22:02:03 +02:00
louiz’ 765e07d61f Fix the conf in the alpine docker image 2017-08-01 22:02:03 +02:00
louiz’ 488c36f22e Docker: run the openssl commands as the tester user, for permission issues 2017-08-01 22:02:03 +02:00
louiz’ 5f5789a0ed Add a deploy job 2017-07-31 23:24:03 +02:00
louiz’ 6187423e6e Aaaand move the biboumi.cfg file for docker 2017-07-26 22:32:54 +02:00
louiz’ f1306c62e0 Also move the README.md in that directory 2017-07-25 21:53:56 +02:00
louiz’ 22cb2659e9 Move the Dockerfile inside an alpine subdirectory 2017-07-25 21:51:50 +02:00
louiz’ 308869aa73 Do not ignore empty values when receiving a data form
Otherwise, these fields cannot be emptied by the user

fix #3281
2017-07-21 17:27:03 +02:00
louiz’ f125de4833 Add the possibility to invite any external JID to a room
fix #3285
2017-07-20 23:09:37 +02:00
louiz’ 407f95a108 Do not reply with an error when receiving a presence for a user JID
fix #3224
2017-07-20 21:34:27 +02:00
louiz’ 24f2511d7b In fixed mode, fix the iid type of the component JID 2017-07-20 21:28:18 +02:00
louiz’ ffb402f0ad Drop support for botan < 2.0
fix #3274
2017-07-20 21:22:58 +02:00
louiz’ f0f3d3d4e2 Remove the now useless “find … touch” hack in gitlab-ci.yml 2017-07-18 22:56:37 +02:00
louiz’ f7cbe8531d Correctly remove the last resource from the channel, in persistent mode
fix #3277
2017-07-16 20:22:23 +02:00
louiz’ c0611c23f0 Add a failing test demonstrating 3277 2017-07-16 20:22:23 +02:00
louiz 9131e63b74 Merge branch 'biboumi_jid_in_users_rosters' into 'master'
Use a db roster to manage biboumi’s presence with the contacts

Closes #3217

See merge request !13
2017-07-16 01:13:04 +02:00
louiz’ 88770979c3 Add a changelog entry for the roster feature 2017-07-16 00:16:43 +02:00
louiz’ 729ea131c9 Send an unsubscribed presence on a probe if we don’t have a roster entry 2017-07-16 00:16:43 +02:00
louiz’ 50a2bd736e Answer to presences of type='probe' 2017-07-16 00:16:43 +02:00
louiz’ befdefd987 Document the biboumi and IRC-server JIDs in user’s roster 2017-07-16 00:16:43 +02:00
louiz’ a95197509c Add an e2e test for the IRC server roster presence 2017-07-16 00:16:43 +02:00
louiz’ dd343609d5 Only send the IRC server presence if the user has this JID in their roster 2017-07-16 00:16:43 +02:00
louiz’ f9a6f97396 Implement the roster presences from IRC servers 2017-07-16 00:16:43 +02:00
louiz’ 368bb82818 Send an additional unsubscribed presence when receiving an unsubscribe one 2017-07-16 00:16:43 +02:00
louiz’ 7e5cd2f130 Add e2e tests for the (un)subscribe thing 2017-07-16 00:16:43 +02:00
louiz’ 71f125db1a Send responses when we receive an unsubscribed presence 2017-07-16 00:16:43 +02:00
louiz’ 84034ed3dc Use a db roster to manage biboumi’s presence with the contacts 2017-07-16 00:16:43 +02:00
louiz’ b233470710 Send the 332 status only for our own presences 2017-07-14 15:18:01 +02:00
louiz’ 8232c2cccc Remove an unused variable 2017-07-08 19:21:53 +02:00
louiz’ 3974371e7b Replace a function argument from ... to the template Args&&... thing 2017-07-08 19:07:53 +02:00
louiz’ fd7ee48a86 Remove many log_debug from the database module 2017-07-08 18:11:25 +02:00
louiz’ 9fa1852c7e Send status code='332' on biboumi or IRC server’s shutdown 2017-07-08 18:10:47 +02:00
louiz’ 3a95076db4 Send a 110 status code on a QUIT received for ourself 2017-07-08 17:07:29 +02:00
louiz’ faed8952cb Remove a bunch of useless string_literal usage 2017-07-08 14:04:35 +02:00
louiz’ 7a9b2dca06 Use a more precise return type, instead of auto 2017-07-08 12:37:03 +02:00
louiz’ cf56b60fd3 Remove all the empty “options” members in Column classes
By using SFINAE to use that member only when it exists.
2017-07-08 12:36:08 +02:00
louiz’ 870d462914 Merge branch 'v4'
Everything was already cherry-picked, or something like that, so no changes
are involved, at all.
2017-07-07 20:36:40 +02:00
louiz’ 43b5b696a3 Add some scopes around various XmlSubNode 2017-07-06 22:38:09 +02:00