aboutsummaryrefslogtreecommitdiffstats
path: root/util
Commit message (Expand)AuthorAgeFilesLines
* renamening: Fix newly added imports to use the new namespaceKim Alvefur2023-06-183-4/+4
* util.jsonschema: Remove wrapper functionKim Alvefur2023-06-171-7/+0
* util.jsonschema: Silence Teal warnings about utf8 libraryKim Alvefur2023-06-171-2/+2
* util.jsonschema: Silence Teal warnings about counting items in tablesKim Alvefur2023-06-171-4/+4
* util.argparse: Add support for repeatable parametersKim Alvefur2022-01-051-2/+11
* util.sqlite3: Don't cache prepared statements for one-off queriesKim Alvefur2023-06-101-10/+8
* util.sqlite3: Deduplicate query methodsKim Alvefur2023-06-101-34/+27
* util.sqlite3: Fix indentationKim Alvefur2023-06-101-5/+7
* Merge 0.12->trunkKim Alvefur2023-06-101-0/+2
|\
| * util.array: Expose new() on module tableKim Alvefur2023-06-101-0/+2
* | util.datamanager: Halve size of list indexKim Alvefur2021-05-141-11/+15
* | util.datamanager: Add O(1) list indexing with on-disk indexKim Alvefur2021-05-111-0/+191
* | util.serialization: Add a "pretty" presetKim Alvefur2023-06-091-0/+4
* | util.http: Implement parser for RFC 7239 Forwarded headerKim Alvefur2023-06-031-0/+33
* | util.set: Remove duplicate __freeze metamethodKim Alvefur2023-06-011-9/+0
* | Merge 0.12->trunkKim Alvefur2023-05-311-4/+5
|\|
| * util.prosodyctl.check: Fix error where hostname can't be turned into A labelKim Alvefur2023-05-311-4/+5
* | util.startup: Record current version in a metricKim Alvefur2023-05-311-1/+1
* | util.startup: Remove componentmanager backwards compatibilityKim Alvefur2023-05-311-5/+0
* | util.dependencies: Print tables itself to reduce number of importsKim Alvefur2023-05-261-2/+1
* | util.sasl.oauthbearer: Tighter parsing of SASL messageKim Alvefur2023-05-261-1/+3
* | util.jsonschema: Fix UTF-8ness of 'minLength' and 'maxLength'Kim Alvefur2023-04-231-2/+8
* | util.jsonschema: Implement 'minContains' and 'maxContains'Kim Alvefur2023-04-231-4/+3
* | util.jsonschema: Implement 'luaPattern' - Lua variant of 'pattern'Kim Alvefur2023-04-221-0/+3
* | util.jsonschema: Implement 'luaPatternProperties' as Lua variant of 'patternP...Kim Alvefur2023-04-221-1/+18
* | Merge 0.12->trunkKim Alvefur2023-04-191-1/+1
|\|
| * util.error: Fix error on conversion of invalid error stanza, fix #1805Kim Alvefur2023-04-191-1/+1
* | util.human.io: Fix column width miscalculationKim Alvefur2023-04-091-3/+0
* | util.human.io: Fix error with ellipsis to negative lengthKim Alvefur2023-04-091-1/+1
* | util.sasl: Fix a singularsKim Alvefur2023-04-071-1/+1
* | util.argparse: Translate '-' to '_' in long option names for convenienceMatthew Wild2023-04-071-0/+1
* | util.human.io: Add parse_duration() method to parse a duration stringMatthew Wild2023-04-071-0/+12
* | util.prosodyctl.shell: Fix sending terminal width with single argumentKim Alvefur2023-04-071-1/+1
* | util.human.io: Coerce $COLUMNS to numberKim Alvefur2023-04-071-1/+1
* | util.prosodyctl.shell: Coerce terminal width to string (for util.stanza)Kim Alvefur2023-04-071-1/+1
* | util.human.io: table: don't read $COLUMNS directly, just use term_width()Matthew Wild2023-04-071-1/+1
* | util.human.io: table: Return determined width as a second resultMatthew Wild2023-04-071-1/+1
* | util.human.io: Prefer using the $COLUMNS environment variable if set (by read...Kim Alvefur2023-04-072-1/+3
* | util.prosodyctl.shell: Use new term_width() for widthKim Alvefur2023-04-071-1/+2
* | util.human.io: table: use term_width() to discover terminal widthMatthew Wild2023-04-071-1/+1
* | util.human.io: Add term_width() method to discover the terminal widthMatthew Wild2023-04-071-0/+12
* | util.human.io: Pass the whole column definition to mapper functionKim Alvefur2023-04-071-1/+1
* | util.human.io: Allow defining per column ellipsis functionKim Alvefur2023-04-071-1/+1
* | util.human.io: Pass expected width to mapper functionKim Alvefur2023-04-071-1/+1
* | util.set: Change tostring format to {a, b, c}Kim Alvefur2023-04-061-1/+1
* | util.array: Change tostring format to [a,b,c]Kim Alvefur2023-04-061-1/+1
* | util.human.io: Fix pattern to support fractional proportionsMatthew Wild2023-04-061-2/+2
* | util.human.io: Support for dynamic "proportional" columnsMatthew Wild2023-04-061-4/+14
* | util.fsm: New utility lib for finite state machinesMatthew Wild2022-03-171-0/+154
* | util.startup: Add prosody.started promise to easily execute code after startupMatthew Wild2023-04-011-3/+14