louiz’
1472adfa77
Remove a too old joke
2017-04-30 15:14:22 +02:00
louiz’
00a71ff241
Use our own proxy link to display the badges
...
For privacy reasons
[skip-ci]
2017-04-25 20:16:20 +02:00
louiz’
3af9d0ac67
Make sure we don’t exceed 512 bytes when grouping JOINs
2017-04-21 22:55:24 +02:00
louiz’
f588ce071e
Group simultaneous JOINs into a single command, to avoid flooding
...
We still split the JOINs with a key and the ones without
2017-04-21 22:47:25 +02:00
louiz’
3666f35e0e
Use alpine for the docker image, and simplify the config + run stuff
...
Using env variable directly used by the process, it’s easier than calling
sed on the configuration file before we start the process. Also we don’t
need to start as root anymore, and it’s a lot cleaner.
2017-04-21 11:49:23 +02:00
louiz’
eac144acda
Configuration options can be overridden by setting env values
2017-04-21 11:19:36 +02:00
louiz’
cf87cf0892
Better way to init the msghdr fields
2017-04-20 15:44:46 +02:00
louiz’
06094245e9
Add a e2e test on alpine
2017-04-20 22:44:14 +02:00
louiz’
69fd6cc4c3
Explicitely init the msghdr fields, to be compatible with any implementation
2017-04-20 19:14:59 +02:00
louiz’
78765a4bc4
Remove the e2e test for the linger_time
2017-04-20 10:15:34 +02:00
louiz’
5ef674c486
Revert "Add a linger_time configuration option on IRC servers"
...
This reverts commit 5d801ddcd0 .
2017-04-20 10:12:00 +02:00
louiz’
e3ee824e5c
Revert "Cancel the IRC server linger timer when we try to-rejoin a channel on it"
...
This reverts commit 45f7396c8d .
2017-04-20 10:09:35 +02:00
louiz’
42677ae46c
Fix the tests to take into account the new “your are exempt bla” line
2017-04-20 18:06:53 +02:00
louiz’
51696c091c
Make sure the channel is joined before trying to leave it
...
fix #3243
2017-04-19 23:33:48 +02:00
louiz
47ff1cd311
Merge branch 'mam_default_limit' into 'master'
...
Limit of 100 MAM messages, if no other limit has been set by the client
Closes #3256
See merge request !9
2017-04-19 23:15:49 +02:00
louiz’
eec8f68de7
Shorten the name of the tags sent to codecov
2017-04-20 00:42:41 +02:00
louiz’
727d887d7b
Fix wrong JID computing when sending iq ping or version in fixed mode
...
fix #3259
2017-04-20 00:24:59 +02:00
louiz’
96d460de48
Add the default MAM limit in the changelog
2017-04-19 23:05:08 +02:00
louiz’
a4e2e56ad3
Add an e2e test for the mam default limit
...
We send 150 messages, then retrieve the archive. We should receive messages
from 50 to 149 only.
2017-04-19 23:02:08 +02:00
louiz’
c2cc9cb96f
Remove the flood limit in our e2e charybdis configuration
2017-04-19 23:02:08 +02:00
louiz’
54fa739d6b
Limit of 100 MAM messages, if no other limit has been set by the client
...
fix #3256
2017-04-19 23:02:08 +02:00
louiz’
4bae383c1d
Take into account the include path found by cmake when looking for litesql lib
2017-04-19 21:29:31 +02:00
louiz’
3238404753
Avoid adding more that one “XMPP reconnection” timed event at the same time
...
Fix a semblance of infinite and busy loop, that could occur if biboumi’s
poller is woken up multiple times while the XMPP server is not reachable.
2017-04-17 14:47:21 +02:00
louiz’
dc5ad49b40
Avoid building test_suite when we make install
2017-04-13 00:19:17 +02:00
louiz’
3a8203c366
Handle the RSM "max" value in the MAM requests
...
fix #3255
2017-04-12 17:07:39 +02:00
louiz’
4fde4d7369
docker: Run the process using “exec”, to be able to cleanly receive signals
2017-04-12 19:27:52 +02:00
louiz’
7d2b8eb526
Always chown biboumi /var/lib/biboumi when the docker container starts
...
This fixes permission problems when we bind a volume that is not owned by
the biboumi user.
2017-04-12 18:26:30 +02:00
louiz’
dec3e42ae3
Add an e2e test for the ad-hoc reload command
2017-04-10 10:09:00 +02:00
louiz’
451f28f5c4
Change the dates of source files before each build, to avoid useless rebuild
2017-04-10 00:18:29 +02:00
louiz’
68d6b82940
Properly handle multiline topics
...
fix #3254
2017-04-09 23:05:32 +02:00
louiz’
79b24d7eb5
Add an e2e test for the ad-hoc ping
2017-04-07 19:55:15 +02:00
louiz’
8a912ea3a3
Apply a few clang-tidy cppcoreguidelines-* fixes
2017-04-07 11:10:51 +02:00
louiz’
0dfeb5a94c
Trivial change in the doc
2017-04-07 11:02:20 +02:00
louiz’
be9c577de8
Apply all the clang-tidy performance-* fixes
2017-04-07 19:01:49 +02:00
louiz’
b82a14f20e
Fix the display of the number of checks to be run by the e2e tests
2017-04-07 19:01:08 +02:00
louiz’
ccb4ee098f
Apply all the clang-tidy misc-* fixes
2017-04-07 18:53:12 +02:00
louiz’
5402a256d1
Apply all the clang-tidy modernize-* fixes
2017-04-07 18:45:24 +02:00
louiz’
dd4c54c6cd
Add a paragraph describing the automated tests
2017-04-06 22:12:20 +02:00
louiz’
0878a0342c
Do not allow pings from resources that aren’t in the channel
...
fix #3252
2017-04-04 21:38:53 +02:00
louiz’
e4cc69607c
Handle some iq of type='error' as valid ping response
...
fix #3251
2017-04-04 18:40:30 +02:00
louiz’
62225e8fe9
Talk about debug logs in contributing.rst and a gitlab ticket template
2017-04-03 11:22:50 +02:00
louiz
15de3334d3
Merge branch 'patch-1' into 'master'
...
Fix typo in CHANGELOG.rst biboumi → botan
See merge request !8
2017-03-31 16:51:18 +02:00
louiz’
7f2127a7ea
Add the archive ID to messages when they are sent to users
...
This makes us compatible with mam 6.0
fix #3249
2017-03-30 18:16:44 +02:00
louiz’
1090f3ceda
Merge branch 'v4'
2017-03-30 09:44:47 +02:00
louiz’
a77ae2d048
Run pacman -Syuu before runing the tests in archlinux
2017-03-29 16:59:46 +02:00
louiz’
1a09c965eb
Remove two sneaky log_debug
2017-03-29 23:32:43 +02:00
louiz’
52b795d119
Add a missing namespace in the server disco#info response
2017-03-29 16:28:25 +02:00
louiz’
ce2daa5ea0
Respond to disco#info on MUC JIDs
...
Otherwise, some client won’t do MAM, since they don’t know biboumi supports
it.
2017-03-29 16:28:25 +02:00
louiz’
e8ccfe97be
Add a missing “pass by reference”
2017-03-29 16:28:25 +02:00
louiz’
a3844c1d9f
Change mam namespace to mam:2, instead of mam:1
2017-03-29 16:28:25 +02:00
louiz’
54bb67b1e6
Update changelog for 4.1 release
2017-03-28 10:19:34 +02:00
louiz’
07c8567b9f
e2e: Display the correct number of tests that will run
2017-03-28 10:17:33 +02:00
louiz’
c026f41eeb
Add the persistent feature in the changelog
...
[skip ci]
2017-03-27 23:11:03 +02:00
louiz
4baedc45d0
Merge branch 'persistent_chans' into 'master'
...
Add a Persistent option on channels
Closes #3230
See merge request !6
2017-03-27 14:55:43 +02:00
louiz’
55f7434925
Do not remove our resources if the QUIT message doesn't come from us
2017-03-27 11:49:07 +02:00
louiz’
b7789fe586
Add a Persistent option on channels
...
fix #3230
2017-03-27 11:49:07 +02:00
louiz’
1017e8f46b
Document the fact that “make” builds the tests as well now
2017-03-27 11:47:21 +02:00
louiz’
1fe2b1566a
Release version 4.1
2017-03-21 16:46:51 +01:00
louiz’
abb9c08828
Add a missing ifndef BOTAN
2017-03-21 15:12:02 +01:00
louiz’
8ce6759eae
Add missing botan/version.h includes
2017-03-21 15:04:45 +01:00
louiz’
5d0bae6597
Re-add the c-ares lib in the docker test images
2017-03-21 15:01:28 +01:00
louiz’
40e6a6a02e
Update CI variables to the latest 9.0 version (build->job)
2017-03-21 18:20:19 +01:00
louiz’
5f158b4d91
Update the ci to use the latest image, and remove deprecated jobs
2017-03-21 11:49:21 +01:00
louiz’
6605f8b5e5
Update changelog for 4.1 release
2017-03-21 11:36:10 +01:00
louiz’
cb79fc1b3d
Update the verify_certificate_chain code to work with botan >= 1.11.34 as well
...
ref #3245
2017-03-21 11:36:10 +01:00
louiz’
395297e488
Use the new botan 1.11.32 Tls::Client API (but stay compatible with older ones)
...
ref #3245
2017-03-21 11:36:10 +01:00
louiz’
27940ecdd1
Backport the master FindBOTAN.cmake, to find botan 2.0 as well
...
ref #3245
2017-03-21 11:36:10 +01:00
louiz’
e1ae1194b6
ci: Add an archlinux build that tests the AUR packaging
2017-03-17 21:52:50 +01:00
louiz’
2d50fec964
cmake: Make some libraries depend on the generated files from database lib
2017-03-15 18:31:59 +01:00
louiz’
7c036d0593
ci: do not load all the artifacts in the coverity build
2017-03-14 22:03:11 +01:00
louiz’
28a537a90a
Make things work with botan < 1.11.34
2017-03-14 21:47:09 +01:00
louiz’
0ab40dc1ab
Refactoring louloulibs and cmake
...
Use OBJECT libraries
Remove the louloulibs directory
Write FOUND variables in the cache
2017-03-14 21:45:23 +01:00
louiz’
2d3806152e
Doc: reformulate the signal part, to mention the re-opening of log files
2017-03-12 16:52:46 +01:00
louiz’
ef08e53b7e
make: trivial quote fix
2017-03-12 16:52:27 +01:00
louiz’
7bf2402cad
cmake: Correctly use the iconv libraries instead of twice the expat one
2017-03-12 16:51:46 +01:00
louiz’
a6f6e36594
cmake: Improve the usage of PARENT_SCOPE
2017-03-12 16:51:19 +01:00
louiz
4d42dddf46
Merge branch 'cmake_remove_libs' into 'master'
...
cmake: Remove the intermediate static libs
See merge request !7
2017-03-10 11:24:27 +01:00
louiz’
2b6b577375
cmake: do not use intermediate libraries at all (not even OBJECTS)
2017-03-10 11:11:08 +01:00
louiz’
2013ed6f98
cmake: Remove the intermediate static libs
...
Should compile faster (and also take less space on disk)
2017-03-10 10:33:41 +01:00
louiz’
d44125371f
Free the result pointer provided by udns
...
Fix a memory leak that would occur on every DNS request, when using udns
2017-03-09 18:49:48 +01:00
louiz’
a0a2de3b4d
Revert "Don’t send the unavailable presence to all resources, in the virtual channel"
...
This reverts commit 38ff50f5d2 .
2017-03-08 22:28:00 +01:00
louiz’
38ff50f5d2
Don’t send the unavailable presence to all resources, in the virtual channel
2017-03-08 22:09:57 +01:00
louiz’
27195a9dd4
Document the ad-hoc configure forms
2017-03-08 22:08:37 +01:00
louiz’
0205076106
Reduce the scope of a variable
2017-03-08 19:04:54 +01:00
louiz’
f0bc6c83a8
Pass the shared_ptr by reference, to avoid useless copies
2017-03-08 19:04:15 +01:00
louiz’
cd92baae3f
Little refactor in timed_events
...
Also makes the coverage code deterministic
2017-03-07 18:27:27 +01:00
louiz’
6cb7787512
Small resolver refactor
...
Makes the codecoverage deterministic (it does not depend on the order of
v4/v6 resolution)
2017-03-07 17:47:10 +01:00
louiz’
d2f4235ebf
Replace : with _ in the codecov flag
2017-03-07 09:12:46 +01:00
louiz’
a834a8dad5
Use CI_BUILD_NAME as the codecov tag
2017-03-07 03:17:13 +01:00
louiz’
470fdaf8bd
ci: Use the build:7 artifacts for test:without_udns
2017-03-07 02:58:07 +01:00
louiz’
3316218145
ci: Run a e2e test without udns (and upload to codecov)
2017-03-07 02:48:39 +01:00
louiz’
f4ffbcabc8
e2e: Make the tests work without udns too
2017-03-07 02:48:20 +01:00
louiz’
d9811320e2
Do not pass the build artifacts to packaging:deb job
2017-03-07 01:47:58 +01:00
louiz’
03d608e9a7
Improve the make coverage_* commands
2017-03-07 01:26:12 +01:00
louiz’
cf2d4fb6a2
ci: refactor, comments, use the artifacts from a stage to the next
2017-03-07 01:26:12 +01:00
louiz’
11c63ebceb
Add the gcrypt dependency to the biboumi-test docker images
2017-03-06 01:22:51 +01:00
louiz’
99a4ddedaf
Remove the embedded sha1 code, and use one of botan or gcrypt
...
This adds a hard dependency on one of Botan or gcrypt. Botan is already a
recommended dependency, and gcrypt is probably packaged almost everywhere,
so this should not be a big deal.
ref #3241
2017-03-06 00:57:33 +01:00
louiz’
d81c3ad5ac
Fix the order of from and to address in muc traffic info reply
...
And add a test for it.
fix #3238
2017-03-04 14:03:08 +01:00
louiz’
e6e37a6f20
Don’t wrap the lines in docker/README.md
2017-03-01 14:14:39 +01:00
louiz’
ecdf18dfc6
ci: remove packaging:docker
2017-02-28 23:57:13 +01:00