aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | util.pubsub: Ignore unused argument in tests [luacheck]Kim Alvefur2019-12-291-1/+1
| |
* | util.pubsub: Cover subscription filter in a partial testKim Alvefur2019-12-261-0/+26
| | | | | | | | | | | | | | I'm not sure I understand spies well enough to test that the arguments and return values are as expected. Better than nothing at least.
* | net.server_epoll: Avoid concatenating buffer with single itemKim Alvefur2019-12-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Saves creating a string that'll be identical to buffer[1] anyways, as well as a C function call. Depending on Lua version and length of the string, this could be reusing an interned string, but a longer one would probably be duplicated for no reason. Having exactly one item in the buffer seems like it would be fairly common, but I have not done an extensive study. If opportunistic writes are enabled then it will be even more likely. This special case could be optimized like this in table.concat but it does not look like it is.
* | Merge 0.11->trunkMatthew Wild2019-12-240-0/+0
|\|
| * core.rostermanager: Cache rosters of offline users for faster access (fixes ↵Kim Alvefur2018-12-161-0/+22
| | | | | | | | | | | | #1233) (grafted from 42a3e3a2824822cef7640ac56d182c59bdd4224e)
* | Merge 0.11->trunkKim Alvefur2019-12-240-0/+0
|\|
| * mod_mam: Fix rebase mistake [luacheck]Kim Alvefur2019-12-241-1/+1
| | | | | | | | The 'err' was there in trunk
| * mod_muc_mam: Fix rebase mistake [luacheck]Kim Alvefur2019-12-241-1/+1
| | | | | | | | The 'err' was there in trunk
* | mod_adhoc: Improve permission setting (fix #1482) BCKim Alvefur2019-12-203-4/+10
| | | | | | | | | | | | | | Rename 'user' permission mode to 'any' for clarity, too easily mistaken for what the 'local_user' setting does. It is also removed as a default and made a required argument.
* | mod_storage_sql: Remove unused and not actually returned return value [luacheck]Kim Alvefur2019-12-241-1/+1
| | | | | | | | The :delete throws an error, it does not return one like this.
* | Merge 0.11->trunkKim Alvefur2019-12-24181-2402/+7065
|\ \ | |/ |/|
| * mod_muc_mam: Remove unused variable [luacheck]Kim Alvefur2019-12-231-1/+1
| |
| * mod_mam: More careful validation of MAM query formKim Alvefur2019-12-231-1/+9
| | | | | | | | Adapted from mod_muc_mam
| * mod_muc_mam: Handle form identification error (e.g. not a form at all)Kim Alvefur2019-12-231-1/+4
| |
| * mod_legacyauth: Report failure from sessionmanager (mostly invalid username)Kim Alvefur2019-12-231-1/+3
| |
| * mod_presence: Ignore an unused variable [luacheck]Kim Alvefur2019-12-231-0/+2
| | | | | | | | Not sure if it should be unused, hence the TODO
| * mod_pep_simple: Ignore unused variable [luacheck]Kim Alvefur2019-12-231-0/+1
| |
| * mod_pubsub: Ignore an unused variable [luacheck]Kim Alvefur2019-12-231-0/+1
| |
| * MUC: Make note to handle configuration form errors [luacheck]Kim Alvefur2019-12-231-0/+2
| |
| * mod_vcard: Remove unused variable [luacheck]Kim Alvefur2019-12-231-1/+1
| |
| * mod_limits: Remove an unused variableKim Alvefur2019-12-231-1/+1
| | | | | | | | | | Hope this isn't meant to be used. 'outstanding' seems to be the more useful value anyways?
| * MUC: Remove some unused variables [luacheck]Kim Alvefur2019-12-231-4/+4
| |
| * mod_vcard_legacy: Ignore an unused variable [luacheck]Kim Alvefur2019-12-231-1/+1
| |
| * mod_http_files: Log something if unable to load MIME databaseKim Alvefur2019-12-231-1/+3
| | | | | | | | | | Not that much to worry about, the most common file types are included in the code above.
| * net.server_event: Silence luacheck warningsKim Alvefur2019-12-231-0/+2
| |
| * net.server_epoll: Remove an unused variable [luacheck]Kim Alvefur2019-12-231-1/+1
| |
| * mod_announce: Silence luacheck warning about unused variableKim Alvefur2019-12-231-0/+1
| |
| * mod_admin_telnet: Silence luacheck warningsKim Alvefur2019-12-231-2/+4
| |
| * mod_admin_adhoc: Remove unused JID resource variables [luacheck]Kim Alvefur2019-12-231-6/+6
| |
| * mod_adhoc: Remove unused variable [luacheck]Kim Alvefur2019-12-231-4/+4
| |
| * tests: Silence [luacheck] warningsKim Alvefur2019-12-233-0/+14
| |
| * net.http.parser: Silence warning about unused variable [luacheck]Kim Alvefur2019-12-231-1/+2
| |
| * core.statsmanager: Ignore unused variable [luacheck]Kim Alvefur2019-12-231-0/+1
| |
| * core.portmanager: Ignore unused return variable [luacheck]Kim Alvefur2019-12-231-0/+1
| |
| * util.pubsub: Silence luacheck warnings, leaving notes on future proper fixKim Alvefur2019-12-231-5/+10
| |
| * util.prosodyctl: Silence luacheck warningsKim Alvefur2019-12-231-2/+2
| |
| * util.dependencies: Pass require error to error formatting functionKim Alvefur2019-12-231-10/+11
| | | | | | | | | | | | For future use there. Silences luacheck warnings about unused 'err'
| * util.sql: Handle failure to detect connection encodingKim Alvefur2019-12-231-0/+3
| | | | | | | | Silences a luacheck warning about an unused variable
| * util.mercurial: Ignore an unused error variable [luacheck]Kim Alvefur2019-12-231-1/+1
| |
| * util.startup: Ignore unused errno variable [luacheck]Kim Alvefur2019-12-231-1/+1
| |
| * util.datamanager: Ignore unused 'errno' variable [luacheck]Kim Alvefur2019-12-231-1/+2
| |
| * core.modulemanager: Silence warning about unused err variable [luacheck]Kim Alvefur2019-12-201-1/+2
| |
| * core.stanza_router: Silence warning about unused err_message [luacheck]Kim Alvefur2019-12-201-1/+1
| |
| * core.stanza_router: Extract host part of JIDs directly [luacheck]Kim Alvefur2019-12-201-3/+4
| | | | | | | | Silences warning about unused return values
| * luacheck: Don't not warn about not using secondary return valuesKim Alvefur2019-12-201-1/+0
| | | | | | | | Brace for ONE BILLION WARNINGS!!!
| * Merge 0.11->trunkKim Alvefur2019-12-232-38/+27
| |\
| * | mod_admin_telnet: Include config:get() in help textKim Alvefur2019-12-221-0/+1
| | |
| * | MUC: Improve presence broadcast form field labelMatthew Wild2019-12-221-1/+1
| | |
| * | scansion: Trim trailing whitespace in testsKim Alvefur2019-12-196-9/+9
| | |
| * | rostermanager, mod_presence: Support for subscription preapproval (fixes #686)Matthew Wild2019-12-193-5/+104
| | |