Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | util.sql: Do lazy fetching of affected/rowcount | Kim Alvefur | 2013-07-12 | 1 | -3/+3 | |
| | | | ||||||
* | | | Backed out changeset 3c57c2281087 | Kim Alvefur | 2013-07-12 | 1 | -1/+2 | |
| | | | ||||||
* | | | util.sql: Don't fetch row count of result sets for queries that don't have ↵ | Kim Alvefur | 2013-07-12 | 1 | -2/+1 | |
| | | | | | | | | | | | | result sets | |||||
* | | | util.sql: Set charset and collation for MySQL when creating tables | Kim Alvefur | 2013-07-11 | 1 | -0/+2 | |
| | | | ||||||
* | | | Merge the merge | Matthew Wild | 2013-06-13 | 2 | -0/+26 | |
|\ \ \ | ||||||
| * | | | util.sasl.external: Add SASL EXTERNAL mechanism | Kim Alvefur | 2013-06-13 | 2 | -0/+26 | |
| | | | | ||||||
* | | | | Merge 0.9->trunk | Matthew Wild | 2013-06-13 | 1 | -1/+5 | |
|\ \ \ \ | |/ / / |/| / / | |/ / | ||||||
| * | | util.dataforms: Return nil for empty list-mutli responses, to be consistent ↵ | Florian Zeitz | 2013-06-14 | 1 | -1/+5 | |
| | | | | | | | | | | | | with other readers | |||||
* | | | Merge 0.9->trunk | Matthew Wild | 2013-06-13 | 1 | -0/+3 | |
|\| | | ||||||
| * | | util.pubsub: Check whether node exists, when deleting | Florian Zeitz | 2013-06-12 | 1 | -0/+3 | |
| | | | ||||||
* | | | Merge 0.9->trunk | Kim Alvefur | 2013-05-26 | 1 | -1/+1 | |
|\| | | ||||||
| * | | util.pubsub: Fix get_subscriptions to not pass a boolean as node name ↵ | Kim Alvefur | 2013-05-26 | 1 | -1/+1 | |
| | | | | | | | | | | | | (thanks jonas) | |||||
* | | | util.ip: Fix protocol detection of IPv6 addresses beginning with : | Matthew Wild | 2013-05-18 | 1 | -2/+4 | |
| | | | ||||||
* | | | util.ip: Add CIDR notation parsing and matching | Matthew Wild | 2013-05-18 | 1 | -1/+24 | |
| | | | ||||||
* | | | Merge 0.9->trunk | Kim Alvefur | 2013-05-18 | 1 | -0/+7 | |
|\| | | ||||||
| * | | util.ip: Convert IPv4 mapped addresses to hex. | Kim Alvefur | 2013-05-18 | 1 | -0/+7 | |
| | | | ||||||
* | | | 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 | |
|/ / |