Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | util.ip: Add 'private' method/property to determine whether an IP address is ↵ | Matthew Wild | 2013-05-17 | 1 | -0/+15 | |
| | | | | | | | | | | | | generally expected to be internet-routeable (YMMV) | |||||
* | | | util.ip: Automatically determine protocol of IP address if none specified. ↵ | Matthew Wild | 2013-05-17 | 1 | -1/+9 | |
| | | | | | | | | | | | | Return error if invalid. | |||||
* | | | util.iterators: Small fix for variable scoping issue | Matthew Wild | 2013-05-17 | 1 | -1/+1 | |
| | | | ||||||
* | | | util.iterators: Add filter() to run results through a filter function | Matthew Wild | 2013-05-17 | 1 | -1/+15 | |
| | | | ||||||
* | | | util.iterators: Various fixes and improvements, primarily use pack() where ↵ | Matthew Wild | 2013-05-17 | 1 | -8/+12 | |
|/ / | | | | | | | it should be used. | |||||
* | | util.json: New, faster, stricter, more compliant JSON decoder. Now returns ↵ | Waqas Hussain | 2013-05-07 | 1 | -192/+155 | |
| | | | | | | | | nil,err instead of throwing errors on invalid input. | |||||
* | | util.array: Wrap tostring() output in {} (otherwise empty arrays print as ""). | Waqas Hussain | 2013-05-07 | 1 | -1/+1 | |
| | | ||||||
* | | util.json: Make setmetatable local. | Waqas Hussain | 2013-05-06 | 1 | -1/+1 | |
| | | ||||||
* | | util.json: Fix variable name typo which broke util.json when util.array was ↵ | Waqas Hussain | 2013-05-06 | 1 | -1/+1 | |
| | | | | | | | | missing. | |||||
* | | util.json: Optimize long string parsing. | Waqas Hussain | 2013-05-05 | 1 | -5/+5 | |
| | | ||||||
* | | Merge with Florob | Matthew Wild | 2013-05-01 | 1 | -1/+1 | |
|\ \ | ||||||
| * | | util.dataforms: Add support for generating type='fixed' fields | Florian Zeitz | 2013-02-11 | 1 | -1/+1 | |
| | | | ||||||
* | | | util.rfc{3484,6724}: Update to RFC 6724 | Florian Zeitz | 2013-04-30 | 2 | -8/+30 | |
| | | | ||||||
* | | | util.openssl: Write the distinguished_name part of the config in a ↵ | Kim Alvefur | 2013-04-29 | 1 | -1/+21 | |
| | | | | | | | | | | | | consistent order | |||||
* | | | util.hashes, util.sasl.scram: Implement SCRAM-SHA1's Hi in C | Florian Zeitz | 2013-04-28 | 1 | -13/+2 | |
| | | | ||||||
* | | | util.hmac, util.hashes: Implement HMAC functions in C, and move to util.hashes | Florian Zeitz | 2013-04-27 | 2 | -60/+6 | |
| | | | ||||||
* | | | util.prosodyctl: Initialize storagemanager on the host before initializing ↵ | Matthew Wild | 2013-04-27 | 1 | -2/+4 | |
| | | | | | | | | | | | | usermanager. This fixes brokenness when the auth provider opens the store on load (as they all do since eeea0eb2602a) (thanks nulani) | |||||
* | | | util.json: New, improved, fixed codepoint to UTF-8 conversion. | Waqas Hussain | 2013-04-23 | 1 | -26/+11 | |
| | | | ||||||
* | | | util.json: Make encode(decode("[]"))=="[]". | Waqas Hussain | 2013-04-23 | 1 | -2/+10 | |
| | | | ||||||
* | | | util.adhoc: New util for generating common adhoc handler patterns | Florian Zeitz | 2013-04-23 | 1 | -0/+31 | |
| | | | ||||||
* | | | mod_storage_sql2 (temporary name), sql.lib, util.sql: New SQL API supporting ↵ | Matthew Wild | 2013-04-18 | 1 | -0/+340 | |
| | | | | | | | | | | | | cross-module connection sharing, transactions and Things - a work in progress | |||||
* | | | util.http: Refactor and import all necessary functions | Matthew Wild | 2013-04-12 | 1 | -9/+13 | |
| | | | ||||||
* | | | util.iterators: Add ripairs() (ipairs() in reverse) (thanks Maranda) | Matthew Wild | 2013-04-12 | 1 | -0/+5 | |
| | | | ||||||
* | | | util.httpstream: Unused, remove | Matthew Wild | 2013-04-11 | 1 | -134/+0 | |
| | | | ||||||
* | | | net.http, util.http: Move definitions of urlencode/decode and ↵ | Matthew Wild | 2013-04-11 | 1 | -0/+45 | |
| | | | | | | | | | | | | formencode/decode to util.http (possible to use them without unnecessary network-related dependencies) | |||||
* | | | util.datamanager: Clear the cache of created directories on storage failure, ↵ | Matthew Wild | 2013-04-07 | 1 | -11/+19 | |
| | | | | | | | | | | | | and retry | |||||
* | | | util.datamanager: expose path decode and encode functions. | Marco Cirillo | 2013-04-07 | 1 | -0/+2 | |
| | | | ||||||
* | | | util.json: Convert \uXXXX to UTF-8 when decoding | Matthew Wild | 2013-04-06 | 1 | -1/+36 | |
| | | | ||||||
* | | | util.stanza: Use correct index when replacing the tag in .tags (thanks ↵ | Matthew Wild | 2013-04-05 | 1 | -1/+1 | |
| | | | | | | | | | | | | daurnimator) | |||||
* | | | util.stanza: Add stanza:find(), a light weight XPath-like method | Kim Alvefur | 2013-04-04 | 1 | -0/+26 | |
| | | | ||||||
* | | | util.helpers: Helper helpers to log host events | Matthew Wild | 2013-04-03 | 1 | -0/+8 | |
| | | | ||||||
* | | | util.stanza: :maptags(): Fixes to make loop more robust on item removal | Matthew Wild | 2013-04-03 | 1 | -2/+4 | |
| | | | ||||||
* | | | util.json: Add json.encode_array() (thanks B) | Matthew Wild | 2013-03-28 | 1 | -0/+5 | |
| | | | ||||||
* | | | util.{prosodyctl,openssl}: More use of config sections removed | Kim Alvefur | 2013-03-23 | 2 | -7/+7 | |
|/ / | ||||||
* | | mod_pubsub, util.pubsub: Add delete action | Kim Alvefur | 2013-01-31 | 1 | -0/+12 | |
| | | ||||||
* | | util.pubsub: Fix nil access error in get_subscriptions. | Waqas Hussain | 2013-01-26 | 1 | -1/+1 | |
| | | ||||||
* | | mod_pubsub, util.pubsub: Don't send purge notifications in an <items/> element | Florian Zeitz | 2013-01-25 | 1 | -9/+18 | |
| | | ||||||
* | | util.xmppstream: Include error stanza in error message if no error handler ↵ | Waqas Hussain | 2013-01-26 | 1 | -1/+1 | |
| | | | | | | | | is available. | |||||
* | | mod_pubsub, util.pubsub: Implement the purge action | Kim Alvefur | 2013-01-24 | 1 | -1/+9 | |
| | | ||||||
* | | util.sasl.{plain,scram,digest-md5}: nodeprep username before passing to ↵ | Waqas Hussain | 2013-01-22 | 3 | -5/+25 | |
| | | | | | | | | callbacks, so callbacks don't have to. | |||||
* | | util.http: New module for HTTP helper functions | Florian Zeitz | 2013-01-12 | 1 | -0/+15 | |
| | | ||||||
* | | util.openssl: Cleanup; remove some unused variables. | Kim Alvefur | 2013-01-07 | 1 | -8/+4 | |
| | | ||||||
* | | util.datamanager: Don't escape the name of a store | Kim Alvefur | 2012-12-16 | 1 | -1/+1 | |
| | | ||||||
* | | Merge | Kim Alvefur | 2012-12-15 | 1 | -5/+1 | |
|\ \ | ||||||
| * | | util.datamanager: Remove unused variable | Kim Alvefur | 2012-12-14 | 1 | -1/+0 | |
| | | | ||||||
| * | | util.datamanager: Remove dead code path | Kim Alvefur | 2012-12-14 | 1 | -4/+1 | |
| | | | ||||||
* | | | util.sasl.plain: Reduce some code. | Waqas Hussain | 2012-12-15 | 1 | -6/+2 | |
|/ / | ||||||
* | | util.xml: Fix module name. | Waqas Hussain | 2012-12-03 | 1 | -1/+1 | |
| | | ||||||
* | | util.template: Use util.xml. | Waqas Hussain | 2012-12-03 | 1 | -52/+2 | |
| | | ||||||
* | | util.xml: Initial commit; exposes parse(), which is now the canonical way to ↵ | Waqas Hussain | 2012-12-03 | 1 | -0/+57 | |
| | | | | | | | | convert a string to a stanza. |