summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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’
2018-10-04Do not send the IRC host directly as real JID of the userrefactor-resourcesJonas Schäfer
Fixes #3381
2018-10-03Make comment more preciseJonas Schäfer
2018-09-17Do not change our nick if we send a presence to a non-joined channellouiz’
fix #3378
2018-08-26Remove an unused function (and a useless debug log)louiz’
2018-08-26Trivial little syntax changeslouiz’
2018-08-26Replace a useless shared_ptr by a unique_ptrlouiz’
2018-08-24Fix a signed/unsigned mismatchlouiz’
2018-08-23Disable the throttle limit if negativelouiz’
Also, invalid values result in -1 being set
2018-08-23Fix one more warninglouiz’
2018-08-23Fix two more warningslouiz’
2018-08-23Fix a bunch of int to unsigned int conversion warningslouiz’
2018-08-23MaxHistoryLength now has some sensible default value if the user set a ↵louiz’
negative one
2018-08-23Add two missing reflouiz’
2018-08-23Add a missing <string> includelouiz’