aboutsummaryrefslogtreecommitdiffstats
path: root/util
Commit message (Expand)AuthorAgeFilesLines
* 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
* | util.session: Add 'since' property with timestamp of session creationMatthew Wild2023-03-291-0/+2
* | util.jsonschema: Implement 'dependentSchemas'Kim Alvefur2023-03-261-0/+8
* | util.jsonschema: Implement 'dependentRequired'Kim Alvefur2023-03-261-0/+12
* | util.roles: Implement a serialization preparation metamethodKim Alvefur2023-03-261-0/+13
* | util.set: Add a serialization preparation metamethodKim Alvefur2023-03-261-0/+9
* | util.format: Restore "freeze" serialization behavior in loggingKim Alvefur2023-03-261-0/+1
* | util.format: Tweak serialization of %q formatted entriesKim Alvefur2023-03-261-1/+8
* | util.startup: Tweak function string representationKim Alvefur2023-03-261-1/+1
* | util: Prefix module imports with prosody namespaceKim Alvefur2023-03-1768-246/+246
* | util.sasl.oauthbearer: Fix gs2-header parsingMatthew Wild2023-03-211-1/+1
* | util.sasl.{scram,plain}: Pass authzid to SASL profile callbackKim Alvefur2023-03-162-5/+4
* | util.sasl.scram: Fix off-by-one indentationKim Alvefur2023-03-161-2/+2
* | util.sasl.oauthbearer: Adjust parsing of GS2 to allow lack of authzidKim Alvefur2023-03-162-4/+5
* | util.sasl.oauthbearer: Return username from callback instead using authzid (BC)Kim Alvefur2023-03-161-33/+3
* | util.sasl.oauthbearer: Fix syntax error in b796e08e6376Matthew Wild2023-03-151-1/+1
* | util.sasl.oauthbearer: Attach token_info to sasl handlerMatthew Wild2023-03-151-0/+2
* | util.ip: Add ip.truncate() to return a new IP with only the prefix of anotherMatthew Wild2023-03-141-0/+12
* | util.ip: Add is_ip() helper method to detect if an object is an ip objectMatthew Wild2023-03-141-0/+5
* | util.sasl.oauthbearer: Fix traceback on authz in unexpected formatKim Alvefur2023-03-021-0/+4
* | util.sasl: Add SASL OAUTHBEARER mechanism (RFC 7628)Matthew Wild2023-03-012-4/+88
* | Merge 0.12->trunkKim Alvefur2023-02-221-2/+2
|\|