aboutsummaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
...
* | | 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.
* | util.http: New module for HTTP helper functionsFlorian Zeitz2013-01-121-0/+15
| |
* | util.openssl: Cleanup; remove some unused variables.Kim Alvefur2013-01-071-8/+4
| |
* | util.datamanager: Don't escape the name of a storeKim Alvefur2012-12-161-1/+1
| |
* | MergeKim Alvefur2012-12-151-5/+1
|\ \
| * | util.datamanager: Remove unused variableKim Alvefur2012-12-141-1/+0
| | |
| * | util.datamanager: Remove dead code pathKim Alvefur2012-12-141-4/+1
| | |
* | | util.sasl.plain: Reduce some code.Waqas Hussain2012-12-151-6/+2
|/ /
* | util.xml: Fix module name.Waqas Hussain2012-12-031-1/+1
| |
* | util.template: Use util.xml.Waqas Hussain2012-12-031-52/+2
| |
* | util.xml: Initial commit; exposes parse(), which is now the canonical way to ↵Waqas Hussain2012-12-031-0/+57
| | | | | | | | convert a string to a stanza.
* | util.pubsub: Add item-published eventMatthew Wild2012-11-151-0/+1
| |
* | mod_storage_internal, datamanager: Add support for iterating over users with ↵Kim Alvefur2012-09-211-0/+19
| | | | | | | | data in a store
* | storagemanager, datamanager, mod_storage_{internal,sql}: Replace ↵Kim Alvefur2012-09-171-21/+31
| | | | | | | | list_stores() with an iterator version
* | util.datamanager: Make the util.pposix dependency optional.Waqas Hussain2012-09-121-20/+15
| |
* | util.datetime: Fix timestamp parsing pattern.Waqas Hussain2012-08-281-1/+1
| |
* | util.datamanager: Ignore errors if the file is gone after removing itKim Alvefur2012-08-261-4/+13
| |
* | util.prosodyctl: Use usermanager to delete users instead of unsetting their ↵Kim Alvefur2012-08-251-2/+2
| | | | | | | | password
* | util.datamanager: Collect errors when deleting all stores of a user, but ↵Kim Alvefur2012-08-251-4/+6
| | | | | | | | ignore "no such file"
* | util.stanza: Use ipairs instead of childtags (behavior changed in 92c86e11fd44)Kim Alvefur2012-08-211-1/+1
| |
* | util.array: Accept an iterator to the array constructorMatthew Wild2012-08-081-1/+4
| |
* | util.pluginloader: Remove unused importsMatthew Wild2012-08-011-2/+1
| |
* | util.pluginloader: Expose load_fileMatthew Wild2012-08-011-1/+1
| |
* | Merge Waqas<>ZashMatthew Wild2012-07-311-0/+12
|\ \
| * | util.datamanager: Don't use os.rename on non-POSIX. It doesn't overwrite ↵Waqas Hussain2012-08-011-0/+12
| | | | | | | | | | | | exisitng files on Windows.
* | | util.datamanager: Try to open in read+write mode, then retry with write mode ↵Kim Alvefur2012-07-311-1/+4
|/ / | | | | | | if that fails (usually because it doesn't exist)
* | util.datamanager: Add missing mode flag to seek callKim Alvefur2012-07-311-1/+1
| |