aboutsummaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* util.httpstream: Initial commit of the new HTTP parser.Waqas Hussain2010-09-041-0/+89
|
* util.jid: Fix parsing of JIDs with no nodepart and an @ in the resourcepart ↵Matthew Wild2010-08-311-1/+1
| | | | (thanks seth)
* util.stanza: stanza:matched_children() -> stanza:matching_tags()Matthew Wild2010-08-301-1/+1
|
* util.stanza: Add stanza:maptags() to apply a function over child tags ↵Matthew Wild2010-08-301-0/+24
| | | | (return nil to remove tag from stanza)
* util.stanza: Optimisation, remove useless if...then in stanza:children() ↵Matthew Wild2010-08-291-2/+1
| | | | iterator
* util.stanza: Add stanza:matched_children(name, xmlns) [name suggestions welcome]Matthew Wild2010-08-291-0/+17
|
* mod_saslauth, mod_auth_cyrus, util.sasl_cyrus: Moved cyrus account ↵Waqas Hussain2010-08-231-0/+3
| | | | provisioning check out of mod_saslauth.
* util.sasl_cyrus: Spaces -> tabs.Waqas Hussain2010-08-231-7/+7
|
* util.logger: Remove support for the 'log_sources' option, to remove a ↵Matthew Wild2010-08-221-15/+0
| | | | dependency on configmanager. I think the equivalent of log_sources can be done with the advanced logging config.
* util.xmppstream: Removed some useless property assignments.Waqas Hussain2010-08-031-4/+0
|
* util.sasl_cyrus: Make multi-step SASL mechanisms work correctly.Waqas Hussain2010-08-031-1/+2
|
* util.sasl: Simplified some code a bit.Waqas Hussain2010-08-031-9/+5
|
* util.sasl, util.sasl_cyrus: Removed a ton of unused variables.Waqas Hussain2010-08-032-23/+1
|
* util.datetime: Added implementation for function parse().Waqas Hussain2010-08-021-1/+20
|
* util.sasl_cyrus: Cleanup.Waqas Hussain2010-08-021-9/+4
|
* util.sasl: Removed method:forbidden() and its side effects.Waqas Hussain2010-08-021-21/+5
|
* util.sasl_cyrus: Removed method:forbidden().Waqas Hussain2010-08-021-7/+1
|
* util.xmppstream: Add set_session() method to change the session that a ↵Matthew Wild2010-08-021-2/+8
| | | | stream is associated with
* util.pluginloader: Remove useless datamanager dependency.Waqas Hussain2010-07-311-2/+0
|
* util.pluginloader: Fix loading of plugins, plugin libraries and resources in ↵Waqas Hussain2010-07-311-9/+23
| | | | subfolders (e.g., when loading 'a/b', load 'a/mod_b.lua', and not 'mod_a/b.lua').