aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_http_files.lua
Commit message (Expand)AuthorAgeFilesLines
* plugins: Use integer config API with interval specification where sensibleKim Alvefur2023-07-171-2/+2
* plugins: Prefix module imports with prosody namespaceKim Alvefur2023-03-241-3/+3
* mod_http_files: Log warning about legacy modules using mod_http_filesKim Alvefur2022-07-171-2/+1
* Spelling: Fix various spelling mistakes (thanks timeless)Kim Alvefur2022-03-071-2/+2
* mod_http_files: Log something if unable to load MIME databaseKim Alvefur2019-12-231-1/+3
* mod_http_files: Try to determine which module using serve() needs updatingKim Alvefur2019-04-051-2/+8
* mod_http_files: Use net.http.filesKim Alvefur2019-04-051-136/+33
* mod_http_files: Rename variable to avoid name clash [luacheck]Kim Alvefur2018-10-101-3/+3
* mod_http_files: Silence luacheck warnings related to config variablesKim Alvefur2018-10-101-0/+1
* mod_http_files: Correct cache insertion (fixes #1130)Kim Alvefur2018-04-171-1/+1
* mod_http_files: Use path variant of config option API for http_files_dirKim Alvefur2017-03-211-1/+1
* mod_http_files: Pass only the name of the path, get_option_path knows how to ...Kim Alvefur2017-03-171-1/+1
* mod_http_files: Use API for config options that are file pathsKim Alvefur2017-03-161-1/+1
* plugins/various: Use type-specific config APIKim Alvefur2017-03-161-1/+1
* mod_http_files: Send larger files using new file handle APIKim Alvefur2016-07-111-7/+12
* mod_http_files: Switch to use util.cache for cacheKim Alvefur2016-07-111-3/+4
* mod_http_files: send valid ETag headerAnton Shestakov2016-07-091-1/+1
* Merge 0.9->0.10Kim Alvefur2016-03-031-3/+8
|\
| * mod_http_files: Preserve a trailing / in paths (fixes #639)Kim Alvefur2016-03-031-0/+3
| * mod_http_files: Don't prepend / to path twice, sanitize path does this alreadyKim Alvefur2016-03-031-1/+1
| * mod_http_files: Fix traceback when serving a non-wildcard path (fixes #611)Kim Alvefur2016-03-031-2/+4
* | Merge 0.9->0.10Kim Alvefur2016-01-081-1/+33
|\|
| * mod_http_files: Santize the path relative to our base URL before translating ...Matthew Wild2016-01-071-1/+33
* | Merge 0.9->0.10Kim Alvefur2015-09-271-2/+2
|\|
| * mod_http_files: Translate forward slashes to local directory separatorsKim Alvefur2015-09-261-1/+1
| * mod_http_files: Strip trailing directory separator regardless of directionali...Kim Alvefur2015-09-261-1/+1
* | Merge 0.9->0.10Kim Alvefur2014-03-091-1/+2
|\|
| * mod_http_files: Strip path separator from end of paths, was broken on Windows...Kim Alvefur2014-03-091-1/+2
* | Remove all trailing whitespaceFlorian Zeitz2013-08-091-1/+1
|/
* mod_http_files: Put the MIME type map in a global shared table instead of per...Kim Alvefur2013-06-281-2/+2
* mod_http_files: Fix sending Content-Type for index filesKim Alvefur2012-12-231-1/+1
* mod_http_files: Allow passing a string to serve()Kim Alvefur2012-12-231-1/+4
* mod_http_files: Expose function other modules can use to combine their routes...Kim Alvefur2012-12-211-0/+8
* mod_http_files: Work with non-wildcard-routes. Key cache on the original HTTP...Kim Alvefur2012-12-211-5/+5
* mod_http_files: Replace file listing with an event, allowing a different plug...Kim Alvefur2012-12-211-19/+7
* mod_http_files: Export function can be used by other modules to serve files. ...Kim Alvefur2012-12-211-73/+88
* mod_http_files: Rename config options and variable namesKim Alvefur2012-12-211-5/+5
* mod_http_files: Log the error if we can't open or read a fileKim Alvefur2012-12-211-1/+2
* mod_http_files: Escape paths in redirectsKim Alvefur2012-12-211-1/+4
* mod_http_files: Only match on modification date when if-none-match is not pre...Kim Alvefur2012-12-211-1/+1
* mod_http_files: Only serve cached data if etag is unchanged.Kim Alvefur2012-12-211-3/+3
* mod_http_files: Make sure file extensions are not nil or empty stringKim Alvefur2012-12-211-2/+2
* mod_http_files: Avoid a bunch of table lookupsKim Alvefur2012-12-211-8/+12
* mod_http_files: No use in closing a file handle if we couldn't open itKim Alvefur2012-12-211-3/+5
* mod_http_files: Compare If-Modified-Since to last modification dateKim Alvefur2012-12-161-4/+7
* mod_http_files: Fix caching the stringified directory indexKim Alvefur2012-12-161-1/+1
* mod_http_files: Generate simple directory index.Kim Alvefur2012-12-111-2/+23
* mod_http_files: Have mimetypes in a shared table. Get mimetypes from /etc/mim...Kim Alvefur2012-12-111-10/+28
* mod_http_files: Cache data read from disk in a weak tableKim Alvefur2012-12-111-13/+18
* mod_http_files: Add Last-Modified headerKim Alvefur2012-12-111-0/+2