aboutsummaryrefslogtreecommitdiffstats
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
* 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').
* util.roster: Remove, not going this route nowMatthew Wild2010-07-261-19/+0
|
* util.sasl.scram: Made function Hi public.Waqas Hussain2010-07-261-1/+1
|
* util.iterators: Add skip() to skip the first n items of an iteratorMatthew Wild2010-07-201-0/+9
|
* Merge Florob->trunkMatthew Wild2010-07-161-0/+27
|\
| * util.dataforms: Add list-multi supportFlorian Zeitz2010-07-151-0/+22
| |
| * util.dataforms: Capability to set default for list-singleFlorian Zeitz2010-07-151-0/+5
| |
* | Merge Zash->trunkMatthew Wild2010-07-161-0/+13
|\ \ | |/ |/|
| * util.jid: compare() added, with some tests.Kim Alvefur2010-07-161-0/+13
| |
* | util.sasl.scram: Reference actual RFC instead of the draft.Tobias Markmann2010-07-151-1/+1
|/
* util.sasl, util.sasl_cyrus: s/self.mechanisms()/self:mechanisms()/ in ↵Waqas Hussain2010-07-152-2/+2
| | | | method:select().