util.startup: Access the hosts table via the prosody global for consistency
|
Kim Alvefur |
2018-03-29 |
prosody: Use prosody.log instead of _G.log because it looks nicer
|
Kim Alvefur |
2018-04-05 |
util.startup: Use own logger instead of the possibly not available yet _G.log
|
Kim Alvefur |
2018-04-05 |
util.startup: Remove luacheck directive for ignoring use of _G.log which might not exist until loggingmanager has been loaded
|
Kim Alvefur |
2018-04-05 |
net.server: Init a local logger (fixes traceback on attempt to warn about missing luaevent due to later loggingmanager initialization)
|
Kim Alvefur |
2018-04-05 |
luacheckrc: Remove allowance for the global log() since it may not exist as early as before
|
Kim Alvefur |
2018-04-05 |
Merge 0.10 -> trunk
|
Matthew Wild |
2018-04-04 |
CHANGES: Normalize syntax
|
Kim Alvefur |
2018-04-02 |
Merge 0.10 -> trunk
|
Matthew Wild |
2018-04-04 |
net.http: Fix parameter order to http request callbacks
|
Matthew Wild |
2018-04-04 |
MUC: Don't reply to errors with more errors (fixes #1122)
|
Kim Alvefur |
2018-03-28 |
MUC: Say something about storage failure before aborting (see #1091)
|
Kim Alvefur |
2018-03-12 |
MUC: Prevent creation of room that could not be loaded from storage (see #1091)
|
Kim Alvefur |
2018-03-09 |
MUC: Abort module loading if unable to get list of persistent rooms from storage (fixes #1091)
|
Kim Alvefur |
2018-03-07 |
prosodyctl: Increase robustness in luarocks version detection (fixes #1003)
|
Kim Alvefur |
2018-03-30 |
Backed out changeset a0f728c3aa69 in favor of 580c13ed0ca1
|
Kim Alvefur |
2018-03-29 |
util.startup: Initialize the 'prosody' global earlier (various things needs the global util.events instance)
|
Kim Alvefur |
2018-03-29 |
util.startup: Factor out processing of plugin and data paths into a separate functions
|
Kim Alvefur |
2018-03-29 |
util.json: Unescape surrogate pairs
|
Matthew Wild |
2018-03-27 |
mod_pep_plus: Validate items here too (thanks Link Mauve)
|
Kim Alvefur |
2018-03-25 |
mod_pubsub: Reject publishing of non-items
|
Kim Alvefur |
2018-03-21 |
util.pubsub: Allow setting a callback for validating items to be published
|
Kim Alvefur |
2018-03-21 |
loggingmanager: Hook event for reopening log files instead of config reloaded
|
Kim Alvefur |
2018-03-25 |
configmanager: Move firing of the 'config-reloaded' event into util.startup (fixes #1117)
|
Kim Alvefur |
2018-03-25 |
storagemanager: Default storage_async_check to false for a while
|
Matthew Wild |
2018-03-25 |
net.http: Allow enabling/disabling error suppression, useful for tests
|
Matthew Wild |
2018-03-24 |
net.http: Fix for Lua 5.2: return error from error handler (xpcall changed)
|
Matthew Wild |
2018-03-24 |
util.startup: Read version for prosodyctl (restores version in 'about' command)
|
Kim Alvefur |
2018-03-24 |
net.http.server: Prevent loading of net.server in tests (breaks unrelated tests for some reason)
|
Kim Alvefur |
2018-03-23 |
net.server: Try to require configmanager instead checking for the prosody global which does not yet exist when net.server is loaded now
|
Kim Alvefur |
2018-03-23 |
util.timer: Move sleep() here from util.async
|
Kim Alvefur |
2018-03-23 |
util.async: Remove last trace of async.once [luacheck]
|
Kim Alvefur |
2018-03-23 |
util.async: Remove async.once(), can now be replaced by runner():run(func)
|
Matthew Wild |
2018-03-23 |
prosody, util.startup: Switch from async.once() to long-lived thread, to avoid GC
|
Matthew Wild |
2018-03-23 |
util.async: Make parameters to async.runner() optional
|
Matthew Wild |
2018-03-23 |
mod_announce: Remove unreachable return statement [luacheck]
|
Kim Alvefur |
2018-03-23 |
net.httpserver: Make function local, fixes loading since there is no environment [luacheck]
|
Kim Alvefur |
2018-03-23 |
luacheckrc: Allow top level variables in prosodyctl (eg CFG_*) [luacheck]
|
Kim Alvefur |
2018-03-23 |
luacheckrc: Let luacheck know about the log and server globals
|
Kim Alvefur |
2018-03-23 |
stanza_router: Limit scope of deprecated warning function since it is not used anywhere else [luacheck]
|
Kim Alvefur |
2018-03-23 |
s2smanager: Explicitly export the incoming_s2s table [luacheck]
|
Kim Alvefur |
2018-03-23 |
luacheckrc: Only allow top level declarations in the main prosody executable
|
Kim Alvefur |
2018-03-23 |
util.startup: Expose make_host() function
|
Matthew Wild |
2018-03-22 |
util.startup: Expose user switching information via prosody global object
|
Matthew Wild |
2018-03-22 |
prosodyctl: Large number of changes to satisfy [luacheck], includes bug fixes
|
Matthew Wild |
2018-03-22 |
storagemanager: Remove unused variable [luacheck]
|
Kim Alvefur |
2018-03-22 |
util.async: Use wrapper for once runner (thanks luacheck)
|
Kim Alvefur |
2018-03-22 |
prosodyctl, util.prosodyctl: Pass source path as a parameter instead of global variable
|
Matthew Wild |
2018-03-22 |
util.startup: Fix variable usage [luacheck]
|
Matthew Wild |
2018-03-22 |
util.startup: Move original_logging_config to a local variable
|
Matthew Wild |
2018-03-22 |
util.startup: Restore user switching
|
Matthew Wild |
2018-03-22 |
util.startup: Fix chdir() to use correct path variable
|
Matthew Wild |
2018-03-22 |
mod_posix: Delay setting signal handlers until in the main thread
|
Matthew Wild |
2018-03-22 |
MUC: Catch and log error in case of storage failure in iterator over rooms
|
Kim Alvefur |
2018-03-15 |
MUC: Override methods on broken rooms to return internal-server-error instead
|
Kim Alvefur |
2018-03-22 |
MUC: Return error if unable to keep track of room due to storage failure
|
Kim Alvefur |
2018-03-07 |
MUC: Log failure to load room state
|
Kim Alvefur |
2018-03-16 |
MUC: Only fetch stored room state if room config is loaded without error
|
Kim Alvefur |
2018-03-16 |
MUC: Prevent room eviction on storage failure
|
Kim Alvefur |
2018-03-07 |
MUC: Produce an untracked, locked room on failure to read room from storage (#1091)
|
Kim Alvefur |
2018-03-12 |
util.async: Allow nil as a guard key
|
Matthew Wild |
2018-03-22 |
storagemanager: Log warning on storage access outside of async contexts
|
Matthew Wild |
2018-03-22 |
util.startup: Execute startup routine inside async context
|
Matthew Wild |
2018-03-22 |
prosodyctl: Run commands inside async context
|
Matthew Wild |
2018-03-22 |
util.async: Add sleep() method
|
Matthew Wild |
2018-03-22 |
util.async: tests: ensure async.once() propagates errors
|
Matthew Wild |
2018-03-22 |
util.async: Add once() to create temporary runners
|
Matthew Wild |
2018-03-22 |
util.async: Add ready() to check whether running in async context
|
Matthew Wild |
2018-03-22 |
util.pubsub: Add simple test covering publishing and retrieving an item
|
Kim Alvefur |
2018-03-21 |
mod_roster: Use new :text_tag()
|
Kim Alvefur |
2018-03-21 |
util.stanza: Add :text_tag(), a shortcut for adding nodes with text
|
Kim Alvefur |
2018-03-21 |
mod_roster: Iterate over roster group items in more modern manner
|
Kim Alvefur |
2018-03-21 |
mod_proxy65: Fix all warnings from luacheck
|
Matthew Wild |
2018-03-21 |
mod_proxy65: Fix passing number to stanza API (thanks mimi89999)
|
Matthew Wild |
2018-03-21 |
util.stanza: tests: Add more invalid data types and update for :text(nil) and :text("")
|
Matthew Wild |
2018-03-21 |
util.stanza: Allow :text(nil) and :text("") as harmless nops
|
Matthew Wild |
2018-03-21 |
util.startup: Remove unused loop variable [luacheck]
|
Kim Alvefur |
2018-03-21 |
util.startup: Ignore various globals being read and written as part of startup [luacheck]
|
Kim Alvefur |
2018-03-21 |
util.startup: Trim trailing whitespace [luacheck]
|
Kim Alvefur |
2018-03-21 |
util.startup: Oops, uncomment accidentally-commented code
|
Matthew Wild |
2018-03-20 |
prosody, prosodyctl, util.startup: Finally factor out startup-related and common code into a separate module
|
Matthew Wild |
2018-03-20 |
util.prosodyctl: Fix getpass() for new return values of os.execute() in Lua 5.2
|
Matthew Wild |
2018-03-20 |
util.async: tests: more code re-use
|
Matthew Wild |
2018-03-19 |
util.async: tests: luacheck-clean, fixes some actual issues
|
Matthew Wild |
2018-03-19 |
util.async: tests: remove obsolete code and comments
|
Matthew Wild |
2018-03-19 |
util.async: tests: slight modifications to allow more code reuse in tests
|
Matthew Wild |
2018-03-19 |
util.async: Bump log warnings to error level
|
Matthew Wild |
2018-03-19 |
util.async: Add some more tests for wait/done
|
Matthew Wild |
2018-03-18 |
util.async: Split runner_continue into smaller functions for easier testing and safety
|
Matthew Wild |
2018-03-18 |
util.stanza: Switch from asserts to if's, improve performance, errors and tests
|
Matthew Wild |
2018-03-18 |
util.async: Remove redundant line committed by mistake (Zash, luacheck)
|
Matthew Wild |
2018-03-17 |
util.async: tests: Ensure done() can be called before wait()
|
Matthew Wild |
2018-03-17 |
util.async: tests: Add helper function to create mock watcher callbacks
|
Matthew Wild |
2018-03-17 |
util.async: Trim trailing whitespace in tests [luacheck]
|
Kim Alvefur |
2018-03-17 |
util.stanza: Test coverage of is_stanza()
|
Kim Alvefur |
2018-03-17 |
util.format: Add test coverage for case of extra nil argument
|
Kim Alvefur |
2018-03-17 |
util.format: Fix tests to have expected value first
|
Kim Alvefur |
2018-03-17 |
util.async: tests: replace peeking at internal state with monitoring correct callback behaviour
|
Matthew Wild |
2018-03-17 |
util.async: if debugging is enabled, use runner id in logs
|
Matthew Wild |
2018-03-17 |
util.async: ensure change in e77b37de482e applies after out-of-loop resume also
|
Matthew Wild |
2018-03-17 |
util.async: Behaviour change: continue to process queued items after errors
|
Matthew Wild |
2018-03-17 |
util.async: Yet more tests
|
Matthew Wild |
2018-03-17 |
util.async: Convert asserts to a return false (same as other unexpected behaviour)
|
Matthew Wild |
2018-03-17 |
GNUMakefile: Add 'coverage' target (requires luacov and luacov-console)
|
Matthew Wild |
2018-03-17 |
util.async: Add comment
|
Matthew Wild |
2018-03-16 |
util.async: You can never have too many asserts!
|
Matthew Wild |
2018-03-16 |
util.async: Ensure runner is left in correct state after out-of-main-loop error (+tests)
|
Matthew Wild |
2018-03-16 |
util.async: Add test to ensure waiters throw an error outside async contexts
|
Matthew Wild |
2018-03-16 |
util.async: Add tests to specifically cover error handling
|
Matthew Wild |
2018-03-16 |
MUC: Use empty string if no subject provided (thanks pep+)
|
Matthew Wild |
2018-03-16 |
util.async: Add tests
|
Matthew Wild |
2018-03-16 |
util.async: Log the non-error state as well when there is an error being processed
|
Matthew Wild |
2018-03-16 |
util.async: Bugfix, don't continue main loop while there is a pending error
|
Matthew Wild |
2018-03-16 |
util.async: Fix order of statements so queue count makes more sense
|
Matthew Wild |
2018-03-16 |
util.async: Log warning when unexpected state is reached
|
Matthew Wild |
2018-03-16 |
util.async: Add per-runner ids and add runner:log() method
|
Matthew Wild |
2018-03-16 |
util.stanza: Add stricter validation for data passed to stanza builder API
|
Matthew Wild |
2018-03-16 |
util.stanza: Add tests ensuring support for unicode in tag/attr names
|
Matthew Wild |
2018-03-16 |
util.stanza: Fix tests to call error_reply() correctly, and add tests to ensure it vaguely works
|
Matthew Wild |
2018-03-16 |
mod_http: Pass util.events object to API, fixes traceback
|
Kim Alvefur |
2018-03-16 |
mod_websocket: Transfer IP address derived by mod_http
|
Kim Alvefur |
2018-03-15 |
mod_http: Set request.ip on all HTTP requests (moves code out of mod_bosh) (fixes #540)
|
Kim Alvefur |
2018-03-15 |
Add makefiles compatible with BSD make
|
Kim Alvefur |
2018-03-11 |
Rename Makefile -> GNUmakefile to reflect dependency on GNU Make
|
Kim Alvefur |
2017-10-31 |
Merge 0.10->trunk
|
Kim Alvefur |
2018-03-10 |
Merge 0.9->0.10
|
Kim Alvefur |
2018-03-10 |
mod_admin_telnet: Include the default path property in URL calculation (fixes #1099)
|
Kim Alvefur |
2018-03-10 |
MUC: send muc#stanza_id feature as per XEP-0045 v1.31 (fixes #1097)
|
Jonas Wielicki |
2018-03-08 |