summaryrefslogtreecommitdiff
path: root/src/xmpp/biboumi_component.cpp
AgeCommit message (Collapse)Author
2021-01-15Use recipient-unavailable when we are not connected to the IRC serverlouiz’
Instead of remote-server-not-found See #3427
2020-09-23Entirely remove the code for the “preferred_from” nicklouiz’
Since private messages are now always coming from the server-wide JIDs
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
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-09-23Mark all rooms as non-anonymouslouiz’
close #3390
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.
2018-09-17Do not change our nick if we send a presence to a non-joined channellouiz’
fix #3378
2018-08-26Trivial little syntax changeslouiz’
2018-08-23Fix a bunch of int to unsigned int conversion warningslouiz’
2018-08-04Remove a bunch of useless empty lineslouiz’
2018-06-19Reject messages from unjoined resources, with an errorlouiz’
fix #3346
2018-06-17Channels’ disco#info includes the number of participantslouiz’
fix #3311
2018-06-01Make the global ad-hoc configure command available in fixed modelouiz’
fix #3360
2018-04-29mam: Send “fin complete” only when appropriatelouiz’
Also simplify how we did the whole “limit + 1” And fix one bad interpretation of the XEP for the case where the query has no after or before restriction. fix #3349
2018-04-24Revert "Use a different Date data type"louiz’
This reverts commit 857c7d3972a03cbeebf730d99b924d3710dee6a0.
2018-04-24Revert "Use the Date to find a next page in RSM, not the id"louiz’
This reverts commit 5ef7ba08028065b03d51d1dc70bb35aeb41ae19d.
2018-04-16Use Config::is_in_list() to allow for multiple adminsEmmanuel Gil Peyrot
2018-04-14Use the Date to find a next page in RSM, not the idlouiz’
This way, it works, whatever the order of insertion in the database was. fix #3343
2018-04-13one log_debug -> log_error, also some trivial indentlouiz’
2018-04-11Use a different Date data typelouiz’
PLEASE backup your database before testing this commit, and report any migration issue. In postgresql, we use timestamp with timezone. In sqlite3 we use REAL (the date is expressed as julianday) This requires a migration of the muclogline_ table: In postgresql it’s pretty simple, we convert all the integer into timestamps With sqlite3, we actually rename the table, create the new one with the correct type, then copy everything to the new table, with a conversion function for the Date_ column, and then we delete the old table. fix #3343
2018-03-26Channel disco-info: use shorter stringGeorg Lukas
2018-03-23Change the nick of the joining user AFTER sending all the join stufflouiz’
fix #3305
2018-03-23Properly handle force-join presences by sending everything in returnlouiz’
fix #3305
2018-03-18Advertise the muc#stable_id feature on disco#info resultslouiz’
From XEP 0045: “Note: the requirement to reflect the 'id' attribute was added in version 1.31 of this XEP. Servers following the new specification SHOULD advertise that with a disco info feature of 'http://jabber.org/protocol/muc#stable_id' on both the service domain and on individual MUCs, so that clients can check for support.”
2018-03-18Reflect message IDs in channel MUCslouiz’
fix #3283
2018-03-12Remove the virtual channel feature altogetherlouiz’
2018-02-13Support the <before/> element in MAM requestslouiz’
2018-02-13Do not forget an early return, to return the correct item-not-found errorlouiz’
2018-02-11Send a item-not-found error when the “after” value is not in the archivelouiz’
2018-02-10Handle the “after” RSM value to page through resultslouiz’
2018-02-10Always return the oldest matching messages from MAM, even if no date is setlouiz’
2018-01-30Remove the debug logs from previous commitlouiz’
2018-01-30Add the complete='true' attribute only when appropriatelouiz’
2018-01-29Do not forget the complete='true' attribute in MAM’s result iqlouiz’
2018-01-18xep-0106 escape the JIDs listed in a disco#items server querylouiz’
fix #3325
2017-12-27Fix a subtle iid parsing error in the adhoc codelouiz’
2017-12-27Don’t answer to some requests towards MUC participantslouiz’
These requests are only meant to be received by the room itself. The participant must answer with not-implemented instead. fix #3323
2017-12-26Include the <fin><set><first/><last/></></> nodes in the MAM iq resultlouiz’
fix #3322
2017-12-03Run some of the ci tests against a postgresql docker containerlouiz’
2017-08-27Remove a forgotten and useless commentlouiz’
[skip-ci]
2017-08-27Add support for the "history" node on MUC joinlouiz’
Supports the "seconds", "maxstanzas", "since" and "maxchars" (but only =0) attributes. fix #3270
2017-08-27In fixed mode, server messages come from biboumi’s hostname directlylouiz’
Instead of irc.example.com@biboumi, because that’s actually user named “irc.example.com”, in that case. And that fixes the raw messages in fixed mode. fix #3286
2017-07-20Add the possibility to invite any external JID to a roomlouiz’
fix #3285
2017-07-20Do not reply with an error when receiving a presence for a user JIDlouiz’
fix #3224
2017-07-16Send an unsubscribed presence on a probe if we don’t have a roster entrylouiz’