summaryrefslogtreecommitdiff
path: root/src/xmpp
AgeCommit message (Collapse)Author
2019-09-23Trivial little naming changeslouiz’
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-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-23Disable the throttle limit if negativelouiz’
Also, invalid values result in -1 being set
2018-08-23Fix a bunch of int to unsigned int conversion warningslouiz’
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-06-25Throttle all commands sent to IRC serverslouiz’
fix #3354
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-01Merge branch 'v8'louiz’
2018-06-01Make the global ad-hoc configure command available in fixed modelouiz’
fix #3360
2018-05-23Merge branch 'v8'louiz’
2018-05-23Do not use (or present to the user) the Address field in fixed modelouiz’
fix #3359
2018-05-14Empty the <command/> nodes before reusing them in our responseslouiz’
fix #3356
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-29Missing fields in a data-form response are now interpreted as an empty valuelouiz’
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-16Use jid.bare() instead of manual concatenationEmmanuel 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-13Refactor that fixes a compilation issue in Release modelouiz’
Some template specialization were not found, because they were not declared at the point they were used. We moved things around, things are less inter-dependant, and also now it works.
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-19Add a missing pointer checklouiz’
2018-03-19Add a nick field in the IRC server configuration formlouiz’
fix #3317
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-18Allow the execution of multiple commands after the IRC connectionlouiz’
fix #3275
2018-03-17Revert "Use std::optional<bool> instead of OptionalBool"louiz’
This reverts commit ba879a882e031d7b8503f78fe41d1210000c96ca.
2018-03-16Use std::optional<bool> instead of OptionalBoollouiz’
2018-03-12And this one (hostname -> address)louiz’
ref #3273
2018-03-12Rename a few “hostname” into “address”, regarding last commitlouiz’
ref #3273
2018-03-12Allow to override the addresses used to connect to an IRC networklouiz’
fix #3273
2018-03-12Add a <item/> node in the presence of a leaving participantlouiz’
fix #3339
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’