Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-09-23 | Entirely remove the code for the “preferred_from” nick | louiz’ | |
Since private messages are now always coming from the server-wide JIDs | |||
2020-09-23 | Do not mark message to bare JID private/no-copy | Georg Lukas | |
2020-09-23 | Always send direct messages to the user’s bare JID | Jonas 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-03-11 | Merge remote-tracking branch 'linkmauve/die-gc1.0-die' | louiz’ | |
2020-03-11 | Make sure we keep the stable-id and origin-id nodes when required | louiz’ | |
See https://xmpp.org/extensions/xep-0359.html | |||
2020-03-02 | Small trivial readability improvement | louiz’ | |
2019-11-13 | Don’t treat presence updates as MUC joins | Emmanuel 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-09 | Actually fix that correctly instead of the opposite | louiz’ | |
2019-09-09 | Remove trailing / of fulljids if IRC host is missing | louiz’ | |
2019-08-25 | Properly re-convert \01ACTION into a /me when reflected to the sender | louiz’ | |
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-20 | XEP-0410: set not-in-the-room error condition to not-acceptable | Jonas 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-20 | XEP-0410: implement server-side optimisation for self-pings | Jonas 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-10-04 | Do not send the IRC host directly as real JID of the userrefactor-resources | Jonas Schäfer | |
Fixes #3381 | |||
2018-10-03 | Make comment more precise | Jonas Schäfer | |
2018-08-26 | Remove an unused function (and a useless debug log) | louiz’ | |
2018-08-26 | Trivial little syntax changes | louiz’ | |
2018-08-26 | Replace a useless shared_ptr by a unique_ptr | louiz’ | |
2018-08-23 | MaxHistoryLength now has some sensible default value if the user set a ↵ | louiz’ | |
negative one | |||
2018-08-23 | Add a missing <string> include | louiz’ | |
2018-08-04 | Remove a bunch of useless empty lines | louiz’ | |
2018-07-24 | Reflect messages to XMPP only when they are actually sent | louiz’ | |
2018-06-25 | Fix a warning (unused variable) in some build config | louiz’ | |
2018-06-25 | Trivial syntax improvements | louiz’ | |
2018-06-22 | Archive the Mode messages, except if they are received for an unjoined chan | louiz’ | |
fix #3362 | |||
2018-06-19 | Reject messages from unjoined resources, with an error | louiz’ | |
fix #3346 | |||
2018-04-29 | mam: Send “fin complete” only when appropriate | louiz’ | |
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-24 | Revert "Use a different Date data type" | louiz’ | |
This reverts commit 857c7d3972a03cbeebf730d99b924d3710dee6a0. | |||
2018-04-24 | Revert "Use the Date to find a next page in RSM, not the id" | louiz’ | |
This reverts commit 5ef7ba08028065b03d51d1dc70bb35aeb41ae19d. | |||
2018-04-16 | Use jid.bare() instead of manual concatenation | Emmanuel Gil Peyrot | |
2018-04-14 | Use the Date to find a next page in RSM, not the id | louiz’ | |
This way, it works, whatever the order of insertion in the database was. fix #3343 | |||
2018-04-11 | Use a different Date data type | louiz’ | |
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-31 | Send the stanza-id for messages received by other users | louiz’ | |
fix #3347 | |||
2018-03-23 | Properly handle force-join presences by sending everything in return | louiz’ | |
fix #3305 | |||
2018-03-22 | Pass an IrcClient* to send_muc_leave instead of doing an other search | louiz’ | |
2018-03-19 | Add a nick field in the IRC server configuration form | louiz’ | |
fix #3317 | |||
2018-03-18 | Don’t reflect an empty id if it was not included | louiz’ | |
Instead, generate a uuid for that message | |||
2018-03-18 | Reflect message IDs in channel MUCs | louiz’ | |
fix #3283 | |||
2018-03-12 | Add a <item/> node in the presence of a leaving participant | louiz’ | |
fix #3339 | |||
2018-03-12 | Remove the virtual channel feature altogether | louiz’ | |
2018-02-13 | Use the same function for both history orders | louiz’ | |
2018-02-10 | Always return the oldest matching messages from MAM, even if no date is set | louiz’ | |
2017-12-26 | Add a <x muc#user> node on outgoing private MUC messages | louiz’ | |
See https://xmpp.org/extensions/xep-0045.html#privatemessage fix #3321 | |||
2017-12-03 | Run some of the ci tests against a postgresql docker container | louiz’ | |
2017-11-07 | Fix #3304 | louiz’ | |
2017-11-07 | Change how we count the number of connected resources to a server | louiz’ | |
2017-10-04 | Remove a redundant Body definition | louiz’ | |
2017-09-09 | Add the persistent_by_default configuration option | louiz’ | |
fix #3293 | |||
2017-08-30 | Mark messages from the IRC server as private and no-copy | louiz’ | |
fix #3284 | |||
2017-08-27 | Add support for the "history" node on MUC join | louiz’ | |
Supports the "seconds", "maxstanzas", "since" and "maxchars" (but only =0) attributes. fix #3270 | |||
2017-08-27 | In fixed mode, server messages come from biboumi’s hostname directly | louiz’ | |
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 |