path: root/src
AgeCommit message (Collapse)Author
2021-11-22Catch all botan exception when sending data, not just TLSlouiz’
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-01-15Use recipient-unavailable when we are not connected to the IRC serverlouiz’
Instead of remote-server-not-found See #3427
2021-01-15sasl: Use the nick from the presence if the ad-hoc one is not setlouiz’
fix #3450
2021-01-09Typos: negociat… -> negotiat…louiz’
2020-12-28fix localtime call -> _rlouiz’
2020-09-23Little code simplification for conf_filenamelouiz’
2020-09-23CLI: Add a test config flagFélix Baylac-Jacqué
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-23Entirely remove the code for the “preferred_from” nicklouiz’
Since private messages are now always coming from the server-wide JIDs
2020-09-23Do not mark message to bare JID private/no-copyGeorg Lukas
2020-09-23Always send direct messages to the user’s bare JIDJonas Schäfer
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-08-16In CAP messages, handle the last arg as a list of capabilitieslouiz’
Instead of just one. This fixes the issue of the "trailing whitespace" since we now split it on ' ' Fix #3442
2020-08-16Fix the parsing of IRC messages, especially with trailing spaceslouiz’
2020-08-12Handle SASL failures by displaying a message and aborting the connection9.0-rc1louiz’
2020-07-29Conditionally compile the SASL code only with botan and databaselouiz’
2020-06-15Implement SASL plain authenticationlouiz’
2020-05-26Add a missing ostream includelouiz’
Makes the build fail, on some condition. fix #3434
2020-05-04Fix clang warnings on some utils function. It’s also fasterlouiz’
2020-05-02Fix a std::move() warning with clanglouiz’
2020-05-02Fix a compile error with gcc 10louiz’
Fix #3431
2020-04-19Add missing affiliation and role in nick change presence3429-not-compliant-presencelouiz’
Fix #3429
2020-03-11Merge remote-tracking branch 'linkmauve/die-gc1.0-die'louiz’
2020-03-11Consider the nick change only if it is NOT a joinlouiz’
2020-03-11Fix a type stable-id -> stanza-id, and add a test case to be exhaustivelouiz’
2020-03-11Announce the urn:xmpp:sid:0 NS in MUC's disco#infolouiz’
As required by XEP 0359 Should fix #3369
2020-03-11Make sure we keep the stable-id and origin-id nodes when requiredlouiz’
2020-03-02Avoid nick changes when joining a room that was already joinedlouiz’
By an other resource, or anything fix #3423
2020-03-02Small trivial readability improvementlouiz’
2020-02-25Merge branch 'v8'louiz’
2020-02-25Remove all identd sockets on exit signallouiz’
fix #3420
2020-02-25Add an error message for udns error DNS_E_NODATA (cherry-picked from master)louiz’
In cases where the DNS server does not respond “domain not found” but “domain found, but no IP for that record type”, we just say “domain not found” too (instead of nothing, previously).
2020-02-25Ignore malformed identd querieslouiz’
fix #3422
2020-02-25Only consider sockets that are in valid states as identd candidateslouiz’
When an identd query happens, we check all the connected sockets for their local and remote ports, to compare them with the query. But we MUST only consider the connected ones because: - It doesn’t make sense to answer for a connection that has just been closed - A non-connected sockets is not in a valid state for this (specifically here: its ::port attribute is empty) fix #3421
2020-02-25Fix a typo in a function name (match_pairt)louiz’
It’s totally harmless
2019-11-13Don’t treat presence updates as MUC joinsEmmanuel Gil Peyrot
If the user sends a directed presence to an unjoined MUC without a <x/> element, send a presence error back instead of attempting to join it again, as this is almost never what the user wants. Fixes #3415.
2019-11-06Make is_empty work with any integral typelouiz’
2019-11-06Remove a useless std::move() and copylouiz’
2019-11-06Add a missing max_history_length field in the IRC server option formlouiz’
2019-11-06Properly set the default values for invalid integer conf optionslouiz’
fix #3372
2019-11-06Remove a useless “givin up” debug linelouiz’
2019-11-06Use the right int64 type for INTEGER rows in the dblouiz’
2019-09-27Use return {...} instead of make_tuplelouiz’
2019-09-27Add a missing "virtual", and remove a trivial "private" redundancylouiz’
2019-09-23Mark all rooms as non-anonymouslouiz’
close #3390
2019-09-23Trivial little naming changeslouiz’
2019-09-23Trivial cleanuplouiz’
2019-09-23Add a missing pragma oncelouiz’
2019-09-23USe safer functions, gmtime_r and localtime_rlouiz’
2019-09-22Always add a 210 status in our self join presencelouiz’
Because it's much much simpler than to track if we changed the nick that was requested in the join request. And client will probably not get confused, I hope.
2019-09-14Use a “complete” action for the last step of ad-hoc commands instead of nextlouiz’
2019-09-09Actually fix that correctly instead of the oppositelouiz’