| Commit message (Expand) | Author | Age | Files | Lines |
* | util.stanza: Handle Clark notation for attributes in :find() | Kim Alvefur | 2024-11-17 | 1 | -0/+3 |
* | util.stanza: Handle namespace prefixes for attributes in :find() | Kim Alvefur | 2024-11-17 | 1 | -0/+4 |
* | util: Prefix module imports with prosody namespace | Kim Alvefur | 2023-03-17 | 1 | -4/+4 |
* | Merge 0.12->trunk | Kim Alvefur | 2022-12-12 | 1 | -36/+60 |
|\ |
|
| * | Merge 0.12->trunk | Kim Alvefur | 2022-09-15 | 1 | -0/+5 |
| |\ |
|
| * | | util.stanza: Add add_error() to simplify adding error tags to existing stanzas | Matthew Wild | 2022-08-29 | 1 | -25/+31 |
| * | | util.stanza: Add method for extracting a single attribute value | Kim Alvefur | 2022-08-17 | 1 | -0/+8 |
| * | | util.stanza: Create tables with correct size to avoid reallocations | Kim Alvefur | 2022-03-18 | 1 | -2/+15 |
| * | | util.stanza: Use table.move in clone | Kim Alvefur | 2022-03-18 | 1 | -9/+6 |
* | | | Merge 0.11->0.120.12.2 | Kim Alvefur | 2022-12-12 | 1 | -1/+5 |
|\ \ \
| |_|/
|/| | |
|
| * | | util.stanza: Allow U+7F0.11.14 | Kim Alvefur | 2022-11-22 | 1 | -1/+5 |
* | | | util.stanza: Return nil instead of nothing (fix test with luassert >=1.9) | Kim Alvefur | 2022-09-15 | 1 | -0/+5 |
| |/
|/| |
|
* | | util.stanza: Remove dead code | Kim Alvefur | 2021-12-31 | 1 | -5/+0 |
* | | util.stanza: Make type error message consistent with others | Kim Alvefur | 2021-12-31 | 1 | -1/+1 |
* | | util.stanza: Adjust pretty printing for symmetry | Kim Alvefur | 2021-11-29 | 1 | -1/+1 |
* | | util.stanza: Add :get_child_with_attr() + tests | Matthew Wild | 2021-09-12 | 1 | -0/+8 |
* | | util.stanza: Export pretty printing function | Kim Alvefur | 2021-06-29 | 1 | -1/+3 |
* | | util.stanza: Simplify and make pretty-printing look nicer | Kim Alvefur | 2020-11-07 | 1 | -29/+37 |
* | | util.stanza: Remove Windows "support" (disabling ANSI color pretty printing) | Kim Alvefur | 2020-11-07 | 1 | -11/+2 |
* | | util.stanza: add at_top helper | Jonas Schäfer | 2021-05-08 | 1 | -0/+4 |
* | | Merge 0.11->trunk | Kim Alvefur | 2021-01-08 | 1 | -2/+2 |
|\| |
|
| * | util.stanza: Move misplaced argument to correct place | Kim Alvefur | 2020-12-24 | 1 | -2/+2 |
* | | Merge 0.11->trunk | Kim Alvefur | 2020-11-11 | 1 | -1/+9 |
|\| |
|
| * | util.stanza: Reject ASCII control characters (fixes #1606) | Kim Alvefur | 2020-11-11 | 1 | -1/+9 |
* | | util.stanza: Extract Application-Specific Condition from errors | Kim Alvefur | 2020-09-26 | 1 | -6/+8 |
* | | util.stanza: Support Application-Specific Conditions in util.error | Kim Alvefur | 2020-09-26 | 1 | -0/+5 |
* | | util.stanza: Get 'by' from context instead | Kim Alvefur | 2020-09-26 | 1 | -1/+1 |
* | | util.stanza: Support inclusion of <gone> URI from util.error object | Kim Alvefur | 2020-09-26 | 1 | -2/+8 |
* | | util.stanza: Support getting 'by' from util.error object | Kim Alvefur | 2020-09-26 | 1 | -0/+3 |
* | | util.stanza: Reorder code to prepare for extracting 'by' from util.error | Kim Alvefur | 2020-09-26 | 1 | -3/+3 |
* | | util.stanza: Add method returning stanza with added indentation | Kim Alvefur | 2020-04-12 | 1 | -0/+30 |
* | | util.stanza: Accept util.error object to error_reply | Kim Alvefur | 2019-12-14 | 1 | -0/+3 |
* | | util.stanza: Support the 'by' attribute on errors | Kim Alvefur | 2019-11-25 | 1 | -2/+5 |
* | | util.stanza: Check that argument to error_reply is NOT a stanza of type error | Kim Alvefur | 2019-11-25 | 1 | -0/+2 |
* | | util.stanza: Check that argument to error_reply is a stanza | Kim Alvefur | 2019-11-25 | 1 | -0/+3 |
* | | util.stanza: Remove redundant check for attrs | Kim Alvefur | 2019-11-25 | 1 | -1/+1 |
* | | util.stanza: Check that argument to reply is a stanza | Kim Alvefur | 2019-11-25 | 1 | -0/+3 |
* | | util.stanza: Use :text_tag internally everywhere | Kim Alvefur | 2019-08-02 | 1 | -3/+3 |
* | | util.stanza: Fix :top_tag() handling of namespaced attributes | Matthew Wild | 2019-03-25 | 1 | -32/+30 |
* | | util.stanza: Require a type attribute for iq stanzas | Kim Alvefur | 2018-12-28 | 1 | -1/+7 |
|/ |
|
* | util.stanza: Deserialize stanza without mutating input (fixes #711) | Kim Alvefur | 2018-12-01 | 1 | -27/+17 |
* | util.stanza: Validate input to clone() (with brief tests) | Kim Alvefur | 2018-11-17 | 1 | -2/+9 |
* | util.stanza: Set preserialize as freeze metamethod | Kim Alvefur | 2018-10-12 | 1 | -0/+2 |
* | util.stanza: Don't automatically generate ids for iq stanzas | Matthew Wild | 2018-09-13 | 1 | -9/+4 |
* | util.stanza + tests: Bail out of loop if we are iterating too far, fixes #981 | Matthew Wild | 2018-08-19 | 1 | -0/+6 |
* | Merge 0.10->trunk | Kim Alvefur | 2018-07-08 | 1 | -0/+10 |
|\ |
|
| * | util.stanza: Add method for removing all children with a specific name, xmlns | Kim Alvefur | 2018-07-08 | 1 | -0/+10 |
* | | util.stanza: Remove redundant check from :text now done in :add_direct_child | Kim Alvefur | 2018-06-08 | 1 | -1/+0 |
* | | util.stanza: Verify that other objects added as children are valid strings | Kim Alvefur | 2018-06-08 | 1 | -1/+4 |
* | | util.stanza: Verify that child tags added are really stanzas (closes #1165) | Kim Alvefur | 2018-06-08 | 1 | -1/+1 |