Log

mod_firewall/conditions.lib.lua @ 5928:d3a72777f149

description author age
mod_firewall: TO/FROM ROLE: Handle JIDs with no role (thanks Zash) Matthew Wild Tue, 12 Dec 2023 19:06:37 +0000
mod_firewall: Fix TO/FROM ROLE Matthew Wild Mon, 11 Dec 2023 19:09:25 +0000
mod_firewall: Add FROM COUNTRY condition based on GeoIP DB Kim Alvefur Sun, 12 Nov 2023 16:37:47 +0100
mod_firewall: Split some long lines [luacheck] Matthew Wild Thu, 08 Jun 2023 16:17:25 +0100
mod_firewall: Fix inverted logic of 'FROM FULL JID?' Matthew Wild Thu, 08 Jun 2023 13:04:19 +0100
mod_firewall: Add 'FROM FULL JID?' condition Matthew Wild Thu, 08 Jun 2023 11:28:06 +0100
mod_firewall: Update for role-auth (backwards compatible) Matthew Wild Thu, 11 Aug 2022 17:04:53 +0100
mod_firewall: Remove reliance on full_sessions being a global Kim Alvefur Wed, 30 Jun 2021 14:48:59 +0200
mod_firewall: Remove trailing whitespace Kim Alvefur Sun, 19 Apr 2020 23:38:39 +0200
mod_firewall: Fix use of unpack() on Lua 5.3 Kim Alvefur Mon, 13 Apr 2020 21:53:01 +0200
mod_firewall: Add special case for $local zone (fixes #1090) Kim Alvefur Mon, 12 Mar 2018 12:26:15 +0100
mod_firewall: Add PENDING SUBSCRIPTION FROM SENDER? condition Matthew Wild Fri, 09 Mar 2018 13:35:44 +0000
mod_firewall: Add experimental user-centric persistent marks behind a feature flag Kim Alvefur Sat, 24 Feb 2018 21:40:56 +0100
mod_firewall: Prevent traceback if no directed presence has been sent (fixes #1081) Kim Alvefur Fri, 16 Feb 2018 07:54:35 +0100
mod_firewall: Trim trailing whitespace [luacheck] Kim Alvefur Wed, 03 Jan 2018 07:49:22 +0100
mod_firewall: Make SUBSCRIBED match for stanzas sent to self (fixes #1052) Kim Alvefur Sat, 30 Dec 2017 23:53:41 +0100
mod_firewall: Add some more comments Matthew Wild Fri, 10 Mar 2017 10:36:17 +0000
mod_firewall: Add and document CROSSING GROUPS condition Matthew Wild Fri, 03 Mar 2017 12:31:15 +0000
mod_firewall: Remove ambiguity from tokens dep parameter Matthew Wild Sun, 26 Feb 2017 09:50:16 +0000
mod_firewall: Fix compilation error if TYPE/KIND had no parameter Matthew Wild Sat, 25 Feb 2017 18:38:26 +0000
mod_firewall: TO/FROM ADMIN OF: Fix string quoting Matthew Wild Sat, 25 Feb 2017 16:53:45 +0000
mod_firewall: Fix TO/FROM ADMIN to use current (module) host Matthew Wild Sat, 25 Feb 2017 15:47:22 +0000
mod_firewall: SUBSCRIBED: Only check roster if 'to' address has a nodepart (fixes traceback) Matthew Wild Fri, 24 Feb 2017 09:51:43 +0000
mod_firewall: TO SELF: Use raw stanza.attr.to directly, as 'to' defaults to bare JID if nil Matthew Wild Fri, 24 Feb 2017 09:50:49 +0000
mod_firewall: Add TO FULL JID Matthew Wild Thu, 23 Feb 2017 14:13:57 +0000
mod_firewall: Fix everything wrong with SENT_DIRECTED_PRESENCE_TO_SENDER Matthew Wild Thu, 23 Feb 2017 14:11:31 +0000
mod_firewall: Add TO/FROM ADMIN Matthew Wild Thu, 23 Feb 2017 14:06:48 +0000
mod_firewall: Support expressions in TO/FROM EXACTLY Matthew Wild Thu, 23 Feb 2017 14:05:39 +0000
mod_firewall: Add and document COUNT condition Matthew Wild Tue, 21 Feb 2017 22:41:58 +0000
mod_firewall: Make parameter to 'IN ROSTER' optional Matthew Wild Tue, 21 Feb 2017 10:37:10 +0000
mod_firewall: Fix SCAN to pass correct variable to scan_list() Matthew Wild Mon, 20 Feb 2017 13:12:51 +0000
mod_firewall: Add 'SENT DIRECTED PRESENCE TO SENDER?' Matthew Wild Mon, 20 Feb 2017 09:32:48 +0000
mod_firewall: Add SEARCH, PATTERN definitions and SCAN condition to check tokenized stanza:find() against a list Matthew Wild Mon, 20 Feb 2017 09:31:30 +0000
mod_firewall: Fix CHECK LIST syntax check Matthew Wild Sun, 19 Feb 2017 22:24:21 +0000
mod_firewall: Initial support for lists, in-memory and HTTP Matthew Wild Sun, 19 Feb 2017 21:10:26 +0000
mod_firewall: Update functions that use meta() to allow functions with deps inside expressions Matthew Wild Sun, 19 Feb 2017 21:08:30 +0000
mod_firewall: Add 'TO SELF' check ('NOT TO?' worked until commit 9159f9166893) Matthew Wild Thu, 26 Jan 2017 18:36:15 +0000
mod_firewall: SUBSCRIBED - condition that is true if the receiver of a stanza is subscribed to the sender Kim Alvefur Wed, 30 Nov 2016 15:44:35 +0100
mod_firewall: INSPECT: support for literal substring search and expressions Matthew Wild Sat, 19 Nov 2016 15:52:32 +0000
mod_firewall: INSPECT: Handle stanza:find() returning nil (i.e. path didn't match) Matthew Wild Tue, 15 Nov 2016 14:58:16 +0000
mod_firewall: INSPECT: Emit compilation error when the given stanza path is used for comparison but doesn't return a string Matthew Wild Tue, 15 Nov 2016 14:57:40 +0000
mod_firewall: Add conditions for testing whether a sender of a stanza is in the recipient's roster (or in a certain roster group) Matthew Wild Fri, 04 Nov 2016 12:46:11 +0000
mod_firewall: Add support for throttling based on user-defined properties (experimental) Matthew Wild Fri, 18 Mar 2016 09:47:52 +0000
mod_firewall: Allow underscore in mark names (thanks Ge0rG) Matthew Wild Fri, 18 Mar 2016 09:45:02 +0000
mod_firewall: Move meta() function to main module, and make it a global so libs can use it Matthew Wild Thu, 17 Mar 2016 21:29:07 +0000
mod_firewall: Correct zone condition to check bare JID Kim Alvefur Thu, 17 Mar 2016 14:45:08 +0100
mod_firewall: Fix usage of incorrect variable current_time in ORIGIN_MARKED condition (thanks Ge0rG) Matthew Wild Thu, 17 Mar 2016 12:27:48 +0000
mod_firewall: INSPECT: Support for pattern matches (confusingly using ~= instead of =) Matthew Wild Thu, 17 Mar 2016 11:37:19 +0000
mod_firewall: Add support for session marking (MARK_ORIGIN, UNMARK_ORIGIN, ORIGIN_MARKED) Matthew Wild Thu, 17 Mar 2016 11:27:10 +0000
mod_firewall: Pass results as arguments to format instead of shadowning variable [luacheck] Kim Alvefur Fri, 11 Mar 2016 18:19:59 +0100
mod_firewall: Use string.find in JID match, faster since the result is unused Kim Alvefur Fri, 11 Mar 2016 18:18:35 +0100
mod_firewall: Verify that JID part exists before attempting to call method Kim Alvefur Fri, 11 Mar 2016 18:18:04 +0100
mod_firewall: Anchor pattern at beginning and end Kim Alvefur Fri, 11 Mar 2016 18:16:38 +0100
mod_firewall/conditions: Add semicolon Kim Alvefur Fri, 11 Mar 2016 18:15:58 +0100
mod_firewall: Optimize string match operations, string.find is faster than .match since no string is returned Kim Alvefur Fri, 11 Mar 2016 18:13:53 +0100
mod_firewall/conditions: Add FROM_EXACTLY and TO_EXACTLY Matthew Wild Mon, 01 Feb 2016 20:24:51 +0000
mod_firewall/conditions: Remove unused variable Matthew Wild Tue, 07 May 2013 09:31:57 +0100
mod_firewall: The default value of the 'type' attribute on message stanzas is 'normal' Kim Alvefur Mon, 08 Apr 2013 17:03:34 +0200
mod_firewall: Add rate limiting capabilities, and keep zones and throttle objects in shared tables Matthew Wild Sat, 06 Apr 2013 22:20:59 +0100
mod_firewall/conditions: Add DAY and TIME conditions Matthew Wild Sat, 06 Apr 2013 14:03:10 +0100
mod_firewall: Improve zone handling, make it more efficient, and support dynamic dependencies in the compiler. ENTERING and LEAVING conditions now work at expected (not matching stanzas flowing within a zone). Matthew Wild Fri, 05 Apr 2013 19:21:46 +0100
mod_firewall/conditions: Default types for message and presence Matthew Wild Fri, 05 Apr 2013 19:20:05 +0100
mod_firewall/conditions: Don't use table.insert, so things are happy when compile_jid_match() returns nil Matthew Wild Fri, 05 Apr 2013 19:18:41 +0100
mod_firewall/conditions: Support Lua patterns in JID matching, and make <*>@example.com NOT match example.com Matthew Wild Fri, 05 Apr 2013 19:17:33 +0100
mod_firewall: Add INSPECT conditional, for deeper inspection of stanzas Kim Alvefur Thu, 04 Apr 2013 20:31:21 +0200
mod_firewall: General stanza filtering plugin with a declarative rule-based syntax Matthew Wild Wed, 03 Apr 2013 16:11:20 +0100