aboutsummaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
* util.stanza: Add get_child_text() method to get the text of the specified ↵Matthew Wild2011-01-311-0/+8
| | | | child element (get_child() + get_text() rolled into one step)
* util.sasl.*: Add 'sasl.' prefix to module namesMatthew Wild2011-01-114-6/+6
|
* util.datamanager: Change from 'Failed to load' to 'Assuming empty' for data ↵Matthew Wild2011-01-111-2/+2
| | | | store files that do not seem to exist
* util.datamanager: Handle gracefully the lack of prosody.paths.dataMatthew Wild2011-01-111-1/+1
|
* util.datamanager: Use prosody.paths.data as the initial value for data_pathMatthew Wild2011-01-071-1/+2
|
* util.sasl: Cache the calculated mechanisms set for SASL profiles ↵Waqas Hussain2010-12-291-5/+9
| | | | (profile.mechanisms table).
* util.sasl.*, mod_auth_*, mod_saslauth: Pass SASL handler as first parameter ↵Waqas Hussain2010-12-274-7/+7
| | | | to SASL profile callbacks.
* util.json: Initial commit.Waqas Hussain2010-12-271-0/+356
|
* util.filters: Add remove_filter_hook()Matthew Wild2010-12-221-0/+8
|
* util.xmppstream: Allow stream_ns = "" for parsing streams with no xmlnsMatthew Wild2010-12-211-1/+4
|
* prosody, prosodyctl, util.dependencies: Split checking and logging of ↵Matthew Wild2010-12-201-5/+8
| | | | dependencies so we can check hard deps before the config and logging is loaded
* util.httpstream: For HTTP client responses, changing properties ↵Waqas Hussain2010-12-191-1/+4
| | | | responseversion and responseheaders to httpversion and httpheaders, to match HTTP server requests.
* util.httpstream: A little cleanup of the HTTP path.Waqas Hussain2010-12-191-1/+1
|
* mod_pubsub, util.pubsub: Remove from 0.8Matthew Wild2010-12-191-84/+0
|
* util.events: Remove an event's table when it has no more handlers.Waqas Hussain2010-12-191-0/+3
|
* mod_admin_adhoc: Support for reloading multiple modulesFlorian Zeitz2010-12-181-2/+2
|
* util.prosodyctl: Initialize storagemanager on hosts we modifyMatthew Wild2010-12-181-0/+3
|
* util.stanza: Iterate on childtags instead of all childs.Kim Alvefur2010-12-171-1/+1
|
* util.pubsub: Add service:get_nodes()Matthew Wild2010-12-171-0/+4
|
* util.termcolours: Added setstyle(str), which works on Windows too.Waqas Hussain2010-12-151-0/+37
|
* util.serialization: Proper serialization of Infinity, -Infinity and NaN.Waqas Hussain2010-12-131-2/+8
|
* util.serialization: Implemented deserialize().Waqas Hussain2010-12-121-1/+12
|
* util.stanza: Change get_error() to return nil rather than '' for no textMatthew Wild2010-12-111-1/+1
|
* util.datamanager: Return an error string when pcall fails on a loaded list file.Waqas Hussain2010-12-101-1/+1
|
* util.datamanager: When failing to load a list file, and the file exists, log ↵Waqas Hussain2010-12-101-2/+9
| | | | an error, and return nil, error.
* util.ztact: Removed.Waqas Hussain2010-12-091-366/+0
|
* util.prosodyctl: Prep JIDs before checking whether they exist (thanks tja)Matthew Wild2010-12-071-3/+4
|
* util.xmppstream: Expose ns_separator and ns_patternMatthew Wild2010-12-071-0/+3
|
* mod_pubsub: Support item retractionFlorian Zeitz2010-12-051-0/+12
|
* mod_pubsub, util.pubsub: Support for unsubscribingFlorian Zeitz2010-12-051-1/+8
|
* util.xmppstream: Fix logger name.Waqas Hussain2010-12-031-1/+1
|
* util.timer: Activate higher timer precision.Waqas Hussain2010-12-021-2/+11
|
* mod_pubsub, util.pubsub: Support node creationFlorian Zeitz2010-12-011-0/+8
|
* util.datetime: Fix so that the timestamp returned is always in UTC, timezone ↵Matthew Wild2010-11-271-1/+1
| | | | offsets were going in the wrong direction
* util.datetime: Fixes for more liberal timezone parsing - colon and minutes ↵Matthew Wild2010-11-271-1/+2
| | | | are both (independantly) optional (thanks Zash)
* mod_pubsub, util.pubsub: Support for fetching itemsFlorian Zeitz2010-11-251-2/+13
|
* util.template: Don't add stanza.last_add. 20% faster.Waqas Hussain2010-11-261-1/+1
|
* util.stanza, util.xmppstream, core.xmlhandlers: Allow stanza.last_add to be ↵Waqas Hussain2010-11-262-14/+14
| | | | nil, and set it nil by default. Saves a table allocation per-element. 20% faster stanza building.
* util.template: Rewritten to be much faster than the util.stanza stanza ↵Waqas Hussain2010-11-251-69/+63
| | | | building API.
* util.xmppstream: Preserve the stream content namespace on descendents of ↵Waqas Hussain2010-11-201-1/+7
| | | | elements which are in another namespace.
* prosodyctl, util.prosodyctl: Show error when mod_posix is not enabled and an ↵Matthew Wild2010-11-161-0/+6
| | | | attempt is made to query Prosody's status (thanks stever)
* util.pubsub: Add :get_subscription() to return the current subscription for ↵Matthew Wild2010-11-131-0/+7
| | | | a JID, if any
* util.filters: Support for 'filter hooks' that get called when a session is ↵Matthew Wild2010-11-131-1/+12
| | | | initialized for filters
* mod_pubsub: It's aliiiive!Matthew Wild2010-11-131-0/+35
|
* util.httpstream: Added support for chunked transfer encoding.Waqas Hussain2010-11-061-1/+12
|
* util.httpstream: Fixed a possible string to number comparison error.Waqas Hussain2010-11-061-1/+2
|
* util.httpstream: Don't attempt to read response body for HEAD requests, or ↵Waqas Hussain2010-11-061-9/+16
| | | | when status code indicates no body is present.
* util.httpstream: Added support for an options callback, to allow passing ↵Waqas Hussain2010-11-061-3/+3
| | | | per-message options to the parser.
* util.httpstream: A little refactoring of the coroutine control flow.Waqas Hussain2010-11-061-3/+5
|
* util.httpstream: Added support for HTTP response parsing.Waqas Hussain2010-11-051-24/+55
|