summaryrefslogtreecommitdiff
path: root/src/xmpp/xmpp_component.cpp
AgeCommit message (Collapse)Author
2020-03-11Make sure we keep the stable-id and origin-id nodes when requiredlouiz’
See https://xmpp.org/extensions/xep-0359.html
2019-09-23Mark all rooms as non-anonymouslouiz’
close #3390
2019-09-23Trivial little naming changeslouiz’
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.
2018-04-24Revert "Use a different Date data type"louiz’
This reverts commit 857c7d3972a03cbeebf730d99b924d3710dee6a0.
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-18Reflect message IDs in channel MUCslouiz’
fix #3283
2018-03-12Add a <item/> node in the presence of a leaving participantlouiz’
fix #3339
2018-01-30Add a ifndef USE_DATABASE guard around send_history_messagelouiz’
2018-01-28Correctly include the database headerlouiz’
2018-01-28And an other conversion warninglouiz’
2017-12-26Include the <fin><set><first/><last/></></> nodes in the MAM iq resultlouiz’
fix #3322
2017-12-26Add a <x muc#user> node on outgoing private MUC messageslouiz’
See https://xmpp.org/extensions/xep-0045.html#privatemessage fix #3321
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-20Do not reply with an error when receiving a presence for a user JIDlouiz’
fix #3224
2017-07-14Send the 332 status only for our own presenceslouiz’
2017-07-08Send status code='332' on biboumi or IRC server’s shutdownlouiz’
2017-07-08Remove a bunch of useless string_literal usagelouiz’
2017-05-09Avoid any potential int overflowlouiz’
2017-04-07Apply all the clang-tidy performance-* fixeslouiz’
2017-03-30Add the archive ID to messages when they are sent to userslouiz’
This makes us compatible with mam 6.0 fix #3249
2017-03-29Remove two sneaky log_debuglouiz’
2017-03-14Refactoring louloulibs and cmakelouiz’
Use OBJECT libraries Remove the louloulibs directory Write FOUND variables in the cache
2015-02-27Remove all the libs that are now in louloulibsFlorent Le Coz
2015-02-26Implement room discovery using the LIST irc commandFlorent Le Coz
ref #2472
2015-02-26Fix the systemd-conditional codeFlorent Le Coz
By using SYSTEMD_FOUND instead of SYSTEMDDAEMON_FOUND, where I forgot to rename it…
2015-02-23Implement async DNS resolution using c-aresFlorent Le Coz
fix #2533
2015-02-21Use a timer to try reconnecting to the XMPP server only each 2 secondsFlorent Le Coz
When the connection is lost, immediately try to reconnect, then try to reconnect every 2 seconds. This is much better than the previous “Try to re-connect as fast as possible”.
2015-02-21Remove the XmppComponent::last_auth bool that was never used anywhereFlorent Le Coz
2015-01-24Change IRC modes when receiving an affiliation/role change requestFlorent Le Coz
fix #2946
2015-01-14Fix a little bit of style stuf from previous commitFlorent Le Coz
2015-01-14Add support for password-protected IRC rooms.Emmanuel Gil Peyrot
2014-12-17Fix a few issues reported by static analyzersFlorent Le Coz
2014-11-12Implement the PING on a server or the gateway itselfFlorent Le Coz
fix #2575
2014-11-12send_iq_result can have a "from" with just the domain nameFlorent Le Coz
2014-11-12Implement PING to in-room participantFlorent Le Coz
ref #2575
2014-11-12Implement PING, user to user only (XMPP and IRC side, using CTCP PING)Florent Le Coz
ref #2757
2014-11-12Rename iq_responder_callback_t to irc_… and add the equivalent to wait for iqsFlorent Le Coz
2014-08-08Use generic send_presence_error() instead of almost identical specializationsFlorent Le Coz
2014-07-21Add two missing type="error" in some presence errorsFlorent Le Coz
2014-07-15Send the reason of the connection close to the userFlorent Le Coz
2014-07-02Add a level of inheritance above SocketHandlerFlorent Le Coz
SocketHandler has been renamed to TCPSocketHandler SocketHandler is now a simple interface with a few methods, used only by Poller. This way we can inherite from the new SocketHandler class, to handle other types of sockets, and still make them manageable by the poller without any change in the Poller class.
2014-06-30Regularly send a notification for the systemd watchdogFlorent Le Coz
2014-06-20Support version request to IRC usersFlorent Le Coz
2014-06-20Respond to IQ version on the gateway, a server or a chan with biboumi versionFlorent Le Coz
ref #2455
2014-06-19Return a proper iq when the IRC server responds to our kickFlorent Le Coz
A result or an error, depending on the type of message
2014-06-19Implement a way to add callbacks, waiting for an IRC event to return an iqFlorent Le Coz
2014-06-18Messages to room participants are forwarded to the IRC userFlorent Le Coz
For example, both JID #chan%server@biboumi/Toto and toto!server@biboumi are equivalent, except that if you send a message to the first one, subsequent messages coming from the user toto will come from that same JID. This is done to be consistent for the XMPP user, and respond from the same JID than the 'to' of the first message. fix #2468
2014-06-11Rewrite the whole IID usageFlorent Le Coz
IRC users and channels are now distinguished by the separator used in the IID (% or !). ref #2468
2014-06-08Make the XMPP component port configurableFlorent Le Coz
fix #2541