aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* net.connlisteners: Remove duplicated field in exports [luacheck]Kim Alvefur2018-04-061-1/+0
|
* Merge 0.10->trunkKim Alvefur2018-04-061-0/+1
|\
| * net.http: Import setmetatable into local scope (fixes #1125)Kim Alvefur2018-04-061-0/+1
| |
* | mod_ping: Ignore unused arguments [luacheck]Kim Alvefur2018-04-061-1/+1
| |
* | Fix spelling throughout the codebase [codespell]Kim Alvefur2018-02-0417-35/+35
| |
* | luacheckrc: No longer ignore use of the global 'server' (net.server)Kim Alvefur2018-04-051-1/+0
| |
* | prosody: Get net.server via requre to avoid relying on globalsKim Alvefur2018-04-051-0/+1
| |
* | mod_muc_mam: Save the MUC <x> on recorded join stanzasKim Alvefur2018-03-241-1/+1
| |
* | mod_muc_mam: Let muc/history.lib decide which messages to storeKim Alvefur2018-03-241-4/+2
| |
* | mod_muc_mam: Remove 0.10 compat codeKim Alvefur2017-12-121-97/+4
| |
* | mod_muc_mam: Import mod_mam_muc from prosody-modules ba6466fa6823Kim Alvefur2018-04-022-0/+463
| |
* | util.startup: Set up event hooks for reloading logging here instead of in ↵Kim Alvefur2018-04-052-7/+6
| | | | | | | | loggingmanager to simplify startup dependencies
* | util.startup: Initialize prosody.log / _G.log here instead of in ↵Kim Alvefur2018-04-052-4/+5
| | | | | | | | loggingmanager to reduce dependencies
* | util.startup: Initialize logging earlier, so that messages from eg ↵Kim Alvefur2018-04-051-1/+1
| | | | | | | | net.server are shown
* | prosodyctl: Use prosody.hosts instead of _G.hostsKim Alvefur2018-03-291-8/+8
| |
* | core: Use prosody.hosts instead of _G.hosts for consistencyKim Alvefur2018-03-295-5/+5
| |
* | luacheckrc: Forget about _G.hosts, things should use _G.prosody.hostsKim Alvefur2018-03-291-2/+0
| |
* | util.startup: Access the hosts table via the prosody global for consistencyKim Alvefur2018-03-291-1/+1
| |
* | prosody: Use prosody.log instead of _G.log because it looks nicerKim Alvefur2018-04-051-5/+5
| |
* | util.startup: Use own logger instead of the possibly not available yet _G.logKim Alvefur2018-04-051-0/+1
| |
* | util.startup: Remove luacheck directive for ignoring use of _G.log which ↵Kim Alvefur2018-04-051-3/+0
| | | | | | | | might not exist until loggingmanager has been loaded
* | net.server: Init a local logger (fixes traceback on attempt to warn about ↵Kim Alvefur2018-04-051-0/+1
| | | | | | | | missing luaevent due to later loggingmanager initialization)
* | luacheckrc: Remove allowance for the global log() since it may not exist as ↵Kim Alvefur2018-04-051-1/+0
| | | | | | | | early as before
* | Merge 0.10 -> trunkMatthew Wild2018-04-041-2/+1
|\|
| * CHANGES: Normalize syntaxKim Alvefur2018-04-031-2/+1
| |
* | Merge 0.10 -> trunkMatthew Wild2018-04-041-1/+1
|\|
| * net.http: Fix parameter order to http request callbacksMatthew Wild2018-04-041-1/+1
| | | | | | | | | | | | Commit e3b9dc9dd940 changed the parameter order in 2013, but did not update the names of the parameters in the callback function. Due to this inconsistency, 12df41a5a4b1 accidentally reversed the order when fixing the variable names without fixing where they are used. Additionally the documentation was incorrect (since 2013), and this has also now been fixed.
| * MUC: Don't reply to errors with more errors (fixes #1122)Kim Alvefur2018-03-281-1/+3
| |
| * MUC: Say something about storage failure before aborting (see #1091)Kim Alvefur2018-03-121-0/+1
| |
| * MUC: Prevent creation of room that could not be loaded from storage (see #1091)Kim Alvefur2018-03-091-2/+8
| |
| * MUC: Abort module loading if unable to get list of persistent rooms from ↵Kim Alvefur2018-03-071-1/+5
| | | | | | | | storage (fixes #1091)
* | prosodyctl: Increase robustness in luarocks version detection (fixes #1003)Kim Alvefur2018-03-301-3/+9
| |
* | Backed out changeset a0f728c3aa69 in favor of 580c13ed0ca1Kim Alvefur2018-03-291-7/+3
| |
* | util.startup: Initialize the 'prosody' global earlier (various things needs ↵Kim Alvefur2018-03-291-2/+2
| | | | | | | | the global util.events instance)
* | util.startup: Factor out processing of plugin and data paths into a separate ↵Kim Alvefur2018-03-291-9/+20
| | | | | | | | functions
* | util.json: Unescape surrogate pairsMatthew Wild2018-03-271-4/+5
| |
* | mod_pep_plus: Validate items here too (thanks Link Mauve)Kim Alvefur2018-03-251-0/+5
| |
* | mod_pubsub: Reject publishing of non-itemsKim Alvefur2018-03-211-0/+5
| |
* | util.pubsub: Allow setting a callback for validating items to be publishedKim Alvefur2018-03-211-0/+4
| |
* | loggingmanager: Hook event for reopening log files instead of config reloadedKim Alvefur2018-03-251-1/+1
| |
* | configmanager: Move firing of the 'config-reloaded' event into util.startup ↵Kim Alvefur2018-03-252-7/+5
| | | | | | | | (fixes #1117)
* | storagemanager: Default storage_async_check to false for a whileMatthew Wild2018-03-251-1/+1
| |
* | net.http: Allow enabling/disabling error suppression, useful for testsMatthew Wild2018-03-241-2/+7
| |
* | net.http: Fix for Lua 5.2: return error from error handler (xpcall changed)Matthew Wild2018-03-241-1/+1
| |
* | util.startup: Read version for prosodyctl (restores version in 'about' command)Kim Alvefur2018-03-241-0/+1
| |
* | net.http.server: Prevent loading of net.server in tests (breaks unrelated ↵Kim Alvefur2018-03-241-0/+1
| | | | | | | | tests for some reason)
* | net.server: Try to require configmanager instead checking for the prosody ↵Kim Alvefur2018-03-231-3/+7
| | | | | | | | global which does not yet exist when net.server is loaded now
* | util.timer: Move sleep() here from util.asyncKim Alvefur2018-03-232-8/+8
| | | | | | | | This is to solve a indirect dependency issue where net.server was initialized before the config was read
* | util.async: Remove last trace of async.once [luacheck]Kim Alvefur2018-03-231-1/+0
| |
* | util.async: Remove async.once(), can now be replaced by runner():run(func)Matthew Wild2018-03-232-33/+0
| |