aboutsummaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* configmanager: Pass through warnings from included filesMatthew Wild2019-03-201-2/+7
|
* configmanager: Emit warning for duplicated config optionsMatthew Wild2019-03-201-0/+16
|
* configmanager: Add support for returning warningsMatthew Wild2019-03-201-2/+3
|
* modulemanager: Set module status on successful or failed module loadMatthew Wild2019-03-191-0/+5
|
* moduleapi: New API for modules to set a statusMatthew Wild2019-03-191-0/+31
|
* core.certmanager: Do not ask for client certificates by defaultKim Alvefur2019-03-101-1/+1
| | | | | | Since it's mostly only mod_s2s that needs to request client certificates it makes some sense to have mod_s2s ask for this, instead of having eg mod_http ask to disable it.
* core.portmanager: Collect per-host certificates for SNIKim Alvefur2018-09-141-0/+41
|
* core.portmanager: Record TLS config for each portKim Alvefur2018-10-101-2/+4
|
* core.portmanager: Reduce scope of variableKim Alvefur2018-10-101-2/+2
| | | | | Not sure why it was all the way out there, seems like there would have been unexpected behaviour from that
* core.portmanager: Use server.listen APIKim Alvefur2018-09-131-1/+5
|
* core.statsmanager: Do a final collection on shutdownKim Alvefur2019-01-221-0/+1
|
* core.s2smanager: Add stub reset_stream method to destroyed sessionsKim Alvefur2019-01-161-0/+3
| | | | Fixes traceback if connection is closed from the 's2s-authenticated' event
* core.moduleapi: Use convenience function for creating error object from stanzaKim Alvefur2018-12-301-3/+1
|
* core.moduleapi: Use util.error for :send_iq errorsKim Alvefur2018-12-301-5/+21
|
* core.moduleapi: Move util imports to topKim Alvefur2018-12-301-2/+4
|
* core.moduleapi: Add a promise-based API for tracking IQ stanzas (fixes #714)Kim Alvefur2018-12-281-0/+65
|
* core.rostermanager: Cache rosters of offline users for faster access (fixes ↵Kim Alvefur2018-12-161-0/+22
| | | | #1233)
* moduleapi: Use pack from util.tableKim Alvefur2018-12-081-1/+1
|
* rostermanager, mod_presence: Store stanza for incoming subscription requests ↵Matthew Wild2018-12-011-3/+3
| | | | (fixes #689) (thanks Zash, Ge0rG)
* modulemanager: Fix issues introduced in previous commit acf74ad0b795 [thanks ↵Matthew Wild2018-10-261-7/+4
| | | | luacheck, scansion]
* Many things: switch from hacky multi-arg xpcall implementations to a ↵Matthew Wild2018-10-261-7/+2
| | | | standard util.xpcall
* moduleapi: Prevent loading disabled module as dependency of enabled oneKim Alvefur2018-10-251-3/+3
| | | | Explicitly disabled module should stay disabled.
* stanza_router: Remove deprecation warning for core routing functions from ↵Kim Alvefur2018-10-211-10/+0
| | | | global scope (deprecated in 0.9)
* core.moduleapi: Remove redundant conditionKim Alvefur2018-10-181-1/+1
|
* rostermanager: Use util.id to generate ids for roster pushedMatthew Wild2018-09-131-1/+3
|
* configmanager: Allow referencing environment variables in the config as as ↵Matthew Wild2018-09-031-2/+5
| | | | ENV_<name>
* moduleapi: Remove multiple-parameters feature from module:shared()Matthew Wild2018-08-081-25/+24
| | | | | | Multiple paths are rarely used, and leads to less clear code than just calling module:shared() once per shared table. It also prevents us from extending the API with new parameters in the future.
* sessionmanager, mod_s2s: Bring debug line for outgoing stanzas in line with ↵Kim Alvefur2018-07-241-1/+1
| | | | that for incoming
* core.stanza_router: Reduce logging of common routing (#776)Kim Alvefur2018-07-221-2/+1
|
* sessionmanager: Log top tag of outgoing stanzas on c2s (#776)Kim Alvefur2018-07-221-0/+1
|
* moduleapi: Use :send API from :broadcast for compactnessKim Alvefur2018-07-141-1/+1
|
* moduleapi: Lazy-load statsmanager on demandKim Alvefur2018-07-071-1/+1
|
* moduleapi: Lazy-load configmanager on demand simplify dependency graphKim Alvefur2018-07-071-1/+1
|
* modulemanager: Expose function to get the list of modules that should be ↵Matthew Wild2018-06-201-4/+13
| | | | loaded on a host
* sessionmanager: Generate shorter random resouresKim Alvefur2018-05-291-3/+3
|
* Merge 0.10->trunkKim Alvefur2018-05-251-1/+1
|\
| * core.certmanager: Allow all non-whitespace in service name (fixes #1019)Kim Alvefur2018-05-251-1/+1
| |
* | loggingmanager: Remove luacheck annotations for global log functions that ↵Kim Alvefur2018-04-101-1/+0
| | | | | | | | are now set in util.startup
* | util.startup: Set up event hooks for reloading logging here instead of in ↵Kim Alvefur2018-04-051-6/+0
| | | | | | | | loggingmanager to simplify startup dependencies
* | util.startup: Initialize prosody.log / _G.log here instead of in ↵Kim Alvefur2018-04-051-3/+0
| | | | | | | | loggingmanager to reduce dependencies
* | core: Use prosody.hosts instead of _G.hosts for consistencyKim Alvefur2018-03-295-5/+5
| |
* | 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-251-7/+0
| | | | | | | | (fixes #1117)
* | storagemanager: Default storage_async_check to false for a whileMatthew Wild2018-03-251-1/+1
| |
* | stanza_router: Limit scope of deprecated warning function since it is not ↵Kim Alvefur2018-03-231-1/+1
| | | | | | | | used anywhere else [luacheck]
* | s2smanager: Explicitly export the incoming_s2s table [luacheck]Kim Alvefur2018-03-231-2/+2
| |
* | storagemanager: Remove unused variable [luacheck]Kim Alvefur2018-03-221-1/+1
| |
* | storagemanager: Log warning on storage access outside of async contextsMatthew Wild2018-03-221-0/+32
| |
* | Merge 0.10->trunkKim Alvefur2018-03-061-0/+3
|\|
| * hostmanager: Add a logging close method in case something tries to close the ↵Kim Alvefur2018-02-241-0/+3
| | | | | | | | origin of local-originated stanzas (see #1084)