summaryrefslogtreecommitdiff
path: root/src/xmpp
AgeCommit message (Collapse)Author
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-11Add an <error/> element when the provided form is wrong, in two ad-hoc commandsFlorent Le Coz
2014-06-11Handle the 'cancel' ad-hoc action, and return an error for unsupported actionsFlorent Le Coz
ref #2521
2014-06-11Remove inactive ad-hoc sessions after a given timeFlorent Le Coz
ref #2521
2014-06-08Make the XMPP component port configurableFlorent Le Coz
fix #2541
2014-06-08Implement TLS support using BotanFlorent Le Coz
For now, it tries two TLS ports and then connects to the non-tls port. In the future we would like the user to be able to configure that. fix #2435
2014-05-31Do not send an item-not-found presence from an invalid JIDFlorent Le Coz
2014-05-31Remove some unused function parameters namesFlorent Le Coz
2014-05-31Add an ad-hoc command to disconnect some usersFlorent Le Coz
2014-05-30Use libuuid to generate unique IDs for iq and adhoc sessionsFlorent Le Coz
2014-05-30Add missing files (for adhoc command support)Florent Le Coz
2014-05-30XmlNode::get_children, to get a list of matching children instead of the firstFlorent Le Coz
2014-05-30XmlNode’s copy constructor now recursively copies the children nodes as wellFlorent Le Coz
2014-05-30Implement the support for adhoc commandsFlorent Le Coz
We have two basic example commands. But it’s not entirely finished because there are some error checks that we don’t do. ref #2521
2014-05-28Change the way the namespaces are handled in the XmlNode classFlorent Le Coz
2014-05-28Send an error presence when the connection to the IRC server failsFlorent Le Coz
2014-05-27SocketHandlers own the poller and add themself into it only when the socket ↵Florent Le Coz
is created We want to call socket() with the parameters provided by getaddrinfo, so we can’t addd the fd into the poller immediately. We need to wait the connection attempt, and then the SocketHandler can call add_socket_handler itself, if the connection succeeds, or is in progress.
2014-05-15Only call get_last_child() if the node has childrenFlorent Le Coz
Explain that the behaviour is otherwise undefined, in the comment.
2014-05-15"Chat message" is not the same as "any kind of message"Florent Le Coz
2014-05-15Stanza:get_name() only returns the name of the tag, without the namespaceFlorent Le Coz
2014-05-15Disconnect the user from all its IRC servers whenever he returns an errorFlorent Le Coz
fix #2524
2014-05-07Forward iq version results to IRCFlorent Le Coz
2014-05-06Correctly do the error handling when we receive an iqFlorent Le Coz
2014-05-06Forward CTCP version request to XMPPFlorent Le Coz
2014-05-06Implement next_id() toFlorent Le Coz
2014-04-28Upgrade to C++14Florent Le Coz
2014-04-25Include the xhtml-im element in private messages tooFlorent Le Coz
2014-04-24Respond to a disco query the gateway jid itselfFlorent Le Coz
2014-04-22Fix the kick by correctly using the from and to attributesFlorent Le Coz
2014-04-15Add support for systemd-daemonFlorent Le Coz
2014-04-15Merge branch 'master' into dummy_chanFlorent Le Coz
2014-04-15Fix the leave-muc presence stanzaFlorent Le Coz
2014-04-15Merge branch 'master' into dummy_chanFlorent Le Coz
2014-04-13[WIP] DummyIrcChannelFlorent Le Coz
2014-04-11Do not print an error message from expat if the error was "parsing finished"Florent Le Coz
2014-04-11Do not use exceptions for missing tags, improvement in code simplicityFlorent Le Coz
2014-04-10Messages coming from the IRC server are of type "chat"Florent Le Coz
2014-03-28The default type for message stanza is "normal"Florent Le Coz
2014-03-28Catch all exception produced by a received message (irc or xmpp)Florent Le Coz
2014-03-28The absence of a from attribute is an unrecoverable error, just ignore itFlorent Le Coz
2014-03-28Send a stanza error when receiving bad stanzasFlorent Le Coz
Whether this is a bad-request (missing XML attributes or elements) or an internal server error.
2014-03-24IdemFlorent Le Coz
2014-03-24Use the correct type of errorFlorent Le Coz
2014-03-24Send an error presence whenever a user tries to join an invalid roomFlorent Le Coz
2014-03-24Introduce two new bool, to know if the xmpp component should try to reconnectFlorent Le Coz
If we never succeeded our connection+auth process, means we should probably not attempt any-more, and just give up. If we ever did, this means a reconnect is a good idea
2014-03-24Reconnected immediately to the XMPP whenever it closes the connectionFlorent Le Coz
2014-03-24Do not send data if we are connected, send it only once we actually areFlorent Le Coz
2014-02-28Provide details about what error the XML parser encounteredFlorent Le Coz
2014-02-28Avoid unnecessary copies by recv()ing data directly into the expat bufferFlorent Le Coz