summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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’
See https://xmpp.org/extensions/xep-0359.html
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’
2019-09-09Remove trailing / of fulljids if IRC host is missinglouiz’
2019-08-30Add an error message for udns error DNS_E_NODATAlouiz’
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).
2019-08-25Properly re-convert \01ACTION into a /me when reflected to the senderlouiz’
fix #3382 It still needs to be fixed properly by cleaning the way we send the messages in all direction etc. And this is ugly because, with just one message, we do a conversion in one direction, and then re-convert in the other direction. But at least it works and users will be happy, even if I’m not entirely satisfied with the code.
2019-08-20XEP-0410: set not-in-the-room error condition to not-acceptableJonas Schäfer
XEP-0410 demands that. This changes the error condition for all pings to the room, even those which aren’t self-pings, if the sender is not joined. The conditions of XEP-0410 were based on observing existing implementations.
2019-08-20XEP-0410: implement server-side optimisation for self-pingsJonas Schäfer
This prevents the ping from round-tripping through IRC and possibly a random other client of the user. Please see XEP-0410 for the rationale. Fixes #3385.
2019-07-29Add an error message on DNS resolution failure for IPv6 onlylouiz’