Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update newest copyright year to 2021 (#3464) | Badlop | 2021-01-27 | 1 | -1/+1 |
| | |||||
* | Integrate nicely with systemd | Holger Weiss | 2021-01-06 | 1 | -21/+24 |
| | | | | | | | | | | | | | | Support systemd's watchdog feature and enable it by default in the unit file, so that ejabberd is auto-restarted if the VM becomes unresponsive. Also, set the systemd startup type to 'notify', so that startup of followup units is delayed until ejabberd signals readiness. While at it, also notify systemd of configuration reload and shutdown states. Note: "NotifyAccess=all" is required as long as "ejabberdctl foreground" runs the VM as a new child process, rather than "exec"ing it. This way, systemd views the ejabberdctl process itself as the main service process, and would discard notifications from other processes by default. | ||||
* | Update copyright to 2020 (#3149) | Badlop | 2020-01-28 | 1 | -1/+1 |
| | |||||
* | Generate ejabberd.yml.5 man page from source code directly | Evgeny Khramtsov | 2020-01-08 | 1 | -0/+2 |
| | | | | | | | Several documentation callbacks (doc/0 and mod_doc/0) are implemented and `ejabberdctl man` command is added to generate a man page. Note that the command requires a2x to be installed (which is a part of asciidoc package). | ||||
* | Also group duplicated list-like options inside host_config/append_host_config | Evgeny Khramtsov | 2019-11-07 | 1 | -25/+9 |
| | |||||
* | Group all duplicated list-like options into a single option | Evgeny Khramtsov | 2019-11-07 | 1 | -19/+13 |
| | |||||
* | Fix loading of third-party modules at startup | Evgeny Khramtsov | 2019-11-07 | 1 | -9/+9 |
| | | | | Fixes #3019 | ||||
* | Allow multiple `modules` section | Evgeny Khramtsov | 2019-11-06 | 1 | -1/+3 |
| | | | | Fixes processone/ejabberd-contrib#282 | ||||
* | Log path to third-party configuration file | Evgeny Khramtsov | 2019-10-20 | 1 | -0/+4 |
| | | | | | This should prevent confusions like the one described at https://stackoverflow.com/q/58353491/2610053 | ||||
* | Replace lager with built-in new logging API | Evgeny Khramtsov | 2019-10-18 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | This change requires Erlang/OTP-21.0 or higher. The commit also deprecates the following options: - log_rotate_date - log_rate_limit Furthermore, these options have no effect. The logger now fully relies on log_rotate_size, that cannot be 0 anymore. The loglevel option now accepts levels in literal formats. Those are: none, emergency, alert, critical, error, warning, notice, info, debug. Old integer values (0-5) are still supported and automatically converted into literal format. | ||||
* | Don't log warning when an option is consulted for uknown vhost | Evgeny Khramtsov | 2019-09-25 | 1 | -4/+4 |
| | | | | | | | | Such warnings may be unappropriate in some situation, e.g. when a virtual host is disabled in runtime but some packets for this host are still in transit. Fixes #3037 | ||||
* | Correctly handle unicode in log messages | Evgeny Khramtsov | 2019-09-23 | 1 | -16/+16 |
| | |||||
* | Fix typos using codespell | Evgeny Khramtsov | 2019-07-16 | 1 | -1/+1 |
| | |||||
* | Don't crash when attempt to get an option for unknown virtual host | Evgeny Khramtsov | 2019-07-12 | 1 | -2/+11 |
| | | | | Log a warning instead and retry with a global scope | ||||
* | Make sure configuration file path always represented as binary() | Evgeny Khramtsov | 2019-07-10 | 1 | -20/+24 |
| | | | | Fixes #2936 | ||||
* | Avoid using broad map() type wherever possible | Evgeny Khramtsov | 2019-06-27 | 1 | -3/+5 |
| | |||||
* | Let it crash on unspecified option | Evgeny Khramtsov | 2019-06-23 | 1 | -15/+9 |
| | |||||
* | Validate and set 'version' option at an earlier stage | Evgeny Khramtsov | 2019-06-23 | 1 | -0/+21 |
| | |||||
* | Make option 'validate_stream' global | Evgeny Khramtsov | 2019-06-21 | 1 | -4/+4 |
| | |||||
* | Allow multiple definitions of host_config and append_host_config | Evgeny Khramtsov | 2019-06-21 | 1 | -8/+33 |
| | |||||
* | Require opt_type/1 callback | Evgeny Khramtsov | 2019-06-17 | 1 | -2/+3 |
| | |||||
* | Remove default_db/1 and add default_db/3 | Evgeny Khramtsov | 2019-06-15 | 1 | -14/+14 |
| | | | | Same for default_ram_db/1 and default_ram_db/3 | ||||
* | Use new configuration validator | Evgeny Khramtsov | 2019-06-14 | 1 | -1454/+616 |
| | |||||
* | Rename ejabberd_config:similar_option/2 -> misc:best_match/2 | Evgeny Khramtsov | 2019-04-30 | 1 | -30/+2 |
| | |||||
* | Provide a suggestion when unknown module is detected | Evgeny Khramtsov | 2019-04-29 | 1 | -1/+1 |
| | |||||
* | Provide a suggestion when unknown option is detected | Evgeny Khramtsov | 2019-04-29 | 1 | -2/+33 |
| | |||||
* | Add ext_mod paths before checking config (processone/ejabberd-contrib#263) | Badlop | 2019-04-03 | 1 | -0/+1 |
| | |||||
* | Replace code using p1_time_compat wrapper with native functions | Paweł Chmielowski | 2019-02-27 | 1 | -2/+2 |
| | | | | | | | Since we now require R19, we shouldn't need that anymore. There are still couple places where p1_time_compat:unique_timestamp() is used as there is no direct equivalent. | ||||
* | Don't crash on malformed 'modules' section | Evgeny Khramtsov | 2019-02-19 | 1 | -4/+10 |
| | |||||
* | Improve validation of configured language options | Evgeny Khramtsov | 2019-01-19 | 1 | -1/+1 |
| | |||||
* | Update copyright to 2019 (#2756) | Badlop | 2019-01-08 | 1 | -1/+1 |
| | |||||
* | Normalize hostname when processing host_config | Paweł Chmielowski | 2018-12-06 | 1 | -3/+5 |
| | |||||
* | Don't hide 'undef' exceptions during config validation | Evgeny Khramtsov | 2018-09-19 | 1 | -1/+1 |
| | |||||
* | Improve error formatting | Evgeny Khramtsov | 2018-09-17 | 1 | -2/+2 |
| | |||||
* | Fix some dialyzer warnings | Evgeny Khramtsov | 2018-09-09 | 1 | -17/+2 |
| | |||||
* | Use "localhost" as a default host | Evgeniy Khramtsov | 2018-08-17 | 1 | -1/+1 |
| | |||||
* | Better format invalid values when logging them | Evgeniy Khramtsov | 2018-07-08 | 1 | -6/+7 |
| | |||||
* | Better detection of duplicated routes/hosts | Evgeniy Khramtsov | 2018-07-08 | 1 | -1/+28 |
| | |||||
* | Only lookup FQDN at configuration (re)loading | Evgeniy Khramtsov | 2018-07-06 | 1 | -1/+13 |
| | |||||
* | Move XMPP stream and SASL processing to xmpp repo | Evgeniy Khramtsov | 2018-07-06 | 1 | -1/+12 |
| | |||||
* | Move move randoms module to p1_utils repo | Evgeniy Khramtsov | 2018-07-05 | 1 | -2/+2 |
| | |||||
* | Move shaper to p1_utils repo | Evgeniy Khramtsov | 2018-07-05 | 1 | -1/+1 |
| | |||||
* | Move mod_irc to ejabberd-contrib | Evgeniy Khramtsov | 2018-06-20 | 1 | -1/+0 |
| | |||||
* | Get rid of ejabberd.hrl header | Evgeniy Khramtsov | 2018-06-14 | 1 | -3/+16 |
| | | | | | | | | | The header consisted of too many unrelated stuff and macros misuse. Some stuff is moved into scram.hrl and type_compat.hrl. All macros have been replaced with the corresponding function calls. TODO: probably type_compat.hrl is not even needed anymore since we support only Erlang >= OTP 17.5 | ||||
* | Add ability to modify version string | Paweł Chmielowski | 2018-06-07 | 1 | -3/+10 |
| | |||||
* | Stop ejabberd initialization on invalid/unknown options | Evgeniy Khramtsov | 2018-05-09 | 1 | -58/+69 |
| | | | | | | | | | | | | | Since now, ejabberd doesn't ignore unknown options and doesn't allow to have options with malformed values. The rationale for this is to avoid unexpected behaviour during runtime, i.e. to conform to "fail early" approach. Note that it's safe to reload a configuration with potentialy invalid and/or unknown options: this will not halt ejabberd, but will only prevent the configuration from loading. ***NOTE FOR PACKAGE BUILDERS*** This new behaviour should be documented in the upgrade notes. | ||||
* | Don't produce a crash dump during intentional exit | Evgeniy Khramtsov | 2018-03-29 | 1 | -2/+1 |
| | | | | Also halt faster without relying on timeouts for buffers flushing | ||||
* | Add 'negotiation_timeout' to the known options list | Evgeniy Khramtsov | 2018-02-20 | 1 | -1/+1 |
| | |||||
* | Introduce 'negotiation_timeout' | Evgeniy Khramtsov | 2018-02-20 | 1 | -1/+7 |
| | | | | | | | The option can be used to specify a period (in seconds) for a stream negotiation to complete. If the timer fires, the stream is considered as failed and the underlying connection gets closed. This is a global option (you cannot set it per domain) and the default is 30 seconds. | ||||
* | Export helper function | Christophe Romain | 2018-02-16 | 1 | -1/+1 |
| |