aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* util.stanza: Export xml_escape (missed during removal of module() calls)Kim Alvefur2015-09-031-0/+1
|
* net.server_{select,event}: addclient: Use getaddrinfo to detect IP address ↵Kim Alvefur2013-12-232-2/+17
| | | | type if no socket type argument given. (Argument must be given for non-TCP)
* net.server_{select,event}: addclient: Add argument for overriding socket typeKim Alvefur2013-12-232-4/+18
|
* net/server_event: pcall require ssl rather than relying on globalsdaurnimator2013-12-181-15/+7
|
* net/server_event: add_client should have same arguments no-matter the server ↵daurnimator2013-12-181-21/+6
| | | | backend
* net/server_select: Fix typodaurnimator2013-12-181-1/+1
|
* net/server_select: addclient: Check argumentsdaurnimator2013-12-181-0/+15
|
* net/server_select: addclient: Check for failure correctly; remove ↵daurnimator2013-12-181-3/+3
| | | | wrapconnection call on failure
* net/server_select: Check arguments to add_server correctlydaurnimator2013-12-181-3/+4
|
* configure, Makefile: Make compatible with plain Bourne shell as used on ↵Matthew Wild2015-09-022-9/+9
| | | | Solaris. Fixes #418 (thanks jcea)
* storagemanager: Check if drivers support purging, warn otherwiseKim Alvefur2015-09-021-3/+8
|
* prosody: Set a luasocket global, fixes undefined global access in loop() ↵Kim Alvefur2015-09-021-0/+1
| | | | (pending util.startup)
* storagemanager: Export purge (fixes deleting users from usermanager) (thanks mt)Kim Alvefur2015-09-021-0/+1
|
* util.sql: Export db2uri (mod_storage_sql2 command uses it) (thanks mike)Kim Alvefur2015-09-021-0/+1
|
* util.sql: Log when transactions beginKim Alvefur2015-08-301-0/+1
|
* mod_carbons: Get full_ and bare_sessions from the prosody global [luacheck]Kim Alvefur2015-08-271-1/+1
|
* mod_carbons: Carbon chat messages or normal messages that have a bodyKim Alvefur2015-08-261-5/+3
|
* util.hex: Normalize hex to lowercase and discard non-hex inputKim Alvefur2015-08-261-1/+2
|
* Merge 0.9->0.10Kim Alvefur2015-08-261-1/+16
|\
| * ejabberd2prosody: Support password stored as SCRAM hashesKim Alvefur2015-08-201-1/+16
| |
* | mod_admin_adhoc: Declare local variable, don't set a global [luacheck]Kim Alvefur2015-08-261-0/+1
| |
* | mod_admin_adhoc: Import missing util.set (fixes #518)Kim Alvefur2015-08-261-0/+1
| |
* | mod_websocket: Import sessionmanager (fixes traceback)Kim Alvefur2015-08-211-1/+1
| |
* | luacheckrc: Ignore unused _ENV variableKim Alvefur2015-08-201-1/+1
| |
* | util-src/*.c: Invert Lua 5.2 compat to be 5.2+ by default and a macro to ↵Kim Alvefur2015-04-266-21/+21
| | | | | | | | support 5.1
* | portmanager: Add forward declarationsKim Alvefur2015-04-081-2/+6
| |
* | rostermanager: Add forward declarationsKim Alvefur2015-04-081-3/+9
| |
* | util.sasl.scram: Get rid of module callKim Alvefur2015-04-071-4/+7
| |
* | util.json: Remove use of newproxyKim Alvefur2015-03-131-5/+2
| |
* | prosodyctl: Import LuaSocket to a local, don't assume that a global will be setKim Alvefur2015-03-131-1/+1
| |
* | util.helpers: Fix order of functions using each other [fixes 00412b36166f]Kim Alvefur2015-03-031-8/+8
| |
* | net.server_{select,event}: Don't rely on LuaSocket and LuaSec being present ↵Kim Alvefur2015-02-232-11/+11
| | | | | | | | in the globals table
* | mod_admin_telnet: Remove now broken importing of modulemanager from various ↵Kim Alvefur2015-02-221-15/+8
| | | | | | | | commands, use upvalue defined at top of file (thanks daurnimator)
* | net.*: Remove use of module() functionKim Alvefur2015-02-215-34/+44
| |
* | core.*: Remove use of module() functionKim Alvefur2015-02-2113-104/+188
| |
* | util.dependencies: Only abort on Lua versions before 5.1, log a warning ↵Kim Alvefur2015-02-211-2/+5
| | | | | | | | about 5.2 and above for now
* | util.*: Remove use of module() function, make all module functions local and ↵Kim Alvefur2015-02-2135-302/+435
| | | | | | | | return them in a table at the end
* | Merge 0.9->0.10Kim Alvefur2015-08-101-15/+16
|\|
| * mod_component: Fire an event on successful component authentication (For Goffi)Kim Alvefur2015-08-101-0/+1
| |
* | util.interpolation: Add support for filter functionsKim Alvefur2015-08-071-1/+9
| |
* | util.{interpolation,prosodyctl,sql}: Trim trailing whitespaceKim Alvefur2015-07-173-21/+21
| |
* | util.sql: Add safety check to ensure our chosen connection charset is ↵Matthew Wild2015-07-081-0/+12
| | | | | | | | actually being used (MySQL)
* | util.sql: Fix log level of debug messageMatthew Wild2015-07-081-1/+1
| |
* | util.sql: Log debug message when connecting to databaseMatthew Wild2015-07-081-0/+1
| |
* | util.sql: Make set_encoding() return failure of SET NAMESMatthew Wild2015-07-081-1/+7
| |
* | util.sql: Return failure if set_encoding() failsMatthew Wild2015-07-081-1/+4
| |
* | mod_storage_sql2: Upgrade table if its charset does not match our ↵Matthew Wild2015-07-081-6/+8
| | | | | | | | connection's charset (thanks Zash)
* | util.sql: Use appropriate collation for the chosen character set - fixes ↵Matthew Wild2015-07-081-1/+1
| | | | | | | | MySQL silently ignoring our SET NAMES command when we use utf8mb4
* | util.sql: Create table with same charset as the charset we selected for our ↵Matthew Wild2015-07-081-1/+1
| | | | | | | | connection, also use corresponding _bin collation
* | util.sql: Allow onconnect callback to fail connection to the DB by returning ↵Matthew Wild2015-07-071-1/+4
| | | | | | | | false, err