Commit Graph

1303 Commits (51549fe050a1aec00284d1e2599c93010bc763c2)

Author SHA1 Message Date
Florian Zeitz 1d833bb807 Remove all trailing whitespace 13 years ago
Matthew Wild c8e0c8a63b moduleapi: module:get_host_type() now returns 'global' for * and 'local' for non-components 13 years ago
Matthew Wild 71ab938d53 rostermanager, mod_groups: Change roster-load event to pass an event table for consistency 13 years ago
Matthew Wild 2840e0726a certmanager: Set our own default cipher string, which includes only ciphers regarded as 'HIGH' strength (by OpenSSL). In particular this disables RC4. 13 years ago
Matthew Wild 0aef21fc95 certmanager: Add single_dh_use and single_ecdh_use to default options 13 years ago
Matthew Wild 1290bf766c certmanager: Set ssl.curve to 'secp384r1' by default, to enable ECC ciphers 13 years ago
Matthew Wild 040187b661 certmanager: Use 'curve' and 'dhparam' options from ssl config if present 13 years ago
Kim Alvefur 0a3f580122 certmanager: Complain if key or certificate is missing from SSL config. 13 years ago
Kim Alvefur 2bf1a784c7 certmanager: Overhaul of how ssl configs are built. 13 years ago
Matthew Wild 840cf714cf certmanager: Disable SSL compression if possible (LuaSec 0.5 or 0.4.1+OpenSSL 1.x) 13 years ago
Kim Alvefur 99c908e11a portmanager: Also include the interface the service is listening on 13 years ago
Waqas Hussain 372de588be portmanager: Include port numbers the service is listening on in the info logs. 13 years ago
Kim Alvefur d9bff06d21 moduleapi: in module:provides(), add the name of the module in item._provided_by 13 years ago
Kim Alvefur 7ad8f743bb moduleapi: module:provides called without an item makes a copy of the environment instead. Fixes warnings about non-existent globals 13 years ago
Matthew Wild bcc1074dd5 moduleapi: Add module:get_option_inherited_set() to return a set that inherits items from a globally set set, if set 13 years ago
Matthew Wild 82faa21dd3 moduleapi: Add module:context(host) to produce a fake API context for a given host (or global). module:context("*"):get_option("foo") to get global options. 13 years ago
Waqas Hussain c75fdb5081 storagemanager: Fix traceback in logging when store type is nil, and store is unsupported. 13 years ago
Kim Alvefur cde9a24132 moduleapi: Make module:open_store() open a store named after the calling module by default 13 years ago
Matthew Wild 81216b737e moduleapi: Add module:open_store() as a front-end to storagemanager.open() 13 years ago
Matthew Wild 18889eae1b sessionmanager, s2smanager: Remove unused imports 13 years ago
Matthew Wild a5e2b65c01 sessionmanager, s2smanager: Remove open_session tracing 13 years ago
Matthew Wild 401fb29994 moduleapi: assert() that prosody.core_post_stanza is not nil 13 years ago
Matthew Wild 4624a05183 portmanager: import pairs() (thanks Maranda) 13 years ago
Marco Cirillo 123fef628e rostermanager: do not save rosters for unexistant users. 13 years ago
Marco Cirillo 7cd207a8f6 portmanager: add logic to allow specification of service default values for ssl config and / or overrides. 13 years ago
Matthew Wild 245f460991 configmanager: Some cleanup, remove unused variables and imports 13 years ago
Marco Cirillo fd14557245 moduleapi: have get_host_items wrap on get_items from modulemanager, also add has_{feature/identity} to the API. 13 years ago
Marco Cirillo 4453095de2 modulemanager: add missing ipairs import. 13 years ago
Marco Cirillo a299b9096d modulemanager: add function to retrieve module items from a specific host entity. 13 years ago
Matthew Wild 3e788bfa6e portmanager: Log error and fail to bind when port is invalid (not a number) 13 years ago
Kim Alvefur 077cfbe8a4 portmanager: Add use_ipv4 option, default to true. 13 years ago
Kim Alvefur 45fa794da0 portmanager: use_ipv6 defaults to true if luasocket has ipv6 support 13 years ago
Kim Alvefur 869da6c240 configmanager: Fix so unset variables are searched for in the global section 13 years ago
Kim Alvefur 1acfdf5914 core.*: Complete removal of all traces of the "core" section and section-related code. 13 years ago
Matthew Wild c908af2a7d s2smanager: Remove unused function parameter 13 years ago
Matthew Wild 5f6e150c61 s2smanager: Access prosody.hosts instead of hosts global directly 13 years ago
Matthew Wild 339e74b1b9 s2smanager, mod_s2s, mod_dialback, mod_saslauth: Move s2smanager.make_authenticated() to mod_s2s, and plugins now signal authentication via the s2s-authenticated event 13 years ago
Matthew Wild 77431e5d84 hostmanager: Use rawget to check for activated hosts to prevent recursion in dynamic host loaders 13 years ago
Matthew Wild 3ba555b9c5 hostmanager: Use prosody.hosts instead of 'hosts' global 13 years ago
Matthew Wild ee5a8c9543 configmanager, hostmanager, prosody: Almost complete removal of section-related code, and the infamous 'core' section. Still backwards-compatible with API users. 13 years ago
Kim Alvefur 3f4b64ddb6 s2smanager: Use unused local, reduce table indexing 13 years ago
Kim Alvefur 608eb6194a rostermanager: Remove unused imports 13 years ago
Kim Alvefur ff9ab821f7 hostmanager: Import core_post_stanza from the global prosody table 13 years ago
Kim Alvefur 9f39499470 portmanager: Make sure foo_ports is a table 13 years ago
Kim Alvefur 4517552d8b s2smanager: Generate session names used for logging the same way everywhere 13 years ago
Kim Alvefur ce6f0ac685 certmanager: Fix nil index if no LuaSec available 13 years ago
Kim Alvefur 4f4bc7973a core.certmanager: Add support for LuaSec 0.5. Also compat with MattJs luasec-hg 13 years ago
Kim Alvefur c141ffdbf6 core.loggingmanager: Don't create file log rules from [level] = "*sink" style config 13 years ago
Matthew Wild 193b00e1ff portmanager: Return first service with the specified name from get_service() (instead of the array of possible services) (thanks xnyhps) 13 years ago
Waqas Hussain 55bd98c887 sessionmanager: Log the actual error message when roster loading fails. 13 years ago