| Commit message (Expand) | Author | Age | Files | Lines |
* | util.jid: Simplify boolean logic in conditionals | Matthew Wild | 2022-10-11 | 1 | -3/+3 |
* | util.jid: Remove redundant check from split() (micro-optimization?) | Matthew Wild | 2022-10-11 | 1 | -2/+1 |
* | util.dbuffer: Add efficient shortcuts for discard() in certain cases | Matthew Wild | 2022-10-11 | 1 | -2/+6 |
* | util.dbuffer: Remove redundant code (read_chunk() cannot fail at this point) | Matthew Wild | 2022-10-11 | 1 | -7/+3 |
* | Merge 0.12->trunk | Kim Alvefur | 2022-10-09 | 1 | -3/+3 |
|\ |
|
| * | util.jsonschema: Use same integer/float logic on Lua 5.2 and 5.3 | Kim Alvefur | 2022-10-09 | 1 | -2/+2 |
| * | util.jsonschema: Fix Lua 5.2 integer compat | Kim Alvefur | 2022-10-09 | 1 | -1/+1 |
* | | util.promise: Remove line that was supposed to be removed in eb9814372c54 | Matthew Wild | 2022-10-07 | 1 | -1/+0 |
* | | util.promise: Remove some redundant checks, add tests confirming redundancy | Matthew Wild | 2022-10-07 | 1 | -4/+0 |
* | | util.roles: Add a :policies() method to iterate through available policies | Matthew Wild | 2022-10-07 | 1 | -0/+10 |
* | | util.roles: Return nil if the role has no explicit policy (fixes inheritance) | Matthew Wild | 2022-10-07 | 1 | -1/+1 |
* | | util.iterators: join: Work even with only a single iterator in the chain | Matthew Wild | 2022-10-06 | 1 | -1/+2 |
* | | prosodyctl: check turn: More clearly indicate the error is from TURN server | Matthew Wild | 2022-10-06 | 1 | -1/+1 |
* | | util.jwt: More robust ECDSA signature parsing, fail early on unexpected length | Matthew Wild | 2022-09-30 | 1 | -1/+5 |
* | | util.jwt: Add support for ES512 (+ tests) | Matthew Wild | 2022-09-29 | 1 | -0/+1 |
* | | util.crypto, util.jwt: Generate consistent signature sizes (via padding) | Matthew Wild | 2022-09-29 | 1 | -4/+4 |
* | | Merge 0.12->trunk | Kim Alvefur | 2022-09-15 | 1 | -0/+5 |
|\| |
|
| * | util.stanza: Return nil instead of nothing (fix test with luassert >=1.9) | Kim Alvefur | 2022-09-15 | 1 | -0/+5 |
| * | luacheck: Shut up (backports 3caff1f93520, ignores module deleted in trunk) | Kim Alvefur | 2022-05-30 | 1 | -2/+2 |
* | | util.paseto: Do strict type check in pae() function | Kim Alvefur | 2022-07-11 | 1 | -0/+3 |
* | | util.paseto: Drop custom wrappers around key objects | Matthew Wild | 2022-07-11 | 1 | -46/+5 |
* | | util.paseto: Export similar API to new util.jwt for ease and consistency | Matthew Wild | 2022-07-11 | 1 | -0/+21 |
* | | util.paseto: Error early on invalid keys | Matthew Wild | 2022-07-11 | 1 | -0/+2 |
* | | util.paseto: Fix to decode footer before comparison | Matthew Wild | 2022-07-11 | 1 | -0/+1 |
* | | util.jwt: Add new init() convenience method to obtain both signer and verifier | Matthew Wild | 2022-07-11 | 1 | -0/+6 |
* | | util.jwt: Consolidate payload parsing, ensure it's always a valid object | Matthew Wild | 2022-07-11 | 1 | -11/+13 |
* | | util.jwt: Provide built-in token expiry support (defaults to 3600s lifetime) | Matthew Wild | 2022-07-11 | 1 | -3/+28 |
* | | util.jwt: All the algorithms (+ all the tests!) | Matthew Wild | 2022-07-02 | 1 | -5/+12 |
* | | util.crypto: More digests for sign/verify, use macros for clarity/consistency | Matthew Wild | 2022-07-02 | 1 | -2/+2 |
* | | util.jwt: Add support for RSA-based algorithms (RS256, PS256) | Matthew Wild | 2022-07-02 | 1 | -14/+35 |
* | | util.jwt: Add support/tests for ES256 via improved API and using util.crypto | Matthew Wild | 2022-07-01 | 1 | -19/+121 |
* | | util.paseto: Implementation of PASETO v4.public tokens | Matthew Wild | 2022-06-24 | 1 | -0/+123 |
* | | util.stanza: Add add_error() to simplify adding error tags to existing stanzas | Matthew Wild | 2022-08-29 | 1 | -25/+31 |
* | | util.roles: Add new utility module to consolidate role objects and methods | Matthew Wild | 2022-07-19 | 1 | -0/+100 |
* | | util.session: Add role management methods | Matthew Wild | 2022-06-15 | 1 | -0/+6 |
* | | util.stanza: Add method for extracting a single attribute value | Kim Alvefur | 2022-08-17 | 1 | -0/+8 |
* | | util.datetime: Remove a line | Kim Alvefur | 2022-08-17 | 1 | -2/+1 |
* | | util.datetime: Add support for sub-second precision timestamps | Kim Alvefur | 2022-08-14 | 1 | -7/+19 |
* | | doap: Update XEP versions for which no code changes appear needed | Kim Alvefur | 2022-08-08 | 1 | -0/+1 |
* | | various: Update IETF RFC URLs for tools.ietf.org transition | Kim Alvefur | 2022-08-05 | 1 | -6/+6 |
* | | util.sasl.scram: Add 'tls-exporter' as recognised channel binding method | Kim Alvefur | 2022-07-27 | 1 | -1/+1 |
* | | compat: Use table.pack (there since Lua 5.2) over our util.table | Kim Alvefur | 2022-07-11 | 3 | -3/+3 |
* | | compat: Remove handling of Lua 5.1 location of 'unpack' function | Kim Alvefur | 2022-07-11 | 7 | -7/+7 |
* | | Merge 0.12->trunk | Kim Alvefur | 2022-07-08 | 2 | -145/+168 |
|\| |
|
| * | util.datamapper: Improve handling of schemas with non-obvious "type" | Kim Alvefur | 2022-07-08 | 1 | -10/+27 |
| * | util.jsonschema: Fix validation to not assume presence of "type" field | Kim Alvefur | 2022-07-08 | 1 | -135/+141 |
* | | util.envload: Remove Lua 5.1 method | Kim Alvefur | 2022-07-05 | 1 | -29/+10 |
* | | util: Remove various Lua 5.1 compatibility hacks | Kim Alvefur | 2022-07-02 | 5 | -31/+2 |
* | | util.dependencies: Reject Lua 5.1, Lua 5.2 or later is now required (see #1600) | Kim Alvefur | 2022-07-02 | 1 | -2/+2 |
* | | util.dependencies: Deprecate support for Lua 5.1, this is your final warning | Kim Alvefur | 2022-06-30 | 1 | -1/+1 |