aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* net.server*: Allow the TCP backlog parameter to be set in the configKim Alvefur2013-04-273-2/+8
|
* moduleapi: in module:provides(), add the name of the module in item._provided_byKim Alvefur2013-04-271-0/+1
|
* moduleapi: module:provides called without an item makes a copy of the ↵Kim Alvefur2013-04-271-1/+7
| | | | environment instead. Fixes warnings about non-existent globals
* moduleapi: Add module:get_option_inherited_set() to return a set that ↵Matthew Wild2013-04-271-0/+12
| | | | inherits items from a globally set set, if set
* moduleapi: Add module:context(host) to produce a fake API context for a ↵Matthew Wild2013-04-271-0/+4
| | | | given host (or global). module:context("*"):get_option("foo") to get global options.
* util.prosodyctl: Initialize storagemanager on the host before initializing ↵Matthew Wild2013-04-271-2/+4
| | | | usermanager. This fixes brokenness when the auth provider opens the store on load (as they all do since eeea0eb2602a) (thanks nulani)
* mod_s2s: Obey tcp_keepalives option for s2s too, and make it individually ↵Matthew Wild2013-04-261-1/+2
| | | | configurable through s2s_tcp_keepalives (thanks yeled)
* mod_admin_telnet: Add muc:create(room) (thanks SkyBlue)Matthew Wild2013-04-251-2/+12
|
* MUC: add __tostring on room metatableMatthew Wild2013-04-251-0/+4
|
* mod_c2s: Refactor <stream:error> building to allways tostring() it and only ↵Kim Alvefur2013-04-251-9/+9
| | | | call send once
* util.json: New, improved, fixed codepoint to UTF-8 conversion.Waqas Hussain2013-04-231-26/+11
|
* util.json: Make encode(decode("[]"))=="[]".Waqas Hussain2013-04-231-2/+10
|
* mod_admin_adhoc: Use util.adhocFlorian Zeitz2013-04-231-643/+530
|
* util.adhoc: New util for generating common adhoc handler patternsFlorian Zeitz2013-04-231-0/+31
|
* MergeMatthew Wild2013-04-230-0/+0
|\
| * mod_c2s, mod_s2s, net.http, net.http.server: Improve tracebacks (omit ↵Matthew Wild2013-04-224-8/+8
| | | | | | | | traceback function), to make it clearer where an error occured
| * net.server.http: Add a commentMatthew Wild2013-04-221-0/+1
| |
| * net.server.http: Ensure that event map cannot grow forever (limit to 10K ↵Matthew Wild2013-04-221-0/+8
| | | | | | | | wildcard-only entries)
| * moduleapi: Add module:open_store() as a front-end to storagemanager.open()Matthew Wild2013-04-191-0/+4
| |
| * mod_storage_sql2 (temporary name), sql.lib, util.sql: New SQL API supporting ↵Matthew Wild2013-04-183-0/+586
| | | | | | | | cross-module connection sharing, transactions and Things - a work in progress
| * net.server_select: Don't call onconnect twice for SSL connectionsMatthew Wild2013-04-181-1/+1
| |
| * Merge backoutMatthew Wild2013-04-181-0/+3
| |\
| | * Backed out changeset f2631a14b953Matthew Wild2013-04-181-0/+3
| | |
| | * net.server_select: Don't call onconnect twice on SSL connectionsKim Alvefur2013-04-171-3/+0
| | |
| | * mod_pubsub: Only assign id to item element if there is oneMatthew Wild2013-04-171-1/+3
| | |
| | * mod_pubsub: Add id to stored item when auto-generated. Fixes #335Matthew Wild2013-04-171-1/+5
| | |
| | * net.http.parser: Remove accidentally-committed debuggingMatthew Wild2013-04-151-1/+0
| | |
| | * net.http.parser: Fix off-by-one error in chunked encoding parserMatthew Wild2013-04-151-1/+2
| | |
| | * mod_s2s: Add missing spaceKim Alvefur2013-04-151-1/+1
| | |
| | * Makefile: Specify explicit mode when installing prosody.version, to avoid it ↵Matthew Wild2013-04-151-1/+1
| | | | | | | | | | | | defaulting to something nasty (executable)
| | * util.http: Refactor and import all necessary functionsMatthew Wild2013-04-121-9/+13
| | |
| | * prosodyctl: Bump util.pposix version for API changeKim Alvefur2013-04-091-1/+1
| | |
| | * util.iterators: Add ripairs() (ipairs() in reverse) (thanks Maranda)Matthew Wild2013-04-121-0/+5
| | |
| | * net.http: Swap response and request parameters passed to callback (will ↵Matthew Wild2013-04-121-2/+1
| | | | | | | | | | | | break some modules)
| | * util.httpstream: Unused, removeMatthew Wild2013-04-111-134/+0
| | |
| | * net.http: Switch from util.httpstream to net.http.parser, introduces small ↵Matthew Wild2013-04-111-1/+1
| | | | | | | | | | | | but backwards-incompatible API changes - see http://prosody.im/doc/developers/http
| | * net.http.parser: Fix chunked encoding response parsing, and make it more robustMatthew Wild2013-04-111-15/+20
| | |
| | * net.http.parser: Convert status_code to a number before trying to compare it ↵Matthew Wild2013-04-111-0/+1
| | | | | | | | | | | | to numbers
| | * net.http.parser: Break when no more usable data in buffer (client part of ↵Matthew Wild2013-04-111-0/+2
| | | | | | | | | | | | e5ec60dfb202)
| | * net.http.parser: Depend on util.http instead of net.http for urlencodeMatthew Wild2013-04-111-1/+1
| | |
| | * sessionmanager, s2smanager: Remove unused importsMatthew Wild2013-04-112-5/+2
| | |
| | * net.http, util.http: Move definitions of urlencode/decode and ↵Matthew Wild2013-04-112-41/+52
| | | | | | | | | | | | formencode/decode to util.http (possible to use them without unnecessary network-related dependencies)
| | * mod_s2s: Adjust priority of route/remote hooks to negative values (like most ↵Kim Alvefur2013-04-081-2/+2
| | | | | | | | | | | | other internal hooks)
| | * mod_posix: Improve error message for a pposix version mismatchMatthew Wild2013-04-081-1/+3
| | |
| | * mod_posix, util.pposix: Bump version for API changeMatthew Wild2013-04-082-2/+2
| | |
| | * mod_posix: Pass logger name to syslog, so that sources now get loggedMatthew Wild2013-04-081-2/+2
| | |
| | * util.pposix: syslog(): Support an optional source parameter (producing ↵Matthew Wild2013-04-081-4/+5
| | | | | | | | | | | | messages of the form '<source>: <message>'
| | * net.http: Throw error when connecting to a http:// URL without LuaSec availableMatthew Wild2013-04-081-0/+5
| | |
| | * sessionmanager, s2smanager: Remove open_session tracingMatthew Wild2013-04-082-18/+2
| | |
| | * mod_pubsub: Send bad-request when no action specified (thanks Maranda)Matthew Wild2013-04-081-1/+3
| | |