Log

util/stanza.lua @ 13270:14bbfb2cc8dd default tip

description author age
util: Prefix module imports with prosody namespace Kim Alvefur Fri, 17 Mar 2023 16:23:16 +0100
Merge 0.12->trunk Kim Alvefur Mon, 12 Dec 2022 07:10:54 +0100
Merge 0.11->0.12 0.12 0.12.2 Kim Alvefur Mon, 12 Dec 2022 07:07:13 +0100
util.stanza: Allow U+7F 0.11 0.11.14 Kim Alvefur Tue, 22 Nov 2022 23:56:01 +0100
Merge 0.12->trunk Kim Alvefur Thu, 15 Sep 2022 11:11:52 +0200
util.stanza: Return nil instead of nothing (fix test with luassert >=1.9) 0.12 Kim Alvefur Thu, 15 Sep 2022 11:05:21 +0200
util.stanza: Add add_error() to simplify adding error tags to existing stanzas Matthew Wild Mon, 29 Aug 2022 14:59:46 +0100
util.stanza: Add method for extracting a single attribute value Kim Alvefur Wed, 17 Aug 2022 19:04:30 +0200
util.stanza: Create tables with correct size to avoid reallocations Kim Alvefur Fri, 18 Mar 2022 16:43:06 +0100
util.stanza: Use table.move in clone Kim Alvefur Fri, 18 Mar 2022 16:39:48 +0100
util.stanza: Remove dead code Kim Alvefur Fri, 31 Dec 2021 14:01:12 +0100
util.stanza: Make type error message consistent with others Kim Alvefur Fri, 31 Dec 2021 13:52:11 +0100
util.stanza: Adjust pretty printing for symmetry Kim Alvefur Mon, 29 Nov 2021 02:13:45 +0100
util.stanza: Add :get_child_with_attr() + tests Matthew Wild Sun, 12 Sep 2021 10:31:02 +0100
util.stanza: Export pretty printing function Kim Alvefur Tue, 29 Jun 2021 16:06:54 +0200
util.stanza: Simplify and make pretty-printing look nicer Kim Alvefur Sat, 07 Nov 2020 22:09:46 +0100
util.stanza: Remove Windows "support" (disabling ANSI color pretty printing) Kim Alvefur Sat, 07 Nov 2020 21:39:36 +0100
util.stanza: add at_top helper Jonas Schäfer Sat, 08 May 2021 16:31:48 +0200
Merge 0.11->trunk Kim Alvefur Fri, 08 Jan 2021 23:56:27 +0100
util.stanza: Move misplaced argument to correct place 0.11 Kim Alvefur Thu, 24 Dec 2020 17:57:28 +0100
Merge 0.11->trunk Kim Alvefur Wed, 11 Nov 2020 16:09:55 +0100
util.stanza: Reject ASCII control characters (fixes #1606) 0.11 Kim Alvefur Wed, 11 Nov 2020 16:00:41 +0100
util.stanza: Extract Application-Specific Condition from errors Kim Alvefur Sat, 26 Sep 2020 18:12:18 +0200
util.stanza: Support Application-Specific Conditions in util.error Kim Alvefur Sat, 26 Sep 2020 18:09:10 +0200
util.stanza: Get 'by' from context instead Kim Alvefur Sat, 26 Sep 2020 18:07:33 +0200
util.stanza: Support inclusion of <gone> URI from util.error object Kim Alvefur Sat, 26 Sep 2020 17:30:47 +0200
util.stanza: Support getting 'by' from util.error object Kim Alvefur Sat, 26 Sep 2020 17:26:31 +0200
util.stanza: Reorder code to prepare for extracting 'by' from util.error Kim Alvefur Sat, 26 Sep 2020 17:18:17 +0200
util.stanza: Add method returning stanza with added indentation Kim Alvefur Sun, 12 Apr 2020 17:03:05 +0200
util.stanza: Accept util.error object to error_reply Kim Alvefur Sat, 14 Dec 2019 22:47:41 +0100
util.stanza: Support the 'by' attribute on errors Kim Alvefur Mon, 25 Nov 2019 20:59:36 +0100
util.stanza: Check that argument to error_reply is NOT a stanza of type error Kim Alvefur Mon, 25 Nov 2019 20:52:03 +0100
util.stanza: Check that argument to error_reply is a stanza Kim Alvefur Mon, 25 Nov 2019 20:52:01 +0100
util.stanza: Remove redundant check for attrs Kim Alvefur Mon, 25 Nov 2019 20:46:55 +0100
util.stanza: Check that argument to reply is a stanza Kim Alvefur Mon, 25 Nov 2019 20:44:05 +0100
util.stanza: Use :text_tag internally everywhere Kim Alvefur Fri, 02 Aug 2019 08:56:29 +0200
util.stanza: Fix :top_tag() handling of namespaced attributes Matthew Wild Mon, 25 Mar 2019 14:37:43 +0000
util.stanza: Require a type attribute for iq stanzas Kim Alvefur Fri, 28 Dec 2018 20:49:01 +0100
util.stanza: Deserialize stanza without mutating input (fixes #711) 0.11 Kim Alvefur Sat, 01 Dec 2018 18:30:19 +0100
util.stanza: Validate input to clone() (with brief tests) 0.11 Kim Alvefur Sat, 17 Nov 2018 15:26:11 +0100
util.stanza: Set preserialize as freeze metamethod Kim Alvefur Fri, 12 Oct 2018 00:52:18 +0200
util.stanza: Don't automatically generate ids for iq stanzas Matthew Wild Thu, 13 Sep 2018 16:35:48 +0100
util.stanza + tests: Bail out of loop if we are iterating too far, fixes #981 Matthew Wild Sun, 19 Aug 2018 21:56:33 +0100
Merge 0.10->trunk Kim Alvefur Sun, 08 Jul 2018 19:12:17 +0200
util.stanza: Add method for removing all children with a specific name, xmlns Kim Alvefur Sun, 08 Jul 2018 16:48:59 +0200
util.stanza: Remove redundant check from :text now done in :add_direct_child Kim Alvefur Fri, 08 Jun 2018 17:44:44 +0200
util.stanza: Verify that other objects added as children are valid strings Kim Alvefur Fri, 08 Jun 2018 17:06:21 +0200
util.stanza: Verify that child tags added are really stanzas (closes #1165) Kim Alvefur Fri, 08 Jun 2018 17:04:47 +0200