summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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’
2018-08-07Split the main() into smaller functionslouiz’
That’s not really enough, but better
2018-08-04Remove a useless fill_duration memberlouiz’
2018-08-04Fix the real_type of ThrottleLimitlouiz’
2018-08-04Remove a bunch of useless empty lineslouiz’
2018-07-27Rename SetDesc to set_desc, and only define it if USE_DATABASEsrciplouiz’
2018-07-27Make SetDesc staticJonas Wielicki
2018-07-27Fix incorrect setting of field description in Ad-Hoc config formsJonas Wielicki
The description has to be a child element of the field, not an attribute.
2018-07-24Reflect messages to XMPP only when they are actually sentlouiz’
2018-07-22Remove a useless getterlouiz’
2018-07-22add 'verify_certificate' as possible configuration token for policy filesRomain DEP
This lets the user configure a per-domain certificate validation policy
2018-07-14Fix a compile error with GCC 5.xlouiz’
fix #3366
2018-06-26Default the throttle limit to 10 if not built with database supportlouiz’
2018-06-25Fix a warning (unused variable) in some build configlouiz’