aboutsummaryrefslogtreecommitdiffstats
path: root/core/xmlhandlers.lua
Commit message (Collapse)AuthorAgeFilesLines
* Merge 0.6->0.7Matthew Wild2011-06-021-1/+0
|\
| * xmlhandlers: Don't restrict CDATAMatthew Wild2011-06-021-1/+0
| |
* | Merge 0.6->0.7Matthew Wild2011-06-011-0/+22
|\|
| * xmlhandlers: Reject XML comments, processing instructions and (if supported ↵Matthew Wild2011-06-011-0/+22
| | | | | | | | by LuaExpat) DTDs. If not supported, log a warning. [Backport of 7cc426988bcc in trunk]
* | Merge 0.6->0.7Matthew Wild2010-03-221-2/+2
|\|
| * Update copyright headers for 2010Matthew Wild2010-03-221-2/+2
| |
* | xmlhandlers: Removed unused variables.Waqas Hussain2010-01-261-5/+0
| |
* | xmlhandlers: A little optimization.Waqas Hussain2010-01-261-4/+4
| |
* | xmlhandlers: Rearranged a little code.Waqas Hussain2010-01-231-18/+18
| |
* | xmlhandlers: Fixed indentation and added some semicolons.Waqas Hussain2010-01-231-98/+98
| |
* | xmlhandlers: Move stream-error detection to somewhere more appropriate (it ↵Matthew Wild2010-01-191-4/+6
| | | | | | | | was never reached) - s2s stream errors now reported properly
* | xmlhandlers: More refactoring, split up stream_ns and stream_tag, add ↵Matthew Wild2010-01-191-1/+7
| | | | | | | | stream_error_tag so that callers don't need to be so worried about the separator we use
* | xmlhandlers: Define ns_separator and ns_pattern to save repeating it in ↵Matthew Wild2010-01-181-3/+5
|/ | | | literal form throughout the file
* core.xmlhandlers: Fixed processing of empty namespaces (which caused an ↵Waqas Hussain2009-11-281-3/+3
| | | | issue with jwchat).
* Changed separator between attribute names and prefixes from '|' to '\1' ↵Waqas Hussain2009-11-121-4/+3
| | | | (optimization and cleanup).
* xmlhandlers: Reset state on error or stream close, fixes possible tracebackMatthew Wild2009-10-211-1/+2
|
* Remove version number from copyright headersMatthew Wild2009-07-101-1/+1
|
* xmlhandlers: Remove numeric attributesWaqas Hussain2009-06-251-2/+3
|
* xmlhandlers: Removed another unnecessary checkWaqas Hussain2009-05-151-13/+11
|
* xmlhandlers: Removed an unnecessary checkWaqas Hussain2009-05-151-10/+7
|
* core.xmlhandlers: Removed unused variablesWaqas Hussain2009-05-151-6/+0
|
* xmlhandlers: Fix tag pattern again for the default namespaceMatthew Wild2009-04-231-2/+9
|
* core.xmlhandlers: expat is the XML parser, not us. Don't reject valid XML.Matthew Wild2009-04-181-2/+2
|
* core.xmlhandlers: Filter out default stream namespace from stanzasMatthew Wild2009-03-211-2/+3
|
* 0.3->0.4Matthew Wild2009-03-201-1/+1
|
* core.xmlhandlers: Remove redundant check in conditionMatthew Wild2009-02-271-1/+1
|
* core.xmlhandlers: Optimise completed stanza logicMatthew Wild2009-02-261-11/+13
|
* Update copyright notices for 2009Matthew Wild2009-01-301-2/+2
|
* 0.2->0.3Matthew Wild2009-01-301-1/+1
|
* GPL->MIT!Matthew Wild2009-01-301-13/+2
|
* Change xmlhandlers to match stream opening tag with ns+tagMatthew Wild2008-12-161-10/+8
|
* 0.1 -> 0.2Matthew Wild2008-12-101-1/+1
|
* Disconnect with stream errors on bad XML, or invalid stream namespaceMatthew Wild2008-12-051-6/+8
|
* Abstract xmlhandlers a bit more, also add error callbacksMatthew Wild2008-12-041-9/+11
|
* Insert copyright/license headersMatthew Wild2008-12-031-0/+20
|
* Remove a debug print() from xmlhandlersMatthew Wild2008-11-201-1/+0
|
* Don't error if streamopened/streamclosed callback is not specified for a sessionMatthew Wild2008-11-191-5/+9
|
* *ahem* Yes, move along please... though really, quite a classic. :)Matthew Wild2008-11-181-1/+1
|
* Quite some changes, to:Matthew Wild2008-11-181-6/+10
| | | | | | | | - Small logging fix for s2smanager - Send a stream error if an incoming s2s connection is to an unrecognised hostname (fixes #11) - init_xmlhandlers now takes a table of callbacks (includes changes to net/xmpp*_listener for this) - Move sending of unavailable presence to where it should be, sessionmanager.destroy_session - Fix sending of stream errors to wrong connection
* Backed out changeset 4adc53e03b4d (garbage collection)Matthew Wild2008-10-241-1/+1
|
* Extra garbage collection, for debuggingMatthew Wild2008-10-241-1/+1
|
* s2s works! \o/ \o/Matthew Wild2008-10-241-5/+33
|
* working outgoing s2s \o/Matthew Wild2008-10-241-1/+0
|
* dialback keys now verifiedMatthew Wild2008-10-241-6/+13
|
* Abstract connections with "connection listeners"Matthew Wild2008-10-221-3/+2
| | | | | | - Added connlistener for xmppclient - SASL/TLS now use a new session:reset_stream() method - main.lua on its way to being a bit neater
* Session destruction fixes, some debugging code while we fix the rest. Also ↵Matthew Wild2008-10-041-1/+10
| | | | change logger to be more useful.
* Move stream opening handling from xmlhandlers to sessionmanagerMatthew Wild2008-10-031-19/+2
|
* SASL!Matthew Wild2008-10-021-6/+14
| | | | | (but before you get too excited, no resource binding yet. And yes, there are still plenty of rough edges to the code...) ((eg. must move <stream:features> out of xmlhandlers.lua o_O ))
* Remove now useless debug outputMatthew Wild2008-09-301-5/+2
|
* Remove some debugging messagesMatthew Wild2008-08-261-1/+1
| | | | | Connection now closed on error Removed version='1.0' to keep it working with non-SASL