Commit Graph

75 Commits (master)

Author SHA1 Message Date
Kim Alvefur 406b90d31d core.certmanager: Turn soft dependency on LuaSec into a hard 4 years ago
Kim Alvefur 09a2018e40 util.dependencies: Print tables itself to reduce number of imports 3 years ago
Kim Alvefur 43531740f9 util: Prefix module imports with prosody namespace 3 years ago
Kim Alvefur ada68efcc9 util.dependencies: Reject Lua 5.1, Lua 5.2 or later is now required (see #1600) 4 years ago
Kim Alvefur 5393bff075 util.dependencies: Deprecate support for Lua 5.1, this is your final warning 4 years ago
Kim Alvefur c91cc915b6 util.dependencies: Check for bitop library same way as net.websocket.frames (fixes #1594) 5 years ago
Kim Alvefur f9660a9509 util.dependencies: Refer to 'apt' instead of 'apt-get' 4 years ago
Kim Alvefur c43fbe25ec util.dependencies: Enable warning about missing lua-unbound 4 years ago
Kim Alvefur bdea7033a7 util.dependencies: Fix typo (thanks jonas’) 4 years ago
Kim Alvefur eb2c2d4597 util.dependencies: Discourage Lua 5.1 4 years ago
Kim Alvefur 74e1de54fd util.dependencies: Consider Lua 5.4 Supported™️ 4 years ago
Kim Alvefur fb63560591 util.dependencies: Quiet luacheck 6 years ago
Kim Alvefur 8c73ea0b22 util.dependencies: Tone down lua-unbound dependency for now 6 years ago
Kim Alvefur c98a6d205e util.dependencies: Prefer net.unbound over net.adns 6 years ago
Kim Alvefur 57253b7f87 util.dependencies: Add awareness of luaunbound 6 years ago
Matthew Wild bec20ff0b4 util.dependencies: Use util.human.io.table to replace custom layout code 6 years ago
Kim Alvefur f8e36355ee util.dependencies: Pass require error to error formatting function 6 years ago
Kim Alvefur 2848e38b7e util.dependencies: Avoid missing bitop false positive on Lua 5.4 6 years ago
Kim Alvefur 587c2382b0 util.dependencies: Increase Lua version to warn about to 5.4 7 years ago
Matthew Wild 9fdfa590d2 util.dependencies: Remove ztact compatability warning 7 years ago
Kim Alvefur 284152ba25 util.dependencies: Add compat code for normalization of socket constructors 7 years ago
Kim Alvefur 9437d97a37 util.dependencies: Add comment about LuaSec compat 9 years ago
Kim Alvefur 255073d6c9 util.dependencies: Add compatibility code for LuaSocket no longer exporting as a global 9 years ago
Kim Alvefur 4a5b4067a9 util.dependencies: Give APT command for installing lua-sec 9 years ago
Kim Alvefur 87f325ecd7 util.dependencies: Normalize whitespace 9 years ago
Kim Alvefur 43cc8f2d9d util.dependencies: Update Debian package names for liblua5.1-lib0 -> lua-lib transition 9 years ago
Kim Alvefur 00e5c2d7d3 util.dependencies: Add check and info about lua-bitops (for mod_websockets) 9 years ago
Kim Alvefur 1c652e0883 util.dependencies: Update links for LuaExpat and LuaSec which have moved to new locations 9 years ago
Kim Alvefur 09450f23e4 util.dependencies: Set ssl.x509 so core.certmanager knows that LuaSec is capable of certificate validation (fixes #781) 9 years ago
Kim Alvefur 73d36e3ff9 util.dependencies: Disable warning about Lua 5.2 (but still warn about 5.3) 9 years ago
Kim Alvefur c200735dba util.dependencies: Set global 'ssl' for compat with LuaSec 0.6 (fixes #749) 9 years ago
Emmanuel Gil Peyrot c6048a7cb4 Update every link to the documentation to use HTTPS 10 years ago
Thijs Alkemade bc0ce12e97 util.dependencies: Show the full error when a symbol is not found (i.e., when running Prosody with the wrong version of Lua). 10 years ago
Matthew Wild c2c82b591a util.dependencies: Use prosody.log() instead of global log() 10 years ago
Kim Alvefur 359ca86e38 util.dependencies: Only abort on Lua versions before 5.1, log a warning about 5.2 and above for now 11 years ago
Kim Alvefur eaa823a597 util.*: Remove use of module() function, make all module functions local and return them in a table at the end 11 years ago
Waqas Hussain 32b9b7ff47 util.dependencies: Check for Lua 5.1. We don't currently support any other versions. LuaJIT identifies as 5.1. 12 years ago
Matthew Wild 36a19e92a7 util.dependencies: Log error when LuaExpat is not capable of enforcing stanza size limits 12 years ago
Kim Alvefur f06c9f7d0d Backout ae48bf828f21 12 years ago
Florian Zeitz 1d833bb807 Remove all trailing whitespace 13 years ago
Waqas Hussain 56975d6c63 util.dependencies, util.xmppstream: Move LuaExpat version checking to util.dependencies. 14 years ago
Tobias Markmann 1fbe88e5c4 Run with own LuaSec. 15 years ago
Matthew Wild 6d96edf726 prosody, prosodyctl, util.dependencies: Split checking and logging of dependencies so we can check hard deps before the config and logging is loaded 15 years ago
Matthew Wild 44bf454dd5 prosody, prosodyctl, util.dependencies: Split checking and logging of dependencies so we can check hard deps before the config and logging is loaded 15 years ago
Matthew Wild ebb9c9d585 util.dependencies: Add a dummy util.ztact loader to log a message for people still using it (e.g. in their Debian-derived config files) 15 years ago
Matthew Wild 2bc0606453 Update copyright headers for 2010 16 years ago
Matthew Wild b091201f79 util.dependencies: Don't query the config (it isn't really necessary) 16 years ago
Matthew Wild 7086dd06fe util.dependencies: Load luarocks.loader/luarocks.require 16 years ago
Matthew Wild 08284a586e util.dependencies, prosody, prosodyctl: Give util.dependencies a check_dependencies() function so the caller can decide what to do when dependencies aren't met - update prosody/prosodyctl for this change 16 years ago
Matthew Wild 6428065b5e util.dependencies: Fix package name of LuaFilesystem 16 years ago