Log

mod_smacks/mod_smacks.lua @ 4153:4ee2a90d3818

description author age
mod_smacks: don't send error replys for error stanzas on session timeout tmolitor Fri, 01 May 2020 22:24:10 +0200
mod_smacks: remove now unused code tmolitor Tue, 21 Apr 2020 11:26:43 +0200
mod_smacks: fix typo in last commit tmolitor Mon, 20 Apr 2020 15:30:56 +0200
mod_smacks: better logging for georg tmolitor Mon, 20 Apr 2020 14:49:17 +0200
mod_smacks: Fix mam handling tmolitor Mon, 20 Apr 2020 14:40:09 +0200
Merge commit tmolitor Sun, 05 Apr 2020 23:39:08 +0200
mod_smacks: Update documentation and slightly adjust default values tmolitor Sun, 05 Apr 2020 23:37:17 +0200
mod_stanzas: tighten up stanza check and add explanatory text JC Brand Fri, 27 Mar 2020 11:56:14 +0100
mod_smacks: also count outgoing MAM messages JC Brand Thu, 26 Mar 2020 11:57:02 +0100
mod_smacks: fix logging issue in mam eventhandler tmolitor Tue, 10 Mar 2020 23:59:19 +0100
mod_smacks: handle mam-enabled session internally tmolitor Sun, 08 Mar 2020 19:49:47 +0100
Fix bug readding stanzas to outgoing_queue on resume tmolitor Thu, 09 Jan 2020 21:21:09 +0100
mod_smacks: fix bug #1405 (prevent timer from running for already destroyed sessions) tmolitor Sun, 11 Aug 2019 02:58:56 +0200
mod_smacks: fix bug in bad client handling introduced by last commit tmolitor Fri, 02 Aug 2019 18:26:06 +0200
mod_smacks: fix bug for missbehaving clients sending multiple acks in a row tmolitor Tue, 30 Jul 2019 02:07:13 +0200
mod_smacks: fix prosody 0.9 compatibility tmolitor Sun, 16 Jun 2019 02:00:12 +0200
mod_smacks: piggyback ack request onto ack response if queue is not empty, use native stoppable timers if supported tmolitor Sat, 15 Jun 2019 01:34:52 +0200
mod_smacks: Raise error on out-of-range config options (thanks marc0s) Matthew Wild Fri, 22 Mar 2019 22:06:40 +0000
mod_smacks: apply resumed logger and type to new session, fix #1229 Georg Lukas Wed, 06 Mar 2019 21:51:45 +0100
mod_smacks: improved debug logging Georg Lukas Wed, 06 Mar 2019 21:44:07 +0100
mod_smacks: no crash on <a> without @h, fix #1317 Georg Lukas Wed, 06 Mar 2019 21:25:47 +0100
mod_smacks: Fire event on delivery failure/success for each stanza Matthew Wild Sun, 20 Jan 2019 00:02:08 +0000
mod_smacks: Improve logging on resume so session changes are more easily tracked Matthew Wild Wed, 08 Aug 2018 12:49:02 +0100
mod_smacks: Reduce unacked stanza log message from warn->debug Matthew Wild Tue, 26 Jun 2018 15:30:03 +0100
mod_smacks: Convert max number into a string before inserting it into a stanza. Emmanuel Gil Peyrot Fri, 08 Jun 2018 17:56:54 +0200
mod_smacks: defer timeouts for push enabled clients tmolitor Fri, 08 Jun 2018 17:38:24 +0200
mod_smacks: send maximum resumption timeout to client Jonas Wielicki Thu, 07 Jun 2018 13:27:32 +0200
mod_smacks: Ensure stanza count attributes are always strings (thanks Martin) Matthew Wild Sat, 17 Mar 2018 12:58:37 +0000
mod_smacks: Fix #921 tmolitor Sun, 27 Aug 2017 21:34:48 +0200
mod_smacks: Trigger event smacks-hibernation-end after queue resend tmolitor Fri, 18 Aug 2017 00:56:38 +0200
mod_smacks: don't send out <r> when already hibernating tmolitor Fri, 14 Jul 2017 18:06:17 +0200
mod_smacks: Fix delayed_ack event tmolitor Mon, 08 May 2017 19:36:37 +0200
Fix #889 tmolitor Mon, 24 Apr 2017 20:56:56 +0200
mod_smacks: Ignore user when writing or reading session_cache on prosody 0.9 tmolitor Thu, 06 Apr 2017 02:12:14 +0200
mod_smacks: Prevent ack loop on misbehaving clients tmolitor Wed, 15 Mar 2017 16:24:03 +0100
mod_smacks: Made module more error resistant tmolitor Wed, 15 Mar 2017 16:21:55 +0100
mod_smacks: Add resumed session to event "smacks-hibernation-end" tmolitor Sat, 11 Mar 2017 01:37:28 +0100
Implement XEP-0198 revision 1.5.2 and limit number of hibernated sessions per user tmolitor Sun, 05 Mar 2017 20:23:53 +0100
mod_smacks: Fix some bugs with smacks-ack-delayed event triggering. tmolitor Sun, 12 Feb 2017 21:23:22 +0100
mod_smacks: Send out more ack requests where needed tmolitor Sun, 12 Feb 2017 19:27:50 +0100
mod_smacks: Check if a session is an authenticated c2s session by looking for a username (fix for change in 0.10 9f70d35a1602) Kim Alvefur Thu, 15 Dec 2016 02:57:03 +0100
mod_smacks: added new event "smacks-ack-delayed" used by mod_cloud_notify and extended the readme file accordingly (also mention mod_smacks_offline and mod_smacks_noerror in readme file) tmolitor Thu, 24 Nov 2016 00:47:32 +0100
mod_smacks: Signal that we're about to send an ack request from read timeout event to prevent a duplicate request from outgoing stanza filter Kim Alvefur Tue, 26 Jul 2016 12:37:04 +0200
mod_smacks: Fix sending <r> after stanzas while not creating multiple timers (thanks Thilo) Kim Alvefur Sat, 02 Apr 2016 20:03:30 +0200
mod_smacks: added new events for hibernation start/end tmolitor Sun, 27 Mar 2016 16:13:20 +0200
mod_smacks: Prevent queuing multiple <r> Kim Alvefur Mon, 21 Mar 2016 14:08:03 +0100
mod_smacks: Adjust filter priorities to avoid conflict with mod_websocket Kim Alvefur Thu, 17 Mar 2016 22:42:11 +0100
mod_smacks: Log when sending <r> from read timeout event (0.10+) Kim Alvefur Wed, 16 Mar 2016 13:30:03 +0100
mod_smacks: Keep timer object around and stop it when needed (trunk only) Kim Alvefur Wed, 16 Mar 2016 13:29:28 +0100
mod_smacks: Increase delay for starting s2s smacks to a non-zero value Kim Alvefur Wed, 16 Mar 2016 13:27:40 +0100
mod_smacks: Go back to sending ack requests from a timer a moment after a stanza was sent Kim Alvefur Wed, 16 Mar 2016 13:26:21 +0100
mod_smacks: Drop stanzas instead of turning them into the empty string Kim Alvefur Wed, 16 Mar 2016 13:14:01 +0100
mod_smacks: Add experimental resending of unacked messages in s2s queues (disabled by default) Kim Alvefur Tue, 29 Sep 2015 21:54:40 +0200
mod_smacks: Handle the read timeout event (0.10+ only) and send an ack request, close the connection the second time if unanswerd Kim Alvefur Mon, 11 May 2015 15:07:52 +0200
mod_smacks: Handle unacked messages in s2s queues Kim Alvefur Mon, 11 May 2015 14:33:37 +0200
mod_smacks: Set session upvalue of filter() to correct session Kim Alvefur Wed, 06 May 2015 01:02:00 +0200
mod_smacks: Move set of filters from new session to session being resumed Kim Alvefur Wed, 06 May 2015 01:01:18 +0200
mod_smacks: Don't touch upvalues of session.send and session.data, they should already point to the correct values Kim Alvefur Wed, 06 May 2015 01:00:50 +0200
mod_smacks: Add stanza counting filter when resuming session Kim Alvefur Wed, 06 May 2015 00:58:55 +0200
mod_smacks: Add license header Kim Alvefur Thu, 09 Apr 2015 14:23:48 +0200
mod_smacks: Don't restore filters from original session after resumption, use new filters Matthew Wild Sat, 21 Mar 2015 10:12:23 +0000
mod_smacks: Don't attach timestamps to 'iq' stanzas Kim Alvefur Mon, 26 Jan 2015 15:54:18 +0100
mod_smacks: Remove negation of condition, most likely a leftover from debugging Kim Alvefur Mon, 26 Jan 2015 15:44:36 +0100
mod_smacks: Stanzas don't have a ':' in their name Kim Alvefur Mon, 26 Jan 2015 15:32:19 +0100
mod_smacks: Send ack requests by serializing and concatenating them to outgoing stanzas, using a timer might cause high CPU usage Kim Alvefur Tue, 28 Oct 2014 22:26:41 +0100
mod_smacks: Delay initiation of outgoing smacks on s2s until after queued stanzas are sent Kim Alvefur Mon, 20 Oct 2014 13:15:55 +0200
mod_smacks: Initiate outgoing smacks on s2s when sending request and incoming when the remote says enabled Kim Alvefur Mon, 20 Oct 2014 13:15:14 +0200
mod_smacks: Move wrap_session() contents into separate direction-specific routines Kim Alvefur Mon, 20 Oct 2014 13:13:48 +0200
mod_smacks: Remove variable not used after 2881d532f385 Kim Alvefur Mon, 20 Oct 2014 13:11:28 +0200
mod_smacks: Send failure correctly on s2s Kim Alvefur Mon, 20 Oct 2014 11:55:08 +0200
mod_smacks: Fix sending ack requests on s2s Kim Alvefur Mon, 20 Oct 2014 11:51:07 +0200
mod_smacks: Trick session.send() into not returning nil or mod_message will act as if messages were not delivered Kim Alvefur Mon, 13 Oct 2014 14:19:49 +0200
mod_smacks: Use filters for queuing outgoing stanzas instead of wrapping session.send() Kim Alvefur Sun, 12 Oct 2014 13:24:50 +0200
mod_smacks: Correctly check if what is being sent is a stanza Kim Alvefur Wed, 08 Oct 2014 12:56:21 +0200
mod_smacks: Examine the state of the stanza *before* it was send Florian Zeitz Tue, 30 Sep 2014 01:17:10 +0200
mod_smacks: Backout ed2a9c00b5c4, need a better solution Kim Alvefur Tue, 17 Jun 2014 08:01:52 +0200
mod_smacks: Fix logging (Thanks Ge0rG) Kim Alvefur Thu, 22 May 2014 08:30:16 +0200
mod_smacks: Impose a limit on number of unacked stanzas (Thanks Holger) Kim Alvefur Wed, 07 May 2014 16:18:05 +0200
mod_smacks: Assert that the 'h' attribute is present and a number Kim Alvefur Wed, 07 May 2014 14:21:33 +0200
mod_smacks: Add more debug logging Kim Alvefur Wed, 07 May 2014 14:19:44 +0200
mod_smacks: Log things attached to sessions instead of the module Kim Alvefur Wed, 07 May 2014 14:17:03 +0200
all the things: Remove trailing whitespace Florian Zeitz Tue, 11 Mar 2014 18:44:01 +0100
Backed out changeset 853a382c9bd6 Kim Alvefur Fri, 28 Feb 2014 15:37:55 +0100
mod_turncredentials: Advertise the XEP-0215 feature (thanks Gryffus) Kim Alvefur Fri, 28 Feb 2014 15:36:06 +0100
mod_smacks: Handle both version 2 and version 3 namespace Florian Zeitz Mon, 03 Feb 2014 22:17:40 +0100
mod_smacks: Remove logging of unacked stanzas Matthew Wild Thu, 30 Jan 2014 13:39:24 +0000
mod_smacks: Allow resumption if the TCP connection is closed from our end, c15cea87036f ensures distinction from cleanly closed streams (thanks Lance) Kim Alvefur Wed, 29 May 2013 11:37:42 +0200
mod_smacks: Complain a little louder about clients trying to resume after resource binding Kim Alvefur Sun, 05 May 2013 11:23:50 +0200
mod_smacks: Wrap session:close() and make the session not resumable Kim Alvefur Thu, 25 Apr 2013 17:37:33 +0200
mod_smacks: If a hibernating session was destroyed before the timeout, don't destroy it again or say that it was resumed Kim Alvefur Thu, 25 Apr 2013 17:34:30 +0200
mod_smacks: Don't allow steam resumption onto a stream after resource binding Kim Alvefur Sat, 09 Mar 2013 20:49:30 +0100
mod_smacks: Don't try to send stanzas to hibernating sessions. Fixes duplicate IQ replies on libevent. Kim Alvefur Mon, 11 Feb 2013 19:21:31 +0100
mod_smacks: 'reason' parameter of session:close() changed to make nil and false mean 'graceful close' in 9da430b69f13 Kim Alvefur Thu, 03 Jan 2013 00:34:30 +0100
mod_smacks: Avoid indexing a nil value Kim Alvefur Wed, 12 Sep 2012 18:03:55 +0200
mod_smacks: Only request ack for stanzas Kim Alvefur Mon, 10 Sep 2012 21:11:04 +0200
mod_smacks: Less table indexing! Kim Alvefur Mon, 10 Sep 2012 21:02:26 +0200
mod_smacks: Use require to import (thanks a lot, autocomplete) Kim Alvefur Sun, 29 Jul 2012 22:24:11 +0200
mod_smacks: Import sessionmanager Kim Alvefur Sun, 29 Jul 2012 22:21:32 +0200
mod_smacks: Fix log statement Kim Alvefur Sun, 29 Jul 2012 22:11:48 +0200
mod_smacks: Import prosody.core_process_stanza() Kim Alvefur Sun, 29 Jul 2012 21:38:19 +0200
mod_smacks: Make smacks_max_unacked_stanzas configurable Matthew Wild Sat, 28 Apr 2012 18:21:29 +0100
mod_smacks: get_option+_number Matthew Wild Sat, 28 Apr 2012 18:20:18 +0100
mod_smacks: Remove dependency on connlisteners (use sessions table shared by mod_c2s directly) Matthew Wild Sat, 28 Apr 2012 18:16:47 +0100
mod_smacks: Don't hibernate session on graceful stream close 0.8-diverge Matthew Wild Mon, 19 Mar 2012 17:06:02 +0000
mod_smacks: Import connlisteners properly Matthew Wild Sat, 17 Mar 2012 15:54:25 +0000
mod_smacks: If a resumed session still has a connection open, close that connection before resuming Matthew Wild Sat, 17 Mar 2012 15:53:45 +0000
mod_smacks: Use pre-resource-unbind (0.9 feature) to fix reloadability and multiple host support Matthew Wild Mon, 05 Mar 2012 16:53:30 +0000
Fix a typo in mod_smacks (type -> session_type). Thijs Alkemade Thu, 02 Feb 2012 02:08:40 +0100
mod_smacks: Drop back to urn:xmpp:sm:2 for now Matthew Wild Thu, 02 Feb 2012 00:34:53 +0000
Add a <delay> to stanzas that are queued (and don't have one already), so clients can show them with the original timestamp. Thijs Alkemade Thu, 02 Feb 2012 01:23:43 +0100
Update smacks to urn:xmpp:sm:3. Fix typo in can_do_smacks. Thijs Alkemade Thu, 02 Feb 2012 01:23:00 +0100
mod_smacks: Consolidate logic for deciding whether to advertise or allow smacks for a given session, and fix an issue with not allowing s2s connections to enable smacks because of not binding a resource... (thanks xnyphs) Matthew Wild Wed, 01 Feb 2012 23:57:07 +0000
mod_smacks: Handle a client trying to <enable> twice, or trying to <enable> before resource binding (thanks Thijs Alkemade) Matthew Wild Wed, 01 Feb 2012 23:29:05 +0000
mod_smacks: Only advertise stream features when a stream is authenticated, and doesn't already have smacks enabled Matthew Wild Wed, 01 Feb 2012 23:27:23 +0000
mod_smacks: Log message when client tries to resume unknown session Matthew Wild Mon, 30 Jan 2012 04:20:24 +0000
mod_smacks: Add log message on resume Matthew Wild Mon, 30 Jan 2012 04:15:58 +0000
mod_smacks: Add logging to hibernation and session destruction (thanks darkrain) Matthew Wild Sun, 29 Jan 2012 20:34:14 +0000
mod_smacks: Fix smacks on s2s connections, but disable it by default. Kim Alvefur Tue, 24 Jan 2012 14:56:00 +0100
mod_smacks: Don't destroy a session that binds the same resource as a hibernating smacks session (thanks xnyhps for tracking down the problem, though I've used a different fix) Matthew Wild Sat, 19 Nov 2011 22:39:02 +0000
mod_smacks: Merge mod_fastreconnect (resumption support), fix a number of bugs, refactor the code and add some more comments to explain process Matthew Wild Fri, 18 Mar 2011 21:26:27 +0000