aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* util.startup: Oops, uncomment accidentally-commented codeMatthew Wild2018-03-201-1/+1
|
* prosody, prosodyctl, util.startup: Finally factor out startup-related and ↵Matthew Wild2018-03-203-575/+532
| | | | common code into a separate module
* util.prosodyctl: Fix getpass() for new return values of os.execute() in Lua 5.2Matthew Wild2018-03-201-1/+4
|
* util.async: tests: more code re-useMatthew Wild2018-03-191-32/+20
|
* util.async: tests: luacheck-clean, fixes some actual issuesMatthew Wild2018-03-191-64/+65
|
* util.async: tests: remove obsolete code and commentsMatthew Wild2018-03-191-5/+0
|
* util.async: tests: slight modifications to allow more code reuse in testsMatthew Wild2018-03-191-12/+15
|
* util.async: Bump log warnings to error levelMatthew Wild2018-03-191-2/+2
|
* util.async: Add some more tests for wait/doneMatthew Wild2018-03-181-0/+40
|
* util.async: Split runner_continue into smaller functions for easier testing ↵Matthew Wild2018-03-181-8/+29
| | | | and safety
* util.stanza: Switch from asserts to if's, improve performance, errors and testsMatthew Wild2018-03-182-44/+69
|
* util.async: Remove redundant line committed by mistake (Zash, luacheck)Matthew Wild2018-03-171-1/+0
|
* util.async: tests: Ensure done() can be called before wait()Matthew Wild2018-03-171-0/+18
|
* util.async: tests: Add helper function to create mock watcher callbacksMatthew Wild2018-03-171-9/+15
|
* util.async: Trim trailing whitespace in tests [luacheck]Kim Alvefur2018-03-171-26/+26
|
* util.stanza: Test coverage of is_stanza()Kim Alvefur2018-03-171-0/+16
|
* util.format: Add test coverage for case of extra nil argumentKim Alvefur2018-03-171-0/+1
|
* util.format: Fix tests to have expected value firstKim Alvefur2018-03-171-5/+5
|
* util.async: tests: replace peeking at internal state with monitoring correct ↵Matthew Wild2018-03-171-37/+68
| | | | callback behaviour
* util.async: if debugging is enabled, use runner id in logsMatthew Wild2018-03-171-1/+1
|
* util.async: ensure change in e77b37de482e applies after out-of-loop resume alsoMatthew Wild2018-03-172-2/+26
|
* util.async: Behaviour change: continue to process queued items after errorsMatthew Wild2018-03-172-0/+27
|
* util.async: Yet more testsMatthew Wild2018-03-171-0/+52
|
* util.async: Convert asserts to a return false (same as other unexpected ↵Matthew Wild2018-03-171-2/+4
| | | | behaviour)
* GNUMakefile: Add 'coverage' target (requires luacov and luacov-console)Matthew Wild2018-03-171-1/+8
|
* util.async: Add commentMatthew Wild2018-03-161-0/+1
|
* util.async: You can never have too many asserts!Matthew Wild2018-03-161-0/+2
|
* util.async: Ensure runner is left in correct state after out-of-main-loop ↵Matthew Wild2018-03-162-1/+29
| | | | error (+tests)
* util.async: Add test to ensure waiters throw an error outside async contextsMatthew Wild2018-03-161-0/+5
|
* util.async: Add tests to specifically cover error handlingMatthew Wild2018-03-161-0/+56
|
* MUC: Use empty string if no subject provided (thanks pep+)Matthew Wild2018-03-161-1/+1
|
* util.async: Add testsMatthew Wild2018-03-161-0/+315
|
* util.async: Log the non-error state as well when there is an error being ↵Matthew Wild2018-03-161-1/+1
| | | | processed
* util.async: Bugfix, don't continue main loop while there is a pending errorMatthew Wild2018-03-161-1/+1
|
* util.async: Fix order of statements so queue count makes more senseMatthew Wild2018-03-161-1/+2
|
* util.async: Log warning when unexpected state is reachedMatthew Wild2018-03-161-0/+1
|
* util.async: Add per-runner ids and add runner:log() methodMatthew Wild2018-03-161-1/+10
|
* util.stanza: Add stricter validation for data passed to stanza builder APIMatthew Wild2018-03-162-0/+63
|
* util.stanza: Add tests ensuring support for unicode in tag/attr namesMatthew Wild2018-03-161-0/+6
|
* util.stanza: Fix tests to call error_reply() correctly, and add tests to ↵Matthew Wild2018-03-161-2/+4
| | | | ensure it vaguely works
* mod_http: Pass util.events object to API, fixes tracebackKim Alvefur2018-03-161-1/+1
|
* mod_websocket: Transfer IP address derived by mod_httpKim Alvefur2018-03-151-0/+4
|
* mod_http: Set request.ip on all HTTP requests (moves code out of mod_bosh) ↵Kim Alvefur2018-03-152-17/+26
| | | | (fixes #540)
* Add makefiles compatible with BSD makeKim Alvefur2018-03-113-0/+163
|
* Rename Makefile -> GNUmakefile to reflect dependency on GNU MakeKim Alvefur2017-10-313-1/+1
|
* Merge 0.10->trunkKim Alvefur2018-03-101-1/+1
|\
| * Merge 0.9->0.10Kim Alvefur2018-03-101-1/+1
| |\
| | * mod_admin_telnet: Include the default path property in URL calculation ↵Kim Alvefur2018-03-101-1/+1
| | | | | | | | | | | | (fixes #1099)
| | * MUC: send muc#stanza_id feature as per XEP-0045 v1.31 (fixes #1097)Jonas Wielicki2018-03-081-0/+1
| | |
| | * Added tag 0.9.13 for changeset 082d12728645Matthew Wild2018-01-100-0/+0
| | |