aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mod_http_files: Specify method in HTTP routeMatthew Wild2012-04-271-1/+1
|
* mod_http: Routes now require a method to be specified, but the path has ↵Matthew Wild2012-04-271-6/+5
| | | | become optional (defaults to the base path with no trailing '/'
* mod_http: Link to docs on routes in error messageMatthew Wild2012-04-271-1/+1
|
* moduleapi: Rename module:hook_stanza() -> module:hook_tag() (hook_stanza ↵Matthew Wild2012-04-271-1/+2
| | | | works for compat)
* moduleapi: get_host_type(): Return nil for global modules (no host)Matthew Wild2012-04-271-1/+1
|
* mod_http: Remove unused import of url.parseMatthew Wild2012-04-261-1/+0
|
* mod_http_files, net.http.parser: Move path normalization to net.http.parser ↵Matthew Wild2012-04-262-24/+20
| | | | so that all modules can benefit
* Merge with backoutMatthew Wild2012-04-261-4/+0
|\
| * Revert 98bfebb38705, moved to net.http.parser in 4fc99f1b7570Matthew Wild2012-04-261-4/+0
| |
* | net.http.server: Fire http-error 400 if request fails sanity checksMatthew Wild2012-04-261-1/+8
| |
* | net.http.parser: Handle full URLs in status line.Waqas Hussain2012-04-261-1/+6
| |
* | mod_http_errors: Module to handle HTTP errors with a HTML pageMatthew Wild2012-04-261-0/+75
| |
* | net.http.server: Make error handling overrideable via 'http-error' eventMatthew Wild2012-04-261-4/+12
|/
* net.server.http: Parse absolute URIs in requests (thanks Maranda)Matthew Wild2012-04-261-0/+4
|
* moduleapi: Fix parameters to unhook_object_event()Matthew Wild2012-04-261-1/+1
|
* moduleapi: module:depends(): Don't load shared modules onto the current host ↵Matthew Wild2012-04-261-1/+2
| | | | if the current host is '*'...
* net.http.server: Expose events object (for debug purposes)Matthew Wild2012-04-261-0/+1
|
* util.helpers: show_events(): Make more robust, and allow filtering results ↵Matthew Wild2012-04-261-9/+11
| | | | to a specific event
* net.http.server: Lower score of wildcard handlers to ensure specific ↵Matthew Wild2012-04-261-1/+1
| | | | handlers beat them
* mod_http_files: Change option name from http_path to http_files_dirMatthew Wild2012-04-261-1/+1
|
* mod_http: Switch to single option for specifying HTTP app bases, http_paths. ↵Matthew Wild2012-04-261-1/+7
| | | | Keys are app/module names, values are base paths.
* mod_http_files: Log 404 failure reasonMatthew Wild2012-04-261-0/+1
|
* mod_http_files: Return numeric error codes instead of custom error responsesMatthew Wild2012-04-261-12/+4
|
* util.debug: Remove 'white' from boundary style (leave at default colour)Matthew Wild2012-04-261-1/+1
|
* util.termcolours: tohtml() for converting output to HTML. I don't know.Matthew Wild2012-04-261-0/+23
|
* mod_bosh: Update informational message on GETMatthew Wild2012-04-261-1/+4
|
* mod_http: Use module:hook/unhook_event_object() so that handlers get ↵Matthew Wild2012-04-261-2/+2
| | | | unregistered if mod_http is unloaded
* moduleapi: Add module:unhook_object_event()Matthew Wild2012-04-261-0/+4
|
* net.http.server: Fix to compare priority if path lengths are the same (logic ↵Matthew Wild2012-04-261-1/+1
| | | | fail)
* util.debug: Some more magic constant fiddling. Don't ask me.Matthew Wild2012-04-251-4/+4
|
* mod_bosh: Large commit to update to mod_http/net.http.server APIs. Becomes a ↵Matthew Wild2012-04-251-85/+83
| | | | shared module.
* net.http.server: Support for on_destroy callback on response objects, and a ↵Matthew Wild2012-04-251-0/+14
| | | | 'finished' flag to say when they are destroyed (responded to or connection closed)
* mod_bosh: Optimisation, store reply_before value as waiting_requests value ↵Matthew Wild2012-04-251-4/+3
| | | | (saves a lookup)
* net.http.server: Small fix to commentMatthew Wild2012-04-251-1/+1
|
* net.http.server: Remove legacy compatibilityMatthew Wild2012-04-251-57/+4
|
* portmanager: Fix selecting bind_interfaces from pre-0.9 config options.Kim Alvefur2012-04-251-2/+3
|
* Makefile: Fix for net/httpMatthew Wild2012-04-251-1/+3
|
* mod_proxy65: Add multiplex pattern.Waqas Hussain2012-04-251-0/+3
|
* Merge timber->trunk - thanks everyone!Matthew Wild2012-04-2446-2100/+2928
|\
| * net.http.server: Handle results returned by handlers, and send as a ↵Matthew Wild2012-04-241-12/+20
| | | | | | | | response. Also removes explicit firing of '*', which can now be done via wildcard events.
| * net.http.server: Remove debug messageMatthew Wild2012-04-241-1/+0
| |
| * util.helpers: Add show_events(), to show the events and handlers in a ↵Matthew Wild2012-04-241-0/+29
| | | | | | | | util.events object
| * util.debug: Turn into a real-ish module ('debugx'), and require you call ↵Matthew Wild2012-04-241-4/+12
| | | | | | | | use() to override debug.traceback()
| * mod_proxy65: Port to portmanager, make a shared moduleMatthew Wild2012-04-241-98/+86
| |
| * mod_http: Fix specifying method in app route keysMatthew Wild2012-04-241-3/+4
| |
| * portmanager: Add get_service_at(interface, port) and close(interface, port)Matthew Wild2012-04-241-3/+17
| |
| * net.server_event: Do not automatically close clients when closing a server portMatthew Wild2012-04-241-16/+3
| |
| * net.server_select: Remove server from _server table when closingMatthew Wild2012-04-241-0/+1
| |
| * mod_admin_telnet: Add initial port:list() and port:close() commandsMatthew Wild2012-04-241-1/+47
| |
| * prosody: Load portmanager at startup, to ensure it is ready to receive ↵Matthew Wild2012-04-241-0/+1
| | | | | | | | item-added events when modules are loaded