aboutsummaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* util.httpstream: Fixed a nil variable access introduced in the last commit.Waqas Hussain2010-11-051-0/+1
|
* util.httpstream: Move HTTP header parsing into its own function.Waqas Hussain2010-11-051-8/+10
|
* util.logger: Remove support for a global writer (setwriter) to try and ↵Matthew Wild2010-11-041-14/+0
| | | | balance the forces...
* util.logger: Remove my precious premature optimisation :(Matthew Wild2010-11-041-23/+2
|
* util.sasl, util.sasl_cyrus: Mechanism selection cleaned up to be more ↵Waqas Hussain2010-11-022-9/+9
| | | | consistent.
* util.sasl, util.sasl_cyrus: Load mechanisms list early rather than lazily, ↵Waqas Hussain2010-11-022-24/+17
| | | | as they are always loaded anyway.
* util.template: Optimized to be almost as fast as manual stanza building.Waqas Hussain2010-10-241-7/+34
|
* util.template: Initial commit. A template library for XML stanzas.Waqas Hussain2010-10-241-0/+112
|
* Monster whitespace commit (beware the whitespace monster).Waqas Hussain2010-10-1610-22/+22
|
* util.stanza: Make the current element <message> instead of <body> when body ↵Waqas Hussain2010-09-211-1/+1
| | | | text is passed to st.message().
* util.events: Event handler indices are now built lazily (faster server ↵Waqas Hussain2010-09-191-3/+8
| | | | startup for large number of hosts).
* util.events: Create new index on handler change instead of modifying ↵Waqas Hussain2010-09-171-4/+2
| | | | existing one (this makes util.events fully reentrant).
* util.events: Fixed the exposed API for adding/removing sets of event handlers.Waqas Hussain2010-09-171-2/+2
|
* util.events: Removed dispatcher creation functions (these weren't being used).Waqas Hussain2010-09-171-31/+1
|
* util.httpstream: Refactored and simplified code to improve readability.Waqas Hussain2010-09-171-19/+14
|
* util.httpstream: Removed unused variables.Waqas Hussain2010-09-171-5/+0
|