Log

mod_http_upload/mod_http_upload.lua @ 5763:100110d539d3

description author age
various: Improve error reporting if missing file server module on 0.12 Kim Alvefur Mon, 18 Jul 2022 22:47:54 +0200
mod_http_upload: Prevent the module from starting without TLS Emmanuel Gil Peyrot Wed, 25 Aug 2021 12:52:33 +0200
mod_http_upload: Don’t send http: URIs to clients, this is forbidden by the XEP Emmanuel Gil Peyrot Wed, 25 Aug 2021 10:22:37 +0200
mod_http_upload: Fix issuing slots to components or other non-c2s sessions Kim Alvefur Thu, 01 Jul 2021 16:17:35 +0200
mod_http_upload: Add access config option Nicolas Cedilnik Tue, 16 Feb 2021 21:29:27 +0100
mod_http_upload: Log warning when loaded on user host Matthew Wild Tue, 25 Aug 2020 13:13:56 +0100
mod_http_upload: Show help message if not at least one host/user is given Kim Alvefur Mon, 30 Mar 2020 19:56:09 +0200
mod_http_upload: Add some kind of help message to prosodyctl command Kim Alvefur Mon, 30 Mar 2020 19:56:04 +0200
mod_http_upload: Skip custom HEAD handling on recent Prosody trunk Kim Alvefur Sat, 12 Oct 2019 19:42:37 +0200
mod_http_upload: Back out 3fb0add97cdb - depends on yet uncommon lfs version Kim Alvefur Fri, 30 Aug 2019 18:34:55 +0200
mod_http_upload: Skip write if nothing expired when checking Kim Alvefur Thu, 29 Aug 2019 23:35:42 +0200
mod_http_upload: Add hint about checking that the base URL is reachable Kim Alvefur Thu, 29 Aug 2019 23:30:55 +0200
mod_http_upload: Make loud noise if storage path can't be created or doesn't exist Kim Alvefur Thu, 29 Aug 2019 23:29:13 +0200
mod_http_upload: Also format max file size as integer in error (thanks lovetox) Kim Alvefur Fri, 23 Aug 2019 00:19:46 +0200
mod_http_upload: Ensure integer formatting of size limit Kim Alvefur Thu, 22 Aug 2019 23:57:57 +0200
mod_http_upload: Duplicate mime types handling from mod_http_files (fixes #1374) Kim Alvefur Sat, 29 Jun 2019 19:26:08 +0200
mod_http_upload: Propagate errors from expiry procedure Kim Alvefur Wed, 08 May 2019 13:51:49 +0200
mod_http_upload: Check attempted upload against quota even with no previous uploads Kim Alvefur Wed, 08 May 2019 13:50:49 +0200
mod_http_upload: Consider quota reached if it can't be checked Kim Alvefur Wed, 08 May 2019 13:48:24 +0200
Update modules using mod_http_files to serve files for change in Prosody trunk Kim Alvefur Fri, 05 Apr 2019 18:57:51 +0200
mod_http_upload: Fix indentation Kim Alvefur Fri, 18 Jan 2019 02:16:03 +0100
mod_http_upload: Disallow POST in CORS Emmanuel Gil Peyrot Sun, 18 Nov 2018 18:38:37 +0100
mod_http_upload: Remove extra check for Origin HTTP header Emmanuel Gil Peyrot Sun, 18 Nov 2018 18:36:16 +0100
mod_http_upload: Relocate function definition to avoid traceback Matthew Wild Sun, 18 Nov 2018 12:16:47 +0000
mod_http_upload: Also add CORS headers in response to PUT Matthew Wild Sun, 18 Nov 2018 12:15:02 +0000
mod_http_upload: Add CORS headers for web clients (untested) Matthew Wild Sun, 18 Nov 2018 12:06:13 +0000
mod_http_upload: Fix order of arguments to :measure Kim Alvefur Tue, 06 Nov 2018 14:44:11 +0100
mod_http_upload: Report statistics on upload sizes (0.10+) Kim Alvefur Mon, 29 Oct 2018 01:21:29 +0100
mod_http_upload: Use legacy datamanager directly (makes it work) Kim Alvefur Thu, 27 Sep 2018 20:16:15 +0200
mod_http_upload: Abort and throw error in case of failure to iterate over users Kim Alvefur Thu, 27 Sep 2018 20:03:10 +0200
mod_http_upload: Run expiry for all users if command run with a hostname Kim Alvefur Thu, 27 Sep 2018 19:54:26 +0200
mod_http_upload: use correct error condition Jonas Wielicki Sun, 08 Jul 2018 13:04:46 +0200
mod_http_upload: Add an experimental prosodyctl command for expiring uploads Kim Alvefur Sat, 19 May 2018 23:52:19 +0200
mod_http_upload: Include the current VirtualHost name in greeting to help with debugging Kim Alvefur Sun, 25 Mar 2018 20:27:14 +0200
mod_http_upload: Only try to create a randomly named directory once. Kim Alvefur Tue, 17 Oct 2017 22:39:37 +0200
mod_http_upload: Send a correct response on namespace :0. Emmanuel Gil Peyrot Tue, 19 Sep 2017 22:07:51 +0200
mod_http_upload: Handle HEAD requests in 0.10 when reading body from a file handle Kim Alvefur Wed, 16 Aug 2017 00:01:14 +0200
mod_http_upload: Remove directory when deleting a file (fixes #950) Kim Alvefur Thu, 27 Jul 2017 16:46:18 +0200
mod_http_upload: Remove MIME type restrictions and checking (fixes #958) Kim Alvefur Sat, 22 Jul 2017 23:14:13 +0200
mod_http_upload: Guess mime type from file extension if not provided by client (mime-type is OPTIONAL) Kim Alvefur Sun, 16 Apr 2017 00:58:02 +0200
mod_http_upload: Store filename and directory separately Kim Alvefur Sat, 15 Apr 2017 15:55:39 +0200
mod_http_upload: Return an error if unable to store slot info Kim Alvefur Sat, 15 Apr 2017 15:53:46 +0200
mod_http_upload: Keep user- and hostname in locals Kim Alvefur Sat, 15 Apr 2017 15:52:54 +0200
mod_http_upload: Remove unused upload slots Kim Alvefur Sat, 15 Apr 2017 15:51:29 +0200
Backed out changeset e491a15d7621 (closes #888) Kim Alvefur Sat, 15 Apr 2017 15:35:55 +0200
mod_http_upload: Switch to using a map store Kim Alvefur Thu, 13 Apr 2017 22:18:28 +0200
mod_http_upload: Add support for limiting file types to upload Kim Alvefur Thu, 13 Apr 2017 20:29:41 +0200
mod_http_upload: Clear unused slots after 15 minutes Kim Alvefur Thu, 13 Apr 2017 20:26:24 +0200
mod_http_upload: Consider files deleted even if remove fails Kim Alvefur Thu, 13 Apr 2017 20:59:55 +0200
mod_http_upload: Validate that file extension (used by mod_http_files) matches mime type given by client Kim Alvefur Thu, 13 Apr 2017 20:23:17 +0200
mod_http_upload: Implement quota support (closes #823) Kim Alvefur Thu, 13 Apr 2017 16:35:10 +0200
mod_http_upload: Add option for expiry of files after a configurable time (closes #557) Kim Alvefur Thu, 13 Apr 2017 16:31:00 +0200
mod_http_upload: Fix halting of event propagation when request handler returns Kim Alvefur Tue, 04 Apr 2017 00:16:17 +0200
mod_http_upload: Where did those parenthesis come from? Kim Alvefur Tue, 04 Apr 2017 00:11:05 +0200
mod_http_upload: Use the new util.id if available (in 0.10+) Kim Alvefur Tue, 04 Apr 2017 00:06:19 +0200
mod_http_upload: Use correct function for base64 Kim Alvefur Tue, 28 Mar 2017 17:09:39 +0200
mod_http_upload: Fix typo in variable name Kim Alvefur Sun, 26 Mar 2017 23:08:14 +0200
mod_http_upload: Rename variable to avoid name clash Kim Alvefur Sun, 26 Mar 2017 23:07:16 +0200
mod_http_upload: Split some long lines [luacheck] Kim Alvefur Sun, 26 Mar 2017 23:05:31 +0200
mod_http_upload: Fix to call random bytes function instead of the module Kim Alvefur Sun, 26 Mar 2017 21:09:02 +0200
mod_http_upload: Generate shorter directory names (closes #822) Kim Alvefur Fri, 24 Mar 2017 01:07:54 +0100
mod_http_upload: add support for XEP-0363 version 0.3 Emmanuel Gil Peyrot Wed, 22 Mar 2017 19:47:52 +0100
mod_http_upload: Return 201 on successful PUT (as per XEP-0363 and RFC 2616) (Thanks Flow) Matthew Wild Fri, 10 Mar 2017 10:19:05 +0000
mod_http_upload: Log the directory and filename joined Kim Alvefur Fri, 10 Feb 2017 11:04:16 +0100
Backed out changeset f48e9e25aec4, util.uuid.get_nibbles is unavailable in 0.9 Kim Alvefur Tue, 31 Jan 2017 14:05:53 +0100
mod_http_upload: Fix to include base storage path Kim Alvefur Sun, 29 Jan 2017 19:27:27 +0100
mod_http_upload: Fix typo Kim Alvefur Sun, 29 Jan 2017 19:18:49 +0100
mod_http_upload: Add missing return statement Kim Alvefur Sun, 29 Jan 2017 19:14:47 +0100
mod_http_upload: Change join_path to match behaviour of util.paths in 0.10 Kim Alvefur Sun, 29 Jan 2017 18:12:43 +0100
mod_http_upload: Use the correct variable name for directory Kim Alvefur Sun, 29 Jan 2017 18:10:06 +0100
mod_http_upload: Record upload slot metadata (fixes #718) Kim Alvefur Sun, 29 Jan 2017 17:27:49 +0100
mod_http_upload: Generate shorter random directory names (see #822) Kim Alvefur Sun, 29 Jan 2017 17:27:24 +0100
mod_http_upload: Accept already existing directory name if there is no conflicting file in it Kim Alvefur Sun, 29 Jan 2017 17:32:40 +0100
mod_http_upload: Make sure that target file does not exist prior to upload Kim Alvefur Sun, 29 Jan 2017 17:31:28 +0100
mod_http_upload: Create random directory name when assigning slot Kim Alvefur Sun, 29 Jan 2017 17:30:25 +0100
mod_http_upload: Forget upload slot under some error conditions Kim Alvefur Sun, 29 Jan 2017 17:22:37 +0100
mod_http_upload: Correctly attach extended error information Kim Alvefur Mon, 16 Jan 2017 01:45:05 +0100
mod_http_upload: Add missing semicolon Kim Alvefur Mon, 16 Jan 2017 01:44:38 +0100
mod_http_upload: Update for size limit error reporting change in XEP-0363 v0.2 (fixes #813) Kim Alvefur Mon, 16 Jan 2017 01:40:45 +0100
mod_http_upload: Handle case of non-existant path Kim Alvefur Tue, 23 Aug 2016 02:13:34 +0200
mod_http_upload: Add a comment Kim Alvefur Tue, 23 Aug 2016 02:09:32 +0200
mod_http_upload: Construct the upload slot URL using the LuaSocket URL library (fixes #717) Kim Alvefur Tue, 23 Aug 2016 00:44:14 +0200
mod_http_upload: Warn if upload size limit set higher than body size limit in http parser (applies to 0.10+) Kim Alvefur Sat, 20 Aug 2016 21:59:39 +0200
mod_http_upload: Add disco identity Matthew Wild Mon, 04 Jul 2016 10:38:56 +0100
mod_http_upload: Log if file size exceeds limit Kim Alvefur Sun, 12 Jun 2016 03:21:48 +0200
mod_http_upload: Add additional debug logging Kim Alvefur Sun, 12 Jun 2016 02:51:08 +0200
mod_http_upload: Return nil if no upload slot is found (should prevent conflicts between multiple instances on the same path) Kim Alvefur Tue, 31 May 2016 17:24:59 +0200
mod_http_upload: Demote some errors to warnings Kim Alvefur Tue, 31 May 2016 17:13:48 +0200
mod_http_upload: Add more logging Kim Alvefur Tue, 31 May 2016 17:10:46 +0200
mod_http_upload: Advertise maximum file size in disco#info (Per XEP-0363 v0.2) Kim Alvefur Tue, 08 Mar 2016 19:36:27 +0100
mod_http_upload: Trim trailing whitespace Kim Alvefur Mon, 07 Mar 2016 13:47:13 +0100
mod_http_upload: Lower default size limit to 1MB Kim Alvefur Wed, 24 Feb 2016 15:59:18 +0100
mod_http_upload: Make file system path configurable Kim Alvefur Fri, 11 Dec 2015 18:20:14 +0100
mod_http_upload: URL-encode filename in case it contains characters that need escaping (thanks Thilo) Kim Alvefur Fri, 11 Dec 2015 18:00:43 +0100
mod_http_upload: Say Hello to anyone opening the "bare" HTTP URL (helpful to show that module is loaded correctly) Kim Alvefur Sun, 01 Nov 2015 18:12:49 +0100
mod_http_upload: Add missing local of string.upper (Thanks Thilo) Kim Alvefur Mon, 19 Oct 2015 17:08:45 +0200
mod_http_upload: Duplicate code from net.http.server in order send proper HEAD responses Kim Alvefur Sun, 18 Oct 2015 17:25:14 +0200
mod_http_upload: Fix Content-Length header (it is now identical to the one in net.http.server) Kim Alvefur Wed, 14 Oct 2015 13:20:59 +0200
mod_http_upload: Fix HEAD requests Kim Alvefur Tue, 13 Oct 2015 20:21:11 +0200
mod_http_upload.lua: use official namespace from XEP-0363 Michael Töglhofer Thu, 24 Sep 2015 07:22:11 +0200
mod_http_upload: Add support for a file size limit Kim Alvefur Mon, 14 Sep 2015 12:49:54 +0200
mod_http_upload: Include failure reason in error response Kim Alvefur Mon, 14 Sep 2015 12:45:00 +0200
mod_http_upload: Log a message with the upload URL and storage path for easy discovery Kim Alvefur Mon, 14 Sep 2015 12:44:10 +0200
mod_http_upload: Cache first-level child <request> in local variable Kim Alvefur Mon, 14 Sep 2015 12:43:10 +0200
mod_http_upload: Fix typo (thanks mo) Kim Alvefur Tue, 01 Sep 2015 12:34:45 +0200
mod_http_upload: Include join_path function, should make it work with 0.9.x Kim Alvefur Tue, 01 Sep 2015 12:22:29 +0200
mod_http_upload: Depend on mod_disco, allows it to be discovered when set up as a component Kim Alvefur Sun, 30 Aug 2015 13:38:50 +0200
mod_http_upload: Implementation of Conversations HTTP upload file transfer mode Kim Alvefur Sat, 18 Jul 2015 23:05:09 +0200