MUC: Only fetch stored room state if room config is loaded without error
|
Kim Alvefur |
Fri, 16 Mar 2018 21:59:34 +0100 |
MUC: Prevent room eviction on storage failure
|
Kim Alvefur |
Wed, 07 Mar 2018 17:38:01 +0100 |
MUC: Produce an untracked, locked room on failure to read room from storage (#1091)
|
Kim Alvefur |
Mon, 12 Mar 2018 21:47:39 +0100 |
util.async: Allow nil as a guard key
|
Matthew Wild |
Thu, 22 Mar 2018 16:26:09 +0000 |
storagemanager: Log warning on storage access outside of async contexts
|
Matthew Wild |
Thu, 22 Mar 2018 16:25:20 +0000 |
util.startup: Execute startup routine inside async context
|
Matthew Wild |
Thu, 22 Mar 2018 16:24:22 +0000 |
prosodyctl: Run commands inside async context
|
Matthew Wild |
Thu, 22 Mar 2018 16:23:06 +0000 |
util.async: Add sleep() method
|
Matthew Wild |
Thu, 22 Mar 2018 13:02:00 +0000 |
util.async: tests: ensure async.once() propagates errors
|
Matthew Wild |
Thu, 22 Mar 2018 11:56:03 +0000 |
util.async: Add once() to create temporary runners
|
Matthew Wild |
Thu, 22 Mar 2018 07:56:01 +0000 |
util.async: Add ready() to check whether running in async context
|
Matthew Wild |
Thu, 22 Mar 2018 07:46:23 +0000 |
util.pubsub: Add simple test covering publishing and retrieving an item
|
Kim Alvefur |
Wed, 21 Mar 2018 17:03:13 +0100 |
mod_roster: Use new :text_tag()
|
Kim Alvefur |
Wed, 21 Mar 2018 23:20:59 +0100 |
util.stanza: Add :text_tag(), a shortcut for adding nodes with text
|
Kim Alvefur |
Wed, 21 Mar 2018 23:20:26 +0100 |
mod_roster: Iterate over roster group items in more modern manner
|
Kim Alvefur |
Wed, 21 Mar 2018 23:15:30 +0100 |
mod_proxy65: Fix all warnings from luacheck
|
Matthew Wild |
Wed, 21 Mar 2018 22:13:11 +0000 |
mod_proxy65: Fix passing number to stanza API (thanks mimi89999)
|
Matthew Wild |
Wed, 21 Mar 2018 22:10:24 +0000 |
util.stanza: tests: Add more invalid data types and update for :text(nil) and :text("")
|
Matthew Wild |
Wed, 21 Mar 2018 22:08:54 +0000 |
util.stanza: Allow :text(nil) and :text("") as harmless nops
|
Matthew Wild |
Wed, 21 Mar 2018 22:04:20 +0000 |
util.startup: Remove unused loop variable [luacheck]
|
Kim Alvefur |
Wed, 21 Mar 2018 16:31:48 +0100 |
util.startup: Ignore various globals being read and written as part of startup [luacheck]
|
Kim Alvefur |
Wed, 21 Mar 2018 16:30:24 +0100 |
util.startup: Trim trailing whitespace [luacheck]
|
Kim Alvefur |
Wed, 21 Mar 2018 10:26:29 +0100 |
util.startup: Oops, uncomment accidentally-commented code
|
Matthew Wild |
Tue, 20 Mar 2018 16:11:37 +0000 |
prosody, prosodyctl, util.startup: Finally factor out startup-related and common code into a separate module
|
Matthew Wild |
Tue, 20 Mar 2018 16:10:37 +0000 |
util.prosodyctl: Fix getpass() for new return values of os.execute() in Lua 5.2
|
Matthew Wild |
Tue, 20 Mar 2018 16:07:50 +0000 |
util.async: tests: more code re-use
|
Matthew Wild |
Mon, 19 Mar 2018 16:40:40 +0000 |
util.async: tests: luacheck-clean, fixes some actual issues
|
Matthew Wild |
Mon, 19 Mar 2018 16:31:53 +0000 |
util.async: tests: remove obsolete code and comments
|
Matthew Wild |
Mon, 19 Mar 2018 16:25:02 +0000 |
util.async: tests: slight modifications to allow more code reuse in tests
|
Matthew Wild |
Mon, 19 Mar 2018 16:24:42 +0000 |
util.async: Bump log warnings to error level
|
Matthew Wild |
Mon, 19 Mar 2018 11:51:40 +0000 |
util.async: Add some more tests for wait/done
|
Matthew Wild |
Sun, 18 Mar 2018 22:43:06 +0000 |
util.async: Split runner_continue into smaller functions for easier testing and safety
|
Matthew Wild |
Sun, 18 Mar 2018 12:05:38 +0000 |
util.stanza: Switch from asserts to if's, improve performance, errors and tests
|
Matthew Wild |
Sun, 18 Mar 2018 11:32:00 +0000 |
util.async: Remove redundant line committed by mistake (Zash, luacheck)
|
Matthew Wild |
Sat, 17 Mar 2018 22:03:08 +0000 |
util.async: tests: Ensure done() can be called before wait()
|
Matthew Wild |
Sat, 17 Mar 2018 18:23:39 +0000 |
util.async: tests: Add helper function to create mock watcher callbacks
|
Matthew Wild |
Sat, 17 Mar 2018 18:12:31 +0000 |
util.async: Trim trailing whitespace in tests [luacheck]
|
Kim Alvefur |
Sat, 17 Mar 2018 23:00:04 +0100 |
util.stanza: Test coverage of is_stanza()
|
Kim Alvefur |
Sat, 17 Mar 2018 19:50:22 +0100 |
util.format: Add test coverage for case of extra nil argument
|
Kim Alvefur |
Sat, 17 Mar 2018 19:47:48 +0100 |
util.format: Fix tests to have expected value first
|
Kim Alvefur |
Sat, 17 Mar 2018 19:43:20 +0100 |
util.async: tests: replace peeking at internal state with monitoring correct callback behaviour
|
Matthew Wild |
Sat, 17 Mar 2018 17:59:58 +0000 |
util.async: if debugging is enabled, use runner id in logs
|
Matthew Wild |
Sat, 17 Mar 2018 17:29:13 +0000 |
util.async: ensure change in e77b37de482e applies after out-of-loop resume also
|
Matthew Wild |
Sat, 17 Mar 2018 17:28:07 +0000 |
util.async: Behaviour change: continue to process queued items after errors
|
Matthew Wild |
Sat, 17 Mar 2018 14:54:48 +0000 |
util.async: Yet more tests
|
Matthew Wild |
Sat, 17 Mar 2018 11:47:07 +0000 |
util.async: Convert asserts to a return false (same as other unexpected behaviour)
|
Matthew Wild |
Sat, 17 Mar 2018 11:46:21 +0000 |
GNUMakefile: Add 'coverage' target (requires luacov and luacov-console)
|
Matthew Wild |
Sat, 17 Mar 2018 09:31:57 +0000 |
util.async: Add comment
|
Matthew Wild |
Fri, 16 Mar 2018 22:31:12 +0000 |
util.async: You can never have too many asserts!
|
Matthew Wild |
Fri, 16 Mar 2018 22:30:25 +0000 |
util.async: Ensure runner is left in correct state after out-of-main-loop error (+tests)
|
Matthew Wild |
Fri, 16 Mar 2018 22:26:15 +0000 |
util.async: Add test to ensure waiters throw an error outside async contexts
|
Matthew Wild |
Fri, 16 Mar 2018 22:19:33 +0000 |
util.async: Add tests to specifically cover error handling
|
Matthew Wild |
Fri, 16 Mar 2018 17:50:16 +0000 |
MUC: Use empty string if no subject provided (thanks pep+)
|
Matthew Wild |
Fri, 16 Mar 2018 17:36:49 +0000 |
util.async: Add tests
|
Matthew Wild |
Fri, 16 Mar 2018 17:13:57 +0000 |
util.async: Log the non-error state as well when there is an error being processed
|
Matthew Wild |
Fri, 16 Mar 2018 17:13:20 +0000 |
util.async: Bugfix, don't continue main loop while there is a pending error
|
Matthew Wild |
Fri, 16 Mar 2018 17:12:36 +0000 |
util.async: Fix order of statements so queue count makes more sense
|
Matthew Wild |
Fri, 16 Mar 2018 17:12:09 +0000 |
util.async: Log warning when unexpected state is reached
|
Matthew Wild |
Fri, 16 Mar 2018 17:11:23 +0000 |
util.async: Add per-runner ids and add runner:log() method
|
Matthew Wild |
Fri, 16 Mar 2018 14:59:41 +0000 |
util.stanza: Add stricter validation for data passed to stanza builder API
|
Matthew Wild |
Fri, 16 Mar 2018 14:51:24 +0000 |
util.stanza: Add tests ensuring support for unicode in tag/attr names
|
Matthew Wild |
Fri, 16 Mar 2018 14:50:28 +0000 |
util.stanza: Fix tests to call error_reply() correctly, and add tests to ensure it vaguely works
|
Matthew Wild |
Fri, 16 Mar 2018 14:24:53 +0000 |
mod_http: Pass util.events object to API, fixes traceback
|
Kim Alvefur |
Fri, 16 Mar 2018 08:47:51 +0100 |
mod_websocket: Transfer IP address derived by mod_http
|
Kim Alvefur |
Thu, 15 Mar 2018 17:52:11 +0100 |
mod_http: Set request.ip on all HTTP requests (moves code out of mod_bosh) (fixes #540)
|
Kim Alvefur |
Thu, 15 Mar 2018 17:22:49 +0100 |
Add makefiles compatible with BSD make
|
Kim Alvefur |
Sun, 11 Mar 2018 06:01:19 +0100 |
Rename Makefile -> GNUmakefile to reflect dependency on GNU Make
|
Kim Alvefur |
Tue, 31 Oct 2017 17:28:23 +0100 |
Merge 0.10->trunk
|
Kim Alvefur |
Sat, 10 Mar 2018 20:52:14 +0100 |
Merge 0.9->0.10
|
Kim Alvefur |
Sat, 10 Mar 2018 20:49:52 +0100 |
mod_admin_telnet: Include the default path property in URL calculation (fixes #1099)
|
Kim Alvefur |
Sat, 10 Mar 2018 20:47:34 +0100 |
MUC: send muc#stanza_id feature as per XEP-0045 v1.31 (fixes #1097)
|
Jonas Wielicki |
Thu, 08 Mar 2018 17:36:36 +0100 |
Added tag 0.9.13 for changeset 082d12728645
|
Matthew Wild |
Wed, 10 Jan 2018 15:15:25 +0000 |
mod_register_limits: Return reason for disallowing
|
Kim Alvefur |
Sat, 10 Mar 2018 02:28:29 +0100 |
mod_register_limits: Log message for white- and blacklist hits separate
|
Kim Alvefur |
Sat, 10 Mar 2018 02:27:09 +0100 |
mod_register_limits: Log a debug message when disallowing registration by ewhite- or blacklist
|
Kim Alvefur |
Sat, 10 Mar 2018 02:24:18 +0100 |
mod_register_ibr: Include reason for rejection of registration in debug log
|
Kim Alvefur |
Sat, 10 Mar 2018 02:21:23 +0100 |
luacheckrc: Ignore all unknown globals in config file (ie all settings)
|
Kim Alvefur |
Sat, 10 Mar 2018 00:08:21 +0100 |
Merge 0.10->trunk
|
Kim Alvefur |
Fri, 09 Mar 2018 22:17:59 +0100 |
mod_mam: Remove unmatched closing paren
|
Kim Alvefur |
Fri, 09 Mar 2018 21:51:06 +0100 |
mod_presence: Ignore unused argument but make note of its use elsewhere [luacheck]
|
Kim Alvefur |
Fri, 09 Mar 2018 21:50:01 +0100 |
MUC: send muc#stanza_id feature as per XEP-0045 v1.31 (fixes #1097)
|
Jonas Wielicki |
Thu, 08 Mar 2018 17:36:36 +0100 |
mod_mam: Add an option for whether to include 'total' counts by default in queries
|
Kim Alvefur |
Wed, 07 Mar 2018 15:05:20 +0100 |
mod_mam: Log a debug message if archive expiry has been disabled
|
Kim Alvefur |
Wed, 07 Mar 2018 14:59:00 +0100 |
Backed out changeset 97a094fdf101, interferes with 6ddddfe05a74
|
Kim Alvefur |
Wed, 07 Mar 2018 14:46:55 +0100 |
mod_presence: Remove unused local [luacheck]
|
Kim Alvefur |
Fri, 09 Mar 2018 19:26:35 +0100 |
luacheckrc: Restore module semantics, but only for plugins (ignores some globals)
|
Kim Alvefur |
Fri, 09 Mar 2018 19:23:19 +0100 |
MUC: Write down which functions are exposed and thus available to other modules
|
Kim Alvefur |
Fri, 09 Mar 2018 19:16:18 +0100 |
MUC: send muc#stanza_id feature as per XEP-0045 v1.31 (fixes #1097)
|
Jonas Wielicki |
Thu, 08 Mar 2018 17:35:56 +0100 |
util.import: Explicitly export the global import function [luacheck]
|
Kim Alvefur |
Wed, 07 Mar 2018 19:22:07 +0100 |
.luacheckrc: Add awareness of the module:http_url API added by mod_http
|
Kim Alvefur |
Wed, 07 Mar 2018 19:21:24 +0100 |
luacheckrc: Remove allowance legacy module() related globals
|
Kim Alvefur |
Wed, 07 Mar 2018 19:20:31 +0100 |
luacheckrc: Reflow globals settings
|
Kim Alvefur |
Wed, 07 Mar 2018 19:19:56 +0100 |
MUC/lock: Fix locking timeout to account for the direction of time
|
Kim Alvefur |
Wed, 07 Mar 2018 19:18:35 +0100 |
MUC/lock: Remove redundant fallback value
|
Kim Alvefur |
Wed, 07 Mar 2018 19:17:48 +0100 |
util_pubsub_spec: Move util.pubsub import into a setup block
|
Kim Alvefur |
Wed, 07 Mar 2018 12:51:27 +0100 |
mod_adhoc: Remove unused local [luacheck]
|
Kim Alvefur |
Tue, 06 Mar 2018 19:11:23 +0100 |
spec: Trim trailing whitespace
|
Kim Alvefur |
Tue, 06 Mar 2018 06:27:20 +0100 |
Merge 0.10->trunk
|
Kim Alvefur |
Tue, 06 Mar 2018 01:45:58 +0100 |
prosodyctl: Use correct separator in chown call (fixes #1093)
|
Kim Alvefur |
Fri, 02 Mar 2018 01:51:06 +0100 |
hostmanager: Add a logging close method in case something tries to close the origin of local-originated stanzas (see #1084)
|
Kim Alvefur |
Sat, 24 Feb 2018 19:40:18 +0100 |
util_pubsub_spec: Beginnings of tests for util.pubsub
|
Kim Alvefur |
Sat, 03 Mar 2018 20:55:46 +0100 |
luacheckrc: Declare known global functions in config file
|
Kim Alvefur |
Thu, 01 Mar 2018 21:58:50 +0100 |
util.logger: Import globals (fixes on Lua 5.2)
|
Kim Alvefur |
Wed, 28 Feb 2018 20:17:21 +0100 |
vairious: Add annotation when an empty environment is set [luacheck]
|
Kim Alvefur |
Wed, 28 Feb 2018 20:06:26 +0100 |
Makefile: Also package /net/resolvers
|
Michel Le Bihan |
Wed, 28 Feb 2018 18:12:20 +0100 |
util.logger: New method 'add_simple_sink', logger.add_simple_sink(print) works
|
Matthew Wild |
Tue, 27 Feb 2018 16:02:25 +0000 |
server_epoll: Onconnect should happen before first attempt to write to socket
|
Kim Alvefur |
Mon, 26 Feb 2018 18:31:27 +0100 |
net.http: Refactor to use new net.connect API, brings support for async DNS
|
Matthew Wild |
Mon, 26 Feb 2018 15:27:00 +0000 |
net.connect: Fix to store correct parameter
|
Matthew Wild |
Mon, 26 Feb 2018 15:26:08 +0000 |
net.connect: Improve error message
|
Matthew Wild |
Mon, 26 Feb 2018 15:25:52 +0000 |
net.connect: Handle immediate failures of server.addclient
|
Matthew Wild |
Mon, 26 Feb 2018 15:25:34 +0000 |
net.connect: Handle case when resolver runs out of targets
|
Matthew Wild |
Mon, 26 Feb 2018 15:21:27 +0000 |
net.connect: Track last connection error
|
Matthew Wild |
Mon, 26 Feb 2018 15:20:35 +0000 |
mod_s2s: Don't use string concatenation when passing values to logging
|
Kim Alvefur |
Sun, 25 Feb 2018 11:20:56 +0100 |
util.ringbuffer: Add method for discarding buffered data without returning it to lua
|
Kim Alvefur |
Sat, 24 Feb 2018 14:45:06 +0100 |
util.ringbuffer: Add various comments
|
Kim Alvefur |
Sat, 24 Feb 2018 14:44:46 +0100 |
net.server_epoll: Spelling writeable -> writable
|
Kim Alvefur |
Sat, 24 Feb 2018 14:39:36 +0100 |
net.server_epoll: Remove special casing for having sent an empty write buffer because the wantwrite flag must be unset regardless
|
Kim Alvefur |
Sat, 24 Feb 2018 14:36:44 +0100 |
net.server_epoll: Call onconnect listener on first successful read or write
|
Kim Alvefur |
Sat, 24 Feb 2018 13:46:16 +0100 |
Merge 0.10->trunk
|
Kim Alvefur |
Sat, 24 Feb 2018 11:51:43 +0100 |