Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mod_csi_simple: Allow configuring extra tags indicating importance | Kim Alvefur | 2020-04-18 | 1 | -1/+8 |
| | |||||
* | mod_csi_simple: Make sure to disable optimizations before mod_smacks (thanks ↵ | Kim Alvefur | 2019-11-17 | 1 | -1/+1 |
| | | | | pep.) | ||||
* | mod_csi_simple: Always remove session filters when disabling CSI | Kim Alvefur | 2019-10-05 | 1 | -3/+3 |
| | | | | | | Only guard the actual pausing of outgoing data on the method existing. This prevents the filters from lingering in case something happened to the connection. Removing already removed filters should be a safe noop. | ||||
* | mod_csi_simple: Try not to flush buffer while already flushing it | Kim Alvefur | 2019-10-05 | 1 | -0/+5 |
| | | | | Reduces log noice | ||||
* | mod_csi_simple: Remove duplicated check for connection | Kim Alvefur | 2019-09-28 | 1 | -3/+3 |
| | |||||
* | mod_csi_simple: Disable optimizations on disconnect (fixes #1358) | Kim Alvefur | 2019-05-26 | 1 | -0/+4 |
| | | | | | The connection becomes invalid here, regardless of 3rd party modules that might keep the session alive. | ||||
* | mod_csi_simple: Include queue size in debug messages | Kim Alvefur | 2019-03-25 | 1 | -5/+5 |
| | |||||
* | mod_csi_simple: Fix type in function name | Matthew Wild | 2019-03-25 | 1 | -4/+3 |
| | |||||
* | mod_csi_simple: Improve debug logs by mentioing why the buffer gets flushed | Kim Alvefur | 2019-03-24 | 1 | -1/+5 |
| | |||||
* | mod_csi_simple: Add some debug logging | Kim Alvefur | 2019-03-24 | 1 | -0/+2 |
| | |||||
* | mod_csi_simple: Disable optimizations on unload and re-enable on load | Kim Alvefur | 2019-03-24 | 1 | -0/+21 |
| | |||||
* | mod_csi_simple: Separate out functions to enable/disable optimizations | Kim Alvefur | 2019-03-24 | 1 | -5/+13 |
| | | | | | This allows reusing this logic outside the events. Letting the functions be module globals makes it easier to access from eg the telnet console. | ||||
* | mod_csi_simple: Remove old "pump" queue/buffer method, handled in net.server now | Kim Alvefur | 2019-03-24 | 1 | -61/+2 |
| | |||||
* | mod_csi_simple: Also flush buffer in "pump" mode | Kim Alvefur | 2019-03-24 | 1 | -0/+7 |
| | |||||
* | mod_csi_simple: Trigger buffer flush on seeing incoming data | Kim Alvefur | 2019-03-24 | 1 | -0/+7 |
| | | | | | I.e. the client sent us something, which means its network / radio is active. | ||||
* | mod_csi_simple: Count buffered items and flush when it reaches configured limit | Kim Alvefur | 2019-03-24 | 1 | -0/+22 |
| | | | | | In this mode, stanzas have been serialized to strings in the internal net.server buffer, so it is difficult to count them after the fact. | ||||
* | mod_csi_simple: Break out stanza timestamping into a function for future reuse | Kim Alvefur | 2019-03-24 | 1 | -5/+9 |
| | |||||
* | mod_csi_simple: Use write locks in net.server if available | Kim Alvefur | 2018-11-24 | 1 | -1/+5 |
| | |||||
* | mod_csi_simple: Consider messages encrypted payload as important (fixes part ↵ | Kim Alvefur | 2019-01-06 | 1 | -0/+3 |
| | | | | of #1250) | ||||
* | mod_csi_simple: Consider messages with subject (eg MUC joins) (fixes part of ↵ | Kim Alvefur | 2019-01-06 | 1 | -0/+3 |
| | | | | #1250) | ||||
* | mod_csi_simple: Unpack Carbons-forwarded messages (fixes part of #1250) | Kim Alvefur | 2019-01-06 | 1 | -0/+4 |
| | |||||
* | mod_csi_simple: Consider messages forwarded from another of the users ↵ | Kim Alvefur | 2019-01-06 | 1 | -0/+3 |
| | | | | clients as important (fixes part of #1250) | ||||
* | mod_csi_simple: Tweak check for <body> | Kim Alvefur | 2019-01-06 | 1 | -2/+4 |
| | | | | There were code that checked the body for mentions but isn't included. | ||||
* | mod_csi: Set session.state to simplify CSI modules | Kim Alvefur | 2018-11-27 | 1 | -2/+0 |
| | | | | Moved here from mod_csi_simple | ||||
* | mod_csi_simple: Fix autocompletion mistake | Kim Alvefur | 2018-11-27 | 1 | -1/+1 |
| | |||||
* | mod_csi_simple: Bypass importance event in active mode (fixes #1249) | Kim Alvefur | 2018-11-27 | 1 | -1/+3 |
| | |||||
* | mod_csi_simple: Don't set <delay> stamps on <iq> stanzas (fixes #1248) | Kim Alvefur | 2018-11-27 | 1 | -1/+1 |
| | |||||
* | mod_csi_simple: Use the same event name when firing as when hooking (fixes ↵ | Kim Alvefur | 2018-11-25 | 1 | -1/+1 |
| | | | | #1245) | ||||
* | mod_csi_simple: Consider non-stanza objects important | Kim Alvefur | 2018-11-17 | 1 | -0/+3 |
| | | | | | Most cases are for keepalive or stream closing, where it needs to be flushed anyways. | ||||
* | mod_csi_simple: Skip delay tags on objects other than stanzas (thanks quest) | Kim Alvefur | 2018-11-17 | 1 | -2/+4 |
| | | | | | This may be triggered by sending strings, eg as done by mod_c2s for keepalives, stream errors, "</stream>". | ||||
* | mod_csi_simple: Import modified version of mod_csi_pump from prosody-modules | Kim Alvefur | 2018-10-29 | 1 | -0/+100 |