aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_http_errors.lua
Commit message (Collapse)AuthorAgeFilesLines
* mod_http_errors: Make it easier to override 'http-message' handlerKim Alvefur2021-09-241-1/+1
| | | | | | Per the unspoken internal standard of -1 as priority for most built-in event handlers, since this makes it easy for 3rd party plugins to override behavior by hooking at the default priority of 0.
* mod_http_errors: Set status code 200 from root pageKim Alvefur2021-07-091-0/+1
| | | | It isn't quite an error.
* mod_http_errors: Add a Prosody logo to root pageKim Alvefur2021-07-091-0/+10
|
* mod_http_errors: Allow adding icons on error pagesKim Alvefur2021-07-091-1/+1
|
* mod_http_errors: Add some commentsKim Alvefur2021-02-251-0/+3
|
* mod_http_errors: Add some silly variations for the '/' pageKim Alvefur2021-02-251-1/+11
| | | | | | | | | > "You can do anything in XMPP!" > as a reminiscence of zombo.com -- jonas’ > A study in simplicity. Prosody tagline
* mod_http_errors: Style tweakKim Alvefur2021-02-211-3/+3
| | | | | Weird to have the background all the way to the edge of the viewport. Would be nice if this could be done without the extra span.
* mod_http_errors: Add a highlighted warning to templateKim Alvefur2021-02-211-0/+3
| | | | | | | It looks sooooo good! Meant to be used by e.g. mod_bosh to warn in case the request is considered insecure.
* mod_http_errors: Add way to reuse the error page templateKim Alvefur2021-02-211-0/+7
| | | | | | | | | | module:fire_event("http-message", {title = "hello"; message = "world"}) Goal is to enable consistent messages from Prosody. Not necessarily error messages, but warnings or just notices. This does cause some drift in the purpose of mod_http_errors, but that's okay.
* mod_http_errors: Minify CSSKim Alvefur2021-02-181-25/+6
| | | | Because It looks too big in view source!
* mod_http_errors: Remove 'extra' element when emptyKim Alvefur2020-10-121-1/+1
|
* mod_http_errors: Dark theme!Kim Alvefur2020-10-121-0/+7
|
* mod_http_errors: Use a class on extra data sectionKim Alvefur2020-10-121-2/+2
| | | | This CSS selector makes it awkward to add more items.
* mod_http_errors: Use text from util.errror object if includedKim Alvefur2019-12-291-1/+1
| | | | | This makes util.error objects useful for more than just an error code container.
* mod_http_errors: Show a friendly page instead of 404 on top levelKim Alvefur2019-11-171-0/+12
|
* mod_http_errors: Normalize CSSKim Alvefur2019-01-061-11/+14
|
* mod_http_errors: Use util.interpolation to render HTML templateKim Alvefur2017-10-271-33/+28
|
* mod_http_errors: Set Content-Type header to HTML (fixes #1030)Kim Alvefur2017-10-271-0/+3
|
* mod_http_errors: Add a newline after end of HTMLKim Alvefur2016-07-121-1/+2
|
* Remove all trailing whitespaceFlorian Zeitz2013-08-091-1/+1
|
* mod_motd, mod_register, mod_private, mod_http_errors, mod_admin_adhoc: ↵Kim Alvefur2013-03-231-1/+0
| | | | Remove unused imports
* mod_http_errors: Fix cyclic dependency - mod_http depends on us now, no need ↵Matthew Wild2012-05-111-1/+0
| | | | to depend on it (-1 line) (thanks Maranda)
* mod_http_errors: Add two new config options, http_errors_always_show (show ↵Matthew Wild2012-04-271-2/+4
| | | | even for unknown errors) and http_errors_default_message (message for unknown errors)
* mod_http_errors: Module to handle HTTP errors with a HTML pageMatthew Wild2012-04-261-0/+75