log mod_smacks/mod_smacks.lua @ 3877:562b34050561

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