aboutsummaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
* Merge 0.9->trunkMatthew Wild2013-06-131-1/+5
|\
| * util.dataforms: Return nil for empty list-mutli responses, to be consistent ↵Florian Zeitz2013-06-141-1/+5
| | | | | | | | with other readers
* | Merge 0.9->trunkMatthew Wild2013-06-131-0/+3
|\|
| * util.pubsub: Check whether node exists, when deletingFlorian Zeitz2013-06-121-0/+3
| |
* | Merge 0.9->trunkKim Alvefur2013-05-261-1/+1
|\|
| * util.pubsub: Fix get_subscriptions to not pass a boolean as node name ↵Kim Alvefur2013-05-261-1/+1
| | | | | | | | (thanks jonas)
* | util.ip: Fix protocol detection of IPv6 addresses beginning with :Matthew Wild2013-05-181-2/+4
| |
* | util.ip: Add CIDR notation parsing and matchingMatthew Wild2013-05-181-1/+24
| |
* | Merge 0.9->trunkKim Alvefur2013-05-181-0/+7
|\|
| * util.ip: Convert IPv4 mapped addresses to hex.Kim Alvefur2013-05-181-0/+7
| |
* | util.ip: Add 'private' method/property to determine whether an IP address is ↵Matthew Wild2013-05-171-0/+15
| | | | | | | | generally expected to be internet-routeable (YMMV)
* | util.ip: Automatically determine protocol of IP address if none specified. ↵Matthew Wild2013-05-171-1/+9
| | | | | | | | Return error if invalid.
* | util.iterators: Small fix for variable scoping issueMatthew Wild2013-05-171-1/+1
| |
* | util.iterators: Add filter() to run results through a filter functionMatthew Wild2013-05-171-1/+15
| |
* | util.iterators: Various fixes and improvements, primarily use pack() where ↵Matthew Wild2013-05-171-8/+12
|/ | | | it should be used.
* util.json: New, faster, stricter, more compliant JSON decoder. Now returns ↵Waqas Hussain2013-05-071-192/+155
| | | | nil,err instead of throwing errors on invalid input.
* util.array: Wrap tostring() output in {} (otherwise empty arrays print as "").Waqas Hussain2013-05-071-1/+1
|
* util.json: Make setmetatable local.Waqas Hussain2013-05-061-1/+1
|
* util.json: Fix variable name typo which broke util.json when util.array was ↵Waqas Hussain2013-05-061-1/+1
| | | | missing.
* util.json: Optimize long string parsing.Waqas Hussain2013-05-051-5/+5
|
* Merge with FlorobMatthew Wild2013-05-011-1/+1
|\
| * util.dataforms: Add support for generating type='fixed' fieldsFlorian Zeitz2013-02-111-1/+1
| |
* | util.rfc{3484,6724}: Update to RFC 6724Florian Zeitz2013-04-302-8/+30
| |
* | util.openssl: Write the distinguished_name part of the config in a ↵Kim Alvefur2013-04-291-1/+21
| | | | | | | | consistent order
* | util.hashes, util.sasl.scram: Implement SCRAM-SHA1's Hi in CFlorian Zeitz2013-04-281-13/+2
| |
* | util.hmac, util.hashes: Implement HMAC functions in C, and move to util.hashesFlorian Zeitz2013-04-272-60/+6
| |
* | util.prosodyctl: Initialize storagemanager on the host before initializing ↵Matthew Wild2013-04-271-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 Hussain2013-04-231-26/+11
| |
* | util.json: Make encode(decode("[]"))=="[]".Waqas Hussain2013-04-231-2/+10
| |
* | util.adhoc: New util for generating common adhoc handler patternsFlorian Zeitz2013-04-231-0/+31
| |
* | mod_storage_sql2 (temporary name), sql.lib, util.sql: New SQL API supporting ↵Matthew Wild2013-04-181-0/+340
| | | | | | | | cross-module connection sharing, transactions and Things - a work in progress
* | util.http: Refactor and import all necessary functionsMatthew Wild2013-04-121-9/+13
| |
* | util.iterators: Add ripairs() (ipairs() in reverse) (thanks Maranda)Matthew Wild2013-04-121-0/+5
| |
* | util.httpstream: Unused, removeMatthew Wild2013-04-111-134/+0
| |
* | net.http, util.http: Move definitions of urlencode/decode and ↵Matthew Wild2013-04-111-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 Wild2013-04-071-11/+19
| | | | | | | | and retry
* | util.datamanager: expose path decode and encode functions.Marco Cirillo2013-04-071-0/+2
| |
* | util.json: Convert \uXXXX to UTF-8 when decodingMatthew Wild2013-04-061-1/+36
| |
* | util.stanza: Use correct index when replacing the tag in .tags (thanks ↵Matthew Wild2013-04-051-1/+1
| | | | | | | | daurnimator)
* | util.stanza: Add stanza:find(), a light weight XPath-like methodKim Alvefur2013-04-041-0/+26
| |
* | util.helpers: Helper helpers to log host eventsMatthew Wild2013-04-031-0/+8
| |
* | util.stanza: :maptags(): Fixes to make loop more robust on item removalMatthew Wild2013-04-031-2/+4
| |
* | util.json: Add json.encode_array() (thanks B)Matthew Wild2013-03-281-0/+5
| |
* | util.{prosodyctl,openssl}: More use of config sections removedKim Alvefur2013-03-232-7/+7
|/
* mod_pubsub, util.pubsub: Add delete actionKim Alvefur2013-01-311-0/+12
|
* util.pubsub: Fix nil access error in get_subscriptions.Waqas Hussain2013-01-261-1/+1
|
* mod_pubsub, util.pubsub: Don't send purge notifications in an <items/> elementFlorian Zeitz2013-01-251-9/+18
|
* util.xmppstream: Include error stanza in error message if no error handler ↵Waqas Hussain2013-01-261-1/+1
| | | | is available.
* mod_pubsub, util.pubsub: Implement the purge actionKim Alvefur2013-01-241-1/+9
|
* util.sasl.{plain,scram,digest-md5}: nodeprep username before passing to ↵Waqas Hussain2013-01-223-5/+25
| | | | callbacks, so callbacks don't have to.