Commit Graph
1626 Commits
Author SHA1 Message Date
Florian Schmaus 049da90ded utils/sha1.cpp: add missing <cstdint> include
Fixes compilation with GCC 13.

Downstream Gentoo bug: https://bugs.gentoo.org/902471

Signed-off-by: mathieui <mathieui@mathieui.net>
2023-10-06 00:10:46 +02:00
louiz’ 0061298dd0 Do not use ':' as a namespace separator with expat
Instead use \1, and build our own nodes by explicitely separating the
namespace and the node name.
2022-03-10 23:23:47 +01:00
louiz’ 18b6006e30 Follow-up of the previous on: also catch that on recv events
fix #3460
2021-11-22 12:34:15 +01:00
louiz’ b49594ea3e Catch all botan exception when sending data, not just TLS
On invalid ASN1 file or things that are not specific to TLS only, botan
throws other exceptions, and we need to catch those as well.

fix #3460
2021-11-22 12:15:38 +01:00
louiz’ 80c5a0e150 Use recipient-unavailable when we are not connected to the IRC server
Instead of remote-server-not-found

See #3427
2021-01-15 12:34:30 +01:00
louiz’ a4512cd3ae sasl: Use the nick from the presence if the ad-hoc one is not set
fix #3450
2021-01-15 12:33:18 +01:00
louiz’ 1b1b03b21b Print each e2e test output on only one line 2021-01-14 12:25:38 +01:00
louiz’ 5eb825bd61 Typo poezioi 2021-01-12 03:07:48 +01:00
louiz’ e02344a7df Only clone things using lab.louiz.org, and not git.louiz.org 2021-01-11 11:41:52 +01:00
louiz’ 692f5a4e66 docker: use botan package from alpine instead of building from sources 2021-01-11 11:39:11 +01:00
louiz’ fdb3e739b0 Typos: negociat… -> negotiat… 2021-01-09 22:06:33 +01:00
louiz’ 19c577b937 Remove .clang-format file 2020-12-28 23:43:14 +01:00
louiz’ 752931b7a5 fix localtime call -> _r 2020-12-28 23:43:13 +01:00
Emmanuel Gil Peyrot 99bb8c977c irc.ppirc.net is no more, remove its configuration 2020-11-09 01:27:42 +01:00
louiz’ e74471067c Changelog for -t feature 2020-09-23 23:58:58 +02:00
louiz’ 5607c101d4 Little code simplification for conf_filename 2020-09-23 23:55:50 +02:00
Félix Baylac-Jacqué 0bb4f144fc CLI: Add a test config flag
Adding a -t configuration flag that will make biboumi check the
configuration file syntax.

Such a syntax check is handy for some deployment tools. It helps the
tooling to statically analyse the configuration file and prevent
unecessesary deployments when the configuration file is clearly
incorrect.

Updating the synopsis with this new flag.
2020-09-23 23:55:50 +02:00
louiz’ 579d46f78a Update the changelog for the private message changes 2020-09-23 23:40:00 +02:00
louiz’ 0fadb2d1fb Trivial comment change in an e2e test 2020-09-23 23:39:46 +02:00
louiz’ 9cb6a0c2c9 Entirely remove the code for the “preferred_from” nick
Since private messages are now always coming from the server-wide JIDs
2020-09-23 23:38:46 +02:00
Georg Lukas 9a90c76eba Do not mark message to bare JID private/no-copy 2020-09-23 23:20:47 +02:00
Jonas Schäfer f8da92a8be Always send direct messages to the user’s bare JID
This has the following advantages:

- Works while all resources are offline (persistent channels)
- Helps with combating duplicate messages when sent to different
  resources, resources going offline, carbon-copying etc. etc.

As a side effect, this also makes the MUC PMs not be MUC PMs and
always be emitted from the server-wide JID of the sending user.

Fixes #3313.
2020-09-23 23:20:47 +02:00
louiz’ 5900c19c22 Start version 10.0 2020-09-23 23:18:12 +02:00
louiz’ 9ad92a900a Merge branch 'v9' 2020-09-23 23:17:44 +02:00
louiz’ 6174ceb4e1 Release version 9.0 2020-09-22 22:50:04 +02:00
louiz’ f548f63178 Merge branch 'v9' 2020-08-16 16:09:13 +02:00
louiz’ b98434b5d0 In CAP messages, handle the last arg as a list of capabilities
Instead of just one. This fixes the issue of the "trailing whitespace" since we
now split it on ' '

Fix #3442
2020-08-16 16:05:15 +02:00
louiz’ df2fe0bc4b Fix the parsing of IRC messages, especially with trailing spaces 2020-08-16 16:03:11 +02:00
louiz’ d016010333 Fix the archlinux url in Dockerfile 2020-08-15 22:09:29 +02:00
louiz’ 063e6b127e Handle SASL failures by displaying a message and aborting the connection 2020-08-12 09:40:36 +02:00
louiz’ 4d6fdb0795 Document the SASL feature 2020-08-12 09:39:24 +02:00
louiz’ 189015afb4 Conditionally compile the SASL code only with botan and database 2020-07-29 00:37:24 +02:00
louiz’ e4550d324f e2e: do not fail to start if no irc database exist yet 2020-06-15 00:47:27 +02:00
louiz’ 2e1ddeb654 Implement SASL plain authentication 2020-06-15 00:18:51 +02:00
louiz’ 655bc344d4 Add a missing ostream include
Makes the build fail, on some condition.

fix #3434
2020-05-26 21:06:36 +02:00
louiz’ 99c76f0f35 ci: Do not fail the packaging:rpm job if test:fedora did not run 2020-05-22 11:15:16 +02:00
louiz’ b0b1cd9824 ci: do not allow packaging jobs to fail 2020-05-22 11:11:31 +02:00
louiz’ bc1fa4bc31 ci: Install the correct rtd_theme package, not the documentation… 2020-05-21 23:16:55 +02:00
louiz’ 6ed9545abb ci: use the container tag instead of docker, for the build steps
This way, this will use either the docker or the podman runners.

The other steps still use only docker, because I didn’t solve the cache
issue on podman yet.
2020-05-21 22:51:34 +02:00
louiz’ c7eb46b2ff ci: Add sphinx_rtd_theme to fedora image to build the doc 2020-05-21 22:45:25 +02:00
louiz’ 17a5f1fae0 ci: Use fedora:latest instead of doc-builder and fedora:oragono 2020-05-21 22:45:04 +02:00
louiz’ 0479bd0319 Merge branch 'v8' 2020-05-09 15:01:10 +02:00
louiz’ 23c96accf7 Release version 8.5 2020-05-09 14:44:00 +02:00
louiz’ 25530cf9ee e2e: Switch from coroutines to async, for python3.8 2020-05-09 14:41:03 +02:00
louiz’ f76cd93aff Fix clang warnings on some utils function. It’s also faster 2020-05-09 14:40:56 +02:00
louiz’ c671da13b3 Fix a std::move() warning with clang 2020-05-09 14:40:49 +02:00
louiz’ fa905a741f Fix a compile error with gcc 10
Fix #3431
2020-05-09 14:40:41 +02:00
louiz’ d34a25ca34 Run the test against the oragono images 2020-05-07 00:00:10 +02:00
louiz’ 5c1f45926d e2e: accept a regexp version of oragono, not just 2.0.0 2020-05-06 23:56:44 +02:00
louiz’ 71efad0f65 Update the test docker images to contain oragono instead of charybdis 2020-05-06 23:55:57 +02:00