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
louiz’
9f7782bb0c
Add a global “persistent” option
2017-07-06 22:24:42 +02:00
louiz’
b71ca15a0f
Move a few functions from select_query to query
2017-06-23 00:13:38 +02:00
louiz’
8a7166eef9
Set the database pointer to nullptr after a close
2017-06-22 16:14:00 +02:00
louiz’
4d55a120d8
Re-implement correctly the handling of failure to open the database
...
If we can’t open it at startup, we exit.
If we can’t open it on reload, we keep the previously-opened database.
This way, we’re assured to always have a valid and open database available.
2017-06-21 17:41:03 +02:00
louiz’
651caabb2d
Remove a useless debug print in the e2e tests
2017-06-21 17:41:03 +02:00
louiz’
5b6b9bd372
Disable charybdis’ connection throttling
2017-06-21 01:18:09 +02:00
louiz’
e75d7ad8ea
Add a Record History option in the Channel configuration form
...
fix #3269
2017-06-16 10:48:54 +02:00
louiz’
40db183e37
Using OptionalBool, add RecordHistoryOptional col into IrcChannelOptions table
...
ref #3269
2017-06-16 09:54:36 +02:00
louiz’
4a963cc480
At startup, upgrade all database tables by adding missing columns
2017-06-16 09:53:49 +02:00
louiz’
a77c982f63
Fix cstdint -> cstddef, to fix compilation on freebsd
2017-06-14 18:47:01 +02:00
louiz’
34ed2cc1a9
Explicitely declare the add_param<Id> specialization
2017-06-14 17:25:15 +02:00
louiz’
5834dd53f3
Add a 0 default value for template argument N
2017-06-14 16:21:23 +02:00
louiz’
49bb28c623
Build the rpm with sqlite3
2017-06-14 14:23:22 +02:00
louiz’
6e5c1a1dc1
Don’t forget to bump to version 6.0~dev
2017-06-14 14:23:22 +02:00
louiz’
7ba8f1b325
Remove c-ares from the alpine image
2017-06-14 14:23:22 +02:00
louiz’
f671e5d7d0
Re-add the pacman -Syuuuuuuuuuu command in the packaging:archlinux build
2017-06-14 14:23:22 +02:00
louiz
5ba66c3351
Merge branch 'orm' into 'master'
...
Pure c++ sqlite3 ORM
Closes #3271
See merge request !11
2017-06-14 11:11:17 +02:00
louiz’
2677ac42e8
Fix compilation (many warnings, and a linkage error) with clang++
2017-06-14 10:46:44 +02:00
louiz’
dac19da4c7
Fix an inversion of tlsPorts_ and ports_
2017-06-14 10:46:44 +02:00
louiz’
922610cdbf
Run the coverity and freebsd tests in all louiz/biboumi branches
2017-06-14 00:27:42 +02:00
louiz’
3d1e85fd48
Update INSTALL.rst and CHANGELOG.rst for the sqlite dependency
2017-06-14 00:20:48 +02:00
louiz’
94dd16cbe6
The packaging:archlinux build only makes sense on the master branch
2017-06-14 00:19:15 +02:00
louiz’
8d1d822edf
Explicitely close the Database before re-opening it
2017-06-14 00:19:15 +02:00
louiz’
9defd0ccb7
Add a Statement class to manage the sqlite3_stmt objects and avoid leaks
2017-06-14 00:19:15 +02:00
louiz’
41c23aab37
Update the docker images and the gitlab-ci script to use sqlite3
2017-06-14 00:19:15 +02:00
louiz’
369ccb0376
Add default values for the database columns
2017-06-14 00:19:15 +02:00
louiz’
50cadf3dac
Implement our own database ORM, and update the whole code to use it
...
Entirely replace LiteSQL
fix #3271
2017-06-14 00:19:15 +02:00
louiz’
7ca95a0974
Find sqlite3 instead of litesql
...
Simplifies the CMakeLists.txt a little bit
2017-06-13 10:30:51 +02:00
louiz’
ceb496369f
Test that the archlinux package actually installs at least /usr/bin/biboumi
2017-06-01 17:38:47 +02:00
louiz’
a5f73969b0
Change the makepkg command used in the archlinux CI test
2017-06-01 17:38:47 +02:00
louiz’
ca9db6f933
Move biboumi.h.cmake inside the src/ directory
2017-05-28 01:01:24 +02:00
louiz’
6c2f79eeca
Fix the date format in the RPM spec file
2017-05-24 16:38:20 +02:00
louiz’
23a3372144
Release version 5.0
2017-05-24 13:44:32 +02:00
louiz’
97f01d8e12
Add biboumi-test-archlinux and biboumi-debian-packaging Dockerfiles
2017-05-24 13:44:32 +02:00
louiz’
d6ebcfa9a8
Fix the make command instruction in INSTALL.rst
2017-05-24 13:44:32 +02:00
louiz’
1b71e0f7d4
Add a e2e to check that timestamps in MAM requests are correctly handled
...
fix #3266
2017-05-23 11:46:22 +02:00
louiz’
19ed2e7f5f
Fix the datetime parsing to handle optional fractions of seconds
...
fix #3266
2017-05-23 11:46:14 +02:00
louiz’
d1dc788279
Better document the identd server
2017-05-23 11:45:59 +02:00
louiz’
3913e24ea3
Do not call pkg_check_module if the MODULE_FOUND is already cached
2017-05-23 11:45:59 +02:00
louiz’
cf1c8f188c
Remove a few warnings occuring in some build config
2017-05-21 12:23:10 +02:00
louiz’
154c12f363
The RPM doesn’t contain biboumi.cfg anymore
2017-05-21 12:05:24 +02:00
louiz’
2a637bee0a
Do not install biboumi.cfg in /etc/biboumi/
...
Because it would overwrite the user file when installing a new version. And
it’s basically useless anyway, because if the file doesn’t exist at all,
biboumi will write an helpful message on stderr, telling the user to create
the config file.
2017-05-21 12:02:23 +02:00
louiz’
0ee533256d
Handle messages 367 and 368 to display the banlist in the MUC
...
fix #3234
2017-05-18 21:59:57 +02:00
louiz’
3079c38d2d
Refactor the channel::self to point at the existing user
...
This way, the user is always up to date, instead of being a duplicate out of
sync.
fix #3258
2017-05-18 16:12:10 +02:00
louiz’
bb150d587f
Redirect welcome NOTICE to their channel, instead of sending a global one
...
fix #3236
2017-05-17 00:31:21 +02:00
louiz’
0180ea7e40
Update changelog
2017-05-17 00:31:21 +02:00
louiz’
34f0685c72
Test the default channel list limit
...
fix #3219
2017-05-16 23:55:15 +02:00
louiz’
9d1dc9138f
Make the default build type Release (instead of empty string)
2017-05-16 14:21:03 +02:00
louiz’
8cf0b833c4
Make the IRC channel configuration form available from the MUC config
...
fix #3250
2017-05-11 21:15:43 +02:00
louiz’
577a863977
Remove the “codecov_” prefix for builds codecov uploads too
2017-05-11 09:25:54 +02:00
louiz’
b98059ecdd
Fix the build when litesql is not used
2017-05-10 17:15:32 +02:00
louiz’
da55060840
Improve the handling of the biboudb.hpp dependencies
2017-05-10 16:50:11 +02:00
louiz
7a08196d09
Small fixes in biboumi.1.rst
2017-05-10 11:22:19 +02:00
louiz’
f7e4adb10b
Avoid any potential int overflow
2017-05-09 15:46:20 +02:00
louiz’
c046d2ea98
Also make the test artifacts expire in 2 weeks
2017-05-09 01:01:56 +02:00
louiz’
f7d4db4812
Remove a useless debug log
2017-05-08 23:02:14 +02:00
louiz’
984d71838e
Limit the number of rooms sent by default in the disco#items response
...
fix #3219
2017-05-08 23:01:21 +02:00
louiz’
595a4d6da8
Keep gitlab artifacts for 2 weeks
2017-05-08 20:32:31 +02:00
louiz’
da701069dc
Little fix and cleanup in the channels list code
2017-05-08 18:47:02 +02:00
louiz’
f200126f61
Add an execute_incomplete_hello_adhoc_command e2e test
2017-05-05 00:38:01 +02:00
louiz’
2588efb6ba
Include the policy files into the rpm
2017-05-04 00:08:42 +02:00
louiz’
2fe15b05f1
Add a irc.ppirc.net policy file
...
fix #3261
2017-05-03 23:59:29 +02:00
louiz’
2b4882f36a
Remove redundant irc.freenode.net policy file
2017-05-03 16:57:37 +02:00
louiz’
2c4a47e42d
Add -Wconversion compile flag
2017-05-03 16:55:33 +02:00
louiz’
0a8a77e64c
Fix a segmentation fault when connecting to a server without a port
...
fix #3260
2017-05-02 15:00:21 +02:00
louiz’
ea65b43cc2
Release version 4.2
2017-05-02 14:57:19 +02:00
louiz’
25d46924bc
Fix a segmentation fault when connecting to a server without a port
...
fix #3260
2017-05-02 14:46:03 +02:00
louiz’
b5c86edc08
Wrong ifndef, kek
2017-04-30 18:26:41 +02:00