Prosody is a modern XMPP communication server http://prosody.im
Find a file
Kim Alvefur 8ee6441fc5 executables: Reject Lua 5.1 early
Prevents attempting to load libraries that may no longer be found and
crashing with a traceback.

Platforms like Debian where multiple Lua versions can be installed at
the same time and 'lua' pointing to one of the installed interpreters
via symlinks, there's the possibility that prosody/prosodyctl may be
invoked with Lua 5.1, which will no longer have any of the rest of
Prosody libraries available to be require(), and thus would immediately
fail with an unfriendly traceback.

Checking and aborting early with a friendlier message and reference to
more information is better.

Part of #1600
2022-07-02 17:27:39 +02:00
certs Add makefiles compatible with BSD make 2018-03-11 06:01:19 +01:00
core core.configmanager: Remove COMPAT for old config format from 2013 2022-05-29 16:06:42 +02:00
doc mod_saslauth: Advertise channel bindings via XEP-0440 2020-12-06 22:04:43 +01:00
fallbacks fallbacks.bit: remove unused one-letter loop variables [luacheck] 2016-07-14 18:40:43 +08:00
man man/prosodyctl: Complete list of 'check' variants 2022-02-02 18:28:28 +01:00
net Merge 0.12->trunk 2022-06-19 19:58:12 +02:00
plugins mod_storage_sql: Remove Lua 5.1 compatibility hack 2022-07-02 17:30:06 +02:00
spec tests: Remove special-casing of Lua 5.1 2022-07-02 17:29:03 +02:00
teal-src util.hashes: Add SHA3 bindings 2020-09-10 21:58:24 +02:00
tools Spelling: Fix various spelling mistakes (thanks timeless) 2022-03-07 00:13:56 +01:00
util util.envload: Remove Lua 5.1 method 2022-07-05 14:18:32 +02:00
util-src util-src: Remove Lua 5.1 compat macros 2022-07-01 21:21:21 +02:00
.busted util.hashes: Add test vectors from RFC 6070 for PBKDF2 (aka SCRAM Hi()) 2019-04-19 14:12:28 +02:00
.editorconfig editorconfig: We use tabs 2021-07-18 12:57:06 +02:00
.hgignore hgignore: Stop ignoring *.report, these are no longer created since switching to busted 2017-10-22 14:39:59 +02:00
.luacheckrc luacheck: Ignore new warning about uses of not (x == y) and similar 2022-05-30 17:12:58 +02:00
.luacov .luacov: Add config for luacov, exclude spec/ 2018-10-11 10:39:11 +01:00
.semgrep.yml lint: Add initial semgrep config 2021-01-18 17:28:34 +01:00
AUTHORS AUTHORS: A small update... 2013-03-31 13:43:12 +01:00
CHANGES CHANGES: Lua 5.1 support removed (closes #1600) 2022-07-05 14:59:47 +02:00
configure configure: No longer accept Lua 5.1 2022-06-30 17:00:35 +02:00
CONTRIBUTING CONTRIBUTING: Add a short file referencing the online doc/contributing page 2019-04-03 01:09:21 +02:00
COPYING util.struct: Import Roberto 'struct' library v0.3 2022-03-04 15:03:02 +00:00
DEPENDS DEPENDS: Change link to https 2017-12-05 11:59:43 +01:00
GNUmakefile make: Install stanza watcher library (thanks Menel) 2022-04-13 16:53:19 +02:00
HACKERS doc/coding_style.{txt,md}: Update coding style guide 2019-03-14 16:13:14 +00:00
INSTALL util.dependencies: Refer to 'apt' instead of 'apt-get' 2022-02-13 17:27:29 +01:00
makefile make: Install stanza watcher library (thanks Menel) 2022-04-13 16:53:19 +02:00
prosody executables: Reject Lua 5.1 early 2022-07-02 17:27:39 +02:00
prosody.cfg.lua.dist prosody.cfg.lua.dist: Remove comment about mod_*.lua above modules_enabled 2022-03-03 10:24:59 +00:00
prosodyctl executables: Reject Lua 5.1 early 2022-07-02 17:27:39 +02:00
README README: Reflow text to ~78 columns 2022-01-28 14:19:05 +01:00
TODO TODO: Remove statistics since this was done in 0.10 2019-01-21 21:30:54 +01:00

# Prosody IM Server

## Description

Prosody is a server for Jabber/XMPP written in Lua. It aims to be easy to use
and light on resources. For developers, it aims to give a flexible system on
which to rapidly develop added functionality or rapidly prototype new
protocols.

## Useful links

Homepage:        https://prosody.im/
Download:        https://prosody.im/download
Documentation:   https://prosody.im/doc/
Issue tracker:   https://issues.prosody.im/

Jabber/XMPP Chat:
               Address:
                 prosody@conference.prosody.im
               Web interface:
                 https://chat.prosody.im/

Mailing lists:
               User support and discussion:
                 https://groups.google.com/group/prosody-users

               Development discussion:
                 https://groups.google.com/group/prosody-dev

## Installation

See the accompanying INSTALL file for help on building Prosody from source.
Alternatively see our guide at https://prosody.im/doc/install