aboutsummaryrefslogtreecommitdiffstats
path: root/util
Commit message (Expand)AuthorAgeFilesLines
* Merge 0.12->trunkMatthew Wild2022-11-041-5/+14
|\
| * util.json: Accept empty arrays with whitespace (fixes #1782)Matthew Wild2022-11-041-5/+14
* | util.prosodyctl.cert: Remove Lua 5.1 os.execute() return value compatKim Alvefur2022-10-201-1/+1
* | util.prosodyctl: Remove Lua 5.1 os.execute() return value compatKim Alvefur2022-10-201-2/+1
* | util.openssl: Remove Lua 5.1 os.execute() return value compatKim Alvefur2022-10-201-2/+1
* | util.human.io: Fix handling of os.execute() return values in Lua 5.2+Kim Alvefur2022-10-201-3/+3
* | util.mathcompat: Module to ease reuse of math.type()Kim Alvefur2022-10-204-10/+22
* | util.startup: Provide a common Lua 5.3+ math.type() for Lua 5.2Kim Alvefur2022-10-194-9/+17
* | Merge 0.12->trunkKim Alvefur2022-10-201-1/+1
|\|
| * util.startup: Ensure import() is available in prosodyctl (thanks keyzer)Kim Alvefur2022-10-201-1/+1
* | util.jid: Simplify boolean logic in conditionalsMatthew Wild2022-10-111-3/+3
* | util.jid: Remove redundant check from split() (micro-optimization?)Matthew Wild2022-10-111-2/+1
* | util.dbuffer: Add efficient shortcuts for discard() in certain casesMatthew Wild2022-10-111-2/+6
* | util.dbuffer: Remove redundant code (read_chunk() cannot fail at this point)Matthew Wild2022-10-111-7/+3
* | Merge 0.12->trunkKim Alvefur2022-10-091-3/+3
|\|
| * util.jsonschema: Use same integer/float logic on Lua 5.2 and 5.3Kim Alvefur2022-10-091-2/+2
| * util.jsonschema: Fix Lua 5.2 integer compatKim Alvefur2022-10-091-1/+1
* | util.promise: Remove line that was supposed to be removed in eb9814372c54Matthew Wild2022-10-071-1/+0
* | util.promise: Remove some redundant checks, add tests confirming redundancyMatthew Wild2022-10-071-4/+0
* | util.roles: Add a :policies() method to iterate through available policiesMatthew Wild2022-10-071-0/+10
* | util.roles: Return nil if the role has no explicit policy (fixes inheritance)Matthew Wild2022-10-071-1/+1
* | util.iterators: join: Work even with only a single iterator in the chainMatthew Wild2022-10-061-1/+2
* | prosodyctl: check turn: More clearly indicate the error is from TURN serverMatthew Wild2022-10-061-1/+1
* | util.jwt: More robust ECDSA signature parsing, fail early on unexpected lengthMatthew Wild2022-09-301-1/+5
* | util.jwt: Add support for ES512 (+ tests)Matthew Wild2022-09-291-0/+1
* | util.crypto, util.jwt: Generate consistent signature sizes (via padding)Matthew Wild2022-09-291-4/+4
* | Merge 0.12->trunkKim Alvefur2022-09-151-0/+5
|\|
| * util.stanza: Return nil instead of nothing (fix test with luassert >=1.9)Kim Alvefur2022-09-151-0/+5
| * luacheck: Shut up (backports 3caff1f93520, ignores module deleted in trunk)Kim Alvefur2022-05-301-2/+2
* | util.paseto: Do strict type check in pae() functionKim Alvefur2022-07-111-0/+3
* | util.paseto: Drop custom wrappers around key objectsMatthew Wild2022-07-111-46/+5
* | util.paseto: Export similar API to new util.jwt for ease and consistencyMatthew Wild2022-07-111-0/+21
* | util.paseto: Error early on invalid keysMatthew Wild2022-07-111-0/+2
* | util.paseto: Fix to decode footer before comparisonMatthew Wild2022-07-111-0/+1
* | util.jwt: Add new init() convenience method to obtain both signer and verifierMatthew Wild2022-07-111-0/+6
* | util.jwt: Consolidate payload parsing, ensure it's always a valid objectMatthew Wild2022-07-111-11/+13
* | util.jwt: Provide built-in token expiry support (defaults to 3600s lifetime)Matthew Wild2022-07-111-3/+28
* | util.jwt: All the algorithms (+ all the tests!)Matthew Wild2022-07-021-5/+12
* | util.crypto: More digests for sign/verify, use macros for clarity/consistencyMatthew Wild2022-07-021-2/+2
* | util.jwt: Add support for RSA-based algorithms (RS256, PS256)Matthew Wild2022-07-021-14/+35
* | util.jwt: Add support/tests for ES256 via improved API and using util.cryptoMatthew Wild2022-07-011-19/+121
* | util.paseto: Implementation of PASETO v4.public tokensMatthew Wild2022-06-241-0/+123
* | util.stanza: Add add_error() to simplify adding error tags to existing stanzasMatthew Wild2022-08-291-25/+31
* | util.roles: Add new utility module to consolidate role objects and methodsMatthew Wild2022-07-191-0/+100
* | util.session: Add role management methodsMatthew Wild2022-06-151-0/+6
* | util.stanza: Add method for extracting a single attribute valueKim Alvefur2022-08-171-0/+8
* | util.datetime: Remove a lineKim Alvefur2022-08-171-2/+1
* | util.datetime: Add support for sub-second precision timestampsKim Alvefur2022-08-141-7/+19
* | doap: Update XEP versions for which no code changes appear neededKim Alvefur2022-08-081-0/+1
* | various: Update IETF RFC URLs for tools.ietf.org transitionKim Alvefur2022-08-051-6/+6